Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Communicating with RT Targets from a Host Computer (myRIO Module)

LabVIEW 2013 for myRIO Module Help

Edition Date: June 2013

Part Number: 373925A-01

»View Product Info

You can use one of the following two methods to communicate with NI myRIO RT targets from a host computer:

  • Front panel communication—LabVIEW and the RT Engine execute different parts of the same VI. LabVIEW on the host computer displays the front panel of the VI while the RT Engine executes the block diagram.
  • Network communication—A host VI runs on the host computer and communicates with the VI running on the RT target using specific network communication programmatic controls.

The following table lists the use cases for front panel communication and network communication.

Communication Method Use Cases
Front Panel Communication
  • You want to control and test a VI running on an RT target. After downloading and running the VI, keep LabVIEW on the host computer open to display and interact with the front panel of the VI.
  • You want to debug VIs running on the RT target. You can use LabVIEW debugging tools—such as probes, execution highlighting, breakpoints, and single stepping—to locate errors in the block diagram code.
Network Communication
  • You want to run another VI on the host computer, but you cannot use LabVIEW for any other task when you target an RT target.
  • You want to control information sent back and forth between the host computer and RT target. You can customize communication code to specify which front panel objects get updated and when. You also can control which components are visible on the front panel because some controls and indicators might be more important than others.
  • You want to control timing and sequencing of the data transfer.
  • You want to perform additional data processing or logging.

Related Information

Real-Time System Components


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit