Download NI Digital Electronics FPGA Board User Manual

Transcript
Chapter 3
Programming with LabVIEW Software
Figure 3-1. FPGA Target Tree with New FPGA Resources
8.
In the Project Explorer window, right-click FPGA Target
(Board1, DE FPGA Board), and select New»VI. A blank VI opens.
Select the block diagram window.
9.
In the Project Explorer window FPGA Target (Board1, DE FPGA
Board) tree view, select SW0 and LED0 and drag them onto the block
diagram as shown in Figure 3-2.
10. In the LabVIEW block diagram, wire SW0 output to the LED0 input.
11. In the Project Explorer window FPGA Target (Board1, DE FPGA
Board) tree view, select BTN0 and LED2 and drag them onto the block
diagram.
12. In the LabVIEW block diagram, wire BTN0 output to the LED2 input.
13. Add a While Loop around the resources.
© National Instruments Corporation
3-3
NI Digital Electronics FPGA Board User Manual