View Single Post
  #7   Spotlight this post!  
Unread 29-01-2004, 23:48
WillyC's Avatar
WillyC WillyC is offline
"handy"
#1347
Team Role: Engineer
 
Join Date: Jan 2004
Location: Ottawa, Canada
Posts: 29
WillyC is on a distinguished road
Re: Writing to Files

Quote:
Originally Posted by JoshJ
What i was trying to do was write to a file on the PC, while the robot is tethered (instead of printf to a screen, output to a file). I understand that there is no place for it on the RC, except EEPROM and whatnot. We've just had problems with EEPROM, with trying to retrieve data, and we're not quite sure how to shift hex storage locations and all the other stuff that comes with using EEPROMs. Any more help would be appreciated, thanks again.
Ok, I see what you mean. How about this? Use the HyperTerminal program on your PC to capture the printf'd output from the robot (on a Windows-based PC it's at Start-Programs-Accessories-Hyperterminal). HyperTerminal has a logging function that lets you make a log file (.txt or .log) of all the text it captures. Just be careful that you "Disconnect" Hyperterminal before you try to use IFI loader to put a new load into the robot, because Hyperterminal blocks the serial port. After dumping a new load into the robot using the IFI loader, you can "Connect" to the robot from Hyperterminal again.