From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create one program from few programs

Hi.

 

I have for example 5 programs and I would like to create one program in which i could switch between this 5 programs. One of these should be running all the time and the others should start when i will switch to them. I need solution or something like that.

 

 

Thanks.

0 Kudos
Message 1 of 8
(2,890 Views)

hi,

  Just check the attachment..

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 2 of 8
(2,879 Views)

hi,  i've got LV 8.6 so could you save that files as version 8.6 or lower?

 

thanks.

0 Kudos
Message 3 of 8
(2,862 Views)

hi,

 Now check the attachments..

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 4 of 8
(2,858 Views)

Make use of SubPanels.

0 Kudos
Message 5 of 8
(2,849 Views)

You can do a search on "dynamically called" sub vi's.

 

See the tiny example below of how to call it.  You can actually call multiple VI's and they will run in parallel, although you have to be careful when doing this.

You would have to wire False to  "Wait till done"

You can stop/close the VI using property node.  If you wired False to "Auto Dispose Ref", then make sure you do close ALL references before exiting your program.

 

 

 

 

Message Edited by Ray.R on 04-27-2010 08:19 AM
0 Kudos
Message 6 of 8
(2,832 Views)
That's why SubPanels is better suited to this app; you can only display 1 app at a time in the subpanel.
0 Kudos
Message 7 of 8
(2,798 Views)

 

Here is the example of the simple subPanel from the example finder:

 

 

Similar to my example, except that it uses the  SubPanel Invoke Node.

Message Edited by Ray.R on 04-28-2010 08:08 AM
0 Kudos
Message 8 of 8
(2,767 Views)