LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pop up window for login

hello friends,

 

I am trying to develop a pop-up window for logging in into a labview application.
 I am using prompt user dialog box for the purpose with two buttons "OK " & "Cancel". I have managed the OK button but whwnever I am Pressing Cancel Button it automatically goes to main window.

 

I just wanted the action that whenever I press Cancel Button My VI closes Automatically..

 

please give me some suggestions on this...

 

Thank you.

0 Kudos
Message 1 of 5
(2,638 Views)

For your application you should make one case structure and put quit labview vi in false case. 

See attachment for reference. 

CLAD
Passionate for LabVIEW
0 Kudos
Message 2 of 5
(2,632 Views)

Quit LabVIEW is a bandaid at best, and quite a bad one to terminate your application. Your program flow should consist of some kind of state machine that properly terminates on the desired event (Cancel button, Exi9t menu, etc).

 

If build into an application it will stop automatically once the last front panel is closed and no other VI holds an open reference to itself or another front panel. While executing in the development environment you typically do NOT want LabVIEW to shutdown just because you happen to terminate your application during debugging.

Rolf Kalbermatter
My Blog
Message 3 of 5
(2,601 Views)

Gud morning all,

 

Thank you for your valuable suggestions, I'll check whether my problem is solved or not. and come back to you again if having any problem.

 

thank you once again.

 

akshay joshi

0 Kudos
Message 4 of 5
(2,536 Views)

Also please have a look at one of my problem,

 

Problem-in-camparing-two-sound-signals

 

I'll be glad if you can suggest me anything on this..

0 Kudos
Message 5 of 5
(2,531 Views)