キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Run VI

Hello
 
I`ve a problem with the run of the VI. I want that my VI run when opened, so I`ve set ``Run when opened`` into the Properties -> Execution of my VI.
But When I open this it does not run.
What Do I wrong? 
 
Thanks  


Message Edited by enzo78 on 05-30-2008 11:19 AM
0 件の賞賛
メッセージ1/12
4,548件の閲覧回数
Depends on how you're opening it. If you open it from the file system it wil do it. If you have it as a subVI on a block diagram and double-click the icon on the block diagram it won't run. In fact, the latter is used as a method to allow you to open a VI that is set to automatically run when open.
0 件の賞賛
メッセージ2/12
4,538件の閲覧回数
Hello
 
I`ve created an executable, and when run it does not work
 
Thanks
0 件の賞賛
メッセージ3/12
4,536件の閲覧回数
In the project specifications did you set the your VI as the startup VI? Do you also have the "Show front panel when called" and "Close afterwards if initially closed" options set in the "Window Appearance" section? I assume your VI has some form of loop that allows it to run continuously once started.
0 件の賞賛
メッセージ4/12
4,527件の閲覧回数
Yes I set the "Show front panel when called" and "Close afterwards if initially closed" and my VI has a while loop, but where can I set the VI as the startup VI?
 
Thanks
0 件の賞賛
メッセージ5/12
4,521件の閲覧回数
Assuming you're using LabVIEW 8.x, you set this up in the "Source Files" section:
0 件の賞賛
メッセージ6/12
4,517件の閲覧回数
Yes olready done, I send you my VI.
0 件の賞賛
メッセージ7/12
4,509件の閲覧回数
When I opened your VI I did not see the "Run when opened" option checked. It was unchecked.
0 件の賞賛
メッセージ8/12
4,501件の閲覧回数
I`m sorry , I send you a wrong VI, This is the correct one.
0 件の賞賛
メッセージ9/12
4,496件の閲覧回数
Your VI is running. The problem is in your logic for the control of the loops. The way it's set up the main loop will stop after one iteration because the default value of the of the "Instrument ON/OFF" control is False. Also, your logic for the control of the two loops is opposite with regards to that control. Thus, in the one loop setting it on stops it. In the other, setting it on allows it to continue.
0 件の賞賛
メッセージ10/12
4,483件の閲覧回数