Global Variable
- Updated2025-01-28
- 1 minute(s) read
Global Variable
Use global variables to access and pass data among several VIs.
When you create a global variable, LabVIEW automatically creates a special global VI, which has a front panel but no block diagram.

Inputs/Outputs
![]() |
FPGA Module Details
The following details apply when you use this object in an FPGA VI.
Note The following details are subject to change with each version of the LabVIEW FPGA Module.
Single-Cycle Timed Loop | Supported. |
Usage | Global variables use less space on the FPGA than local variables, which makes them a better choice for data you do not need to transfer to a host VI. |
Timing | A global variable takes at least one clock cycle, whereas a wire takes no clock cycles. For maximum efficiency, avoid using a variable when a wire would suffice. |
Resources | A global variable consumes FPGA resources in proportion to the width of the data type. |