GX5296, GX5961, GX5964, File
Deletes the specified step number.
GtDio6xStepDelete (nHandle, lStep, lNumOfSteps, 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. |
lStep |
LONG |
Step Number to access 0-4095. |
lNumOfSteps |
LONG |
Number of steps to delete. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative value on failure. |
This function deletes the specified step number form the sequencer’s valid steps list using the GtDio6xStepGetDefinedSteps API.
The following example inserts 10 steps and then delete 3 steps starting at step 7:
SHORT nStatus;
GtDio6xStepInsert(nHandle, GTDIO6X_INSERT_STEP_AT, 1, 10, &nStatus);
GtDio6xStepDelete (nHandle, 7, 3, FALSE, &nStatus);
GtDio6xStepInsert, GtDio6xStepRemap, GtDio6xStepGetDefinedSteps, GtDio6xGetErrorString