Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   NavX Error (http://www.chiefdelphi.com/forums/showthread.php?t=143577)

protectvariable 10-02-2016 15:16

NavX Error
 
1 Attachment(s)
Our team has recently been using a NavX-MXP Robotics Navigation Sensor by kauai labs. After using it for a bit we noticed that instantiating the sensor and reseting yaw, (see below picture) then using the reference in periodic tasks yielded an error like, "This SPI port is already in use", in the driverStation console. When we removed the yaw reset it worked fine. Any reasons to why this may be?

Caboose 10-02-2016 23:58

Re: NavX Error
 
Quote:

Originally Posted by protectvariable (Post 1538138)
Our team has recently been using a NavX-MXP Robotics Navigation Sensor by kauai labs. After using it for a bit we noticed that instantiating the sensor and reseting yaw, (see below picture) then using the reference in periodic tasks yielded an error like, "This SPI port is already in use", in the driverStation console. When we removed the yaw reset it worked fine. Any reasons to why this may be?

Hmm...this is odd. I'll look at it tomorrow.

Greg McKaskle 12-02-2016 08:31

Re: NavX Error
 
I made a change to Open to register the VI refnum and our crashing issue is resolved. If anyone else using LV and navX has an every-other-time crash during development, there should be a fix up shortly, and I could tell you the edit to make if need be.

Greg McKaskle

tr6scott 12-02-2016 16:19

Re: NavX Error
 
Greg,

can you send or post the fix, we were attributing this every other crash to mDNS... we are using the navx too.

PM here is fine. :)
Thanks.

Caboose 12-02-2016 16:39

Re: NavX Error
 
I will be posting a fix for this error tonight.

Caboose 12-02-2016 17:58

Re: NavX Error
 
Updated Library. This should fix the mentioned issue by OP and the later mentioned issue by Greg.
https://github.com/FRC900/navX-MXP-L...s/tag/v2.0.5.0

Greg McKaskle 12-02-2016 23:48

Re: NavX Error
 
We verified the fix. Thanks for pushing the update.

Greg McKaskle

Caboose 12-02-2016 23:57

Re: NavX Error
 
Quote:

Originally Posted by Greg McKaskle (Post 1539477)
We verified the fix. Thanks for pushing the update.

Greg McKaskle

Thank you for help with the fix.

tr6scott 15-02-2016 09:46

Re: NavX Error
 
Thank You!
No more every other crashes yesterday... great time saver.


All times are GMT -5. The time now is 04:20.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi