111
Signametrics
Negative Value
Error code.
Example
DMMSetTrimD
SMX20
40
SMX20
42
Description
4032.h"
#include "UserDMM.h"
int
DMMSetTrimDAC(int
nDmm, int iValue)
Remarks
This
Secondary
function sets the Trim DAC to a value between 0 and 100. The trim
DAC can be set t
performed, such
is selected. An
example would be in DCI source, or when setting the Comparator Threshold. This
lot of the on-board microcontroller’s resources and must
double
Reading[150];
DMMSetTrigRead(0, 4, 150, 0); // Negative edge, 4
//setteling readings, and 150 samples/triggers
for(i=0; i < 150 ; i++)
// read buffer
while( ! DMMReadMeasurement(0 , Reading[i]) );
AC
SMX20
44
;
Set the Trim DAC level.
#include "sm20
o augment the main 12 bit DAC, whenever it is not automatically
as in VDC and VAC source while
OPEN_LOOP
mode
function consumes a
be turned
off when not in use. Use
DMMDisableTrimDAC
to turn off. With the Trim DAC the
effective re
the composite DAC is increased to 16 bits. With
iValue
set to 100,
the Trim DAC adds slightly over 1 LSB of the 12 bit DAC. See
DMMSetDCVSource
M
solution of
and
DM
SetACVSource
for more details.
Parameter Type/Description
nDmm
rting with zero.
iValue
int
Amplitude can be set from 0 to 100, corresponding to 0% to
100% Trim DAC level.
Return Value
Integer error code.
Value
int
Identifies the DMM. DMMs are numbered sta
Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example
DMMSetDCVSource(0, 5.0); // Set source to 5V
DMMSetTrimDAC(0, 50); // add about 2.5mV to output
DMMStartTotalizer
SMX20
40
SMX20
42
;
SMX20
44
;
Description
Clear the totalized value and start the totalizer.
#include "UserDMM.h"
#include "sm204032.h"
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com