GX5296, GX5961, GX5964, File
Remaps predefined steps.
GtDio6xStepRemap (nHandle, lFirstStep, lSecondStep, nMode, dwOptions, 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. ● File handle is used when communicating with a file. The File handle session identifier is returned by calling GtDio6xFileOpen. |
lnFirstStep |
LONG |
First step to remap. |
lSecondStep |
LONG |
Second step to remap. |
nMode |
SHORT |
Remap modes are as follows0. GTDIO6X_SWAP_STEPS: Swap the specified steps. 1. GTDIO6X_MOVE_STEPS: move the specified steps. 2. GTDIO6X_COPY_STEPS copy the specified steps. |
dwOptions |
DWORD |
Not used, pass a zero |
pnStatus |
PSHORT |
Returned status: 0 on success, negative value on failure. |
This function initializes the Steps as follows:
The following example initializes the first step:
SHORT nStatus;
GtDio6xStepReset(nHandle, 0, 1, &nStatus);