LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I remove the "continuous run" requirement?

Hello,

   I recently installed Labview 8.0 and dragged a few controls onto the front panel of a vi and connected them on the block diagram in-order to create a quick demo of a potential test setup. When I ran the "builder" to create a "exe" file the demo file has the "continuous run" button that needs to be pressed in order for the demo to run.
  How can I create a exe file that just runs by itself without the need for the user to place the vi in the continuous run state?


Regards,

Dave
Regards,


Kaspar
0 Kudos
Message 1 of 5
(2,972 Views)
You need to configure the top-level VI to be "run when opened".You can do this either in the VI's properties or in the build settings (override the VI's settings).
0 Kudos
Message 2 of 5
(2,956 Views)
place a while loop around the code,
 
 
(don t forget to place a timing VI, e.g. wait until next ms, or use a timed while loop)
 
 
---
0 Kudos
Message 3 of 5
(2,955 Views)
Dave,

Does your VI run normally in the development environment? Does it have a loop structure to keep it going? Put all the "test" controls inside a while loop. Add a Stop button connected to the termination node. Add a small delay (100-200 ms is good for user interfaces). You can also set VI Properties to "Run When Opened" which will cause the VI (or .exe) to start when opened.

Lynn
0 Kudos
Message 4 of 5
(2,953 Views)
Hello,

  I have my problem fixed. Thank you for your inputs, the people who are participate in this forum are GREAT!
Regards,


Kaspar
0 Kudos
Message 5 of 5
(2,934 Views)