void RecorderConfigureToTriggerOnMotion ( Axis axis,
bool  triggerOnMotion 
)

Description:
RecorderConfigureToTriggerOnMotion sets the recorder to trigger on motion. The recording will will start when the motion starts, and the recording will automatically stop when the Motion Done condition is true.
Parameters:
(axis or multiAxis) Axis or MultiAxis object to be affected.
triggerOnMotion A boolean value to set trigger state. TRUE = trigger on Motion.
Sample Code:
   // -- C++ -- //
  controller->RecorderConfigureToTriggerOnMotion(axisX, true);
   // -- C# -- //
  controller.RecorderConfigureToTriggerOnMotion(axisX, true);
See also:
RecorderDataCountSet
Examples:
RecordOnMotion.cs.