View Single Post
  #5   Spotlight this post!  
Unread 29-01-2017, 21:41
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
My team has been trying to use the navX-micro connected through 1 of the USB ports on the roboRio, but has consistently been getting errors and no readings. We are programming in LabVIEW. The error we have been seeing reads:

Error 1055 Property Node in WPI_SerialPortGetPortName.vi->WPI_SerialPortOpe.vi->FRIC_navX_Internal_USB_ProcessingLoop.vi:250000 1->Robot Main.viLabVIEW: Object reference is invalid

We believed that this was a communication reference issue, and that we were selecting the wrong type of communication on the VI, but we have since tried multiple combinations of settings and have not been able to solve the issue.

We have updated the firmware on the navX and have also re-downloaded & installed the newest libraries as of 1/29/17.

I attached images of the code we have in Robot Main and Teleop. Any suggestions?
Can you please post the results of verifying the USB serial port binding, as described on the "troubleshooting" page?

The USB serial port must be correctly bound in order for any USB serial device to work w/the RoboRIO.

Also, reviewing the following may help shed some light:

- Which RoboRIO USB serial port are you connecting to?

- Is anything plugged into any other RoboRIO USB serial ports?
Reply With Quote