Operator`s manual
95 Signametrics
Description Initialize a DMM without tests.
#include "SMX2060.h"
int DMMQuickInit(int nDmm, LPCSTR lpszCal)
Remarks This function or DMMInit() must be the first functions to be executed. It opens the
driver for the specified DMM. The first DMM being 0, the second 1, etc... It also
initializes the DMM hardware. This function is designed for speed and therefore does not
arious self tests and calibration performed by the DMMInit functions. It
ftware and reads the appropriate calibration record for the DMM from
lpszCal. Depending on the operating system, the execution of this
function can be under 100ms.
Parameter
perform the v
itializes the so
in
the file specified by
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpszCal
LPCSTR Points to the name of the file containing the calibration
constants for the DMM. Calibration information is normally read
from the file named SM60CAL.DAT located in the current directory.
Return Value The return value is one of the following constants.
Value
Meaning
DMM_OKAY
DMM initialized successfully.
Negative Value
Error code
int i = DMMQuickInit(0,"C:\SM60CAL.dat"); // Quickly initialize the first DMM
DMMRea
SM2060 ; SM2064
escription Return the next floating-point reading from the DMM.
#include "SM206032.h"
lpdResult)
Example /* initialize DMM */
d
;
D
int DMMRead(int nDmm, double *