LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Executable can't load class

Solved!
Go to solution

Note: you don't need the hard coded false case structure for cube dropping. Class constants by themselves don't result in any executable code.

~ Helping pave the path to long-term living and thriving in space. ~
0 Kudos
Message 11 of 13
(247 Views)

This solution seems to not work for me, and I have found out why, but not how to fix it. The solution works no problem in development mode however in execution mode it doesn't. The reason why is that the child classes are not in the dependencies of the project using this method only the parent class. I noticed when I had all the child classes placed into my factory pattern vi of the parent class all the child classes showed up in the dependencies of my project. Using this method they didn't.

 

My only solution right now is to just manually place all child classes in the project, but that's what we are trying to avoid. Any suggestions?

0 Kudos
Message 12 of 13
(92 Views)

@ESCO805 wrote:

This solution seems to not work for me, and I have found out why, but not how to fix it. The solution works no problem in development mode however in execution mode it doesn't. The reason why is that the child classes are not in the dependencies of the project using this method only the parent class. I noticed when I had all the child classes placed into my factory pattern vi of the parent class all the child classes showed up in the dependencies of my project. Using this method they didn't.

 

My only solution right now is to just manually place all child classes in the project, but that's what we are trying to avoid. Any suggestions?


Did you set the class folder to "Always Included" in the build spec?

Redhawk
Test Engineer at Moog Inc.

Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.

0 Kudos
Message 13 of 13
(62 Views)