Operator`s manual

Table Of Contents
Signametrics 116
DMMReadMeasurement
SMU2060 SMU2064
Description Return a reading which is the result of DMMSetTrigRead operation.
#include "SMU2060.h"
int DMMReadMeasurement(int nDmm, double *lpdRead)
Remarks This measurement reading 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
is returned, and the result in the form 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 returns 0.3 for a 300mV input and 1e6 for 1.0 Mohm measurement. This
function is designed to read bursting measurements form the DMM, resulting from
DMMSetTrigRead and DMMBurstRead operations. For proper communications with
the DMM this function must read the same number as is set by the burst or trigger
functions above.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpdRead
double * Pointer to a location where the reading is saved.
Return Value Integer value version code or an error code.
Value
Meaning
TRUE
Measurement was read into *lpdRead
FALSE
No measurement is available
TIMEOUT
Communication timeout. No reading available within 9s.
OVERRUN
Communication overrun. PC did not keep up with DMM transmission.
Other Negative Value
Error code.
Example double Reading[150];
DMMBurstRead(0, 4, 150); // 4 settle., 150 samples
for(i=0; i < 150 ; i++) // read 150 measurements
while( DMMReadMeasurement(0 , Reading[i]) == FALSE );
// wait for all measurements to be ready, and read them.
DMMReadMedian
SMU2060 SMU2064
Description Return ACV signal’s Median value.
#include "SMU2060.h"
int DMMReadMedian(int nDmm, double *lpdResult)