View Single Post
  #6   Spotlight this post!  
Unread 04-02-2014, 12:20
gpetilli gpetilli is offline
Registered User
FRC #1559
 
Join Date: Jan 2009
Location: Victor, NY
Posts: 285
gpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to all
Re: Problem with serial can coms!

Quote:
Originally Posted by kd008702 View Post
What we get is We can plug into each individual LAG from the CRIO and talk to it correctly, But can not get the CAN Network to function.
Also we have 100ohm resistor at both ends of the network. We have tried using both JAVA and LAB view for program and get the same results in both.
I am confused by the resistor at both ends comment. The connections should be cRIO-RS232 -> BLACK Jaguar 1 In, Jag 1 Out -> Jag 2 In, ... Jag N Out -> Resistor. Only one resistor at end of daisy chain.

Also, since you already know how to use BDC-Comm, you can unplug the cRIO and plug in your PC to the chain and from the single RS232 connector query the bus and see which "boards" are on the bus. You should see one pulldown for each ID that you gave your Jaguars. BTW, it is recommended not to use ID 1, since that is the factory default. You can send commands to each unique Jaguar using this method to verify functionality and if one ID does not show up, you know which Jag is misbehaving.

We use Java - remember to wrap your CAN commands in a Try - Catch to aid in debug.
Reply With Quote