Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Add internal lithium battery voltage to a data table


davide.canone Jan 24, 2019 08:43 AM

Hi, I would like to add the internal lithium battery voltage to a data table. Is there any instruction like "Battery" to measure the voltage of the internal battery of the datalogger or any other way to obtain such measurement.

Thank you,

Davide


rlwoell Jan 24, 2019 06:46 PM

The variables in the status table are accessible as "status.variablename".  For example, under data logger/station status there are three tabs.  The lithium battery voltage is shown under the summary tab as Lithium Battery (two words) and also under the Status Table as LithiumBattery (one word).  The one word version is the variable name.  To access the data use the full name for this variable, status.lithiumbattery.

The code in my program is:

Public PTemp, Lith_Batt

'Main Program
BeginProg
  Lith_Batt = status.lithiumbattery
 Scan (1,Sec,0,0)
  PanelTemp (PTemp,60)
  'Enter other measurement instructions
  'Call Output Tables
  'Example:
 NextScan
EndProg

Log in or register to post/reply in the forum.