![Signametrics Corporation SMU2060 Скачать руководство пользователя страница 118](http://html1.mh-extra.com/html/signametrics-corporation/smu2060/smu2060_operators-manual_1268488118.webp)
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.
Содержание SMU2060
Страница 26: ...Signametrics 26 PXI Instrumentation Switching modules SMX4030 SMX4032 IVI COM driver...
Страница 81: ...81 Signametrics Postive Value 100 Warning code Example char cBuf 64 int status status DMMGetCalDate 0 cBuf...
Страница 106: ...Signametrics 106 Postive Value 100 Warning code Example char cBuf 64 int status status DMMPeriodStr 0 cBuf...