Operator`s manual
113 Signametrics
DMM_E_DMM
Invalid DMM number.
Example double Buffer[64];
int state;
DMMTrigger(0,64);
while( ! DMMReady(0));
for(i=0; i < 64 ; i++)
state = DMMReadBuffer(0, &Buffer[i]);
DMMWidthStr
SM2040 SM2042 ; SM2044 ;
Description Return positive and negative pulse width in string format.
#include "sm204032.h"
int DMMWidthStr(int nDmm, LPSTR lpszPos, LPSTR lpszNeg)
Remarks This Secondary function is the string equivalent of DMMReadWidth. The
measurement results are stored at the location pointed to by lpszPos and lpszNeg. See
DMMReadWidth for more details.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpszPos
LPSTR Points to a buffer (at least 64 characters long) to hold the
positive width result.
lpszNeg
LPSTR Points to a buffer (at least 64 characters long) to hold the
negative width result.
Return Value The return value is one of the following constants.
Value
Meaning
DMM_OKAY
Valid return.
Negative Value
Err
ample char P[64],N[64]; int status = DMMWidthStr(0,P,N);
or code
Ex