![Signametrics Corporation SMU2060 Скачать руководство пользователя страница 79](http://html1.mh-extra.com/html/signametrics-corporation/smu2060/smu2060_operators-manual_1268488079.webp)
79
Signametrics
DMMGetAverageVAC
SMU2060
SMU2064
Description
Measure average of an AC voltage
#include "SMX2060.h"
int
DMMGetAverageVAC(int
nDmm,
double
dFrequency
, double *
lpdAvg
)
Remarks
This function returns a double floating value of the AC average voltage of a signal. The
Signale is converted to its absolute value (rectified) and averaged over one or more
periods. The DMM must be in the DC voltage measurement mode, and the appropriate
range selected. The signal frequency
dFrequency
, must be entered.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
dFrequency
Double
The signal frequency
lpdAvg
double *
Pointer where the AC Average is saved at.
Return Value
Integer value version code or an error code.
Value Meaning
Negative Value
Error code
Example
int status; double ACAverage;
status = DMMGetAverageVAC(0, 60.0, & ACAverage);
DMMGetBufferSize
SMU2060
SMU2064
Description
Return the currently selected internal buffer size.
#include "SMU2060.h"
#include "USBDMMUser.h"
int
DMMGetBufferSize(int
nDmm, int * lpiLength
)
Remarks
This function returns the currently set buffer size. This value can be 80 or 120. The value
depends on the settings of the Aperture value.
Parameter Type/Description
iDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
lpiLength
Int *
Pointer at which the buffer length is stored.
Return Value
The return value is one of the following constants.
Value Meaning
Value int
Error or Warning code
Example
int
length;
Содержание 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...