Operator`s manual

Table Of Contents
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 *lpdTemp)