RMP Motion Controller
10.4.3
The RMP Motion Controller APIs
MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Contact
Support
RMP
◆
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
());
// -- C# -- //
Console.WriteLine(
"A Sync Interrupt recieved at sample {0}."
, controller.
SyncInterruptWait
());
See also
SyncInterruptEnableSet
Examples
StreamingMotionBufferManagement.cpp
,
SyncInterrupt.cpp
, and
UpdateBufferPoints.cpp
.
RSI::RapidCode::MotionController::SyncInterruptWait
int32_t SyncInterruptWait()
Suspend the current thread until an interrupt arrives from the controller.
RSI
RapidCode
MotionController
Generated on Thu Jul 6 2023 17:10:59 for RMP Motion Controller by
1.8.20