08-21-2008 09:12 AM
I am working on a report generation program. There is a front panel with many input widgets/controls, including a "Ok" button. After the user click the OK button, the program will do some computation and generate a string, a.k.a., the report. I wanna popup another window containing the report string in a string control box so that users can edit the report.
So, i have two questions:
08-21-2008 09:51 AM
Create a subVI to which you wire the original report string. In you program change the SubVI Node setup to "Show front panel when called" and "Close afterwards if originally closed". In the subVI implement a while loop that has to be stopped before closing the popup window. That would do the trick and gives you the highest degree of control.
See http://www.morechemistry.com/labview/contributions/popup
Sample vi's use LV 8.5.1.
08-22-2008 09:11 AM
Forrest,
To access the "SubVI Node Setup..." right-click on the subVI to get the shortcut menu and one of the options is this setup.
Cheers,
Jonah
Applications Engineer
National Instruments