04-14-2006 04:55 PM
04-14-2006
11:23 PM
- last edited on
11-12-2025
08:50 AM
by
Content Cleaner
to put it in simplest terms, its like this
When you 'have a VI on your host computer and run it by targeting the RT hardware as the execution target', the VI will be transferred/down loaded on to the RT controller and the VI is executed by the processor on it.
Now, your Host PC will only show the front panel of that VI and will not have any role in executing the VI.
Now, even if you switch off your Host PC, the VI will still be running on your RT system
Plus this link wil help u undertnd these concepts better
http://www.ni.com/support/labview/real-time/faq.htm
04-17-2006
09:25 AM
- last edited on
11-12-2025
08:51 AM
by
Content Cleaner
I figure there must be a difference between targeting a VI to the RT hardware from a host computer and deploying it as an exe. Otherwise, why go to all the trouble of building and using a TCP/IP messaging protocol?
When targeted from a host, the host PC displays the front panel of the VI running on the RT hardware. Therefore, there must be some sort of communication occuring between the RT hardware and the host hardware. The communication must be taken care of "behind the scenes" by Labview, since I didn't account for it in my application. Might this communications overhead add jitter to my application?
04-17-2006 05:05 PM
04-24-2006 09:29 AM
04-25-2006
11:41 AM
- last edited on
11-12-2025
08:52 AM
by
Content Cleaner
eaolson,
There are some good KBs that give an intro to RT Architecture -- it is somewhat more complex in that if you want the user to be able to interact with the real time portion, you need to program different loops at different priorities -- your host VI runs on Windows and communicates via some communication protocol (TCP, UDP, DataSocket, Shared Variable) to a normal priority - non-deterministic loop running on the real-time target, which then communicates to the time-critical-deterministic loop also running on the real-time target. In previous versions of LabVIEW programming the low level TCP/IP communication between the host and normal priority loops was somewhat tedious, but in LabVIEW 8 you can leverage the power of the Shared Variable to abstract much of this away. The Real-Time Communication Wizard is a great place to start to see how to break your program up into the 3 pieces -- it takes a VI you would normally run in LabVIEW on Windows and creates the the VIs for you using a protocol of your choice. See the following:
Using the LabVIEW Shared Variable
Best Regards,
Doug Mumford
Applications Engineer
National Instruments