Go to Post I'd say go out and kick their collective boo-tays...in a non-damaging, graciously professional manner, of course. (wink wink) - Billfred [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 23-01-2015, 12:28
LeadU2Fun LeadU2Fun is offline
Registered User
AKA: Sam Alexander
FRC #1290 (Wolfgang Robotics)
Team Role: Teacher
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Chandler, AZ
Posts: 51
LeadU2Fun is an unknown quantity at this point
Re: cRio Serial to Can Bus Troubleshooting

Also, the RS233 to usb just adds a serial port to the computer if you don't already have one. We have computers with them. Still need a null modem serial cable to do that as it has the crossover built in.
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2015, 13:19
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: cRio Serial to Can Bus Troubleshooting

When you reimaged the cRIO, did you make sure the CONSOLE OUT switch was off? The console will interfere with the serial-to-CAN function.
Reply With Quote
  #3   Spotlight this post!  
Unread 23-01-2015, 13:34
LeadU2Fun LeadU2Fun is offline
Registered User
AKA: Sam Alexander
FRC #1290 (Wolfgang Robotics)
Team Role: Teacher
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Chandler, AZ
Posts: 51
LeadU2Fun is an unknown quantity at this point
Re: cRio Serial to Can Bus Troubleshooting

Yes, it was off. I knew that would cause problems with the can bus. I forgot to add that in the original post. Thank you for the suggestion, though.
Reply With Quote
  #4   Spotlight this post!  
Unread 23-01-2015, 15:53
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,830
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: cRio Serial to Can Bus Troubleshooting

To test the cRIO serial port you can enable console out and read from it using a terminal program on a laptop having a serial port of a USB-Serial adaptor.
With the terminal connected just boot the cRIO and you'll get the stream of console messages.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 24-01-2015, 12:55
LeadU2Fun LeadU2Fun is offline
Registered User
AKA: Sam Alexander
FRC #1290 (Wolfgang Robotics)
Team Role: Teacher
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Chandler, AZ
Posts: 51
LeadU2Fun is an unknown quantity at this point
Re: cRio Serial to Can Bus Troubleshooting

*** Update ***

1) We reimaged the cRio with the none option for the CAN bus and the net console box ticked with java as the language option.

2) Then we commented out all the code that dealt with the black jaguar can bus.

3) Uploaded code to robot.

4) Flipped the console out switch on the cRio (8 slot with physical dip switches).

5) Hooked null modem cable up to cRio serial port and computer. (After no console messages I double checked by doing a continuity check on pin 2 on one side and pin 3 on the other and vice versa.)

6) On computer opened putty, configured for serial, tried both com1 and com3 on different instances @ 115,200.

7) Powered cRio and watched for console information.

We could not get any console information through the serial port. I am pretty sure the port is dead.
Reply With Quote
  #6   Spotlight this post!  
Unread 24-01-2015, 13:19
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 325
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: cRio Serial to Can Bus Troubleshooting

Quote:
Originally Posted by LeadU2Fun View Post
4) Flipped the console out switch on the cRio (8 slot with physical dip switches).
I remember reading that only the 4 slot cRIO is supported with this year's code? If you install and use last year's LabVIEW + NI Update and use the old image it may work?

I know for us we were running the bot a couple of days before updating it, so I feel it may be the image. Where can we go to submit a bug report for this or at least confirm? I would rather not have to re-wire our bot.
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote
  #7   Spotlight this post!  
Unread 24-01-2015, 13:52
LeadU2Fun LeadU2Fun is offline
Registered User
AKA: Sam Alexander
FRC #1290 (Wolfgang Robotics)
Team Role: Teacher
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Chandler, AZ
Posts: 51
LeadU2Fun is an unknown quantity at this point
Re: cRio Serial to Can Bus Troubleshooting

We used a different laptop and installed the 2014 system on it. We are programming in Java and the only difference from orignial successful code is the JDK is updated on this laptop. We did reimage the cRio with last years image and install the code with the 2014 system still no CAN bus or serial console port out (both tried independent of each other as you can not run both at once).
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 05:30.

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