Operator`s manual
Signametrics 54
50];
DMMBurstBuffRead(0, 4, 50); // 4 setteling readings for each
// measurement, and take 50 readings
while( ! DMMReady(0) ); // wait for completion
0 read 64 readings from DMM’s
j = DMMReadBuffer(0, &Buffer[i]);
BurstRe
M2040 SM2042 ;
M for mutiple readings operation, sending back measurements as they
s)
t making measurements. Following reception of this
mand the DMM enters a burst read mode, where it takes iSettle + 1 readings at the
easuremen d reading rate; and sends the last reading to the PC.
This process repeats for
iSampels measu using
command as fast as they become available. This will
ommunication error, which is an indication that the rate at which
measurements are read from the bus do not keep up with the DMM transmission. The
DMM has o lessen this problem. No autoranging is allowed in this
s s, IAC, IDC and RTD measurements.
em otal time it takes to complete this
process is equal to iSamples * ( iSettle + 1) / (measurement rate).
Use the DMMReadMeasurement to monitor when reading becomes available, and to
to guarantee proper conclusion of this
capture process.
Example double Buffer[
for(i=
// on-board buffer
; i < 50 ; i++) //
DMM ad
; SM2044 ; S
Description Setup the DM
come.
#include "sm204032.h"
#include "UserDMM.h"
int DMMBurstRead(int nDmm, int iSettle, int iSample
Remarks Set the DMM to take multiple measurements, sending readings back to the PC. This
function is similar to the DMMSetTrigRead function, with the exception that it does not
wait for a hardware trigger to star
com
set m
t function, range, an
iSamples. Following the issue of this command and until
rements are read, it is necessary to read the samples from the DMM
the DMMReadMeasurement
prevent an Overrun c
five readings FIFO t
mode. Thi
Measur
function is usable for VDC, VAC, Ohm
ent rate should be set to 10rps or higher. The t
read the data. Read as many samples as iSamples
Parameter Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
iSettle
int The number of setteling measurements, prior to read value. Must
een 0 and 250. Recommanded value is 4.
of samples the DMM takes following the same
ses. This number must be between 1 and 32,000,
Return Value ants.
be set betw
iSamples
int The number
number of trigger pul
inclusive.
The return value is one of the following const
Value Meaning
DMM_OKAY
Operation successfully term
Negative Value
inated
Error code.