LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get status of target system battery level

It's been a while, but I think this .NET example I posted worked with both a UPS and laptop battery.

 

I believe if you don't load the UPS drivers or connect the UPS to the laptop (connect only power), the .NET notifier would report only the internal laptop battery. I've never tried to monitor both.

 

Your laptop LabVIEW app would detect the change in power state and power remaining. It would be your responsibility to relay a message from the laptop to your host app.

 

 

https://decibel.ni.com/content/docs/DOC-1154

 

 


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

Message 11 of 16
(1,127 Views)

Hi,

 I'm trying to get the battery level of a system that use a dc battery with labview. Can someone help me?

Thnks

0 Kudos
Message 12 of 16
(1,073 Views)

Can you give more detail on the system you're trying to interface with? 

 

Corey Crosby

Applications Engineer

National Instruments 

0 Kudos
Message 13 of 16
(1,051 Views)

It's a "toy car" made by myself that use 2 AC motors and I want to display in labview battery level, the distance from the sensors(hc-sr 04) and other stuff.

 

0 Kudos
Message 14 of 16
(1,034 Views)

Data transmission is via Bluetooth mode between Arduino and laptop.

0 Kudos
Message 15 of 16
(1,032 Views)

Hi Dan13l,

 

I am not totally sure in what you are trying to do. Please be more specific with details on what you are tying to do next time in order to be able to assist you better. If you are trying to read voltages from a system, then you will need to acquire the data using a data acquisition device. As an example I will paste a link of how to read voltages using NI myDAQ. 

 

Measure Voltage Using NI myDAQ
http://www.ni.com/example/31436/en/

 

This other document has more details on how you can read voltages. Point two talks about how to make DC voltages measurements. 

 

How To Measure Voltage
http://www.ni.com/white-paper/7113/en/

 

Regards,

 

William Fernandez
Applications Engineer
National Instruments
www.ni.com/support

0 Kudos
Message 16 of 16
(1,017 Views)