04-19-2006 11:09 AM
04-20-2006 04:10 PM
04-20-2006 04:54 PM
04-21-2006 09:41 AM
The application is vehicle guidance and control. As part of the vehicle guidance and control system, I currently have a laptop in a sealed container that is running LabView on Windows 2000. It is booted by a microprocessor that monitors an external switch. When the external switch is toggled the microprocessor applies power to the laptop and other devices onboard. The laptop is started by the microprocessor by toggling the power switch on the laptop. The user can then log into the the laptop via a wireless antenna. Two methods of shut down are available:
(1)Using the remote login, the user can shutdown the Labview session and then Windows 2000. After Windows 2000 has shutdown the user toggles the external switch, which causes the microprocessor to remove power from the laptop.
(2)The user can toggle the external switch, which causes the microprocessor to remove power from the laptop.
The first shutdown procedure is normal. The second shutdown procedure is used in case the vehicle goes out of control, which is unfortunately a common occurrence.
In replacing the laptop with the PXI system, the PXI system can be configured with the startup and 1st shutdown procedure by placing a relay in-line with the DC power line. The microprocessor will just toggle the relay. However, the PXI controller alone cannot met the 2nd shutdown procedure because, unlike the laptop, it does not have a built-in graceful shutdown that shuts down Windows 2000 prior to removing power from the system when the power button is toggled. This is the problem that I am trying to work around.
I have been told that the next generation PXI controllers will have this graceful shutdown (common on most laptops) built into the switches, but I do not have the budget to buy another controller.
I have inherited this vehicle guidance and control system and the PXI system was purchased to increase the computational power of the system. Any help that you could extend would be greatly appreciated.
Thanks, Blaine
04-24-2006 02:45 PM
04-24-2006 03:12 PM
Travis,
Thanks for the reply. Unfortunately, the LabView code is already very dense and not modular at all (Disclaimer: I didn't write it.) and I don't think it could handle polling at a rate that would keep the vehicle from a catastrophic event such as a crash. Also, sometimes LabView hangs and having the shutdown process being controlled from LabView would force us to use a hard shutdown.
What do you think of using the Serial port or USB host controller for a system interrupt? I have never done it before and don't know if it would work. If you think it might work, do you know of any code out there that would get me started?
Thanks, Blaine
04-25-2006 05:57 PM