LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug with compiled lvclasses

After a long day of head scratching I found a bug with the compiler and lvclasses. Basically you cannot run a compiled program that has two classes with the same name even if these classes are parts of separate libraries (which they have to be). I'm running 8.2.1, I haven't checked it 8.5 yet.

 The main.vi in the attached project will work fine in the development environment, but the compiled version will refuse to run (the error it gives is useless). if you rename one of the classes it'll start working again.

 If someone has problem with a similarly useless error from a compiled program. I found out that if you mass compile the project file it'll error on things that the development environment won't. In my case the only vi with an instance of the second conflicting class, came up as a bad vi.




0 Kudos
Message 1 of 2
(2,535 Views)
OK this gives a warning, and corrects itself in 8.5.
0 Kudos
Message 2 of 2
(2,532 Views)