Go to Post .. just don't try to sell/trade your freshmen or something silly like that. :) - Brandon Martus [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-02-2016, 15:16
protectvariable protectvariable is offline
Registered User
no team
 
Join Date: Feb 2016
Location: N/A
Posts: 1
protectvariable is an unknown quantity at this point
NavX Error

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?
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2016-02-10 at 2.54.58 PM.png
Views:	37
Size:	10.2 KB
ID:	20032  
Reply With Quote
  #2   Spotlight this post!  
Unread 10-02-2016, 23:58
Caboose's Avatar
Caboose Caboose is offline
Programmer - LabVIEW, C++, C#, Java
AKA: James Parks
FRC #0900 (Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: NC
Posts: 71
Caboose has a spectacular aura aboutCaboose has a spectacular aura about
Re: NavX Error

Quote:
Originally Posted by protectvariable View Post
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.
__________________
navX Labview Library

"Robots are aluminum shavings, held together by zip-ties."

myManga
Reply With Quote
  #3   Spotlight this post!  
Unread 12-02-2016, 08:31
Greg McKaskle Greg McKaskle is online now
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote
  #4   Spotlight this post!  
Unread 12-02-2016, 16:19
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 507
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
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.
__________________
The sooner we get behind schedule, the more time we have to catch up.


Last edited by tr6scott : 12-02-2016 at 16:22. Reason: decided against putting my team email up in public.
Reply With Quote
  #5   Spotlight this post!  
Unread 12-02-2016, 16:39
Caboose's Avatar
Caboose Caboose is offline
Programmer - LabVIEW, C++, C#, Java
AKA: James Parks
FRC #0900 (Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: NC
Posts: 71
Caboose has a spectacular aura aboutCaboose has a spectacular aura about
Re: NavX Error

I will be posting a fix for this error tonight.
__________________
navX Labview Library

"Robots are aluminum shavings, held together by zip-ties."

myManga
Reply With Quote
  #6   Spotlight this post!  
Unread 12-02-2016, 17:58
Caboose's Avatar
Caboose Caboose is offline
Programmer - LabVIEW, C++, C#, Java
AKA: James Parks
FRC #0900 (Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: NC
Posts: 71
Caboose has a spectacular aura aboutCaboose has a spectacular aura about
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
__________________
navX Labview Library

"Robots are aluminum shavings, held together by zip-ties."

myManga
Reply With Quote
  #7   Spotlight this post!  
Unread 12-02-2016, 23:48
Greg McKaskle Greg McKaskle is online now
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: NavX Error

We verified the fix. Thanks for pushing the update.

Greg McKaskle
Reply With Quote
  #8   Spotlight this post!  
Unread 12-02-2016, 23:57
Caboose's Avatar
Caboose Caboose is offline
Programmer - LabVIEW, C++, C#, Java
AKA: James Parks
FRC #0900 (Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: NC
Posts: 71
Caboose has a spectacular aura aboutCaboose has a spectacular aura about
Cool Re: NavX Error

Quote:
Originally Posted by Greg McKaskle View Post
We verified the fix. Thanks for pushing the update.

Greg McKaskle
Thank you for help with the fix.
__________________
navX Labview Library

"Robots are aluminum shavings, held together by zip-ties."

myManga
Reply With Quote
  #9   Spotlight this post!  
Unread 15-02-2016, 09:46
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 507
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: NavX Error

Thank You!
No more every other crashes yesterday... great time saver.
__________________
The sooner we get behind schedule, the more time we have to catch up.

Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:07.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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