LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sub VIs from V7 causing LabVIEW V8 to crash

HI all,
 
I have spent the last few days trying to solve this problem to no avail, so I thought I would throw it over to the wider LabVIEW community for help. Here is the scenario:
 
1. I am currently running LabVIEW V8.0.1
2. My major project was written in V7.1 containing 80+ VIs that were all saved as a single LV V7 LLB.
3. Upon converting them to V8 I have had regular crashes and some sort of curruption (perhaps?) in my V7 converted files. I have pulled apart the V7 LLB and saved them all as individual VIs in the project builder to try and solve what is happening......
 
I will attach one as an example:  Get Ambient Average 2.vi
 
Try this:
1.Open up a blank VI in LV8.0.1 and then do 'select a VI' and load my VI onto the block diagram as a sub VI. Double click on it to open my sub-VI and it crashes!
2. Now open the  Get Ambient Average 2.vi   on its own into LV8 and all loads/runs fine.
 
Anyone got any clues as to the cause of this. I potentially have a large number of my 80 VIs that all showing similiar problems, so I have a big task ahead of me trying to fix them all...... if I only knew what was causing it.
 
Many thanks already to the guys at NI Sydney who have been trying to solve the problem for me.....
 
Regards
Adam
0 Kudos
Message 1 of 2
(2,467 Views)

The crash is related to the cluster, which has been somehow corrupted. The problem seems to be related to the table control, since removing it solves the problem, while removing others don't.

The attached vi is a stripped down version of your original vi, still exibiting the crash problem. Removing the table, or renumbering the cluster elements order solves the problem. Replacing the table with another control also. Replacing back with another table recreates the problem.

Have you tried to reload the original LV 7 vi to see if the problem persists ?

Chilly Charly    (aka CC)
Message 2 of 2
(2,456 Views)