LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I go to a new window by clicking a button

Hi, I am a beginner user of Labview. Could help me solve this problem:
For user's login verified, the system allows the user to choose two functions.
Press button 1, go to a new window where the user can change their particulars
Press button 2, go to another window where the main menu is.
I used case structure to select functions. But it can not work.
The attachment is what I do. Can anyone help to point out my mistakes?
Thanks a lot.


Regards
yoyo
0 Kudos
Message 1 of 2
(3,117 Views)
Hello yoyo,

just put your "Main_Menu.vi" instead of the text "main menu" (and set the window properties to "Open when called" and "Close when finished" of that vi).

Btw. you can also use "Wait for Front panel activity" instead of "Wait (ms)" For a simple user interface this is really convenient.

Hope this helps,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(3,111 Views)