Gx6192/Gx6256/Gx6864BITAbort

Purpose

Abort currently running BIT test

Syntax

Gx6256BITAbort (nHandle, pnStatus)

Parameters

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

Comments

The built-in test checks each relay in a specified device 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:

 

Gx6256Initilize (10, FALSE, &nHandle, &nStatus);

Gx6256BITRun (nHandle, GX6256_BIT_MODE_ALL, &nStatus);

sleep(1000);

Gx6256BITAbort (nHandle, &nStatus);

 

See Also

Gx6192/Gx6256/Gx6864BITGetStatus, Gx6192/Gx6256/Gx6864BITRun, GxSWGetErrorString