Gx6188BITAbort

Purpose

Abort currently running BIT test.

Syntax

Gx6188BITAbort (nHandle, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX6188 board.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

The built-in test checks each relay on the specified board for continuity. This function aborts a test that is currently running.

Example

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);

 

See Also

Gx6188BITGetStatus, Gx6188BITRun, GxSWGetErrorString