LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2011 Run When Opened Project Setting Not Working

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?

0 Kudos
Message 1 of 8
(3,188 Views)

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.)

0 Kudos
Message 2 of 8
(3,185 Views)

Exit LabVIEW is called when the VI is done, so I don't think that is a possibility.

0 Kudos
Message 3 of 8
(3,177 Views)

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.

 

 

Yupeng J.
0 Kudos
Message 4 of 8
(3,161 Views)

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

0 Kudos
Message 5 of 8
(3,157 Views)

I missed the debug settings under the build spec's advanced page.

Wait for debugger on launch.

 

:manembarrassed:

0 Kudos
Message 6 of 8
(3,154 Views)

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.

 

Thanking You
Yours faithfully
M.Vijay
0 Kudos
Message 7 of 8
(3,129 Views)

Could you please make a new thread for this issue? It does not relate to the original topic.

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
0 Kudos
Message 8 of 8
(3,119 Views)