GxCntTrig

Purpose

Triggers the counter to make new measurement.

Syntax

GxCntTrig (nHandle, pnStatus)

Parameters

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

Example

The following example sets the trigger the counter source to initiate a new measurement:

 

SHORT nHandle, nStatus;

GxCntTrig (nHandle, &nStatus)

 

See Also

GxCntSetTriggerSource, GxCntSetTriggerSlope, GxCntGetTriggerSlope, GxCntGetFunction, GxCntGetErrorString