Go to Post Holy Orbit ball Batman!!!!!!!!!!:yikes: - yodameister [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 28-01-2016, 00:09
HSi HSi is offline
Registered User
FRC #1712 (Dawgma)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Ardmore
Posts: 4
HSi is an unknown quantity at this point
Importing (navX) Library into Labview

I've downloaded the library for the navX-MXP for FRC onto a computer (Windows 8) with this year's FRC Labview but am not sure how to import the library into Labview.
I tried copying the navX-MXP folder onto the desktop from the computer's Local Disk ( C : ) (or home directory...?) and moving it to Local Disk ( C : ) --> Program Files (x86) --> National Instruments, and then relaunching LabVIEW, but the navX library still was not added into Labview.
I found options on Labview to import .NET and ActiveX Controls and a shared library, but I don't think any of these apply to the navX-MXP library.
Does anybody know how to import the navX library or a library in general into Labview?

Last edited by HSi : 28-01-2016 at 00:12. Reason: text became emoticons
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2016, 11:02
JeffB JeffB is offline
Registered User
FRC #5052 (RoboLobos)
Team Role: Mentor
 
Join Date: Apr 2015
Rookie Year: 2014
Location: Austin
Posts: 58
JeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to behold
Re: Importing (navX) Library into Labview

I'd have to take a look at the navX libraries to be certain. It sounds like they're pre-built VIs that you can use and you'd just like to have them show up in your palettes. The easiest way I can think of doing this is adding them to your user.lib folder ( http://zone.ni.com/reference/en-XX/h..._and_controls/ )

That would let you see them in the palettes, although they wouldn't be in the same palettes as your other FIRST functions.
Reply With Quote
  #3   Spotlight this post!  
Unread 28-01-2016, 11:29
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,752
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 (navX) Library into Labview

If a vendor has LV VIs, that is almost always the ones you want to use, and adding the VIs to user.lib or other dynamically scanned folders is the general way to add them. If the vendor hasn't made VIs, then the import .net or ActiveX or dll is one way to wrap and get an initial set of VI wrappers, but they are hardly ever a nice API until you spend time to make the VIs nicer.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 28-01-2016, 22:23
mshafer1 mshafer1 is offline
Programming Mentor
AKA: Matthew Shafer
FRC #3937 (Breakaway)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2008
Location: Arkansas
Posts: 58
mshafer1 is an unknown quantity at this point
Re: Importing (navX) Library into Labview

I'm not sure which version you have downloaded, but I have attempted to address this issue by branching one of the main repositories (kauailabs/nav6) and adding a VI package which can be installed using the VI Package Manager (which you likely already have installed). You can find both the source code vi's and the VI package at https://github.com/mshafer1/nav6 Go to the release tab and download the vip file. (you can also download the entire zip, but it is likely that the code I was working from is the same as what you currently have.)
Reply With Quote
  #5   Spotlight this post!  
Unread 28-01-2016, 22:36
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 351
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: Importing (navX) Library into Labview

Quote:
Originally Posted by mshafer1 View Post
I'm not sure which version you have downloaded, but I have attempted to address this issue by branching one of the main repositories (kauailabs/nav6) and adding a VI package which can be installed using the VI Package Manager (which you likely already have installed). You can find both the source code vi's and the VI package at https://github.com/mshafer1/nav6 Go to the release tab and download the vip file. (you can also download the entire zip, but it is likely that the code I was working from is the same as what you currently have.)
If you are using the navX-MXP w/the RoboRio, it's highly recommended to use the latest LabVIEW Library, which is developed by the Zebracorns (Team 900). This will get installed automatically when you run the setup.exe file within the navX-MXP Latest Build.

The library will be installed to C:\Users\<username>\navx-mxp\Labview\
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 20:26.

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