Quote:
Originally Posted by Eric222
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?