Operator`s manual
39 Signametrics
Negative Value
Error code
Example
int status; double rate;
status = DMMGetRate(0, & rate);
DMMGetSupplyV
Description Returns the one of the DMM supplies voltages.
#include "SMU2060.H"
int DMMGetSupplyV(int nDmm, , double *lpdVoltage)
Remarks This function makes a measurement of one of the DMM power supplies voltages as an
indication of the USB supply voltage level. The nominal value is -12V. The USB
interconnect and some off the shelve hubs can make this voltage higher or lower than is
required. The acceptable value should be -10.5 to -13.5V. Voltages higher than -13.5V
may damage the SMU2055 and voltages below -9.0 are inadequate for proper operation,
and is usually indicative of poor USB cable. The value of this voltage is stored at a
double precision location pointed to by lpdVoltage.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpdVp;tage
LPSTD Points to a double to hold the result.
Return Value The return value is one of the following constants, or the string length is OK.
Value
Meaning
DMM_OKAY
Valid return.
Negative Value
Error code
Positive Value
Warning code
Example double v;
int status = DMMGetSupplyV(0, @v);
DMMGetStoredReading
Description Get a single stored reding.
#include "SMU2060.h"
int DMMGetStoredReading(int nDmm, int iIndex, double *lpdRdng)
Remarks User this function to retrieve readings previously captured by DMMReadNsamples.
Return a double precision reading number iIndex by placing it at a location pointed to by
lpdRdng. iIndex can have a value between 0 and the total number of measuremens taken
by DMMReadNsamples minus 1 (iN – 1).
Parameter
Type/Description