Operator`s manual
Signametrics 52
Negativ
ample
MArm
e( ! DMMReady(0));
i=0; i < 64 ; i++)
DMMReadBuffer(0, &Buffer[i]);
DMMArmTrigger
M2042 ;
Description
is
,
d
on are
Parame
DMM_OKAY
Operation successfully terminated
Error code.
e value
ouble
Ex d Buffer[64];
DM AnalogTrigger(0,64,1.5);
whil
for(
j =
SM2040 ; S SM2044 ;
Arm DMM for external trigger operation.
#include "sm204032.h"
int DMMArmTrigger(int nDmm, int iSamples)
Remarks Setup the SM2040 for external hardware trigger operation. Following reception of th
command the DMM enters a wait state. On acceptance of a positive edge at the hardware
trigger inputs (DIN7 connector), the DMM makes iSamples readings at the set function
range, and reading rate; and stores them in an internal buffer. No autoranging is allowe
for external trigger operation. Between the time the DMMArmTrigger is issued and the
time the buffer is read, no other command should be sent to the DMM. An excepti
the DMMReady and DMMDisarmTrigger commands. This function is usable for
VDC, VAC, Ohms, IAC, RTD and IDC.
Use the DMMReady to monitor when the DMM is ready (following trigger and the
reading of iSamples). When ready, you can read up to iSamples, using
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
t Identifies the DMM. DMMs are numbered starting with zero.
samples the DMM takes following a trigger pulse.
in
iSamples
int The number of
This number must be between 1 and 64, inclusive.