Operator`s manual
95 Signametrics
Remarks Setup the SM2040 for external hardware trigger operation. Following reception of this
d the D wait state. After reception of an external trigger edge of
iEdge polarity, the DMM takes iSettle + 1 readings at the set measurement function,
the last reading in the in an internal buffer. This
his function is particularly useful in conjunction with
a triggering instruments such as the SM4042 relay scanner. No autoranging, function or
wed while the DMM is waiting for triggers. The number of trigger
l or greater than iSamples to properly terminate this mode. Any
ed following iSamples is ignored. Between the time this command is issued
her command should be sent to the DMM with the
gger command, which terminates this mode, and
rs readyness. This function is usable for VDC, VAC, Ohms,
ements.
g trigger(s) and the
sing
Parame
comman MM enters a
range, and reading rate; and stores
process is repeated for iSamples. T
ranges changes allo
e equa
edges must b
trigger receiv
and the time the buffer is read, no ot
exception of DMMDisarmTri
DMMReady which monito
IAC, IDC and RTD measur
Use the DMMReady to monitor when the DMM is ready (followin
reading of iSamples). When ready, you can read up to iSamples, u
DMMReadBuffer or DMMReadBufferStr functions. Once DMMReady returns
TRUE, it should not be used again prior to reading the buffer, since it prepares the buffer
for reading when it detects a ready condition.
ter
Type/Description
nDmm
setteling measurements, prior to read value. Must
d 120. Recommanded value is 4.
s
iEdge
The edge polarity of the trigger signal. 1 for Positive, or leading
, and 0 for negative or trailing edge trigger.
Return Value The return ne of the following constants.
int Identifies the DMM. DMMs are numbered starting with zero.
iSettle
int The number of
be set between 0 an
iSample
int The number of samples the DMM takes following the same
number of trigger pulses. This number must be between 1 and 64,
inclusive.
Int
edge
value is o
Value Meaning
DMM_OKAY
Operation successfully terminated
Negativ
xa ffer[64];
fTrigRead(0, 4, 64, 0); // Negative edge, 4
ng readings, and 64 samples/triggers
// wait for completion
/ read buffer
ffer[i]);
DMMSetCaps
M2040 SM2042 ; SM2044 ;
Description Tunes the capacitance measurement function parameters for higher measurement speed.
e Value
Error code.
E mple double Bu
DMMSetBuf
//setteli
while( ! DMMReady(0) );
for(i=0; i < 64 ; i++) /
j = DMMReadBuffer(0, &Bu
AveSamp
S
#include "sm204032.h"
Int DMMSetCapsAveSamp(int nDmm, int iAverage, int iSamples)