![Signametrics SM2060 Скачать руководство пользователя страница 97](http://html1.mh-extra.com/html/signametrics/sm2060/sm2060_operators-manual_1268482097.webp)
97
Signametrics
Value
Meaning
DMM_OKAY
Operation successfully completed.
Negativ
Example
double
riggered samples
DMMReadBuf
SM2060
;
SM2064
;
Description
(
int
nDmm, , LPSTR
lpszReading
)
Remarks
The same as
DMMReadBuffer()
ents are stored as a null terminated string at the location pointed to by
pszReading
.
Parame
e Value
Error Code
Buffer[10];
int
status;
DMMArmTrigger(0,10);
// Set up for 10 t
while( ! DMMReady(0));
for(i=0; i < 10 ; i++)
status = DMMReadBuffer(0, &Buffer[i]);
ferStr
Return the next reading, formatted for printing.
#include "SM206032.h"
int DMMReadBufferStr
except the reading is formatted as a string with units.
Measurem
l
ter
Type/Description
nDmm
int
s the DMM. DMMs are numbered starting with zero.
ng
LPSTR
ds the formatted reading
stri
Return Value
The return value is
Identifie
lpszReadi
Points to the location which hol
ng. Allow minimum of 64.
one of the following constants.
Value
Meaning
DMM_OKAY
Operation successfully completed.
ample
ermocouple measurement.
int
Negative Value
Error code
Ex
char
Buf[64];
DMMArmTrigger(0,1);
// take a single triggered sample
while( !DMMReady(0));
DMMReadBufferStr(0,
Buf);
DMMReadCJT
SM2060
;
SM2064
;
emp
Description
Read cold junction temperature for th
#include "SM206032.h"
DMMReadCJTemp(int
nDmm, double *
lp
dTemp)