LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running data through multiple front panels simultaneously

I am getting a set of 35 input parameters through a DAQ card. These need to be used to run several acceptance tests, as well as being displayed in a few different windows (ie: running dual displays). My problem is that because I need to update each display, with the new incoming data from the DAQ card, in a while loop, they flash between one and the other continuously.

This problem doesnt occur if I open the subVIs containing each running front panel before running the entire program. In this case, I can select any window and everything is fine. However, I need to be able to open and close front panels of VIs while the system is running by pressing different buttons.

I was wondering if there were any wa
y to open up a VI's front panel when pressing a button without using the "show front panel when called" option?

Thanks
0 Kudos
Message 1 of 4
(2,743 Views)
Hi,

Yes, you can use VI server call's in the Functions pallet under Application Control. Checkout the attached files, just save them in the same directory and run LoadAndCloseSubVi.vi.

Hope this helps

/Thomas
Download All
Message 2 of 4
(2,743 Views)
Hey, thanks for your answer, however I could not open your files. Perhaps they are from a later version of LabVIEW? Those functions in 5.0 are called something else, I am not sure if they are equivalent. I had tried to use them unsuccessfully before, will try again.
Thanks
Damien
0 Kudos
Message 3 of 4
(2,743 Views)
All right Damien!

The files i did send to you are LV 6.1 so that�s a problem if you are using 5.0.
But in words i did it like this.
In the functions pallet i used
Functions->Application control->Open VI Reference
Functions->Application control->Property Node
Functions->Application control->Close LV Object Reference

For the Property Node i used the attribute "Front Panel Window->Open"
This is a Boolean and True means show front panel and False don't show.

I'm quite shore this will work in LV 5 to.

/Thomas
0 Kudos
Message 4 of 4
(2,743 Views)