I am using LabView RT 7.1 and a cFP-2010 controller as the RT target.
I want to use my cFP controller for several independent applications, i.e. I want to download several applications to the controller, and control which application to run by a host application in the PC.
Example:
The RT target has 3 independent applications: RT_App1.vi, RT_App2.vi and RT_App3.vi, that should reside in the controller memory even when powering it off.
The host PC also has 3 independent applications: Host_App1.vi, Host_App2.vi and Host_App3.vi.
When executing Host_App1.vi on the host PC, I want RT_App1.vi to execute on the RT target, and correspondingly applications 2 and 3, without having to download the correct RT application each time. Also, when executing RT_App1.vi, I do not want RT_App2.vi or RT_App3.vi to take any processor time, only storage memory.
What would be a good technique to achieve this? Should I create a main VI, that uses RT_App1-3.vi as subVIs, as the startup VI for the RT target, and then execute the correct subVI according to information received from host application? Or is there a better way?