DMMGetdBStr. Artison SMX2040, S-LCR-DM, SMX2042, SMX2044

Add to My manuals
127 Pages

advertisement

DMMGetdBStr. Artison SMX2040, S-LCR-DM, SMX2042, SMX2044 | Manualzz

Remarks This function returns a dou ble floating value that is the dB deviation relative to the re ading made just before the relative function was activated. This function is useful in determining measurement errors in dB. It can be used fo r bandwidth measurements or

DC evaluation.

Parame ter Type/Description

nDmm int Identifies the DMM. DMMs are numbered starting with zero.

Return Value lpdDev double FAR * Pointer where the dB value is to be saved.

Integer error code..

Value Meaning

DMM_OKAY Operation successfully completed.

Negative Value Error code

Example double FAR dB; int status = DMMGetdB(0, &dB);

DMMGetdBStr

SM X2040 ; SMX2044 ;

Description Get dB deviation from the reading at the time relative was activated.

# include "sm204032.h"

Remarks This function is the same as the DMMGetdB(), with the exception that it returns a string.

See DMMGetdB() for more details.

Parameter Type/Description

nDmm lpszDB

int Identifies the DMM. DMMs are numbered starting with zero.

LPCSTR Points to a buffer (at least 16 characters long) to hold the resu lt. The return value will consist of a leading sign a floating-point, and a ‘dB’ units specifier

Return Value Integer string length if successful, or an error code..

Value Meaning

Negative Value Error code

Example char cBuf[32]; int strLength = DMMGetdBStr(0, cBuf);

DMMGetCJTemp

SMX2040 ; SMX2042 ; SMX2044 ;

63 Signametrics

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

advertisement

Related manuals

advertisement

Table of contents