Meh, and I've not been able to find it. Yours looks way nicer than mine :-) It would be nice if there was a way to make that stuff platform independet, but I don't think this will be possible soon .-( DLL-Calls often are a bit of a hassle to implement. Especially when you don't have access to header files. The upside is, that I'm using a dll that is sitting in every windows version since Windows 2000. So th solution is quite portable inside the windows line. kruemi
Hello I've had some issues with a laptop that is used for data acquisition. Sometimes the people unplug the power and don't plug it in again. To not loose too much data, I had to find a was for LabView to know the power source and the fill level of the battery. This vi is done with LabView 7.1 and uses a call to the windows library kernel32.dll to get the data. It should work on any windows system since Windows 2000. Maybe it is useful to other LV users as well. The second vi just calls the first one in 500ms intervals and shows the results. If you have ideas for improvement, let me know.