07-20-2012 02:43 AM
hi, guys!
it should be a very easy problem. i was searching NI examples to learn how to realise a dialog to set parameters. "select signal dialog"is nice, but i can not understand how it works through codes in block diagram( it seems too easy!!!). and i copy all the whole block diagram to another blank vi, it can not work( not show the dialog)......can anybody tell me where the trick is????? thx!
Solved! Go to Solution.
07-20-2012 02:57 AM
Hi
I am not sure what your question is.
Do you want to know how a VI is made to work like a dialog box? You said you copied the block diagram to a new vi. I assume that the you missed on the VI Properties. Try the following:
1. Select the VI Properties of the VI, from the File Menu, Go to the Window Appearance properties in the pull down menu.
2. Select 'Dialog' as the appearance option and click 'Ok'.
3. Save your vi and Run.
If that is not what you are looking for, please explain again.
07-20-2012 03:04 AM
thank you very much, this is what i want......sorry, i am realy a new bird of labview
07-20-2012 03:06 AM
Oilpig wrote:
it can not work( not show the dialog)......
What dialog do you mean?Is your issue solved by following the instructions of Freelance.Please explain your problem more clearly.
07-20-2012 03:07 AM
Sorry..Iam little bit late.OK
07-20-2012 03:14 AM - last edited on 10-05-2024 02:39 PM by Content Cleaner
I don not recognize they code you have attached. Which example containes it? Please be very specific.
In the palettes, we have "Select signals", which is is an express VI. As such, it has a configuration dialog intended for the programmer, not the end users.
Is that what you meant?
If you want your own VI to show the front panel when called, you can configure the windows appearance in the VI properties dialog. The VI you have attached is set to "dialog", and that's probably what you want. Make sure the panel of the subVI is closed before running the calling VI.
(you can also change the behavior on a call-by-call bases by changing the "subVI node setup" of the subVI instance in the calling VI)
07-20-2012 03:19 AM
thank you for your advise. i just wonder how ' select signal dialog ' displays like a dialog when running........