Operator`s manual
Signametrics 82
Parameter
Remarks Read the next measurement from the DMM internal buffer, pointed to by an internal
buffer pointer, and increment the pointer. Store the measurement as a 64-bit double-
precision floating-point number in the location pointed to by lpdResult. See
DMMArmTrigger() functions for more detail.
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpdResult
double * Points to the location which holds the frequency.
Return Value The return value is one of the following constants.
Value
Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error Code
xample double Buffer[10];
DMMReady(0));
i < 10 ; i++)
tus = DMMReadBuffer(0, &Buffer[i]);
eadBuf
SM2040 ; SM2042 ;
Description
Remarks g with units.
asurements are stored as a null terminated string at the location pointed to by
zReading.
E
int status;
DMMArmTrigger(0,10); // Set up for 10 triggered samples
while( !
; for(i=0
sta
DMMR ferStr
SM2044 ;
Return the next reading, formatted for printing.
#include "sm204032.h"
int DMMReadBufferStr(int nDmm, , LPSTR lpszReading)
The same as DMMReadBuffer() except the reading is formatted as a strin
Me
lps
Parameter Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpszRead
holds the formatted reading
ow minimum of 64.
Return Value rn valu
ing
LPSTR Points to the location which
string. All
The retu e is one of the following constants.
Value Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example char Buf[64];
DMMArmTrigger(0,1); // take a single triggered sample
while( !DMMReady(0));
DMMReadBufferStr(0, Buf);