Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the efficient way of switching between VI's

Hello All
Greetings!!!!
I have to create a GUI. In which i will be switching between VI"s.
Every VI will have the back button to go back to last position.
Can any bdy suggest what will be the most efficient method to do that.
Any help will be greatly appreciated.
Thanks in advance.
Rikki
0 Kudos
Message 1 of 4
(3,537 Views)
what is a VI ?
are you using C# or VB ?
Philip Newman
General Dynamics
Electric Boat
0 Kudos
Message 2 of 4
(3,520 Views)
Rikki,

It sounds like you want to have two seperate front panels that will run in parallel with the ability to switch between the two of them.  There are different ways to do this, and they depend on how your two VIs are already structured.

If you can combine the two VIs into one encompassing VI, you can actually use the Tab Control and have the front panels of each VI appear on their own pages of the tabs.  Take a look at the following example program, as it shows you how you can create Next and Back buttons to switch between pages of the tab control.

The second way involves using Windows functions.  These functions allow you to move windows, whether they are from LabVIEW or not, to the front.  You would then run both VIs simultaneously and have a button on each front panel to bring the other VI to the front using the information in this KB.  Let us know if this is helpful!

Thaison V
Applications Engineer
National Instruments

0 Kudos
Message 3 of 4
(3,504 Views)

hello Rikki,

    If u use Measurement studio and VS.net . I sugguest u use Mircrosoft  user interface process (UIP) application block. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/uipab.asp This is a good model to do it.  

0 Kudos
Message 4 of 4
(3,461 Views)