Abort currently running BIT test
Gx6256BITAbort (nHandle, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX6256/GX6864/GX6192 board. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The built-in test checks each relay in a specified device for continuity. This function aborts a test that is currently running.
The following example runs the built-in test, waits one second, and then aborts the test:
Gx6256Initilize (10, FALSE, &nHandle, &nStatus);
Gx6256BITRun (nHandle, GX6256_BIT_MODE_ALL, &nStatus);
sleep(1000);
Gx6256BITAbort (nHandle, &nStatus);
Gx6192/Gx6256/Gx6864BITGetStatus, Gx6192/Gx6256/Gx6864BITRun, GxSWGetErrorString