Specifications
53 Signametrics
Value Meaning
DMM_
y term
Negative Value
Exa
(0,64);
while( ! DMMReady(0));
Buffer[i] = DMMReadBuffer(0);
DMMBurstBu
; SMX2042
Remarks
M
.
y returns TRUE, it should not be used again until the buffer is read,
ing when it detects a ready
dition.
ter
OKAY
Operation successfull inated
Error code.
mple double Buffer[64];
DMMArmTrigger
for(i=0; i < 64 ; i++)
ffRead
; SMX2044 ; SMX2040
Description Setup the DMM for Triggered operation.
#include "sm204032.h"
#include "UserDMM.h"
int DMMBurstBuffRead(int nDmm, int iSettle, int iSamples)
Following reception of this command the DMM enters a burst read mode, where it takes
iSettle + 1 readings at the set measurement function, range, and reading rate; and saves
the last reading to the on-board buffer. This process repeats for iSamples. No other DM
command should be issued to the DMM until the it completes the operation, and the
buffer is read. One exception is the DMMDisarmTrigger command, which terminates
the process. No autoranging is allowed in this mode. This function is usable for VDC,
VAC, Ohms, IAC, IDC, and RTD measurements. Measurement rate should be set to
10rps or higher. The total time it takes to complete this process is equal to iSamples * (
iSettle + 1) / (measurement rate).
Use the DMMReady to monitor if the has completed the operation, and is ready. When
ready, read up to iSamples, using DMMReadBuffer or DMMReadBufferStr functions
Once DMMRead
since it clears som
con
e flags in preparation for buffer read
Parame
Type/Description
iDmm
int Identifies the DMM. DMMs are numbered starting with zero.
iSettle
int The number of settling measurements prior to read value. Mu
set between 0 and 250. Recommended value is 4.
int The nu
st be
iSamples
mber of samples the DMM takes following the same
ber must be between 1 and 64,
Return Value The return valu he following constants.
number of trigger pulses. This num
inclusive.
e is one of t
Value
Meaning
DMM_OKAY
Operation successfully terminated
Example
Negative Value
Error code.
double Buffer[50];
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com