09-16-2013 05:38 AM
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
02-19-2014 02:31 AM
Hi,
I'm trying to get the battery level of a system that use a dc battery with labview. Can someone help me?
Thnks
02-20-2014 11:57 AM
Can you give more detail on the system you're trying to interface with?
Corey Crosby
Applications Engineer
National Instruments
02-21-2014 04:37 AM
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.
02-21-2014 04:41 AM
Data transmission is via Bluetooth mode between Arduino and laptop.
02-24-2014 12:28 PM
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