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
-
enable | Enable (true) or Disable (false) Streaming Output behavior. |
- Sample Code:
-
- See also
- StreamingOutputsEnableSet, StreamingOutputsClear, StreamingOutputAdd
- Examples
- SingleAxisSyncOutputs.cpp, SingleAxisSyncOutputs.cs, and SyncOutputWithMotion.cpp.