Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Corrupt VI after saving with LV and vision module 8.6

I have a project in Labview 8.2.  I can open and run it well in Labview 8.6 but if i saved the main VI i cannot reopend it.  Labview crash when trying to open the file after saving it.  The original file is also the double size of the new one.  The error says that the module nivision.dll crash.  Here's the error

 

AppName: labview.exe AppVer: 8.6.0.4001 ModName: nivision.dll

ModVer: 8.6.0.49152 Offset: 00014715

 

thank you

0 Kudos
Message 1 of 8
(4,233 Views)
This is probably related to a corruption that may have occurred in the upgrade. Do you have any custom controls? Do you have subVIs that you can save that do not cause it to crash?
Vince M
Applications Engineer
0 Kudos
Message 2 of 8
(4,212 Views)
I have 2 or 3 customs controls and i can save all my VI without problem exept one
0 Kudos
Message 3 of 8
(4,195 Views)
I would suggest remaking those 2 or 3 custom controls in 8.6 and replace them in the VI that you are having touble with. One or all of the custom controls are probably corrupt from the upgrade.
Vince M
Applications Engineer
0 Kudos
Message 4 of 8
(4,185 Views)

I had a similar problem when I upgraded to 8.6.  I found out that the guilty control was a reference to an image control that I was trying to pass to a subvi.  Since it isn't possible to create this control directly, I had dropped an image control onto a reference control to create it.

 

I had used this control several places in my program.  I ended up making it a strict type definition, which reduced it to one control to repair.  By deleting and recreating the control, I fixed the problem.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 5 of 8
(4,179 Views)
I recreated my 2 custom controls and it did not work.  These controls are only for a state machine (Enum control) and it does not have vision control in it.  I also don't find reference in my code.  To create an image control I right click on any vision funtion who have an image input and choose create-->control
0 Kudos
Message 6 of 8
(4,171 Views)
How big is the VI that has problems saving? I'm still convinced that this is a corruption problem. If your VI is not too big I would suggest that you start deleting and replacing VIs. You say that you have already done this with the custom controls. If your VI is too big I would suggest starting with the vision VIs. If you find which one was corrupt then please post that so we can have the documentation and see if this has happened more than once.
Vince M
Applications Engineer
0 Kudos
Message 7 of 8
(4,135 Views)
Its a huge program. Thank you for your help but I reinstall LV 8.2 and everythings works well now
0 Kudos
Message 8 of 8
(4,124 Views)