MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Sample Apps
Changelog
RapidCode API
Contact us
Support
◆
SyncInterruptWait()
int32 SyncInterruptWait
(
)
pure virtual
Suspend the current thread until an interrupt arrives from the controller.
Description:
SyncInterruptWait suspends the current thread until an interrupt arrives from the controller.
Returns
(int32) Value of controller SampleCounter when interrupt occured.
Sample Code:
// -- C++ -- //
printf(
"A Sync Interrupt recieved at sample %ld.\n"
, controller->
SyncInterruptWait
());
// -- C# -- //
Console.WriteLine(
"A Sync Interrupt recieved at sample {0}."
, controller.
SyncInterruptWait
());
See also
SyncInterruptEnableSet
Examples
StreamingMotionBufferManagement.cpp
,
SyncInterrupt.cpp
, and
UpdateBufferPoints.cpp
.