Operator`s manual

Table Of Contents
Signametrics 118
DMMReadNsamples
SMU2060 SMU2064
Description Take a reading that is in base value.
#include "SMU2060.h"
int DMMReadNsamples(int nDmm, int iN)
Remarks In response to this command the DMM take iN measurements, and sends them back to
the USB bus. In order not to loose any, and cause overrun, use
DMMGetStoredReading() in a tight loop. Measurements are made using the currently
selected function, range and aperture.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
iN
Int The number of measurements to be taken. This value must be
between 2 and 10,000.
Return Value Integer value version code or an error code.
Value
Meaning
POS_FS or NEG_FS
Positive or Negative Full Scale, or overrange
Negative Value
Error code
DMM_OKAY
No error
Example
int status = DMMReadNsamples(0, 100);
DMMReadPeakToPeak
SMU2060 SMU2064
Description Return ACV signal’s peak-to-peak value.
#include "SMU2060.h"
int DMMReadPeakToPeak(int nDmm, double *lpdResult)
Remarks To use this function, the DMM must be in ACV measurement function, and a valid range
must be selected. A double-precision floating-point peak-to-peak voltage result is stored
in the location pointed to by lpdResult. This measurement is a composite function which
utilizes several sub functions, and could take over 10 seconds to perform.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpdResult
double * Points to the location to hold the Peak-to-Peak value.
Return Value The return value is one of the following constants.