LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to open labview program with Quit Labview function inside?

Solved!
Go to solution

Hi Any idea how to open labview program with  Quit Labview function inside?

 

I forgot to add and set the condition of the type for this program.

 

If the program is an application, it would close straight away.

 

If it is still labview work, it will go straight to editing program without closing.

 

So I need to recover, open it and make some changes.

 

Clement

0 Kudos
Message 1 of 4
(2,427 Views)

Clement,

 

I am not sure I completely understand your question.

 

If you have a VI with the source code (block diagram) and it is set to run when opened, then to edit it just drop it onto the diagram of another VI as a subVI.  You should be able to open that.

 

If it has been built to an application, youneed to get the original VI to edit.

 

Lynn

Message 2 of 4
(2,424 Views)
Solution
Accepted by topic author astroboy

Put the VI in a project and open it from there, then it shouldn't autorun. You can use App.kind property of application to decide whether to close or not.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 4
(2,410 Views)

Oh that's right.

Thanks

 

Clement

0 Kudos
Message 4 of 4
(2,379 Views)