LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dialog in labview5x

Hello,

I use LabVIEW 5.0 and want to make a dialog-window.
I know the one- and two-button-dialogs for showing a message, but I need
one to let the user change settings at runtime (with checkboxes and
other controls).
Is there a possibility to create such windows with LabVIEW5.x?

Thanks,
Hans
0 Kudos
Message 1 of 4
(3,174 Views)
Any VI can be configured as a dialog (i.e. with a pop up window at the time of execution). You just have to set the window and execution options to fit your needs. You change those option by right clicking with the mouse on the applications icon in the upper right corner of the front panel (VI set up...).

I attach an example, TwoNumbers.vi, a VI that prompts for two numbers when called from another VI. Look at the diagram tailor it to your application. Hope this helps. /Mikael
0 Kudos
Message 2 of 4
(3,174 Views)
Hans wrote:

> Hello,
>
> I use LabVIEW 5.0 and want to make a dialog-window.
> I know the one- and two-button-dialogs for showing a message, but I need
> one to let the user change settings at runtime (with checkboxes and
> other controls).
> Is there a possibility to create such windows with LabVIEW5.x?
>
> Thanks,
> Hans

It should be ok. I've done similar things in 5.1. Create a sub vi that
consists of a while loop; the loop will keep executing until a button is
pressed (OK), then it will return to the main vi passing with it any
parameter values. You can set the sub vi's properties to act as a dialogue
box then it will stay on top until it is closed, you can also disable the
menu, toolbars etc. Tick boxes I'm not sure about (don't have labview here
to try) but it shouldn
't be too hard to improvise something similar. Once
you have the updated parameter settings you can assign them to
controls/indicators in the main vi using local variables and attribute
nodes.

Contact me if you need more help.

Dave.
0 Kudos
Message 3 of 4
(3,174 Views)
Hans;

Check the following answer that I submitted I while ago to a similar subject:

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000008190000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0

EJV
www.vartortech.com
Message 4 of 4
(3,174 Views)