LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

polymorphic subVI is broken

I got some Labview code that was written in ver 7.1. from one of my colleagues.  When I got the code, I have the problem "Poly VI 'Write to XML File(string).vi':polymorphic subVI is broken"  when I tried to run the program on my bench with labview 8.2
 
Do you have any recommendations to fix this issue?
 
Thanks,
Rajesh.

Download All
0 Kudos
Message 1 of 6
(5,325 Views)
The second attached image mentions that one of the instances of the poly VI was saved without a block diagram in 7.1.  If that is the case, it will not be loadable in 8.2.  That VI is in vi.lib, however, so I'm not sure how it would have got saved in 7.1 without a block diagram.  Perhaps the top-level VI was distributed with components duplicated from vi.lib that you really don't need or want in 8.2.  Can you attach the code you got from your colleague, or is it too big / confidential?
0 Kudos
Message 2 of 6
(5,307 Views)
The attached file is the one that is causing the problems.
0 Kudos
Message 3 of 6
(5,302 Views)
My guess is that the person who gave you the file, incorrectly included a function from vi.lib into a llb file and also incorrectly removed the diagram. All you have to do is replace the function with the one on the Strings>XML palette.
0 Kudos
Message 4 of 6
(5,297 Views)

When I tried to replace the Write to XML file.vi, I get the error that the "Write to XML File.vi is already in memory.  It will be used instead of the selected vi".  How do I over write this?

Thanks.

0 Kudos
Message 5 of 6
(5,293 Views)
I don't get that message. Are you in fact opening this code from an llb? If so, you could also just delete the VI in question from the llb. Any other functions in the llb that are functions in vi.lib should also be deleted.
0 Kudos
Message 6 of 6
(5,289 Views)