Abort currently running BIT test.
Gx6188BITAbort (nHandle, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX6188 board. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The built-in test checks each relay on the specified board 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:
Gx6188Initialize (10, FALSE, &nHandle, &nStatus);
Gx6188BITRun (nHandle, GX6188_BIT_MODE_ALL, &nStatus);
sleep(1000);
Gx6188BITAbort (nHandle, &nStatus);