An I/O variable is a type of shared variable that transfers I/O data. When accessed locally, I/O variables use the NI Scan Engine for single-point access to I/O data. When accessed remotely, I/O variables use the NI Publish-Subscribe Protocol (NI-PSP) for single-point or buffered access to I/O data. An I/O variable can communicate directly with a physical I/O channel or can transfer custom I/O data between an FPGA VI and a real-time (RT) VI running on the same target
The process for creating I/O variables in LabVIEW 2025 Q1 and later differs from previous versions. This article describes the steps required to create I/O variables in newer versions of LabVIEW.
Prerequisites:
- NI LabVIEW 2025 Q1 or later
- NI CompactRIO (cRIO) controller configured in a LabVIEW project
- I/O modules configured as Real-Time Scan Resources