Quickstart Guide
Introduction RIO Academic RIO Application examples Your first RT app Your first FPGA app
Basic procedures System admin File system I/O monitor System controller architecture Timed loops Inter-process communication RT/Host communication RT/FPGA communication FPGA personalities Interrupts Datalogger (file I/O)
Design flow Simulation Inter-process communication RT/host communication Derived clock domain IP blocks FPGA personality
Get connected Email Web services UDP TCP IP addresses
Site Map
Guides Code examples Procedures Tags LabVIEW block diagram elements Targets Communications All pages
Glossary How to use About
RIO Developer Essentials Guide for Academia
RT PC guide

RT/host inter-target communication

Transfer data, commands, and status between the RT target and a host system.

Diagram showing communication pathway between PC host and RT target


Front panel communication

Network-published shared variables

NOTE: Data transfers through the network are subject to latency (unpredictable delays). Enable the ‘RT FIFO’ option when the NPSV is placed inside an RT timed (deterministic) loop.

Code examples


Network streams

Code examples

Standard Internet protocols

Code examples


For more information

  1. Using the LabVIEW Shared Variable (http://www.ni.com/white-paper/4679/en)
    Introduces the network-published shared variables and discusses features and performance.
  2. Understanding Shared Variable Technology (http://zone.ni.com/reference/en-XX/help/371361M-01/lvconcepts/ni_psp)
    Describes the Shared Variable Engine (SVE) and NI Publish-Subscribe Protocol (NI-PSP) as the foundation of network-published shared variables.
  3. Lossless Communication with Network Streams: Components, Architecture, and Performance (http://www.ni.com/white-paper/12267/en/)
    An introduction to network streams, features, and performance.
  4. Using the Right Networking Protocol (http://www.ni.com/white-paper/12079/en)
    Discusses the three most-common communication models -- command or message-based, process data, and streaming/buffered -- and the available networking protocols that are best suited to each model: TCP, UDP, network-published shared variables, network streams, and web services.