95
Signametrics
Value Meaning
KAY
Operation successfully completed.
e Value
Error code
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,&read
DMM_O
Negativ
Example
ing); // update 100 times
DMMSetAuto
SMX2040
;
SMX2042
Description
lude "sm2
int
DMMSetA
Remarks
This function en
r
Range
;
SMX2044
;
Enable/Disable autorange operation of DMM
#inc
04032.h"
utoRange
(
int nDmm, BOOL bAuto
)
ables or disables autorange operation of the DMM.
Paramete Type/Description
int
Identifies the DMM. DMMs are numbered starting with zero.
nDmm
bAuto
BOOL
Determines whether or not autoranging is done. The value
TRUE enables autoranging, FALSE disables it.
Return Value
The return value is one of the following constants.
Value Meaning
DMM_OKAY
Function succeeded.
Negative Value
Error code
Example
status = DMMSetAutoRange(0, TRUE); /* enable autoranging */
DMMSetBuffT
;
SMX2042
032.h"
M.h"
rigRead
;
SMX2044
;
SMX2040
Description
Setup the DMM for Triggered operation.
#include "sm204
#include "UserDM
int
DMMSetBuffTrigRead(int
nDmm, int iSettle, int iSamples, int iEdge)
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com