LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running a Front Pannel and SubVI on different monitors when using a DAQ

I have developed a test rig monitoring system. Since there are a large number of transducers and thermocouples I have had to divide the monitoring system into two parts. An air system Front pannel, which is interactive,alloying me to start stop pause the program, and a fuel system SubVI which is purly for displaying information. When the front pannel is opened I would like the SubVI to be displayed as well. I dont mind waiting for it to be called by data being sent to it, but since data will be constantly sent to it I dont want it continnuously called. Basically I want it there running in the back ground so that I can acess it whenever I need it but I dont want it getting in the way. Does this make sense?

Thanks
0 Kudos
Message 1 of 6
(2,868 Views)

But in your message subject, you speak of 'Running a Front Pannel and SubVI on different monitors when using a DAQ'

Can you please pose your queary be a bit more clearly, so that we could answer better?

0 Kudos
Message 2 of 6
(2,856 Views)

They will be running on different monitors from the same PC. To allow us to view both at the same time. The problem that I am having right now is that the window is being continuously called through the data, so it will appear and disapear. If i select the close if originally closed option, and I open the subVI originally, then it will stay open for awhile then start to open and close again. I think this a labVIEW softwear issue as it happends at a different time each time I run the program. The other issue is that I need the Front Pannel to be the active Window, but not necesiarily on top.

Hopefully this makes more sense, I can attach the program if you like, but it is pretty large and requires a number of subVI's and the keithley 2700 driver package

0 Kudos
Message 3 of 6
(2,849 Views)
Hello Jayman,

In regard to the application that you've discussed, I believe you will want to use VI Server for this interface. VI Server allows you to programmatically control VIs and the user interface from your block diagram.

By using the Open VI Reference VI, you can obtain a reference to the subVI that you are trying to control. You can then wire this reference to an invoke node to open the front panel for this VI. If you control the opening and closing of this display VI programmatically, then you will not have to worry about it repeatedly closing. Take a look at this option and post back if we can provide any help with this. Thanks,

Mike D.
National Instruments
Applications Engineer
0 Kudos
Message 4 of 6
(2,837 Views)
Thankyou very much for your advice. I got the program running perfectly, its amazing how much time you can spend on such a simple problem. Thanks again
0 Kudos
Message 5 of 6
(2,806 Views)
I'm glad that I could help, Jayman. It is my pleasure to be of assistance. Good luck with your application!

Mike D.
National Instruments
Applications Engineer
0 Kudos
Message 6 of 6
(2,787 Views)