Aktueller Inhalt von h.kev07

  1. H

    Synchronization in TwinCAT 3

    Good morning, Thank you for the post. Yes, I am using C++. I mean CycleUpdate method synchronization. So as per your answer, if I set "set order" 0 (which is default sort order) then CycleUpdate method will start at the same time, right ?
  2. H

    Synchronization in TwinCAT 3

    Hallo, I have created several module instances of a main module. Each module instance has a different task context with same period. CycleUpdate method implemented in main module is called by the tasks as per the period specified. My question is, for all the module instances, execution of...
  3. H

    TwinCAT 3 gobal memory

    Yes, I am using memory in several modules. And modules are configured to have different task context. In this case data pointer is not useful because of synchronization mechanism. So this given sample 10 is not useful in this case. Thanks.
  4. H

    Task Latency measurement in TwinCAT 3

    Thank you.
  5. H

    TwinCAT 3 gobal memory

    I got errors at run time when I tried to access memory created using "new operator". It is giving me "page faults" error. I think pages in virtual memories are mapped wrong to physical memories, but I am not sure. Do anyone has idea about this issue ?
  6. H

    Task Latency measurement in TwinCAT 3

    Hallo, I have 8 tasks running on 8 different cores (CPUs) in TwinCAT 3 on my computer. Task period is 10 ms for all the tasks. I want to measure the latency of the tasks. That means I want to measure the time difference between the start time of a task and actual start time of a task. Is...
  7. H

    TwinCAT 3 gobal memory

    I created global memory just by using "new operator" in C++. Thanks.
  8. H

    TwinCAT 3 gobal memory

    Thank you Mr. Neals and Mr. Mac203 for the guidance. I will have a look on these and will update you. Have a nice weekend. Best Regards, Himanshu
  9. H

    TwinCAT 3 gobal memory

    Hallo, Sorry my German is bad so I have to write in English. Could anyone please guide me how to create global memory in C++ in TwinCAT 3 (preferably using new operator)? I have instances of a module that should use global memory to do certain operation. Vielen Dank.
Zurück
Oben