Advanced function reference, Ets_battery() – ETS-Lindgren HI-4422 Field Probe (Archived) User Manual
Page 130

Advanced Function Reference
ETS_B
ATTERY
()
int ETS_Battery(const int probeHandle, int &Batt);
Purpose:
To obtain the battery status as a percentage of full
charge. The ETS_InitiateReadBattery function must
be called prior to this call. This function returns a fresh
battery reading after each ETS_InitiateReadBattery
command.
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:
Pass-by-reference integer: The battery value as a
percentage of full charge.
130
|
ETSProbe DLL User Guide
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.