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 code example

Network-published shared variable (NPSV)

A network-published shared variable (NPSV) behaves like a global variable that links process loops residing in two or more network-connected targets.

LabVIEW RT block diagram snippet: RT and PC read and write the same network-published shared variables

Use cases


Keep in mind

IMPORTANT: 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.

LabVIEW block diagram elements

Follow this procedure to create a network-published shared variable.

Example code

Expected results

https://youtu.be/X4-inUyVW2g (1:14)

Developer walk-through

https://youtu.be/SMDqnG8LbOI (3:52)