Go to Post Coaxial swerve modules with a suspension and differential aren't normal. But on Winnovation they are. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-02-2008, 04:21
yay123 yay123 is offline
Registered User
FRC #1657
 
Join Date: Feb 2008
Location: Israel
Posts: 2
yay123 is an unknown quantity at this point
Problems with output

We're using MPlab v 7.2 and sometimes we dont get outputs when the cable is conected to the controler and the computer.
We're using the new 2008 controler.
  #2   Spotlight this post!  
Unread 16-02-2008, 11:36
psy_wombats's Avatar
psy_wombats psy_wombats is offline
Registered User
AKA: A. King
FRC #0467 (Duct Tape Bandits)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Shrewsbury MA
Posts: 95
psy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura about
Re: Problems with output

By "sometimes," do you mean randomly, or is there a pattern to the behavior? What circumstances lead to the loss of output? And output from what to what? Computer to robot, or printouts from robot to computer?
  #3   Spotlight this post!  
Unread 16-02-2008, 12:58
Steve_Alaniz Steve_Alaniz is offline
Registered User
FRC #2848 (All Sparks)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 1997
Location: Dallas
Posts: 211
Steve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond repute
Re: Problems with output

You really haven't given enough information, but if I were to take a guess...
If you are using a USB to RS232 converter cable, a lot of teams have noticed they don't always work correctly and may be the problem you're experiencing.
  #4   Spotlight this post!  
Unread 16-02-2008, 17:11
yay123 yay123 is offline
Registered User
FRC #1657
 
Join Date: Feb 2008
Location: Israel
Posts: 2
yay123 is an unknown quantity at this point
Re: Problems with output

Hmm well, we got problem with the printouts from the robot to the computer, although, it happens only in one "FrcCode.mcw" file.
If we're trying to print something from the robot to the comp with other files, it works okay.. We know that the problem is the file, and we did include stdio..
hmm any suggestions?
sry for thr priveous bad explanation.
  #5   Spotlight this post!  
Unread 16-02-2008, 20:46
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: Problems with output

Its more than likely you're using kevin's 'serial ports' code, and you need to set the stdout serial port to port 1. I had to do this on my current code.

look through serial_ports.c i think it is for some direction.
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Encoder Output Problems Mike Electrical 5 25-11-2005 21:43
Non Contact Magnetic Encoder with PWM Output Tom Bottiglieri Programming 3 09-10-2005 01:19
Kevin Watson's encoder code with RPM output MaxM Programming 2 05-02-2005 00:06
Need help with animation output to VHS archiver 2001 3 24-06-2002 02:01


All times are GMT -5. The time now is 03:20.

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