04-14-2015 02:03 AM
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?
04-14-2015 07:18 AM
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.
04-14-2015 07:44 AM
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