Signametrics
64
DMMBurstBuffRead(0, 4, 50); // 4 settling readings for each
// measurement, and take 50 readings
while( ! DMMReady(0) );
// wait for completion
for(i=0; i < 50 ; i++)
// read 50 readings from DMM’s
// on-board buffer
j = DMMReadBuffer(0, &Buffer[i]);
SM2060
;
M20
Description
e
n, sending back measurements as they
come.
#include "SM206032.h"
int
DMMBurstRead(int
nDmm, int iSettle, int iSamples)
execution of this command the DMM enters a tight loop, where it takes multiple
easurements, sending them back as they come. This function is similar to the
for a hardware
iSettle
+ 1 samples,
k. All samples are taken at the set Measurement function,
currently set. This process repeats for
iSamples
. Following
til
iSampels
measurements are read back, it is
M and read all
iSample
measurements as fast as they
which helps a bit. No auto ranging is
wed in this m
e of this function is that it makes measurements with
nsistant samp
efuly and only in cases where this feature is
necessary. It is usable for VDC, Ohms and IDC measurements. Measurement Aperture
should be set to 1
ual
to (
iSamples
* (
iSettle
+ 1) * Aperture or * Read Interval if it is not set to 0.
Use the
DMMReadMeasurement
to monitor when reading becomes available, and to
read the data. Read as many samples as
iSamples
to guarantee proper conclusion of this
capture process.
Parameter
DMMBurstRead
64
;
Setup th DMM for multiple readings operatio
#include "DMMUser.h"
Remarks
m
On
DMMSetTrigRead
function, with the exception that it does not wait
trigger to start the process. For each reading returned the DMM takes
sending the last sample bac
Aperture and Read Interval
the issue of this
command and un
necessary to keep up with the DM
come. Failing to do so will result in communication overrun. Use the
DMMReadMeasurement
command to read these measurements. The DMM
communication channel has a limited size FIFO
allo
a co
ode. The advantag
ling rate. Use it car
60ms or lower. The total time it takes to complete this process is eq
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
iSettle
int
The number of settling measurements, prior to read value. Must
be set between 0 and 250. Recommended value is 4.
int
The number of samples the DMM takes following the same
number of trigger pulses. This number must be between 1 and 60,000,
e.
eturn Value
he following constants.
Value
iSamples
inclusiv
R
The return value is one of t
Meaning
DMM_OKAY
Operation successfully terminated
Negative Value
Error code.