What I want to do is to have an extendable, flexible and easy to use PXI RT controller software environment, where the RT programs do not reside on the RT platform, but on the host computer (which is required in this case).
So, my concept is to have small flexible functions for the RT controller implemented in separate "RT"-Programs. This programs reside on the host. To each of the programs there is a host program containing the user interface. The communication is done by tcp. So, to get the right RT counterpart, I use the SystemExec.vi on the host calling "rt_program -target my.ip.address.numerical -quithost". This works fine, the connection is set up, the rt_program is downloaded into memory only and startet, the host load proc
ess exits and the host user interface can connect to the rt_program.
But, if I call this a second time, the download process runs differently. The download process finds that there are some vi's in memory, uploads a list of them and waits for user interaction. I have to start the rt_program manually and have to quit the download process without unloading the vi's manually to continue 😞
What am I doing wrong? How might another solution look like?