Configure Sync (periodic) interrupts for the controller.
- Description:
- SyncInterruptEnableSet sets controller interrupt generation on or turns them off. SyncInterrupts are designed to wake a task to allow for any host processing that needs to take place at the start of the controller's sample rate cycle.
- Parameters
-
enable | True = Controller Interrupts will be generated. False = They will not be generated. |
- Sample Code:
- We plan to use the Sync interrupt with this application.
- Note
- Most interrupts for the controller are used directly from the Axis and MultiAxis classes. The Sync Interrupt is typically the only controller-specific interrupt. The Sync Interrupt is only for use with real-time operating systems.
- See also
- SyncInterruptWait
- Examples
- StreamingMotionBufferManagement.cpp, SyncInterrupt.cpp, and UpdateBufferPoints.cpp.