![Signametrics SMX2040 Operator'S Manual Download Page 111](http://html1.mh-extra.com/html/signametrics/smx2040/smx2040_operators-manual_1268484111.webp)
Signametrics
110
Return Value
The return value is one of the following constants.
Value Meaning
Negativ
xa
atus = DMMSetTempUnits(0, DEG_F) // set units to
°
F
SMX2042
Description
le Triggered readings operation.
Remarks
.
minate this mode. Following the issue of the
rigRead
pling process ends, it is necessary to
the sample
g the
DMMReadMeasurement
command. This
will prevent an O
ent
are read does no
readings fifo to reduce t
s, IAC,
IDC and RTD m
Use the
DMMReadMeasurement
to both, monitor when the DMM has new data, and
to read this data. Read as many samples as
iSamples
to guarantee proper termination of
this capture process.
Parameter
DMM_OKAY
Function succeeded.
e Value
Error code
E
mple
int st
DMMSetTrigRead
SMX2040
;
;
SMX2044
;
Setup the DMM for mutip
#include "sm204032.h"
#include "UserDMM.h"
int
DMMSetTrigRead(int
nDmm, int iSettle, int iSamples, int iEdge)
Setup the SMX2040 for external hardware trigger operation. Following reception of this
command the DMM enters a wait state. After reception of an external trigger edge of
iEdge
polarity, the DMM takes
iSettle
+ 1 readings at the set measurement function,
range, and reading rate; and sends the last reading. This process is repeated for
iSamples
iSamples
Trigger pulses must be issued to complete this process. This function is
particularly useful in conjunction with a triggering instruments such as the SM4042 relay
scanner. No autoranging is allowed in this mode. The number of trigger edges must be
equal or greater than
iSamples
to properly ter
DMMSetT
read
command, and until the sam
s from the DMM usin
verrun communication error, whereby the rate at which measurem
t keep up with the DMM transmission. The DMM has a built in 5
his problem. This function is usable for VDC, VAC, Ohm
easurements.
Type/Description
are numbered starting with zero.
ber of setteling measurements, prior to read value. Must
ween 0 and 120. Recommanded value is 4.
iSamples
inclusive.
Int
The edge polarity of the trigger signal. 1 for Positive, or leading
dge, and 0 for negative or trailing edge trigger.
ts.
Value
nDmm
int
Identifies the DMM. DMMs
iSettle
int
The num
be set bet
int
The number of samples the DMM takes following the same
number of trigger pulses. This number must be between 1 and 250,
iEdge
e
Return Value
The return value is one of the following constan
Meaning
DMM_OKAY
successfully terminated
Operation
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com