Setting and Retrieving Properties on FPGA I/O and FPGA Targets

You can use FPGA I/O Property Nodes to programmatically set and retrieve properties on FPGA I/O items and C Series modules in a LabVIEW project. In some cases, you also can set and retrieve properties on the FPGA target itself. 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.

  1. Create a new VI or open an existing VI that is under an FPGA target.
  2. (Optional) Add FPGA I/O items to the project.
  3. Add an FPGA I/O Property Node to the block diagram.
  4. Right-click the FPGA I/O Property Node and select Select Item from the shortcut menu. The Select Item menu displays the FPGA target as well as the FPGA I/O items and C Series modules present in the Project Explorer window under the FPGA target. Select the item you want to use.
    Tip   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.
  5. 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 item. LabVIEW displays the properties available for the FPGA target in the Select Property menu. LabVIEW displays No Properties Available in the shortcut menu if the FPGA target does not support properties for the item 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.
  6. (Optional) Add additional Property terminals in the FPGA I/O Property Node by right-clicking the node and selecting Add Element from the shortcut menu. 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.
Tip   The FPGA Target Method Node is an FPGA I/O Method Node configured for the FPGA target in the project.