LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error in deploying executable with classes

Hi,

I have made a LabVIEW 8.5 application using multiple classes which have some equal method names.
When I created an executable with the application builder, it warned about automatically moved VIs due to clashing names.
To solve this I have set a prefix for every method of every class (by setting a prefix for every item in a virtual folder, I have one for every class)

However, both of the build methods seem to go well, but at runtime the following message is shown, without further diagnostic info:
------------------------------------------
The VI is not executable. The full
development version of LabVIEW
is required to fix the errors.
------------------------------------------

... and the application cannot be executed.

I have also setup a very simple application using one startup vi with only a constant of one class without any private data or methods.
When I build an executable from it, all goes well, even at runtime. However, when I rename the class in the build script, the same error message is shown.

To me it seems that there is a problem in building executables when renaming (parts of) classes at build time.
Does anybody know if this is a known bug or limitation in LabVIEW 8.5?

Can anybody think of a workaround other than renaming all equal method names?

Best regards,

Raymond
0 Kudos
Message 1 of 2
(2,372 Views)
I've tried renaming all methods of a class by prepending the method name with the class name for a specific sub-application and it seems to work.
However, I think this shouldn't be the way to do it and maybe there is an easier and better way.

Any Ideas?
0 Kudos
Message 2 of 2
(2,364 Views)