Go to Post It's wrong to scuttle someone else's boat because you don't think it's seaworthy. You probably don't know that what you were seeing will be called a submarine. - ThatHat [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 01-03-2013, 22:50
Retro Frost Retro Frost is offline
Registered User
FRC #4153
 
Join Date: Feb 2013
Location: Los Alamos, NM
Posts: 5
Retro Frost is an unknown quantity at this point
[x-post from Control System] We are having problems with lab =views.

We are having massive issues with Labview and possibly CAN bus, however it isn't anything we can specifically identify.

We have a version of code deployed to run as startup which works flawlessly, but when we added one more jag (in code, it was already physically in the CAN bus) we started getting huge amounts of lag and jerkiness in any control. Including things not on the CAN bus.

We removed the offending code, and the problem persisted. We thought, and still think, that we are causing some sort of error cascade (handling one error takes long enough that it can cause a timeout error, which is handled, etc) but commenting out all the error handling helps only intermittently. (It worked once, and for a while afterwords, but then we had the errors again.)

Any help would be appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-03-2013, 00:34
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: [x-post from Control System] We are having problems with lab =views.

I would definitely check your termination resistors. When flashing firmware and assigning ID's this year, we noticed something interesting. Every device was fine when adding them in one by one. When adding the ninth, however, CAN errors started popping up everywhere. Someone then realized the resistor wasn't in all the way, and they instantly disappeared. This could amount to the lag you see.
__________________
I'm right 90% of the time, so why worry about the other 3%?
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 04:41.

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