Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: Yes
Publish Date: Apr 23, 2009

C Interface to LabVIEW FPGA

2 ratings | 5.00 out of 5
Print

Overview

The C Interface to LabVIEW FPGA 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 new C Interface to LabVIEW FPGA, 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. This new 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.

Pioneer C Interface to LabVIEW FPGA

With the new C Interface to LabVIEW FPGA, 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 current pioneer release of the C Interface to LabVIEW FPGA 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. Periodic development updates to the NI Labs version of the C Interface will be available online until this feature graduates into a released product. 

The pioneer C Interface to LabVIEW FPGA is available on NI Labs (ni.com/labs), the National Instruments virtual research lab.  NI Labs showcases the latest evolving technologies that are not quite ready for release directly from the National Instruments R&D department. The virtual research lab offers developers the chance to download and work with cutting-edge developments and offer product feedback early in the design cycle.

Learn More

Download, evaluate, and discuss the Pioneer C Interface to LabVIEW FPGA

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

2 ratings | 5.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).