10-25-2012 06:45 PM
I have a large code written in LabVIEW 7.1 that was written by another author who has long since left our organization. He wrote the code such that it runs on launch and while running the menubars are all turned off. There is no Stop button on the code itself or if there is (I've only seen it once and it's not available to me today) the code closes when you hit the programmatic stop. I want to be able to stop it but do so in a way that will allow the code to be stopped but still stay open so I can do a "save with options" so I can save it as a .llb file so I get the entire vi and all it's sub-vi's that I can take away to work on...
<cntl><.> works but only if someone has allowed the abort button to remain. Otherwise, that does not work
So how can I stop this code and keep it open??? Or how can I open it without it taking off and running when I open it??? I don't even know how to get into the vi properties since I can't access any menus or the vi icon with it running???
Any help would be much appreciated...
thanks... bob....
10-25-2012 07:39 PM
Look at this https://decibel.ni.com/content/docs/DOC-2309
Also Darren's Occasional Nugget 08/11/2008.
Also, if you open up a new VI, then drop the auto-running VI into it as a subVI, you will now be able to double click on that to open it without it running.
10-29-2012 03:12 PM
Thanks... I will give those a try.. Much appreciated... bob...
10-31-2012 01:39 PM
Does anyone have a version of either of the above two mentioned Abort VI codes saved for version 7.1??? I tried rolling back the 8.0 version to 7.1 but it was not allowed, likely due to compatibility issues between labview 7.1 and 8... What I really need is this capabilty in version 7.1... Anyone have such???
Or I might just try what one poster suggested, placing the autorun, no menu top level vi in another higher level blank vi and see if I can stop it that way...
thanks... bob..
10-31-2012 02:31 PM
@paris1_ wrote:
Does anyone have a version of either of the above two mentioned Abort VI codes saved for version 7.1??? I tried rolling back the 8.0 version to 7.1 but it was not allowed, likely due to compatibility issues between labview 7.1 and 8... What I really need is this capabilty in version 7.1... Anyone have such???
Or I might just try what one poster suggested, placing the autorun, no menu top level vi in another higher level blank vi and see if I can stop it that way...
thanks... bob..
Try out what ravens fan suggested.
It works!
There is anothe approach that can be used which requires you find at least one sub-VI used by the VI you are after. Open the sub-VI and mod the code so it is broken. Then open the top level VI which will not be able to run since one of its sub-VIs is broken.
But Bill's (Ravens Fan) suggestion is easier and faster. GO for It!
Ben