Ets_initiatereadbattery() – ETS-Lindgren HI-4422 Field Probe (Archived) User Manual

Page 137

Advertising
background image


ETS_I

NITIATE

R

EAD

B

ATTERY

()

int ETS_InitiateReadBattery(const int probeHandle);

Purpose:

Initiates a reading of the battery as a percentage of

full charge. The function returns immediately without

waiting for the operation finish.

To determine when the command is finished, use

ETS_IsOperationComplete. When the reading is

complete, use ETS_Battery to obtain the value.

Return Value:

Returns an integer status code. The numeric value 0

indicates successful completion.

See Status Codes on page 127 for error code

description.

Input Parameters:

int probeHandle

As returned from ETS_CreateProbe function.

Output Parameters:

None.

ETSProbe DLL User Guide

|

137

Archived 6/29/10

Use only the content for

HI-4422 in this manual.

Disregard content for

all other probe models;

see ETS-Lindgren

website for other

probe content.

Advertising