Operator`s manual

101 Signametrics
ent
SM2060 ; SM2064 ;
Description eturn a reading which is the result of DMMSetTrigRead operation.
#include "SM206032.h"
int DMMReadMeasurement(int nDmm, double *lpdRead)
Remarks ding function is designed to read triggered measurements from the
DMM. It returns FALSE if reading is not ready to be read. If a reading is ready, TRUE
eturned, and m of a 64-bit double-precision floating-point number
is placed at the location pointed to by lpdRead.The returned value is in base units,
meaning it retu
function is designed to read bursting measurements form the DMM, resulting from
ith
the DMM this function must read the same number as is set by the burst or trigger
functions above
DMMReadMeasurem
R
This measurement rea
is r the result in the for
rns 0.3 for a 300mV input and 1e6 for 1.0 Mohm measurement. This
DMMSetTrigRead and DMMBurstRead operations. For proper communications w
.
Parameter Type/Description
nDmm
int Identifies the DMM. DMMs
are numbered starting with zero.
double * Pointer to a location where the reading is saved.
eger value version code or an error code.
Value
lpdRead
Return Value Int
Meaning
TRUE
ent was read into *lpdRead
FALSE
TIMEO
OVERR
.
Other Negative Value
Error code.
Example double Reading[150];
DMMBurstRea
for(i=0; i
while( DMMReadMeasurement(0 , Reading[i]) == FALSE );
// wait for
DMMRea ian
SM2060 SM2064
#include "SM206032.h"
MRead sult)
Measurem
No measurement is available
UT
Communication timeout. No reading available within 9s.
UN
Communication overrun. PC did not keep up with DMM transmission
d(0, 4, 150); // 4 settle., 150 samples
< 150 ; i++) // read 150 measurements
all measurements to be ready, and read them.
dMed
;
Description Return ACV signal’s Median value.
int DM
Median(int nDmm, double *lpdRe