Operator`s manual

Signametrics 72
eterParam Type/Description
iErrorCode
int
int available length of the string buffer
uffer (at least 64 characters long) to hold the
Return Value The return value is the length of the error string or one of the following constants.
Error code.
iBuffLength
The maximum
lpszError
LPSTR Points to a b
error/warning string.
Value Meaning
Negativ
Example
int length = DMMErrString( -3, cBuf, 48);
Frequen
SM2060 SM2064 ;
Description MM frequency reading, formatted for printing.
clude "SM2
int DMMFreq
Remarks This function m string formatted
for printing. The print format is fixed to six digits plus units, e.g., 05.001 Hz. If the
e, be certain to take an amplitude reading before using this
command. It may take several calls to DMMFrequencyStr() to get the measured
frequency, because the DMM frequency counter uses a frequency ranging scheme which
gets activated only when a frequency or period reading function is received. If the
sly he frequency being measured is 300 kHz
(or vise versa), it might take as many as six calls to DMMFrequencyStr() or any of the
qu rement functions, to read the correct frequency. To improve this
use the DMMSetCounterRng() is function is a Secondary function which requires the
te range.
Parame
e Value
Error code
char cBuf[64];
DMM cyStr
Return the next D
#in 06032.h"
uencyStr(int nDmm, LPSTR lpszReading)
akes frequency measurement and returns the result as a
DMM is in Autorang
previou measured frequency was 2 Hz and t
other fre ency measu
DMM to be in either VAC or IAC function and at the appropria
ter Type/Description
nDmm
ies the DMM. DMMs are numbered starting with zero.
4 characters long) to hold the
lue
Value
int Identif
lpszReading
LPSTR Points to a buffer (at least 6
converted result.
Return Va The return value is one of the following constants.
Meaning
DMM_OKAY
Operation successfully completed.
DMM_CNT_RNG
Frequency counter is over or under range.