View Single Post
  #1   Spotlight this post!  
Unread 25-01-2011, 13:07
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
LabVIEW & CAN Programming

First off, I'm a mentor that graduated high school in 2008, so the last control system I really touched for FIRST was the 2008 IFI Control system. Also, I've had 2 internships where my primary job was LabVIEW, so I'm pretty good with it.

Now then... One of the features we would love to use this year is CAN to get reduce the spaghetti and to get some of the features of the Jaguar that are not available via PWM.

I've been patiently waiting on NI to release a guide on how to get it working. I understand the basics of CAN, and have the setup program working properly on my laptop with the Black Jaguar via a home-made RS232-to-RJ25 (with GND, Rec, Xmit tied to the 6P6C connector. Again, it works with the computer perfectly, so I'm pretty sure the actual cable is good.

The team programmer (not myself) found Kamocat's LabVIEW CAN example for use with this year's FIRST Software.... and out of the box it doesn't work. We have also switched the console output switch on and off.

The problem is the connection. The Jaguar blinks yellow, indicating that there is no network connection. I'm sure all the CAN code is working, but I don't believe the serial port is initializing.

Any idea what to do? I'll be really really (and I mean really) happy just to get the LED indicator to stop blinking. From there, I'm sure we could figure it out.

Thanks in advance!
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote