12-04-2012 07:26 PM
Hi,
I want to get the current battery percentage on the target system with labview. Does anyone have DLL that I can use, or can someone please help me. The target system connected to the Host system running labVIEW via TCP/IP.
thanks,
John
12-04-2012 11:37 PM
12-05-2012 12:06 PM
Dear RavensFan,
Thanks for the link, it is a good starts for me, could you show me how I access the windows library kernel32.dll on the target system that connected via TCP/IP from "Call library function node" in labview.
thank you so much.
Jonh
12-06-2012 12:44 AM
I'm not clear on what is the target system you are referring to.
The VI reads the battery level for whatever PC the VI is running on.
12-06-2012 04:27 AM
Hi
you will have to run the vi on the target (RT) and then get the values from RT to your PC via TCP/IP.
12-06-2012 04:31 AM
The DLL is Windows only though....
What target are we talking about? Is it a RT Desktop? A Windows Laptop?
Norbert
12-06-2012 04:35 AM
oh yes! the dll is for Windows.
for RT, i remember there were some vis on the RT which gave the memory used and memory free. not remember exactly which one that was.
12-06-2012 04:47 PM
I'm sorry to confuse everyone here, I'm completely new to the programming.
To make it clear, I have a host system running a LabVIEW and measures the temperature on the target system (laptop). The question I have, I want to use the LabVIEW to reads the battery percentages on the target system not on the host system, any suggestion/pointer/advice are greately appreciated.
thank you,
John
12-06-2012 09:02 PM
You need to have the battery check VI run on the laptop. Then you can pass the information to your host system by way of network shared variables.
12-06-2012 09:03 PM
You need to have the battery check VI run on the laptop. Then you can pass the information to your host system by way of network shared variables.