Read/Write Control
- Updated2025-01-28
- 3 minute(s) read
Reads a value from or writes a value to a control or indicator in the FPGA VI on the FPGA target.

Inputs/Outputs
FPGA VI Reference In
—
is a reference to an FPGA VI. You must open a reference to the FPGA VI to use this parameter.
error in
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
FPGA VI Reference Out
—
returns a reference to an FPGA VI.
error out
—
error out contains error information. This output provides standard error out functionality.
Unselected
—
|
A host VI can control and monitor data passed through the FPGA VI front panel. You cannot access values on any wires on the FPGA VI block diagram that do not have controls or indicators unless the data is stored in a DMA FIFO.
First open a reference to the FPGA target. Then wire the FPGA VI Reference Out output of the Open FPGA VI Reference function or the Bitfile reference out output of the Open Dynamic Bitfile Reference function to the Read/Write Control function to access controls and indicators on the FPGA VI. You can read indicators and write controls. You also can write indicators and read controls. You can expand the Read/Write Control function to read or write multiple controls and indicators. When you run the host VI, the Read/Write Control function reads and writes controls and indicators in the order they appear in the Read/Write Control function on the block diagram.
The FPGA Module creates a register map, specific to the FPGA VI, that includes a hardware register for every control and indicator. LabVIEW uses the register map internally to communicate with the FPGA VI directly with interactive front panel communication and using the host VI with programmatic FPGA interface communication.
FPGA VI Reference In
—
error in
—
FPGA VI Reference Out
—
error out
—
Unselected
—