99
Signametrics
Value
Return Value
Integer error code.
Meaning
KAY
Operation successfully completed.
e Value
Error code
DMMSetCounterRng(0, COUNTR_320HZ); // Set counter to measur
frequency between 65Hz to 320Hz
DMM_O
Negativ
Example
e a
DMMSetDCISource
SMX2040
SM
Description
Set the DCI sou
#include "sm2
#include "User
urce(int
nDmm, double FAR ldAmps)
Remarks
This
Secon
tion sets the DC current source to
ldAmps
. The DMM must be in
y. Further, the appropriate DCI range must
ted
peration, and the
DMMSetDCISource
is
re
M
(DMMRead
or
DMMReadStr
) will return the output voltage
ction acts on the main 12 bit source DAC. If better resolution is
etting the Trim DAC by using the
MM reads the
Parame
X2042
SMX2044
;
rce output level.
04032.h"
DMM.h"
int
DMMSetDCISo
dary
func
IDC_SRC
be selec
for this function to execute properl
. When the DMM is in
IDC_SRC
o
applied,
measurem
ading the DM
ent. This fun
needed it can be accomplished by s
DMMSetTrimDAC
function. There are five current source ranges. The D
output (load) voltage.
ter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
ble FAR
DC current to be set. Can be 0 to 1.25 X selected range
Value
ldAmps
dou
Return Value
Integer error code.
Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
DMMSetRange(0, _1uA)
// Select 1uA source range
DMMSetDCISource(0, 1.1e-6);
// Set source to 1.1uA
Example
DMMSetDCVSource
SMX2040
SMX2042
SMX2044
Description
Set the DCV so
#include "sm2
M.h"
int
DMMSetDCVSource(int
nDmm, double FAR ldVolts)
;
urce output level.
04032.h"
#include "UserDM
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com