Specifications
51 Signametrics
5.6 Windows Command Language
The following section contains detailed de se
commands that pe y the SM204 ither
be retrieved as a st g DMMErrStri
UserDMM.H file ll the pertinen
for the various functions is based on āCā f s DLL containing
these functions as int values to b c long type). TRUE
1 and FALSE i is also differe .
SMX20
40 ;
SM
;
Description r
"sm2
iSamples, double FAR *dThresh)
SMX2040 for
owing reception of this command the DMM makes
exceeds the threshold, dThresh.
When this occurs, a trigger is produced with identical processing as in
ArmTrigger. Threshold crossing sense is determined by the first measurement
f DMMArmAnalogTrigger. If that measurement is lower than the
, subsequent measurements greater than dThresh will trigger the
an dThresh, subsequent measurements
ple, if dThresh is 2.00000 V and the first
MM is 2.500000 V, then 1.999999 V (or smaller) will trigger
f dThresh is 1.000000 V and the first reading after arming
ater) will trigger the DMM.
mand
can
E, it should not be used again prior to
reading the buffer, since it prepares the buffer for reading when it detects a ready
dition.
scriptions of each function of the Windows command language. Tho
0 are indicated. Most functions return an error code. The code can e
rtain to onl
ring usin
contains a
ng function, or looked up in the SM204032.H header file. The
t definitions for the DMM ranges functions etc. The following description
unction declarations. Keep in mind that the Window
sumes all
s 0 (which
e windows 32bit integers (corresponds to VisualBasi
nt from VisualBasic where True is ā1 and False is 0)
is
DMMArmAnalogTrigger
X20
44
Arm DMM fo analog level trigger operation.
#include
04032.h"
int DMMArmAnalogTrigger(int nDmm, int
Remarks This function is usable for VDC, VAC, Ohms, IAC, and IDC. Setup the
analog level trigger operation. Foll
easure
m ments continuously, waiting for a value which
DMM
following the call o
set threshold, dThresh
DMM. If the first measurement is greater th
smaller than dThresh will trigger. For exam
reading after arming the D
the DMM. On the other hand, i
the DMM is 0.500000 V, then 1.000001 V (or gre
The dThresh value is in base units, and must be within the DMM range setting. For
example, in the 330 mV range, dThresh must be within -0.330000 and +0.330000. In the
33 kā¦, range dThresh must be between 0.0 and 33.0e3.
Following an analog level trigger event, the DMM makes iSamples readings at the set
function, range, and reading rate, and stores them in an internal buffer. Autoranging is
not allowed when using DMMAnalogTrigger. Between the time the
DMMArmAnalogTrigger is issued and the time the buffer is read, no other com
should be sent to the DMM. One exception is the DMMDisArmTrigger command.
Use the DMMReady to monitor when the DMM is ready. When ready, you
read up-to iSamples, using DMMReadBuffer or DMMReadBufferStr
functions. Once DMMReady returns TRU
con
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com