The ni5640R template contains all the elements needed to develop an application using the NI 5641. It contains a LabVIEW project that has been preconfigured to target the NI 5641. It also contains a Template FPGA and a Template Host VI. Complete the following steps to use the ni5640R Template:
  1. Create a folder named My Simple Spectrum Analyzer in a new location, such as your desktop.
  2. In LabVIEW, select File » New Project to display the Project Explorer window.
  3. Right-click the My Computer target and select New » Targets and Devices to display the Add Targets and Devices dialog box.
  4. Select New target or device.
  5. Expand IF Transceivers.
  6. Select the NI 5641 and click OK.
  7. Save the generated top level FPGA VI as My Simple Spectrum Analyzer(FPGA).vi.
  8. In the Project Explorer window, verify that the NI 5641 FPGA target and the ni5640R Template.lvlib appear. The FPGA target contains a VI that has the code necessary for hardware configuration.
  9. Right-click the My Computer target in the Project Explorer window and select New » VI. Verify that an untitled VI appears in the Project Explorer window.
  10. In the Project Explorer window, right-click the untitled VI and select Save As.
  11. Save the VI as My Simple Spectrum Analyzer (HOST).vi to the My Simple Spectrum Analyzer folder created in step 1.
  12. Click OK.
  13. In the Project Explorer window, select File » Save All (this Project).
  14. Save the project as My Simple Spectrum Analyzer.lvproj to the My Simple Spectrum Analyzer folder created in step 1.
  15. Click OK.