Xsram_Get_Battery_Status - ICP DAS USA MP-8 43 Series Function Reference

Hide thumbs Also See for MP-8 43 Series:
Table of Contents

Advertisement

2.8.7 XSRAM_Get_Battery_Status

Description:
This function is used to read status of battery level. If the level of battery is
low voltage please change that battery, so the BBSRAM can work normally.
Otherwise the BBSRAM will lose the data.
Syntax:
++
[C
]
long
XSRAM_Get_Battery_Status
Parameter:
BatteryNo : [Input] the number of battery that will be read.
1: battery 1
2: battery 2
Return Value:
1: the battery's level is good.
2: the battery's level is low voltage, please change the battery.
Example:
long
Battery1, Battery2;
Battery1= XSRAM_Get_Battery_Status(1);
Battery2= XSRAM_Get_Battery_Status(2);
Remark:
This function can be applied BBSRAM on PAC Backplane.
http://www.icpdas.com
(int
BatteryNo);
MP-8x43 Function Reference V 1.0
73 

Advertisement

Table of Contents
loading

Table of Contents