Sets the specified channel input impedance.
CalCounterSetImpedance (hHandle, nChannel, lInputImpedance, plStatus)
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. |
The following example sets channel 0’s impedance to 1MOhm:
LONG lHandle, lStatus;
CalCounterSetImpedance(lHandle, 0, 0, &lStatus);
CalCounterMeasure, CalCounterSetFunctionPulseWidth, CalCounterSetGateTime, CalCounterSetTriggerLevel, CalCounterGetError