Applies To
GX5150.
Purpose
Returns whether the Sequencer is enabled or disabled.
Syntax
DioGetSequencerMode (nMasterHandle, pnSequencerMode, pnStatus)
Parameters
Name |
Type |
Comments |
nMasterHandle |
SHORT |
Master board handle. |
pnSequencerMode |
PSHORT |
0 Sequencer disabled. 1 Sequencer enabled. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Comments
The board must be in a HALT or PAUSE mode.
Disabling the sequencer causes the Master to disregard any control memory command or external JumpA. This may be useful if the content of the control memory is unknown, or for debugging.
Example
The following example returns the Sequencer mode from a board specified by the board handle:
SHORT nStatus, nSequencerMode;
DioGetSequencerMode (nHandle, &nSequencerMode &nStatus);
See Also
DioSetupSequencerMode, DioGetErrorString