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
해결되었습니다! 솔루션으로 이동.
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> ---'
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.
Hi,
I would like to load the input values to main front panel . Can i do this by just calling sub vi
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.
Hi,
could you please send me the example program for this if possible.
thank you
Please post what you've tried so far, either using the suggestions above or using your original idea.
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
Could you save for LabVIEW 2012 using File >> Save for previous...?
날짜: 07-13-2016 11:02 AM