LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Show a picture in a front panel

Hello All,
I want to display a image (that is in another front panel) when i press a buttom in the main front panel. Then I want to close the image clicking in a buttom in the second panel and return to the fist front panel. I don´t know how to do it.
Thank you
Ander.
0 Kudos
Message 1 of 2
(6,038 Views)

You go into the second subVI and select File>>VI Properties>>Window Appearance>>Customize and set the VI to be opened when called and closed when finished. You can then use an event structure in your caller to detect the value change event for the button and simply call the subVI.

This is really fairly basic stuff. To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).


___________________
Try to take over the world!
Message 2 of 2
(6,034 Views)