MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ StreamingOutputsEnableSet()

void StreamingOutputsEnableSet ( bool  enable)
pure virtual

Sets whether Streaming Output is enabled (true) or disabled (false).

Description:
The Streaming Output List is maintained as an array and index and must be initialized before use. This function will set whether Streaming Output is enabled. Setting to false resets the current index to 0, but does not free the array backing.
Note
This function must be set appropriately or streaming motion calls (MovePT, MovePCT, etc) will fail. If set to true and no outputs are added, the move will throw an exception. If set to false and moves are added, the outputs will not trigger
Parameters
enableEnable (true) or Disable (false) Streaming Output behavior.
Sample Code:
// -- C++ -- //
// To enable
multiAxis->StreamingOutputsEnableSet(true);
// TO disable
multiAxis->StreamingOutputsEnableSet(false);
// -- C# -- //
// To enable
multiAxis.StreamingOutputsEnableSet(true);
// TO disable
multiAxis.StreamingOutputsEnableSet(false);
See also
StreamingOutputsEnableSet, StreamingOutputsClear, StreamingOutputAdd
 
Examples
SingleAxisSyncOutputs.cpp, SingleAxisSyncOutputs.cs, and SyncOutputWithMotion.cpp.