Signametrics
96
Remarks
is
h
struments 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
erly termin
een the time the
DMMSetBuffTrigRead
is issued
and the time the buffer is read, no other command should be sent to the DMM. One
exception is the
VAC, Ohms, IAC, IDC and RTD measurements.
Use the
DMMReady
to monitor when the DMM is ready (following trigger(s) and the
ading of
iSam
DMMReadBuffer
or
DMMReadBufferStr
functions. Once
DMMReady
returns
the buffer, since it prepares the buffer
for reading when it detects a ready condition.
Parameter
Setup the SMX2040 for external hardware trigger operation. Following reception of th
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 stores the last reading in the in an internal buffer. This
process is repeated for
iSamples
. This function is particularly useful in conjunction wit
a triggering in
prop
ate this mode. Betw
DMMDisarmTrigger
command. This function is usable for VDC,
re
ples
). When ready, you can read up to
iSamples
, using
TRUE
, it should not be used again prior to reading
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
iSettle
r to read value. Must
s 4.
The number of samples the DMM takes following the same
ber of trigger pulses. This number must be between 1 and 64,
inclusive.
iEdge
ge polarity of the trigger signal. 1 for Positive, or leading
0 for negative or trailing edge trigger.
Value
int
The number of setteling measurements, prio
be set between 0 and 120. Recommanded value i
iSamples
int
num
Int
The ed
edge, and
Return Value
The return value is one of the following constants.
Meaning
OKAY
Operation successfully terminated
e Value
Error code.
DMM_
Negativ
xample
double
Buffer[64];
etteling
d 64 samples/triggers
while( ! DMMReady(0) );
// wait for completion
for(i=0; i
DMMReadBuffer(0,
&Buffer[i]);
DMMSetCapsAveSamp
SMX2040 SMX2042 SMX2044
Description
Tunes the capacitance m
ent function parameters for higher measurement speed.
#include "sm204032.h"
Int
DMMSetCapsAveSamp
(
int
nDmm, int
iAverage, int
iSamples
)
Remarks
This function should be used carefully since it modifies the capacitance function basic
ges value,
iAverage
, and the number of points
sampled,
iSamples
. This function is provided only for cases where it is necessary to
E
DMMSetBuffTrigRead(0, 4, 64, 0); // Negative edge, 4
//s
readings, an
< 64 ; i++)
// read buffer
;
;
easurem
measurement parameters; the avera
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com