GxCntSetFunctionTestInternalClock

Purpose

Sets the function mode to Test Internal Clock.

Syntax

GxCntSetFunctionTestInternalClock (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

In this mode the counter measures the internal clock frequency. This mode is useful as a quick verification of instrument operation. The function measures only the internal clock frequency even if the clock source is set to Alternate or External.

Example

The following example sets the function mode to test internal clock:

 

SHORT nHandle, nStatus;

GxCntSetFunctionTestInternalClock (nHandle, &nStatus);

 

See Also

GxCntSetClockSource, GxCntGetErrorString