LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Did I really just do what I think I did?

Solved!
Go to solution

Please tell me that I really didn't do what I think I just did.

 

Run the attached .vi and please, someone, anyone, show me a way to avoid having to re-write everything I've done. I was trying to get everything ready to compile and needed a way to close the .vi after it was stopped so I added a sequence structure to it and put the bulk of the .vi in the first frame and in the second one put a property node that closes the front panel.

 

However, it runs when opens and I have it set to not show the abort button and not show the menus. Hence, your only option is to hit stop, stop the first frame of the sequence, and then close the front panel.

 

Please tell me there's a way to fix this.

 

-Ian

0 Kudos
Message 1 of 4
(2,261 Views)
Solution
Accepted by topic author iyeager

Nevermind, I'm sure you all figured out a way around it before I did.

 

Without the subVI that I call in it to do some air flow calculations it stalls on run. I just moved the subVI, fixed the mistake when it stalled and all is good in my world.

 

Working on Saturdays sucks, working on Saturdays and realizing it may have been all for not, that really sucks.

 

-Ian

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

Ian,

 

Glad you got it fixed.  Breaking a subVI is one of a few ways to deal with that issue.

 

Two additional ways ways of editing VIs set to run when opened: 1. Place the VI as a subVI to a new main VI.  Then open it from the diagram of the new VI.

2. If the VI is in a project, open it directly from the project.

 

I summarized these methods here for your benefit and for anyone who finds your post later while searching for the solutions to that problem.

 

Lynn

0 Kudos
Message 3 of 4
(2,243 Views)

Another option is an abort vi. Such a VI is able to abort other running  VIs.

A good example is available from LAVA.. Saved me a couple of times.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 4 of 4
(2,217 Views)