![Signametrics SM2060 Скачать руководство пользователя страница 112](http://html1.mh-extra.com/html/signametrics/sm2060/sm2060_operators-manual_1268482112.webp)
Signametrics
112
uccessfully terminated
shold
SM2060
SM2064
;
Description
et the Threshold DAC level.
#include "DMMUser.h"
int
DMMSetCompThreshold(int
nDmm, double ldThreshold)
Remarks
the detection threshold of the AC comparator. It is
compared by the comparator to the AC coupled input voltage. This function efffects the
lowing funct
uency counter, Period, Pulse width and Duty Cycle
measurements.
ldThreshold
range is determined by the selected ACV range. For instance,
when the 240 V
o
+500 V. See the specification section for more details.
Parameter
DMM_OKAY
Operation s
Negative Value
Error code.
Example
DMMSetCJTemp(0, 22.5);
DMMSetCompThre
S
#include "SM206032.h"
This function sets the output of the Threshold DAC. To use this function, the DMM must
be in AC volts. This function sets
fol
ions: Totalizer, Freq
AC range is selected, the allowed range of
ldThreshold
is –500 V t
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
ldThreshold
double
DC voltage to be set. Allowed range depends on selected
Return Value
rror co
ACV range.
Integer e
de.
Value
Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
a
DMMSetCounterRng
;
escription
o a specific range.
#include "DMMUser.h"
int
DMMSetCounterRng(int
nDmm, int fRange)
Remarks
This function forces the auto-ranging frequency counter to a specific range,
fRange
. Use
this function if the approximate frequency to be measured is known. It will eliminate the
e necessary for t
orange to the appropriate range. It saves time by
Ex mple
DMMSetCompThreshold(0,28.5); // Set comp. threshold to 28.5V
SM2060
SM2064
Set the frequency counter t
D
#include "SM206032.h"
tim
he counter to aut