|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Navx Mxp no longer working
I'll try these suggestions this afternoon when I have access to the electronics. We have already tried redownloading and reupdating the firmware with no results. I'm positive that both green lights stay on, although if I remember correctly, there was also a red light staying on. I'll have to check later. I'll be sure to check the internal error as well. And the connected boolean was also false, I forgot that we had tried that.
|
|
#2
|
|||
|
|||
|
Re: Navx Mxp no longer working
We are able to read using NavXUI. All lights light up as they should, and we're using v19 of roborio firmware. We found an error outputting in driver station, it's giving "ERROR -44007 FRC: The RefNum you are trying to Get does not exist in this RefNum Registry. navX Library v2.lvlib:Z900_navX_RefNum_Get.vi" So it appears that for some reason the refnum isn't ever actually getting set in begin?
Edit: We also just tested it over usb by plugging it into the roborio usb port. No luck with that either. Last edited by brubakbd : 02-02-2016 at 18:21. |
|
#3
|
|||
|
|||
|
Re: Navx Mxp no longer working
Quote:
However, we can send another board and have you return the one you've got - if you'd like to do that, please contact support@kauailabs.com with a reference to this chiefdelphi post and we'll get you started on that. I'm a bit concerned that since the board is passing all of our usual "is it ok" tests - and thus that even after replacing the board you'll still see the issue you're seeing now accessing it from LabVIEW - but am happy to process the swap for you. |
|
#4
|
|||
|
|||
|
Re: Navx Mxp no longer working
While that would be great if it would fix it, I'm not sure it would. We have two boards (1 for a practice bot), and neither are working. It must be something with software. Maybe we'll try the example code with another computer.
|
|
#5
|
||||
|
||||
|
Re: Navx Mxp no longer working
Did you disable your console out? You can do this through the roborio website. I remember having issues reading values from the navx due to "console out" being on (using navx through USB port)
|
|
#6
|
|||
|
|||
|
Re: Navx Mxp no longer working
I'll definitely check that tomorrow.
|
|
#7
|
||||
|
||||
|
Re: Navx Mxp no longer working
I sent Kauailabs an email and got this response:
Quote:
|
|
#8
|
|||
|
|||
|
Re: Navx Mxp no longer working
Alright, we got it working. Turns out it was something stupid we did. We were using a setref vi in begin and get ref where we wanted to use it. Turns out you should just alter begin and where you want to use it and make the output of the open vi an output of begin and an input of the vi you want to use it in.
|
|
#9
|
|||||
|
|||||
|
Re: Navx Mxp no longer working
Modifying the project framework (e.g. by adding an output to Begin) is usually a bad idea. Using the Refnum Set/Get functions is preferred.
The -44007 error you were getting suggests that you had spelled the name of your NavX reference differently in the two places. |
|
#10
|
|||
|
|||
|
Re: Navx Mxp no longer working
It's too bad about the USB not working. We used that to get the navX into a good location on the robot, where we could not fit the roboRIO.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|