Operator`s manual

Table Of Contents
129 Signametrics
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
ldThreshold
double DC voltage to be set. Allowed range depends on selected
ACV range.
Return Value Integer error code.
Value
Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example
DMMSetCompThreshold(0,28.5); // Set comp. threshold to 28.5V
DMMSetCounterRng
SMU2060 SMU2064
Description Set the frequency counter to a specific range.
#include "SMU2060.h"
#include "USBDMMUser.h"
int DMMSetCounterRng(int nDmm, int fRange)
Remarks This function locks the auto-ranging frequency counter to a specific range, fRange. Use
this function if the approximate frequency to be measured is known. This eliminate the
time necessary for the counter to autorange to the optimal range for the input frequency.
This function can also be used to trade off counter resolution for higher measurement
speed. For instance, to improve frequency counter speed while measuring 500Hz, set it to
COUNTER_20HZ. This funciton locks the counter to the selected range. In order to
return to the normal/default autoraning mode use the DMMUnlockCounter function.
Couner ranges are defind in USBDMMUser.h file. Entering VAC also unlocks the
range-lock.
fRange Symbol fRange Frequency Range
COUNTR_20HZ 0 1.9 Hz to 19.9
COUNTR_130HZ 1 19.9 Hz to 128.8 Hz
COUNTR_640HZ 2 128.8 Hz to 640 Hz
COUNTR_2500HZ 3 640 Hz to 2.56 kHz
COUNTR_10kHZ 4 2.56 kHz to 10.24 kHz
COUNTR_40kHZ 5 10.24 kHz to 40.96 kHz
COUNTR_200kHZ 6 40.96 kHz to 200 kHz
COUNTR_500kHZ 7 200 kHz to 500 kHz
Parameter
Type/Description