GX5296, GX5961, GX5964
Performs a sequence reset on the sequencer engine.
GtDio6xSequencerReset (nHandle, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Session identifier:● Board handle is used when communicating with the hardware. The Board handle session identifier is returned by calling GtDio6xInitialize or GtDio6xSetupInitialization. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative value on failure. |
This command forces the sequencer logic to the reset state with the pin electronics setting unchanged.
The sequencer will reset to the RESET state (refer to the Sequencer State Machine diagram). The RESET state causes the sequencer to continuously loop on the first vector assigned to Step 0.
The following describe the reset state:
● Sequencer returns to standby state on sequence step 0.
● Clears pending starts and stops.
● Clears the Error Address Memory.
● Reset Watchdog and Vector Timeout timers.
● Active Timer Reset to 0 Seconds.
The following example resets the sequence logic:
SHORT nStatus;
GtDio6xSequencerReset(nHandle, &nStatus);