
Signametrics
60
After initialization, the Wi
•
Auto ranging: Of
•
Function: DC Vol
•
Range: 240V
533.33ms
•
Read Interval: 0ms
erature unit
•
Offset Ohms: Off
•
In-Cirtuite Caps level: 0.45V Peak.
•
Closed Loop mode
•
Trigger polarity: Po
•
Sync output polarity: Positive
•
Fast RMS: off
ermocouple type
5.5 Using the SM
When using the SM2060 D
software diskette.
An example application of
contains functions
measur
NOTE: Although these me
Test Executive, they are no
/* function: measure_ohms
int measure_ohms(double
short ret, i;
DMMSetFunction
DMMSetAutoRan
/* to settle auto-range and function changes ignore three readings */
for( i = 0 ; i < 4 ; i+
return
ret;
}
/* function: measure_vdc, p
DC Volts */
int measure_vdc(double Vreading) {
short ret
DMMSetFunctions (0, VDC);
DMMSetAutoRange (0, TRUE);
/* to settle auto-range and function changes ignore three readings */
for( i = 0
++ ) ret = DMMR
return re
5.6 Windows Command Language
The following section contains detailed de
commands that pertain to only the SM2060
r
be retrieved as a string using
DMMErrStr
ooked up in the
SM2060.H
header file. The
ntains
ions etc. The following description
nctions is
hat the Windows DLL containing
these functions assu
int
values to be wi
t integers (corresponds to VisualBasic
long
type). TRUE
is 1 and FALSE i
ch is also differen
Basic where True is –1 and False is 0).
Grayed out functi
tested o
DMMArm
gge
M2060
;
SM2064
;
5.4 Windows DLL Default Modes and Parameters
ndows DLL default modes and parameters on your DMM are set up as follows:
f
ts
•
Relative: Off
erture:
•
Measurement Ap
•
Temp
s are set to
°
C
: Off
sitive Edge
•
Sync output: Disabled
•
Th
: ‘K’
2060 DLL with LabWindows/CVI
®
LL with LabWindows/CVI, you should read the
LabWin.txt
file included with the
SM2060 DLL calls from LabWindows/CVI ® is shown below. It
e_ohms()
and
measure_vdc()
, with sample calls to the SM2060.
asurement functions use LabWindows/CVI® and the LabWindows/CVI(R)
t necessarily coded to LabWindows® instrument driver standards.
, purpose: measure 2-wire ohms */
OHMreading) {
s (0, OHMS2W);
ge (0, TRUE);
+ ) ret = DMMReadNorm (0, & OHMreading);
urpose: measure
, i;
; i < 4 ; i
t; }
eadNorm (0, &Vreading);
scriptions of each function of the Windows command language. Those
are indicated. Most functions return an error code. The code can eithe
ing
function, or l
DMMUser.H
file co
all the pertinent definitions for the DMM ranges funct
for the various fu
based on “C” function declarations. Keep in mind t
mes all
s 0 (whi
ndows 32bi
t from Visual
ons are either, un
r unimplemented.
AnalogTri
r
S