![Signametrics SMX2040 Operator'S Manual Download Page 115](http://html1.mh-extra.com/html/signametrics/smx2040/smx2040_operators-manual_1268484115.webp)
Signametrics
114
DMMTrig
SMX2040
;
SMX2042
;
SMX2044
Description
Software Trigg
#include "sm2
nt DMMTrigg
akes
iSamples
readings at
them in an internal buffer. Rate can
be set between 10 t
ngs per second. No autoranging is allowed for this
trigger operatio
the time the
DMMTrigger
command is issued and the time
s read, no ot
mand should be sent to the DMM. Use the
DMMReady
to mon
DMM is ready (ready implies completion of
iSamples
).
, you can opt
ly read a single reading or up to
iSamples
, using
adBuf
Parame
ger
;
er the DMM. Take
iSamples
.
04032.h"
i
er
(
int
nDmm, int iSamples
)
Remarks
Following reception of this command, the SMX2040 DMM m
the currently set function, range and rate, and stores
o 1000 readi
n. Between
the buffer i
function
her com
itor when the
When ready
DMMRe
ional
fer.
ter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
int
The number of samples the DMM takes following a trigger pulse.
d 64, inclusive.
Return Value
the following constants.
iSamples
This number must be between 1 an
The return value is one of
Value Meaning
DMM_
DMM_E
DMM is uninitialized. Must be initialize prior to using any function.
DMM_TRIG_N
Measurement count is out of allowed range.
MM
Example
double
Buff
int
state;
Trigger(
fer[i]);
DMMWid
r
SMX20
40
SM
0
44
;
Description
ositive
ulse width in string format.
int
DMMWidthStr
(
int
nDmm, LPSTR
lpszPos, LPSTR
lpszNeg
)
Remarks
This
Secondary
function is the string equivalent of
DMMReadWidth
. The
measurement results are stored at the location pointed to by
lpszPos and lpszNeg
. See
DMMReadWidth
for more details.
OKAY
Operation successfully terminated.
_INIT
DMM_E_D
Invalid DMM number.
er[64];
DMM
while( ! DMMReady(0));
0,64);
for(i=0; i < 64 ; i++)
state = DMMReadBuffer(0, &Buf
thSt
X20
42
;
SMX2
Return p
and negative p
#include "sm204032.h"
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com