Using SubVIs in FPGA Applications
- Updated2023-12-13
- 1 minute(s) read
Using SubVIs in FPGA Applications
LabVIEW allows you to group common sections of code for reuse as subVIs on the block diagram. Use subVIs when developing FPGA applications for any of the following reasons:
- Use multiple FPGA VIs—LabVIEW can run only one top-level FPGA VI, but you can implement multiple FPGA VIs by calling them as subVIs from the top-level FPGA VI.
- Conserve FPGA resources—Front panel objects in subVIs do not communicate directly with the host VI and therefore do not consume additional FPGA resources.
- Reuse code across multiple projects—Creating reusable, modular code helps you efficiently organize, manage, test, and debug your application by allowing for easier code review and updates and by avoiding code duplication.