View Single Post
  #6   Spotlight this post!  
Unread 30-01-2017, 10:07
aeastet aeastet is offline
Programming Mentor
AKA: Tim Easterling
FRC #6043 (Allegan Tigers Robotics)
Team Role: Coach
 
Join Date: Jan 2015
Rookie Year: 2011
Location: Holland, MI
Posts: 130
aeastet is an unknown quantity at this point
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?
OK Here is the run down on the USB. For the RoboRio you have to designate what port you are talking to. Here are some pictures that should help with the setup. If this does not help please let us know.

Click image for larger version

Name:	RoboRio Example.fw.png
Views:	19
Size:	233.3 KB
ID:	21653
Click image for larger version

Name:	Port Drawing.fw.png
Views:	13
Size:	58.3 KB
ID:	21654
__________________
Team 6043 Allegan Tigers
LabVIEW Developer for Kauai Labs (navX and SF2 Libraries)
http://www.kauailabs.com/
Reply With Quote