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?
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/help/371361M-01/lvhowto/adding_vis_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.
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
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>
avx-mxp\Labview\
I know this is an old thread, but if anyone else has this issue, you can easily remedy this with a bit of searching through your program files. For me, The navX suite of vis was put into the following folder…
C:\Program Files (x86)\National Instruments\LabVIEW 2017\vi.lib\Rock Robotics\WPI\ThirdParty\sensors\
But, even though I am running Labview 2016, my Labview folder is…
C:\Program Files (x86)\National Instruments\LabVIEW 2017\vi.lib\Rock Robotics\WPI\ThirdParty\sensors\
So, I moved it and it seems to work.
Good Luck…
Mr. R^2
Sorry, I could not edit my post. It should have read…
Even though I am running Labview 2017, For me, the path is…
C:\Program Files (x86)\National Instruments\LabVIEW 2016\vi.lib\Rock Robotics\WPI\ThirdParty\sensors\