Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Importing (navX) Library into Labview (http://www.chiefdelphi.com/forums/showthread.php?t=142688)

HSi 28-01-2016 00:09

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?

JeffB 28-01-2016 11:02

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.

Greg McKaskle 28-01-2016 11:29

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

mshafer1 28-01-2016 22:23

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.)

slibert 28-01-2016 22:36

Re: Importing (navX) Library into Labview
 
Quote:

Originally Posted by mshafer1 (Post 1531798)
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\


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

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