Showing and closing Front Panels
Showing and closing Front Panels
(OP)
Another LabView 7.1 question:
I want to know how to show and close the Front Panel of a SubVI. I've found in examples and help that in order to show the Front Panel of a SubVI I have to configure "SubVI Node Setup". I've configured it to "Show when called" and "Close afterwards if originally closed".
I would like to have two buttons OK and Cancel. When the user press cancel it simply closes the Front Panel and go back to the Main Front Panel. When the user press OK it process some data and then close and go back.
Up to now I have tried creating some structures but it has not worked. Right now I only have an event structure for the OK button in the block diagram and no cancel button, because I don't know how to close the Front Panel (it won't close when the block diagram finishes executing).
Any suggestions on how to make what I need?
I want to know how to show and close the Front Panel of a SubVI. I've found in examples and help that in order to show the Front Panel of a SubVI I have to configure "SubVI Node Setup". I've configured it to "Show when called" and "Close afterwards if originally closed".
I would like to have two buttons OK and Cancel. When the user press cancel it simply closes the Front Panel and go back to the Main Front Panel. When the user press OK it process some data and then close and go back.
Up to now I have tried creating some structures but it has not worked. Right now I only have an event structure for the OK button in the block diagram and no cancel button, because I don't know how to close the Front Panel (it won't close when the block diagram finishes executing).
Any suggestions on how to make what I need?





RE: Showing and closing Front Panels
Wheels within wheels / In a spiral array
A pattern so grand / And complex
Time after time / We lose sight of the way
Our causes can't see / Their effects.
RE: Showing and closing Front Panels
I guess it was not closing before because the program flow structures I was using.
Thanks again.