05-02-2018 01:49 PM
Hello,
I want to place the entire application on a RT target and on the UI.vi on the host computer. How can I open FP and run UI.vi from the applcation on RT target.
05-02-2018 02:03 PM
You don't. You design a communication scheme for your RT system and your host VI to communicate. This is usually done with TCP/IP and/or Network Streams.
05-02-2018 04:02 PM - edited 05-02-2018 04:04 PM
Thank you. Ok so let's assume that I have a RT thread with event case to handle controls. And controls are on my Host. I can send them by Stream, but for now I want to do it with shared variables. I guess I can use user generated events. Is it good solution, or should I go in a different direction? Are there any NI training lessons of that matter?
05-03-2018 04:13 AM
Personally, Shared Variables have only given me headaches. Whenever I used them, I got weird timing issues and/or they were slow. I prefer using the STM library with TCP.
For a really good in depth discussion, I recommend the cRIO Developer's Guide.