FPGA Interface C API

Publish Date: Feb 01, 2013 | 3 Ratings | 3.67 out of 5 |  PDF

Overview

The FPGA Interface C API makes it easier for C/C++ developers to take advantage of LabVIEW FPGA and NI reconfigurable I/O (RIO) hardware, such as NI CompactRIO, NI FlexRIO, and R Series FPGA I/O, for embedded control and acquisition applications. With the FPGA Interface C API, developers can use LabVIEW graphical tools to program the field-programmable gate array (FPGA) within NI hardware and choose either LabVIEW or C/C++ tools to program the processor within the system. The LabVIEW FPGA feature gives engineers and scientists with C expertise the ability to take advantage of FPGAs within their designs without the burden of learning hardware design while also giving them the option to reuse their existing embedded C code.

1. FPGA Interface C API

With the FPGA Interface C API, engineers and scientists can program the real-time processor on NI FPGA-based hardware using C tools such as NI LabWindows/CVI, Microsoft Visual Studio, or Wind River Workbench and interface to the LabVIEW FPGA code running on the FPGA. Developers also can program the processor using the LabVIEW Real-Time Module, which includes tools for low-level system debugging and precision execution timing for increased flexibility and functionality of deterministic real-time applications.

Figure 2.  Choose a C/C++ development environment based on which hardware platform and operating system meets your application requirements.

The FPGA Interface C API includes nearly all the same functionality as the existing LabVIEW host interface, including the ability to read and write FPGA front panel controls, target-to-host and host-to-target DMA streaming, and IRQ assertion and acknowledgement. 

Back to Top

2. Learn More

Download the FPGA C Interface API

View the tutorial for building a FPGA host application in LabWindows™/CVI

Back to Top

Bookmark & Share

Ratings

Rate this document

Answered Your Question?
Yes No

Submit