LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to close a front panel using 'one button dialog'?

I wish i could use a 'one button dialog' so that the user can close the front panel when asked.

actually, i do put a 'open vi reference' followed by an 'invoke node' and then by a 'close reference' in a case true false (vi attached)

it seems that i can'ty use the option 'close FP' in my invoke node.

I am using a labview 6i version, is that possible to have this option, otherwise hoe can i achieve muy application without this invoke node??

thanks
guillaume
Message 1 of 6
(3,170 Views)
Just use the property FP.Open with a false constant wired to it. Be careful with the Abort VI. I wouldn't use it unless you have no hardware running or open files, etc. If a True response is received from the dialog, do an orderly shutdown and then just use the FP.Open.
Message 2 of 6
(3,170 Views)
Try creating a property node and under the property front panel window>> there is an property open. You can set a false to this and it will close your front panel. Hope this helps.
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
Message 3 of 6
(3,170 Views)
try this.
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
Message 4 of 6
(3,170 Views)
Thank you so much.
You 've been great help.
guillaume
Message 5 of 6
(3,170 Views)
U're most welcome!

Cheers
ian f koo
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
Message 6 of 6
(3,170 Views)