The RMP Motion Controller APIs

◆ SyncInterruptWait()

int32_t SyncInterruptWait ( )
Description:
SyncInterruptWait suspends the current thread until an interrupt arrives from the controller.
Returns
(int32_t) Value of controller SampleCounter when interrupt occured.
Remarks
This function is also available in RapidSequencer.
Sample Code:
// -- C++ -- //
printf("A Sync Interrupt recieved at sample %ld.\n", controller->SyncInterruptWait());
int32_t SyncInterruptWait()
Suspend the current thread until an interrupt arrives from the controller.
// -- C# -- //
Console.WriteLine("A Sync Interrupt recieved at sample {0}.", controller.SyncInterruptWait());
See also
SyncInterruptEnableSet
Examples
StreamingMotionBufferManagement.cpp, SyncInterrupt.cpp, and UpdateBufferPoints.cpp.