Importing Nav-x mxp library

In labview, my team is attempting to incorporate a Navx mxp board on our robot, the problem that we are having though is that we have downloaded the navx library off of the internet, we just are not sure on how to import the library into LabView. Any help would be great.

I don’t have access to a system with the FRC software installed, so my descriptions of where files are will be a little vague.

Once you have downloaded, unzipped, and installed the NavX support, you will have a .llb file in the navx labview folder in your user directory. For ease of later changes to where you put your code, copy that file into your project directory.

Open the project and right-click on the Real-Time Target line. Choose to add a file to the project and find the .llb file you just put in the project directory. That should do it.

Does anyone have good instructions for adding a navx section to the function palette?

The navX actually ships as a zip, so it will be a folder of VIs and Ctls and a file called navX_v2.lvlib. If you do as Alan and said and drag the folder into your project folder, that will allow you to put it into source code control if you are using it.

By the way, drag and dropping the .lvlib file from the file explorer into the LV project explorer under the target will also work. Done this way, you can just toggle open the .lvlib in the project and you can drag the VIs to your diagrams.

If you want the VIs to be in the palettes instead, you can put the folder into user.lib folder under the LabVIEW folder. It will get a palette, but I believe an autogenerated one.

Greg McKaskle