Go to Post Not every team can start 200 teams in Canada or Hawaii because they are located in relatively dense region of teams already. This doesn't mean they can't impact their local and surrounding areas. This is where you have to be creative. - tim-tim [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-03-2016, 11:32
2386programming 2386programming is offline
Registered User
FRC #2386 (Trojans)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2011
Location: Burlington
Posts: 34
2386programming is an unknown quantity at this point
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 05-03-2016, 15:04
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Importing Nav-x mxp library

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?
Reply With Quote
  #3   Spotlight this post!  
Unread 05-03-2016, 17:14
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Importing Nav-x mxp library

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
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:50.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi