Specifications
83 Signametrics
DMMReadBuf
SMX2040 ; SMX2042
Description
m204032.h"
DMMRead , , LPSTR lpszReading)
Remarks The same as DM its.
Measurements are stored as a null terminated string at the location pointed to by
szReading.
Parame
Example double Buffer[10];
int status;
DMMArmTrigger(0,10); // Set up for 10 triggered samples
while( ! DMMReady(0));
for(i=0; i < 10 ; i++)
status = DMMReadBuffer(0, &Buffer[i]);
ferStr
; SMX2044 ;
Return the next reading, formatted for printing.
#include "s
int BufferStr(int nDmm
MReadBuffer() except the reading is formatted as a string with un
lp
ter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
holds the formatted reading
string.
Return Value The return value is one of the following constants.
Value
lpszReading
LPSTR Points to the location which
Meaning
DMM_OKAY
O
peration successfully completed.
r code
; // take a single triggered sample
));
DMMReadBufferStr(0,
ReadCJT
; SMX2042
Description
int DMMReadCJTemp(int , double *lpdTemp)
Negative Value
Erro
Example char Buf[17];
DMMArmTrigger(0,1)
while( !DMMReady(0
Buf);
DMM emp
SMX2040 ; SMX2044 ;
Read cold junction temperature for thermocouple measurement.
#include "sm204032.h"
nDmm
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com