View Single Post
  #8   Spotlight this post!  
Unread 30-01-2017, 22:51
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: 359
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
Thanks for the responses!

So we made sure that we have USB 2 selected in Robot main because we have it plugged into port 2, but we still get the same error. We have a LifeCam HD-3000 plugged into the first USB port, so I don't know if that is what is screwing us up or not.

I attached a picture of what we get from the Roborio dashboard. I am not clear on how to bind the USB port--could you elaborate?
Hi Eric,

I did some testing and was able to get the navX-Micro USB-connected along with the Microsoft LifeCAM HD 3000.

However, if "USB 2" is selected, communication to the navX-Micro USB doesn't work.

Here's what I tested that does work:

navX-Micro USB connected to RoboRIO Rectangular USB Port 1, LifeCam in USB Port 2. LabVIEW navX USB selection: USB 1. Works.

navX-Micro USB connected to RoboRIO Rectangular USB Port 2, LifeCam in USB Port 1. LabVIEW navX USB selection: USB 1. Works.

So I believe the solution is to simply specify USB 1 in the navX-AE LabVIEW Library; the WPI Libraries are apparently intelligently selecting the second USB port if it can't find a USB serial device in USB port 1.

In talking w/Thad House who works on the WPI Serial Port code, USB 2 is only valid for use if another USB Serial device is connected to USB 1. Since the Microsoft LifeCAM HD 3000 is not a USB serial device (based upon what is displayed in the RoboRIO Web Dashboard) this means USB 2 should not be used. I'll write up some clarification on this on the navX-MXP/navX-Micro websites.

Hope that helps,

- scott

Last edited by slibert : 30-01-2017 at 23:12.
Reply With Quote