LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Classes deploy in cRIO

Hi all,

 

I am trying to run a vi built with OOP in RT. Whenever I deploy the vi , only member vis that are used inside the main vi are deployed and not the entire class. Is this the expected functionality? In windows if a member of class is used, the entire class gets loaded into memory. Why is this different in Real Time target?

0 Kudos
Message 1 of 3
(2,860 Views)

Are you referring to running a VI interactively in the development environment or a built application?

 

In built applications, it is common for items in libraries / classes to be excluded if not statically linked due to the default value of the "Remove unused members of project libraries" option on the Additional Exclusions page of the build specification's properties being TRUE.  If this is your situation, then you should be able to either change this setting to FALSE or add the class to the Always Included list on the Source Files page.

 

However, I would expect the behaviour to be the same on a PC target and a real-time target.



0 Kudos
Message 2 of 3
(2,828 Views)

I am trying to run the VI interactively. So yeah, when I make this application ,I can built with the reqired vis included. But in this case it is not deploying all members of a class

0 Kudos
Message 3 of 3
(2,816 Views)