Operator`s manual
Signametrics 50
5.4 Windows DLL Default Modes and Parameters
After initializatio LL def MM are set up as follows:
• Autorang
• Synchronized M
• Measurement rate: 10 rps
t to
°C
5.5 Using the SM2040 DLL with LabWindows/CVI®
When using the SM2040 DLL wi I, you should read the LabWin.txt file included with the
software diskette.
ication of
ions measur
NOTE: Although these me
Test Executive, they are no
/* function: measure_ohms
int measure_ohms(double
short ret, i;
DMMSetFunctions (0, OHMS2W
DMMSetAutoRan
/* to settle auto-ra
for( i = 0 ; i < 4 ; i+
return ret;
}
/* function: measure_vdc, p
int measure_vdc(double Vreading) {
short ret
DMMSet , VDC);
DMMSetAutoRange (0, TRUE);
/* to settle auto-range and function
for( i = 0 ; i < 4 ; i++ ) ret = DMMReadNorm (0, &Vreading);
return re
}
n, the Windows D ault modes and parameters on your D
ing: Off
• Function: DC Volts
• Range: 330V
• Relative: Off
ode: Off
• Temperature units are se
•
Offset Ohms: Off
•
AC Caps level: 0.45V Peak.
th LabWindows/CV
An example appl SM2040 DLL calls from LabWindows/CVI ® is shown below. It
contains funct e_ohms() and measure_vdc(), with sample calls to the SM2040.
asurement functions use LabWindows/CVI® and the LabWindows/CVI(R)
t necessarily coded to LabWindows® instrument driver standards.
, purpose: measure 2-wire ohms */
OHMreading) {
);
ge (0, TRUE);
nge and function changes ignore three readings */
+ ) ret = DMMReadNorm (0, & OHMreading);
urpose: measure DC Volts */
, i;
Functions (0
changes ignore three readings */
t;