LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running VI as a Scheduled Task / Access to Front Panel

I have scheduled my LabVIEW Application VI to run when my PC is rebooted by scheduling it as a "Scheduled Task" in XP.  That works great.  However, once I do log in, I would like to be able to get access to the front panel.  If I double-click on the VI icon, a new copy of LabVIEW is launched, and I get a new/different copy of the VI.  How can I access the one that is already running to view the front panel?
 
Message 1 of 3
(2,901 Views)
So, finally you want to see or get the values of some controls/indicators. You may create another VI that will be read or write these values to proper front panel objects of your scheduled VI. It may be realized by means of invoke nodes. Sorry if my grammar is not correct. I hope you will understand my message. 🙂

Message Edited by Alexander_K on 10-24-2005 02:16 PM

0 Kudos
Message 2 of 3
(2,894 Views)
Gretchen,

Unfortunately there is not an easy way to show windows that have been made invisible.  There is a method using the Windows SDK to show a window, but it is not trivial.  Does this application need to run at start-up or when a user logs in?  If the answer is when the user logs in, then there are much easier ways to get the program up and running and have access to the user interface.  If you need to run this application at startup then you have a couple of options, you could try to implement the calls to make windows processes visible, or you could set up a server application that will broadcast the information on the front panel, which could be accessed using a separate host program.  Please don't hesitate to post with any follow ups!

Hope this helps!
Andy F.
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 3 of 3
(2,877 Views)