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

Add to My manuals
127 Pages

advertisement

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

Description Return the next floating-point reading from t he DMM.

#include "sm204032.h"

R em arks DMMRead reads the next result from the DMM, performs all scaling and conversion required, an d returns the result as a 64-bit double-precision floating-point number in the location pointed to by lpdResult. It can read all the Primary functions (those that can be selected using DMMSetFunction() and DMMSetFuncRange() )

Parameter Type/Description

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

Return Value lpdResult double FAR * Points to the location to hold the next reading.

The return value is one of the following constants.

Value Meaning

DMM initialized successfully. DMM_OKAY

Negative Value Error code

Example

DMM_E_RANGE DMM over range error occurred. double d; int status; status = DMMRead(0, &d);

DMMRea dBuffer

Description

Rem arks

Return the next double floating-point reading from the DMM internal buffer.

#include "sm204032.h"

int DMMReadBuffer(int nDmm, double FAR *lpdResult)

Read the n ext measurement from the DMM internal buffer, pointed to by an internal buffer pointer, and increment the pointer. Store the measurement as a 64-bit doubleprecision floating-point number in the location pointed to by lpdResult. See

DMMArmTrigger() functions for more detail.

Parame ter Type/Description

nDmm int Identifies the DMM. DMMs are num bered starting with zero. lpdResult double FAR * Points to the location which holds the frequency.

Return Value The return value is one of the following constants.

Value Meaning

Operation successfully completed. DMM_OKAY

Negative Value Error Code

Signametrics 82

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

advertisement

Related manuals

advertisement

Table of contents