Signametrics
124
Value Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example
DMMSetACCapsLevel(0, 0.35); // Set stimulus to 0.35V peak
DMMSetACVSource
SMU2060
SMU2064
Description
Set the ACV source output level and frequency.
#include "SMU2060.h"
#include "USBDMMUser.h"
int
DMMSetACVSource(int
nDmm
, double
ldVolts
, double
ldFreq
)
Remarks
This function sets the AC voltage source to RMS amplitude of
ldVolts
, and the frequency
to
ldFreq
. The DMM must be in
VAC_SRC
operation for this function to execute
properly. Reading the DMM
(DMMRead, DMMReadStr
) will return the measurement
of the output voltage. This function acts on the main 12 bit source DAC. Two ranges are
available in VAC_SRC mode, the 0.9 V and the 7 V.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
ldVolts
double
AC RMS voltage to be set. Range: 0.05 to 7.25 V RMS
ldFreq
double
Frequency to be set; 0.5Hz to 200 kHz
Return Value
Integer error code.
Value Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example
double reading; int I;
DMMSetACVSource(0, 7.0, 1000.0); // source 7V and 1kHz
DMMSetSourceMode(0, CLOSED_LOOP); // Closed loop mode
for(I=0;I<100;I++) DMMRead(0,&reading); // update 100 times
Содержание 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...