National Instruments NI 5782R User manual and specifications - page 11
NI 5782R User Manual and Specifications
|
© National Instruments
|
11
Using Your NI 5782R with a LabVIEW FPGA
Example VI
Note
You must install the software before running this example. Refer to the
NI FlexRIO FPGA Module Installation Guide and Specifications for more
information about installing your software.
The NI FlexRIO Adapter Module Support software includes example projects to help you get
started creating your LabVIEW FPGA application. This section explains how to use an existing
LabVIEW FPGA example project to generate and acquire samples with the NI 5782R. This
example requires at least one SMA cable to connect signals to your NI 5782R.
Note
The examples available for your device depend on the version of the software
and driver you are using. For more information about which software versions are
compatible with your device, visit
ni.com/info
and enter
rdsoftwareversion
in
the text field.
Each NI 5782R example project includes the following components:
•
A LabVIEW FPGA VI that can be compiled and run on the FPGA embedded in the
hardware
•
A VI that runs on Windows and interacts with the LabVIEW FPGA VI
Note
In the LabVIEW FPGA Module software, NI FlexRIO adapter modules are
referred to as IO Modules.
Complete the following steps to run an example that acquires a waveform on CH 0 of the
NI 5782.
1.
Connect one end of an SMA cable to AI 0 on the front panel of the NI 5782 and the other
end of the cable to your device under test (DUT).
2.
Launch LabVIEW.
3.
Click Help»Find Examples to display the NI Example Finder.
4.
In the NI Example Finder window, select Hardware Input and Output»FlexRIO»
IO Modules»NI 5782.
5.
Select NI 5782 - Getting Started.lvproj.
6.
In the Project Explorer window, open NI 5782 - Getting Started (Host).vi under My
Computer to open the host VI.The Open FPGA VI Reference function in this VI uses the
NI 7952R as the FPGA target by default. If you are using an NI FlexRIO FPGA module
other than the NI 7952R, complete the following steps to change to the FPGA VI to support
your target.
a.
Select Window»Show Block Diagram to open the VI block diagram.
b.
On the block diagram, right-click the Open FPGA VI Reference (PXI-7952R)
function and select Configure Open FPGA VI Reference.