Go to Post I give props to your programmers and programming mentors. - Sgraff_SRHS06 [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 01-26-2012, 12:46 PM
Peter Randall Peter Randall is offline
Director of Technology
FRC #1218 (Vulcan Robotics)
Team Role: Teacher
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Philadelphia
Posts: 37
Peter Randall will become famous soon enoughPeter Randall will become famous soon enough
Labview -44087 CAN Timeout Error

Folks,

I am trying to use CAN with the 2CAN interface and Labview. My objective is to use the quad encoder on a CIM motor to control the speed of my shooter. I am having real problems getting the CAN to work reliably. I can recreate my problem with the basic FRC framework with the code from the CAN Speed Control Encoder split between Begin and Teleop

I can configure and test the simple motor controls without error. As soon as I add a “sophisticated” control, either the CAN PID using a quad encoder or even the 4 motor drive, I start to get -44087 errors.

ERROR <Code>-44087 occurred at NetComm_CAN_Receive.vi:47
FRC: JaguarCANDriver timed out waiting to receive a response from a Jaguar

I have tried to isolate the offending code and it is elusive. I have replaced the following:
All new Black Jags
Updated firmware
Swapped out the CAN cables and terminating resistor
Tried both RS232 and 2CAN with same results
I have re-imaged the cRIO with the correct CAN Driver Plugin
Swapped out quad encoders
If I run deployed compiled code it runs more cleanly than interactive code

When I run the sample CAN Speed Control Encoder and put a wave chart on the Get Status Speed after the Set Output, I get intermittent breaks in the RPM curve that correspond to a physical stuttering of the motor. They also seem to be tied to the Time Out error on the driver station

If I whip saw the desired speed (something I would generally avoid), I hear a click and then the Jag refuses to respond. It is not the fuse, but appears to be in the Jag. If I reboot, it comes back on line, but there is no other way to restart the Jag.

Any thoughts or suggestions would be appreciated?

Thanks
__________________
Peter Randall
Chairman, Department of Engineering & Robotics
Springside Chestnut Hill Academy
TEAM 1218
Reply With Quote
 


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:49 PM.

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