CalCounterSetImpedance

Purpose

Sets the specified channel input impedance.

Syntax

CalCounterSetImpedance (hHandle, nChannel, lInputImpedance, plStatus)

Parameters

Name
Type
Comments
hHandle
LONG
Handle for a Counter.
nChannel
SHORT
Select channel (0-based).
lInputImpedance
LONG
Channel’s input impedance:
0.     MOhm impedance.
1.   50 Ohms impedance.
plStatus
PLONG
Returned status: 0 on success, negative number on failure.

Comments

Example

The following example sets channel 0’s impedance to 1MOhm:

 

LONG   lHandle, lStatus;

 

CalCounterSetImpedance(lHandle, 0, 0, &lStatus);

 

See Also

CalCounterMeasure, CalCounterSetFunctionPulseWidth, CalCounterSetGateTime, CalCounterSetTriggerLevel, CalCounterGetError