Using Your Ni 6583R With A Labview Fpga Example Vi - National Instruments 6583R User Manual And Specifications

Table of Contents

Advertisement

Using Your NI 6583R with a LabVIEW FPGA Example VI

Note
You must install the software before doing 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 installation software includes a variety of example projects
to help get you started creating your LabVIEW FPGA program. This section demonstrates how to use
an existing LabVIEW FPGA example project to generate and acquire samples with the NI 6583R.
This example requires the NI SHC68-C68-D4 and the NI SHB12X-B12X shielded cables and the
appropriate accessories for your device. Refer to the
more information about accessories.
Note
The examples available for your device are dependent on the version of the software and driver
you are using. For information about which software versions are compatible with your device, visit
ni.com/info
Each NI 6583 example project includes the following items:
A LabVIEW FPGA VI that can be compiled and run on the FPGA embedded in the hardware
A VI that runs on Windows that 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 VI that generates a waveform on the even channels of
your device and then acquires that waveform on the odd channels of your device.
Hardware Configuration
1.
For single-ended acquisition and generation, connect one end of the NI SHC68-C68-D4 shielded
cable to DDC A on the NI 6583 front panel and one end to a single-ended accessory device. For
differential acquisition and generation, connect one end of the NI SHB12X-B12X shielded cable
to DDC B on the NI 6583 front panel and one end to a differential accessory device. Refer to the
Using Accessories
your device.
2.
On your accessory devices, connect the first eight even channels (DIO <0..14>) to the first eight
odd channels (DIO <1..15>).
Software Configuration
1.
Launch LabVIEW.
2.
In the Getting Started window, click Find Examples to display the NI Example Finder.
3.
In the NI Example Finder window, select Hardware Input and Output»FlexRIO»
IO Modules»NI 6583.
4.
Select NI 6583 Finite Acquisition and Generation - Simple.lvproj.
5.
In the Project Explorer window, open NI 6583 Acquisition and Generation Simple (Host).vi
under My Computer. The host VI opens. The VI uses the NI PXI-7952R as the FPGA target.
If you are not using an NI PXI-7952R, complete the following steps to change the FPGA target.
Note
All example projects are configured for RIO0. If your device is not RIO0, you must update
the target device name by right-clicking your device in the Project Explorer window, selecting
Properties, and entering the correct target device name in the Resource box.
© National Instruments Corporation
and enter
rdsoftwareversion
section of this document for more information about appropriate accessories for
Using Accessories
as the Info Code.
17
section of this document for
NI 6583R User Guide and Specifications

Advertisement

Table of Contents
loading

Table of Contents