LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I open a VI when I push a button from another VI's panel?

Hello,

I have the following question.
If I have a VI called "Menu", and this VI just has a button,  how can I open another VI when I push the button from the first VI?

Thank you and have a nice day.
0 Kudos
Message 1 of 3
(2,719 Views)
Hi Raul,

use a subvi and set the properties of this vi to 'Open front panel when called'!
Depending on your main vi you can use a case structure to encapsulate the subvi or define an event to be executed when the button is pressed.
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,718 Views)
Hello,

Thank you for your answer.

I wanted to use a subVI created out of my VI, but this was not ok. My VI is too complex (3 Graphs, many analysis options and settings).

I will try to create an event when I push a button and hope it works. I'm new to Labview, but I'm very satisfied with the way it works.

Thank you again for your help, have a nice day.
0 Kudos
Message 3 of 3
(2,689 Views)