Performing Actions on FPGA I/O and FPGA Targets
- Updated2023-12-13
- 2 minute(s) read
Performing Actions on FPGA I/O and FPGA Targets
You can use FPGA I/O Method Nodes to invoke methods, or actions, on the FPGA I/O items and C Series modules present. In some cases, you also can invoke methods on the FPGA target itself. The available methods depend on the FPGA target and the FPGA I/O item or C Series module you select.
Complete the following steps to create and configure an FPGA I/O Method Node.
- Add an FPGA I/O Method Node to the block diagram.
- Right-click the FPGA I/O Method 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 Method Node.
- Right-click the FPGA I/O Method Node and select Select
Method from the shortcut menu to select a method to which you
want the FPGA I/O item assigned. LabVIEW displays the methods available for the
FPGA target in the Select Method menu. LabVIEW displays
No Methods Available in the shortcut menu if the FPGA
target does not support methods for the item you select. Refer to the specific
target hardware documentation for information about the
methods the FPGA target supports.Tip You also can click the FPGA I/O Method Node and use the shortcut menu to select methods available for the FPGA target.
- After you select a method from the shortcut menu, LabVIEW displays the method and the terminals for that method in the FPGA I/O Method Node. Wire the terminals that you need.
Tip The FPGA Target
Method Node is an FPGA I/O Method Node configured for the FPGA target in
the project.