AFloriani
Industrial
- Jun 16, 2005
- 14
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?