
Signametrics
108
Description
Set the ACV source output level and frequency.
#include "SM206032.h"
"DM
m, double ldVolts, double ldFreq)
marks
This function sets the AC voltage source to RMS amplitude of
ldVolts
, and the frequency
must be in
VAC_SRC
operation for this function to execute
he DMM
(DMMRead, DMMReadStr
) will return the measurement
he output voltage. This function acts on the main 12 bit source DAC. Two ranges are
the 0.9 V and the 7 V.
Parame
#include
MUser.h"
int
DMMSetACVSource(int
nDm
Re
to
ldFreq
. The DMM
roperly. Reading t
p
of t
available in VAC_SRC mode,
ter
Type/Description
nDmm
ies the DMM. DMMs are numbered starting with zero.
to 7.25 V RMS
ldFreq
Return Value
Value
int
Identif
ldVolts
double
AC RMS voltage to be set. Range: 0.05
double
DC voltage to be set. Range: 1 Hz to 200 kHz
Integer error code.
Meaning
DMM_OKAY
alue
Erro
Example
double reading; int I;
SetACVSo
SetSourc
for(I=0;I<100;I++) DMMRead(0,&reading); // update 100 times
SM2060
;
SM
Description
me
"
"
int DMMSetAperture
(
int
nDmm, int iAperture
)
Rem
sets the measurement Aperture. This is the the integration time of the A/D
or the timer during which the A/D makes a measurement. The allowed values are defined
in the DMMUser.h file. Depending on DMM model and mode of operation, the highest
066s) and the lowest 2.5µs (APR_2p5us).
ee sections
2.11 and 4.4
for details.
Operation successfully completed.
Negative V
r code
DMM
DMM
urce(0, 7.0, 1000.0); // source 7V and 1kHz
eMode(0, CLOSED_LOOP); // Closed loop mode
DMMSetAperture
2064
;
Set the
asurement Aperture.
#include
#include "DMMUser.h"
SMX2060.h
arks
This function
Aperture can be set as high as 5.066s (APR_5p
S