Skip to content

layer communicates with CRIO libraries and drivers from one side, and from the other communicates with the crio-linux-lib

License

Notifications You must be signed in to change notification settings

lnls-sol/nheengatu-nifpga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ni-fpga-helper: National Instruments C API library

This project packages the NiFpga.c and NiFpga.h provided by LabView FPGA to integrate C code with FPGA firmware. It builds a library with the code and installs it, along with the include file. The library is called libNiFpgaHelper.so. A sample NiFpga.c and NiFpga.h are provided, but depending on you CompactRIO version, when you generate the C API for your labview project, put the generated NiFpga.c and NiFpga.h here, and build.

Usage:

Write a program that uses the NI FPGA C API and link to this library (for example, by using -lNiFpgaHelper link flag):

$ gcc -o someprogram someprogram.c -lNiFpgaHelper

Make sure the library is in your library search path (or explicitly specify link time and run time search directories).

Build:

$ ./build.sh

Install:

$ sudo ./build.sh install

About

layer communicates with CRIO libraries and drivers from one side, and from the other communicates with the crio-linux-lib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages