Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Output Error (http://www.chiefdelphi.com/forums/showthread.php?t=42079)

magical hands 17-01-2006 21:17

Output Error
 
Hi! I just hooked up my robot to a computer throught the cable and than i load the code into the robot through IFI Loader and after I am suppose to get values into Output window. But instead my output window is blank no values are printing and when i press "RESET" on the robot it shows "<IFI>" in output window. I just want to know what could be the problem? Also, the code was 2006 but i was using 2005 robot controller. Also, my operator interface was off. I just had my robot on.

Jake M 17-01-2006 21:32

Re: Output Error
 
What kind of values? Through a printf() call, I assume. The IFI terminal, which I assume you're referring to, can be a little strange sometimes. The only time I've ever gotten any output to the terminal is immediately after uploading code, before you unplug the cable. Try it again, and if you still don't get any output, double check that there isn't an if() statement or something in your code that prevents printf() from being called. Other than that, something in your hardware must be faulty.

Mike Betts 18-01-2006 01:00

Re: Output Error
 
Quote:

Originally Posted by magical hands
H...Also, my operator interface was off. I just had my robot on.

Turn on your operator interface and connect it to the robot with a tether.

Joe Hershberger 18-01-2006 18:54

Re: Output Error
 
Quote:

Originally Posted by Mike Betts
Turn on your operator interface and connect it to the robot with a tether.

Yes... what Mike said. You must have communication between the OI and the RC for the user program to run anything. This means either a tether between them, or a successful radio link.

Cheers!
-Joe


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

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