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

Single-process shared variable (SPSV)

A single-process shared variable (SPSV) behaves like a global variable that links deterministic and non-deterministic process loops, effectively shielding the deterministic loop from elements that contribute jitter.

LabVIEW RT block diagram snippet: Read a single-process shared variable in one process loop that was written by another process loop

Use cases


Keep in mind

IMPORTANT: Enable the ‘RT FIFO’ option when the SPSV is placed inside an RT timed (deterministic) loop.

LabVIEW block diagram elements

Follow this general procedure to create a network-published shared variable, but select “Single Process” as the desired variable type.

Example code

Expected results

https://youtu.be/Ad0GJtEzPk4 (1:14)

Developer walk-through

https://youtu.be/qX0uDt3QBVE (3:06)