GxCntSelfTest

Purpose

Runs the self-test procedure on the board.

Syntax

GxCntSelfTest (nHandle, pnStatus)

Parameters

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

Comments

The counter runs the following:

The self-test takes about 60 ms for the GC2220/GC2230/GTX2220/GTX2230,GTX2220, and 100 ms for the GC2210/GTX2210.

Every time the power is turned on an extensive self-test is performed automatically.

Example

The following example run the board self test:

 

SHORT nHandle, nStatus;

GxCntSelfTest (nHandle, &nStatus);

 

See Also

GxCntReadStatusRegister, GxCntGetFunction, GxCntGetErrorString