95
Signametrics
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example
double f; int status = DMMGetSourceFreq(0, &f);
DMMGetStoredReading
SMU2060
SMU2064
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
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
iIndex
int
Index to the stored reading, can be 0 to the total of number of
readings taken mins 1.
lpdRdmg
double *
Pointer where the reading value is to be saved.
Return Value
Integer error code..
Value Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example
double v;
int status = DMMGetStoredReading(0, 0, &v); // get the 1
st
reading
DMMGetSourceMode
SMU2060
SMU2064
Description
Get the operation mode of the source.
#include
"SMU2060.h"
#include "USBDMMUser.h"
int
DMMGetSourceMode
(
int
nDmm
)
Remarks
This function returns the currently set source mode.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.