View Single Post
  #14   Spotlight this post!  
Unread 06-02-2017, 11:49
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: 361
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: Nav-X error - Cant get readings

Quote:
Originally Posted by Eric222 View Post
1) So we have tried restarting the roborio multiple times
2) Both green LEDs light up
3) The board works when plugged into the computer and running NavXUI
4) So the board is functioning properly
5) And it definitely looks like a communication issue
6) When we plug into the I2C ports, the 2 green LEDs do not stay on after startup...

The problem appears to be within the WPI_SerialPortQueryHubPaths.vi after following the initial error code posted.

If we run robot main, and look at some of the internal errors in the Navx main VI, we see the pictures attached.

Any other suggestions? Thanks for your help!
Hmm, Unknown system error from LabVIEW.... Do you have another RoboRIO to try? Also, I don't usually recommend the following, but it might be worth reformatting your RoboRIO, and re-installing the navX-Setup program again. Perhaps something has become corrupted?

> 6) When we plug into the I2C ports, the 2 green LEDs do not stay on after startup...

So, taken together this means the 2 green LEDs work when USB is used, but not I2C, right? The only reasonable explanation for this case is that when the i2C connection was attempted that there was insufficient voltage (most likely) or DC current supplied to the sensor. I would highly recommend you recheck your wiring and try again.
Reply With Quote