From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-13-2016 09:59 AM
Hi,
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.
07-13-2016 10:01 AM
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.
http://digital.ni.com/public.nsf/allkb/569990697D996C6986256F20005216F6
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
07-13-2016 10:24 AM
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.
07-13-2016 10:30 AM
Hi,
I would like to load the input values to main front panel . Can i do this by just calling sub vi
07-13-2016 10:32 AM
Yes, if you want the values to come from the front panel, just make them an input in the SubVI. If you want the front panel to take the values from the SubVI, then wire up the output from the SubVI.
07-13-2016 10:38 AM
Hi,
could you please send me the example program for this if possible.
thank you
07-13-2016 10:39 AM
Please post what you've tried so far, either using the suggestions above or using your original idea.
07-13-2016 10:57 AM
Hi,
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)
thank you
07-13-2016 11:01 AM
Could you save for LabVIEW 2012 using File >> Save for previous...?
07-13-2016 11:02 AM