Signametrics
52
ter
Parame
Type/Description
e numbered starting with zero.
ber of samples the DMM takes following a trigger pulse.
This number must be between 1 and 64, inclusive.
old value
eturn Value
e retu
nDmm
int
Identifies the DMM. DMMs ar
iSamples
int
The num
dThresh
double FAR
Analog level trigger thresh
R
Th
rn value is one of the following constants.
Value Meaning
ration successfully terminated
Negativ
Example
DMMArmAnalogTrigger(0,64,1.5);
while( ! DMMReady(0));
ArmTrig
SMX2040
;
SMX2042
Description
, int iSamples
)
Remarks
.
e time the
DMMArmTrigger
is issued and the time the buffer is read, no
other command should be sent to the DMM. One exception is the
DMMDisarmTrigger
mand. This function is usable for VDC, VAC, Ohms, IAC and IDC
Use the
DMMR
reading of
iSamples
). When ready, you can read up to
iSamples
, using
DMMReadBuf
TRUE, it shoul
e it prepares the buffer
for reading when it detects a ready condition.
Parameter
DMM_OKAY
Ope
e value
Error code.
double
Buffer[64];
for(i=0; i < 64 ; i++)
Buffer[i] = DMMReadBuffer(0);
DMM
ger
;
SMX2044
;
Arm DMM for external trigger operation.
#include "sm204032.h"
int DMMArmTrigger
(
int
nDmm
Setup the SMX2040 for external hardware trigger operation. Following reception of this
command, the DMM enters a wait state. After reception of an external trigger pulse, the
DMM makes
iSamples
readings at the set function, range, and reading rate; and stores
them in an internal buffer. No autoranging is allowed for external trigger operation
Between th
com
eady
to monitor when the DMM is ready (following trigger and the
fer
or
DMMReadBufferStr
functions. Once
DMMReady
returns
d not be used again prior to reading the buffer, sinc
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
iSamples
int
The number of samples the DMM takes following a trigger pulse.
er must be between 1 and 64, inclusive.
stants.
This numb
Return Value
The return value is one of the following con
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com