![Signametrics Corporation SMU2060 Скачать руководство пользователя страница 109](http://html1.mh-extra.com/html/signametrics-corporation/smu2060/smu2060_operators-manual_1268488109.webp)
109
Signametrics
Return Value
The return value is one of the following constants.
Value Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error Code
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]);
DMMReadBufferStr
SMU2060
SMU2064
Description
Return the next reading, formatted for printing.
#include "SMU2060.h"
int DMMReadBufferStr
(
int
nDmm,
,
LPSTR
lpszReading
)
Remarks
The same as
DMMReadBuffer()
except the reading is formatted as a string with units.
Measurements are stored as a null terminated string at the location pointed to by
lpszReading
.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
lpszReading
LPSTR
Points to the location which holds the formatted reading
string. Allow minimum of 64.
Return Value
The return value is one of the following constants.
Value Meaning
Negative Value
Error code
Positive Value < 100
The length of the returned string
Postive Value
≥
100
Warning code
Example
char
Buf[64];
DMMArmTrigger(0,1);
// take a single triggered sample
while( !DMMReady(0));
DMMReadBufferStr(0,
Buf);
DMMReadCJTemp
SMU2060
SMU2064
Description
Read cold junction temperature for thermocouple measurement.
#include "SMU2060.h"
int
DMMReadCJTemp(int
nDmm
, double *
lp
dTemp
)
Содержание SMU2060
Страница 26: ...Signametrics 26 PXI Instrumentation Switching modules SMX4030 SMX4032 IVI COM driver...
Страница 81: ...81 Signametrics Postive Value 100 Warning code Example char cBuf 64 int status status DMMGetCalDate 0 cBuf...
Страница 106: ...Signametrics 106 Postive Value 100 Warning code Example char cBuf 64 int status status DMMPeriodStr 0 cBuf...