취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

user interface

해결 완료!
솔루션으로 이동

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

0 포인트
1/19 메시지
6,270 조회수

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>   ---'


0 포인트
2/19 메시지
6,268 조회수

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.

0 포인트
3/19 메시지
6,254 조회수

Hi,

I would like to load the input values to main front panel . Can i do this by just calling sub vi

0 포인트
4/19 메시지
6,251 조회수

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.

0 포인트
5/19 메시지
6,249 조회수

Hi,

 

could you please send me the example program for this if possible.

 

thank you

0 포인트
6/19 메시지
6,242 조회수

Please post what you've tried so far, either using the suggestions above or using your original idea.

0 포인트
7/19 메시지
6,239 조회수

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

0 포인트
8/19 메시지
6,228 조회수

Could you save for LabVIEW 2012 using File >> Save for previous...

0 포인트
9/19 메시지
6,223 조회수
It's too simple that create a event structure with the button which you want to click for opening a sub vi.
Once the event is triggered call the sub vi.
Design the sub vi in such a way that it should open the front panel and wait for user to provide input. Then make the sub vi close when it is actually closed. You can use model settings.
FRom the sub vi you can take the output value to main value to access the values which provided by the user.

Use state machine architecture
----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 포인트
10/19 메시지
6,222 조회수