You can use FPGA I/O Property Nodes to programmatically retrieve and set properties on FPGA I/O items and C Series modules in a LabVIEW project. The properties you can select are specific to the FPGA target and the I/O resource that the FPGA I/O item is associated with in the Project Explorer window.
Complete the following steps to create and configure FPGA I/O Property Nodes.
- Create a new VI or open an existing VI that is under an FPGA target that also contains FPGA I/O items.
- Place an FPGA I/O Property Node on the block diagram.
- Right-click the FPGA I/O Property Node and select Select Item from the shortcut menu. The Select Item submenu displays the FPGA I/O items and C Series modules present in the Project Explorer window under the FPGA target. Select the FPGA I/O item or C Series module you want to use. Alternatively, you can write reusable code by wiring an FPGA I/O control to the FPGA I/O In input of the FPGA I/O Property Node.
- Right-click the Property terminal in the FPGA I/O Property Node and select Select Property from the shortcut menu to select a property you want to assign to the FPGA I/O item. LabVIEW displays the properties available for the FPGA target in the Select Property submenu. LabVIEW displays No Properties Available in the shortcut menu if the FPGA target does not support properties for the FPGA I/O item or C Series module you select. Refer to the specific FPGA target hardware documentation for information about the properties the FPGA target supports.
 |
Tip You also can click the FPGA I/O Property Node and use the shortcut menu to select properties available for the FPGA target. |
You can add additional Property terminals in the FPGA I/O Property Node by right-clicking the node and selecting Add Element from the shortcut menu. A new Property terminal appears in the FPGA I/O Property Node.
 |
Tip You also can expand the FPGA I/O Property Node by clicking on the upper or lower edge of the node with the Positioning tool and dragging the edge up or down. |