I have several input parameters on my front panel. I would like to create a button so that when I click the button my sub vi should open in which I can enter the input values. Could you please help me in solving this problen
Solved! Go to Solution.
There are LabVIEW dialog functions that you may find helpful.
If you want a custom user input interface, you'll need to create a subVI and have the subVI's front panel show when called.
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
Usually for a simple user input I use a SubVI with an event structure. The only event you need is something along the lines of an "OK Button". You don't need a loop, the event structure will wait until some event occurs. Then you can output the user input in a cluster from the "OK Button" case.
Set the VI to open when called and to close if it was originally closed afterward.
My main program is too complex which require additional drivers to run it. I have made a sample main program in which I can create a button to call sub vi for the two controllers(numeric and numeric 2)