View Single Post
  #4   Spotlight this post!  
Unread 14-02-2010, 16:44
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: LabView Trouble with CAN

That eliminates most of the simple common errors. Looking back at your first post though, I realized it was problems with CAN Recieve.vi and not Send. What are you requesting from the Jaguar?

Also, if you disable the Watchdog does that make the problems go away? CAN requests are blocking so a loop won't repeat until the request is finished. It could be taking too long, causing the user watchdog to not be fed, disabling the inputs and outputs, causing the recieve to not complete becase it can no longer read

If it isn't the watchdog, is there anything in the code other than they joystick->CANJaguar code? If your code is just the read joystick value and output it to the Jaguar and that works, try adding more stuff in one at a time until you see the problem again. When it breaks you will know what is causing the problem.

If it still fails when it is just plain joystick read and CAN write, then I don't think I can do much more to help you. I'm a C++ programmer mainly and I only deal with LabVIEW for the dashboard.
Reply With Quote