In your example all would need to is to create a subvi ("dialog1.vi" for
example). this subvi would have a text box (string control) and an OK button
in the while loop (wired to the terminator). Put the string Control in the
while loop and wire to the outside of the loop and to a string indicator.
This indicator needs to be connected as an output (right click on icon and
show connections). In VI setup set the vi to be a dialog box, and to show
itself when loaded and close when finished. Plop this vi onto a new vi's
diagram and connect its string out to what ever you want to process. If you
then want to through up another dialog, just repeat the process. The top
level vi need not even show itself in the finished app, it could just sit in
the background chucking up dialog
s.
Hope this is of some use.
SWatts
SSDC
Sonny
wrote in message
news:506500000008000000AD230000-993342863000@exchange.ni.com...
> I would like to create a User Interface (UI), and that UI is linked to
> the second UI. For instance, the first UI I ask user to enter any
> number in the textbox, and hit OK button. After the OK button is
> clicked. I want the first UI disappear, and the second UI display to
> show the result of something that I want to show.
> Hoping anyone has any advise to share with me. I am a beginner.
> Thank you very much
>
> Sonny
> Email: son09@yahoo.com