Operator`s manual

Table Of Contents
119 Signametrics
Value Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example double ptp; int status = DMMReadPeakToPeak(0, &ptp);
DMMReadPeriod
SMU2060 SMU2064
Description Return the next double floating-point period reading from the DMM.
#include "SMU2060.h"
int DMMReadPeriod(int nDmm, double *lpdResult)
Remarks To use this function the DMM must be in ACV measurement mode, and a valid range must be
selected for this operation. It makes a single period measurement, and stores the result as a
double-precision floating-point number in the location pointed to by lpdResult. See
DMMFrequencyStr() for more details.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpdResult
double * Points to the location which holds the period.
Return Value The return value is one of the following constants.
Value
Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example
double d;
int status;
status = DMMReadPeriod(0, &d);
DMMReadStr
SMU2060 SMU2064
Description Return the next reading from the DMM formatted for printing.
#include "SMU2060.h"
int DMMReadStr(int nDmm, LPSTR lpszReading)
Remarks This function is the string version of DMMRead(). It reads the next measurement result,
performs all scaling and conversion required, and returns the result as a string formatted
for printing. The print format is determined by the range and function. See DMMRead()
for more details.