Ets_readbatterysynchronous() – ETS-Lindgren HI-6153 Electric Field Probe User Manual

Page 137

Advertising
background image


ETSProbe DLL User Guide

|

137

ETS_R

EAD

B

ATTERY

S

YNCHRONOUS

()

int ETS_ReadBatterySynchronous(int Handle, int &battery);

Purpose:

Reads the battery status of the probe and returns only
after the probe has responded or a timeout has
occurred.

Return Value:

Returns an integer status code. The numeric value

0

indicates successful completion.
See Status Codes on page 121 for error code
description.

Input Parameters:

int probeHandle

Output Parameters:

Int battery: The battery status as the percentage of
full charge.

Advertising