![Signametrics SM2060 Скачать руководство пользователя страница 110](http://html1.mh-extra.com/html/signametrics/sm2060/sm2060_operators-manual_1268482110.webp)
Signametrics
110
Remarks
Setup the SM2060 for external hardware trigger operation. Following reception of this
mand 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, Aperture
ffer.
This process is repeated for
iSamples
. This function is particularly useful in conjunction
with a triggerin
autoranging, function or ranges changes allowed while the DMM is waiting for triggers.
The number of trigger edges must be equal or greater than
iSamples
to properly terminate
this mode. Any trigger received following iSamples is ignored. Between the time this
command i
nd the time the buffer is read, no other command should be sent to
the DMM with the exception of
DMMDisarmTrigger
command, which terminates this
nd
ness. This function is usable for VDC,
VAC, Ohms, IAC, IDC and RTD measurements.
Use the
DMMReady
to monitor when the DMM is ready (following trigger(s) and the
DMMReadBuffer
or
DMMReadBufferStr
functions. Once
DMMReady
re
TRUE
, it should not be used again prior to reading the buffer, since it prepares the buffer
hen it detects a ready condition.
r
com
and Read Interval; and stores the last reading in the in an internal bu
g instruments such as the SM4042 or SMX4032 relay scanner. No
s issued a
mode, a
DMMReady
which monitors ready
reading of
iSamples
). When ready, you can read up to
iSamples
, using
turns
for reading w
Paramete
Type/Description
nDmm
DMM. DMMs are numbered starting with zero.
iSettle
mber of setteling measurements, prior to read value. Must
een 0 and 250.
iSamples
int
The number of samples the DMM takes following the same
r
iEdge
Return Value
Value
int
Identifies the
int
The nu
be set betw
number of trigger pulses. This number must be between 1 and 80 o
120 depending on aperture.
Int
The edge polarity of the trigger signal. 1 for Positive, or leading
edge, and 0 for negative or trailing edge trigger.
The return value is one of the following constants.
Meaning
DMM_
alue
Example
double
Buff
DMMSetBuffT
//setteling
while( ! DM
ion
// read buffer
MReadBuffer(0, &Buffer[i]);
DMMSet
AveSa
SM2060
SM
Description
e
measurement function parameters for higher measurement speed.
OKAY
Operation successfully terminated
Negative V
Error code.
er[120];
rigRead(0, 4, 50, 0); // Negative edge, 4
readings, and 50 samples/trigger
MReady(0) );
// wait for complet
for(i=0; i < 50 ; i++)
j = DM
Caps
mp
2064
;
Tunes th
capacitance
#include "SM206032.h"
Int
DMMSetCapsAveSamp
(
int
nDmm, int
iAverage, int
iSamples
)