Sarah83 Posted August 11, 2004 Report Share Posted August 11, 2004 Hello, is there a possibility to create an own "run" button for a .vi like a stop button? Or is the only way to run the .vi with this arrow at the top? Quote Link to comment
James McAnanama Posted August 11, 2004 Report Share Posted August 11, 2004 No, I don't think it is possible to get events from an idle vi such as a "RUN" command button. :2cents: That being said, I think there is a general belief that you should not use the Run button for a deployed VI. Instead, the top level vi should run when opened (right click icon on top right of vi, select vi properties, then select the Execution category and click the "Run when opened" box. Quote Link to comment
Sarah83 Posted August 11, 2004 Author Report Share Posted August 11, 2004 No, I don't think it is possible to get events from an idle vi such as a "RUN" command button. :2cents: That being said, I think there is a general belief that you should not use the Run button for a deployed VI. Instead, the top level vi should run when opened (right click icon on top right of vi, select vi properties, then select the Execution category and click the "Run when opened" box. 1385[/snapback] Hmmm, ok, I open my .exe file and then it run. But now my radio button is selected by default. I would be better if you must run the .exe manually. Or is it possible to deselect the default value and no radio button is activated? Quote Link to comment
Michael Aivaliotis Posted August 11, 2004 Report Share Posted August 11, 2004 Hmmm, ok, I open my .exe file and then it run. But now my radio button is selected by default. I would be better if you must run the .exe manually. Or is it possible to deselect the default value and no radio button is activated?1389[/snapback] When you create an exe file, LV automatically sets your main toplevel VI to run automatically. What radio button are you talking about? Quote Link to comment
Mikrobi Posted August 11, 2004 Report Share Posted August 11, 2004 Hmmm, ok, I open my .exe file and then it run. But now my radio button is selected by default. I would be better if you must run the .exe manually. Or is it possible to deselect the default value and no radio button is activated? 1389[/snapback] What said Michael Aivaliotis is true, but also for Radio Buttons you could use Property Node and set last properties: AllowNoSelection = TRUE regards Mikrobi Quote Link to comment
Sarah83 Posted August 12, 2004 Author Report Share Posted August 12, 2004 When you create an exe file, LV automatically sets your main toplevel VI to run automatically. What radio button are you talking about? 1395[/snapback] It't the same .vi *klick* Quote Link to comment
RagingGoblin Posted March 21, 2006 Report Share Posted March 21, 2006 Hello,is there a possibility to create an own "run" button for a .vi like a stop button? Or is the only way to run the .vi with this arrow at the top? Put everything into the second box of a sequence structure and a while loop into the first. Your run button can stop the first box and you will move to you app. I found some other solutions on: http://forums.ni.com/ni/board/message?boar...ssage.id=122684 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.