NI 5762R User Guide and Specifications
10
ni.com
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 AI 0 of the NI 5762.
1.
Connect one end of an SMA cable to AI 0 on the front panel of the NI 5762 and the other end of
the cable to your device under test (DUT).
2.
Launch LabVIEW.
3.
In the
Getting Started
window, click
Find Examples
to display the NI Example Finder.
4.
In the
NI Example Finder
window, select
Hardware Input and Output»FlexRIO»
IO Modules»NI 5762 (-0
x
)
.
(Where
x
corresponds with the hardware version of the NI 5762 you
are using.)
5.
Select
NI 5762 (-0
x
)
- Getting Started.lvproj
.
6.
In the
Project Explorer
window, open
NI 5762 - Getting Started (Host).vi
under
My Computer
.
The host VI opens. 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
.
c.
In the
Configure Open FPGA VI Reference
dialog box, click the
Browse
button next to the
Bitfile
button.
d.
In the
Select Bitfile
dialog box that opens, select the bitfile for your desired target. The bitfile
name is based on the adapter module, example type, and FPGA module.
e.
Click the
Select
button.
f.
Click
OK
in the
Configure Open FPGA VI Reference
dialog box.
g.
Save the VI.
7.
On the front panel, in the
RIO Resource
pull-down menu, select an NI 5762R resource that
corresponds with the target configured in step 6.
8.
Select
AI 0
in the
AI Channel control
.
9.
Set the
Trigger Level (V)
,
Record Size
,
Sample Rate
, and
Range (V)
controls to the desired
value.
10. In the
Trigger Type
control, you can select either
Software Trigger
or
Data Edge
. If you select
Software Trigger
, the VI acquires data every time you click the
Software Trigger
button on the
front panel of the VI. If you select
Data Edge
, the VI acquires data every time an edge occurs.
11. Click the
Run
button to run the VI.
12. Click the
Software Trigger
button if you selected
Software Trigger
in the
Trigger Type
control.
The VI acquires data and displays the captured waveform on the
Acquired Waveform
graph as
shown in Figure 5.
13. Click the
STOP
button to stop the VI.
14. Close the VI.