LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to display one vi in all the other vis

I'm using one vi for colour encoding.I wanted to display that vi for every other vi or it should be on the screen throughout my display.How to do it.
0 Kudos
Message 1 of 14
(3,582 Views)
You could save the VI as a VI template, and open it through the VI server. This will create a new version every time you call. Coupled with "show panel when called", you should be able to get the functionality you need.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 2 of 14
(3,582 Views)
> I'm using one vi for colour encoding.I wanted to display that vi for
> every other vi or it should be on the screen throughout my display.How
> to do it.

If you just want this VI to be in front of your others, you can either
programmatically bring it to front at various points in your execution,
such as after opening another window, or you could set it to be a
floating window if you are using LV7. This will prevent other windows
from coming in front of it, much like the LV help window.

Greg McKaskle
0 Kudos
Message 3 of 14
(3,443 Views)
If you have LabVIEW 7, you can use a subpanel to house the VI in the front panel of another VI. Look at the shipping examples.
0 Kudos
Message 4 of 14
(3,443 Views)
Is there any possibility in LabVIEW6.1
0 Kudos
Message 5 of 14
(3,443 Views)
Hi
I'm a new user of labview.So please tell me the steps to use VI server.What for it is.
0 Kudos
Message 6 of 14
(3,582 Views)
There are good examples of the VI server in the LabVIEW examples. Here is an example of using a VI template with VI server to allow opening (and showing) several copies of essentially the same VI. Note that each instance of the VI has it`s own data. The main difference between this approach and a reentrant VI is that this way, each "copy" can be displayed.

Short note: A VI template is a normal VI saved as a *.vit. You need to go to "save under" and choose "VI Template". this will save the VI as a template, allowing LabVIEW to open multiple instances. Simply renaming a VI to a VIT file does not make it a template.

A note to my example. You need to update the path control on the front panel before running the VI,otherwise L
abVIEW doesn`t know which template to open.....

I have included some property nodes in my example to give an example of other things available with the VI server. Re-setting the window parameters is only one of a collection of possibilities. Again, the LAbVIEW examples give a good example of this kind of thing.

If you have any other questions, just ask.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
Download All
0 Kudos
Message 7 of 14
(3,582 Views)
My one more doubt reg my appln is how to use autocad diagram in Labview.Not only copying and pasting also animating the tank and indicating their alarm limits etc.I want to have a mimic diagram of my plant.Is it possible
0 Kudos
Message 8 of 14
(3,582 Views)
I've gone through both the examples.I could able to understand the part of VI server.
Let me clear in my expression.I have attached one main vi.From this i'm calling many other VIs for different display formats of various channels.I have used color encoding for showing the status of the signals.To decode it I have to display one vi showing the colordecoding allthe time.
Download All
0 Kudos
Message 9 of 14
(3,582 Views)
I`m not sure what you want to do with these two display VIs. I am presuming that the VIs you are calling with VI server are outputting data, which is then read by the display VI, showing the output.

Maybe simply setting the window settings of your display VI so that the window isn`t closed after executaion will suffice?

Here is an example of a changed version of one of your VIs.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 10 of 14
(3,582 Views)