Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Problems with output (http://www.chiefdelphi.com/forums/showthread.php?t=64240)

yay123 16-02-2008 04:21

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.

psy_wombats 16-02-2008 11:36

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?

Steve_Alaniz 16-02-2008 12:58

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.

yay123 16-02-2008 17:11

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.

Racer26 16-02-2008 20:46

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.


All times are GMT -5. The time now is 18:01.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi