LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pb Auto Execution Vi : How to Edit it ???

Hi,

I have developped a vi in which I set the start at open option enable, and I use the Exit Labview sub-vi at the end of the vi execution to close it entirely. It works fine, but I have found a bug in my program.
How can I edit it ?? : The vi runs at the open, and stop labview at the end.

Help is welcome.
Eddy DUCHENE
12 F Chemin de Boutary
69300 CALUIRE ET CUIRE

educhene@laposte.net
0 Kudos
Message 1 of 3
(2,405 Views)
Here's one way to do it.

Create a directory in your LabVIEW x.x directory named 'wizard', and save the attached VI there. If LabVIEW is running, you'll need to restart it, but then in the 'File' menu, you'll have a new selection named "Supress Run on Open...". Select this and you'll get a browse dialog to select the VI to open. It opens it by reference so it will not run.

This is saved in LabVIEW 6.1, but works fine on 7.0 and 7.1.

You can also open it by opening a blank new VI, drop the the vi that you wanted to edit as a subvi and opening it from the block diagram of the blank one you just created. It won't run when opened.

Ed


Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 2 of 3
(2,402 Views)
Thanks a lot for your rapid and good answer Ed.

It works fine.

Bye
Eddy DUCHENE
12 F Chemin de Boutary
69300 CALUIRE ET CUIRE

educhene@laposte.net
0 Kudos
Message 3 of 3
(2,397 Views)