06-06-2012 03:16 PM
I have a simple project written with LabVIEW 2011.
Run When Opened is checked for my Startup VI.
The problem is...
When I run my executable, it does not run until I click the run button in the toolbar.
What gives?
06-06-2012 04:42 PM
Could it be that your VI actually runs but immediately completes for some reason.
(maybe there are strage default values in the controls (e.g. TRUE for the stop button) or it cannot find certain files, etc.)
06-06-2012 06:38 PM
Exit LabVIEW is called when the VI is done, so I don't think that is a possibility.
06-07-2012 11:00 AM
Hi ottomatic, did you try the following steps?
1. Open the build specifications from in the project explorer.
2. Click on the "Source File Settings" under the category window.
3. Select the VI that you want to run when opened in the project file window.
4. Click the "Customize VI Properties" button.
5. check "Run when opened" under the "Execution" section.
If you already did these, you probably had debugging mode enabled, please click off debug mode.
Please let me know if it works.
06-07-2012 11:15 AM
Source File Settings for my Startup VI
Only options On are
- Window has Title Bar
- Show front panel when called
- Run when opened
All others, including Allow debugging, are NOT checked
06-07-2012 12:51 PM
I missed the debug settings under the build spec's advanced page.
Wait for debugger on launch.
:manembarrassed:
08-03-2012 04:01 AM
Respected all,
I am facing probelm while running probe.vi.
I received this command "connection to acquisition board was not found" when i run labview program.
I am using labview 5.1, fieldpoint FP 1000, NI-DAQ 6.5, Field point explorer version 1.6, Measurement and Automation Explorer 1.0.1.
I would kindly request you please help me how to run my program probe.vi in debugging mode in windows 95 version, so that i can locate where error occurs.
08-03-2012 05:13 PM
Could you please make a new thread for this issue? It does not relate to the original topic.