View Single Post
  #7   Spotlight this post!  
Unread 01-04-2014, 23:27
tcjinaz tcjinaz is offline
Tim
FRC #3853
Team Role: Mentor
 
Join Date: May 2011
Rookie Year: 2011
Location: Arizona
Posts: 206
tcjinaz has a spectacular aura abouttcjinaz has a spectacular aura about
Re: Real time versus normal timing

Quote:
Originally Posted by Levansic View Post
The code below is what is giving us the CAN error. I'm thinking that we should probably sequence the get status vi's with a small delay (~10 ms). I assume that our error may be caused the second request hitting the CAN bus before the first response is returned. Because the 2CAN is in the middle, as well as the TCP/IP stack, I'm just really stabbing in the dark here.

Any thoughts?
What happens to the outside 100mS loop when you hit that 500mS delay?

Probably not timing-relevant, but the logic using the Pass and Shoot globals is a little convoluted.

What's that eraser ?! thingy?
__________________
Software Mentor
3853 Pridetronics[

Reply With Quote