Go to Post P.S. we are a rookie team.P.P.S. we really don't know what we are doing - Carter12s [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 08-03-2011, 22:39
beth_hadley beth_hadley is offline
Registered User
FRC #0548
 
Join Date: Feb 2011
Location: Northville
Posts: 6
beth_hadley is an unknown quantity at this point
Autonomous/Teleop/Robot Main call errors

We are curious (and nervous) about Labview code working properly at competitions. We observed several teams during Weak 1 competitions having issues with getting their Labview code to function correctly during matches. Several robots would start for a half second or so in autonomous, then stop for no apparent reason. Sometimes it would appear that connections had been lost, and other times the cRIO would reboot. Our team experienced a similar error while testing at home (we haven’t yet competed). We observed that this problematic autonomous behavior only occurs the first time autonomous is called. When we called autonomous subsequent times (by clicking the Autonomous button on the driver station), the autonomous operated fine.

We think the issue may have something to do with Robot Main (we haven’t altered the framework), although we welcome your suggestions. If your team experienced/is experiencing similar issues, please describe the situations that lead to the issue, and any fix you have found.

Thanks! Your help is appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 08-03-2011, 23:54
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
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: Autonomous/Teleop/Robot Main call errors

I was at a week one regional, and we saw a number of issues with various languages. If the robot is occasionally having its I/O shutdown, there should be messages on the Diagnostics tab detailing what deadlines are not being met. It is most likely due to waits or large amounts of processing taking place in the telelop function or in the autonomous loop. If output updates don't happen often enough, the watchdog or safety VIs will shutdown the outputs. If you see this symptom and can't locate the issue, post your code.

I saw crashes with Java and C++, but they were pretty easy to track down using the DS practice matches and sometimes forcing the cRIO to boot first and then plugging in the DS. This helped track down dependencies between auto and tele and race conditions in the init code. We didn't see a LV crash, but heard of a team experiencing this at a different regional. We are hoping to get code to reproduce this, but haven't had a chance yet.

Greg McKaskle
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 20:42.

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