MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ SyncInterruptEnableSet()

void SyncInterruptEnableSet ( bool  enable)
pure virtual

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
enableTrue = Controller Interrupts will be generated. False = They will not be generated.
Sample Code:
We plan to use the Sync interrupt with this application.
// -- C++ -- //
controller->SyncInterruptEnableSet(true);
// -- C# -- //
controller.SyncInterruptEnableSet(true);
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.