Operator`s manual

Signametrics 74
#include "sm20
int DMMInit(in
Remarks This function mu cuted. It opens the driver for the
specified DMM. The first DMM being 0, the second 1, etc... It also initializes the DMM
e and do self test to the DMM hardware. It then initializes the
software and reads the appropriate calibration record for the respective DMM from the
Description Initialize a DMM.
4032.h"
t nDmm, LPCSTR lpszCal)
st be the first function to be exe
hardwar es extensive
file specified by lpszCal.
Parameter Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpszCal
the name of the file containing the calibration
for the DMM. Calibration information is normally read
ile named SM40CAL.DAT located in the current directory.
Return Value
Value
LPCSTR Points to
constants
from the f
The return value is one of the following constants.
Meaning
DMM_
Negativ
Example initiali
int i = DMMI :\SM40CAL // Initialize the first DMM
IsAutoR
SM2040 ; SM2042 ;
scription Get the status of the autorange flag.
nclude "sm204032.h"
int DMMIsAutoRange(int nDmm)
Remarks This function returns the DMM autorange flag state.
Parameter
OKAY
DMM initialized successfully.
e Value
Error code
/*
nit(0,"C
ze DMM */
.dat");
DMM ange
SM2044 ;
De
#i
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.