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

Global variable (FPGA)

Use a global variable to communicate between two parallel process loops contained within different VIs under the same target.

LabVIEW FPGA block diagrams: VI #1 writes a global variable, VI #2 reads the same global variable

Use cases


Keep in mind

LabVIEW block diagram elements

Locate these elements with "Quick Drop" (press Ctrl+Space and start typing the name); click on an icon to see more sample code that uses that element:

Global Variable
Feedback Node
Single-Cycle Timed Loop

Example code

Expected results

https://youtu.be/9hHIHq8JG9E (1:11)

Developer walk-through

https://youtu.be/3YLmRBs_bKE (3:33)