04-05-2015 10:43 PM
Hi,
I am using a desktop PC as a Rt target.
Using shared variable, I can see the parameters in the target.
Another way of seeing parameter is to put an indicator in the front panel of target code.
I would like to know how this indicator updates?
Which method is more efficient (i.e. Which one causes less target CPU usage)? Shared variable or indicator in the front panel of target code?
Also, I would like to know is there a way to show target code's front panel in the monitor which is connected to the RT PC target?
Thanks in advance
Solved! Go to Solution.
04-06-2015 12:36 PM
@msad66 wrote:
Using shared variable, I can see the parameters in the target.
Another way of seeing parameter is to put an indicator in the front panel of target code.
I would like to know how this indicator updates?
Which method is more efficient (i.e. Which one causes less target CPU usage)? Shared variable or indicator in the front panel of target code?
The data is transferred over TCP, using a proprietary protocol specific to National Instruments. I doubt there's a noticeable difference in efficiency but I've never tested it; in any case, the front panel updates run at low priority so they won't interfere with other higher-priority operations. The shared variable gives you programmatic access to the value, while the front panel indicator only displays the value to the user. Also, the front panel can be removed when the application is compiled, in which case there will be no front-panel updates.
@msad66 wrote:
Also, I would like to know is there a way to show target code's front panel in the monitor which is connected to the RT PC target?
Which operating system? Definitely not under PharLap/ETS; maybe under Linux (I haven't yet dealt with any Linux-based RT systems).
04-06-2015 12:47 PM
This White paper explains it a bit more including the integrated HIM available on the newer Linux based cRIO controllers
04-07-2015 12:34 AM
Thanks a lot.
Let me say my second question in other words:
I use a RT PC target and run a target VI on it using a laptop and LAN cable. Also I connect a monitor to the RT PC target. Monitor shows CPU usage and a note that says welcome to the real time LabVIEW. Is there a way to illustrate the front panel of target VI which is running on the RT PC target on the monitor connected to the RT PC target?
Also you said that "the front panel can be removed when the application is compiled, in which case there will be no front-panel updates". I am new user in RT LabVIEW and it is my first time using a desktop PC as a RT target. Could you explain me more about compiling an application on a RT PC target and the difference of that with simply running it using a host computer?
Thanks again
04-07-2015 05:38 PM
msad66 wrote:
Is there a way to illustrate the front panel of target VI which is running on the RT PC target on the monitor connected to the RT PC target?
No.
@msad66 wrote:
Also you said that "the front panel can be removed when the application is compiled, in which case there will be no front-panel updates". I am new user in RT LabVIEW and it is my first time using a desktop PC as a RT target. Could you explain me more about compiling an application on a RT PC target and the difference of that with simply running it using a host computer?
A compiled application does not require the development environment to run. It can be configured to run when the RT computer boots, with no interaction. See the LabVIEW help for Real-Time Application, for example http://zone.ni.com/reference/en-XX/help/370622K-01/lvrtconcepts/building_rtapplications/
04-07-2015 10:36 PM
Thanks a lot Nathand.
I have got the answer.