11-19-2010 11:36 AM
We have an old computer that has Labview 6 on it and when you open an existing VI it just runs it. I would like to get to the diagram view and set break points but can not seem to. Any ideas? Could the machine be missing the development software and if so is there a way to generate the vi diagram from a vi executable?
Solved! Go to Solution.
11-19-2010 11:53 AM
11-19-2010 12:29 PM
@Omar II wrote:
Is it a VI (.vi) or is it an executable (.exe) file? If all you have is an executable you are out of luck,
Not exactly. Remember back in the 6.x days a built EXE was little more than a LLB file. You may be able to rename the EXE to have a .LLB extension instead. Then you can open the LLB in a LabVIEW development environment and see the VIs in it.
The catch is most likely the VIs will not have a block diagram and can't have breakpoints, probes, or be modified. But you can use the VIs in other applications...but only for that version of LabVIEW. But if debug was turned on in the EXE then the block diagrams may exist.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
11-19-2010 12:39 PM
Could it be that the VI in question simply has "run when opened" set to true?
If so, a useful shortcut is to hit:
Control-.
That is "control-period" to abort execution. Try it.
- John
11-19-2010 12:39 PM
Thanks for the responses. The file is *.vi. I tried opening Lab Vew first and then using open vi selected the vi but it seems to run it only. Someone here was saying I could be missing a portion of the Lab View development enviroment. Since I do have the *.vi file sounds like there is a way to get to the code or diagram.
11-19-2010 12:42 PM
also when it looks like it is Lab View 6i
11-19-2010 12:51 PM
As noted, it's quite likely that the VI is simply set up to run when opened. You can stop the VI as John had suggested. If that doesn't work then do the following:
11-19-2010 12:55 PM
that worked, thanks!