Go to Post Go with a Big Block. The torque is awesome and you cant beat the sound of a built Big Block with a high lift cam and some open headers. A blower would be a nice addition as well. Good luck getting past the inspector. - GBK [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 05-02-2004, 15:07
telefragger2000 telefragger2000 is offline
Registered User
#0175
 
Join Date: Feb 2004
Location: Connecticut
Posts: 3
telefragger2000 is an unknown quantity at this point
clear printf box?

is there any way to clear the printf box in ifi loader(with code)?
  #2   Spotlight this post!  
Unread 05-02-2004, 16:01
Jay Lundy Jay Lundy is offline
Programmer/Driver 2001-2004
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Jun 2001
Rookie Year: 2001
Location: Berkeley, CA
Posts: 320
Jay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to all
Re: clear printf box?

Um...

int i;
for (i = 0; i < 100; i++) printf("\n");

I don't think there's any other way. IFI Loader just reads bytes from the serial port and prints them out as ascii characters.

Careful though, the code I posted might delay the program too much and the master may choke due to lack of communication. It's not really a good idea to put loops in your code. You could put in multiple '\n's, but make sure you don't go over the max printf buffer length.

Last edited by Jay Lundy : 05-02-2004 at 16:05.
  #3   Spotlight this post!  
Unread 05-02-2004, 16:08
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Re: clear printf box?

Quote:
Originally Posted by telefragger2000
is there any way to clear the printf box in ifi loader(with code)?
I assume you mean the IFI_Loader terminal window? I doubt it. I would expect such features to be documented (as Parallax did for their BASIC Stamp Editor) and I havent seen any such documentation.

You could use another terminal emulator though. Hyperterminal supports several terminal emulation modes. You would just need to figure out the escape sequences needed to accomplish the formatting you want. If this is a route you would like to pursue, let us know, and I'm sure you will get lots of help.
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #4   Spotlight this post!  
Unread 05-02-2004, 16:35
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,856
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: clear printf box?

I ran through the entire ASCII control set without any luck affecting the terminal window other than carriage return.

I agree last year's was much more capable of setting up nice debug output displays. Try HyperTerminal.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 05-02-2004 at 16:57.
  #5   Spotlight this post!  
Unread 05-02-2004, 16:52
FotoPlasma FotoPlasma is offline
\: |
no team
 
Join Date: Jul 2001
Rookie Year: 2001
Location: San Jose
Posts: 1,900
FotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond repute
Send a message via AIM to FotoPlasma
Re: clear printf box?

Our team uses Tera Term as a terminal program. After getting the baud rate set, and choosing the right COM port, it automatically clears the screen for each cycle. If you have any problems with the program, feel free to ask, and I'll get in depth into the settings we use.
__________________
I played hacky sack with Andy Baker.

2001-2004: Team 258, The Sea Dawgs
2005: Team 1693, The Robo Lobos
  #6   Spotlight this post!  
Unread 05-02-2004, 17:33
telefragger2000 telefragger2000 is offline
Registered User
#0175
 
Join Date: Feb 2004
Location: Connecticut
Posts: 3
telefragger2000 is an unknown quantity at this point
Re: clear printf box?

thanks

going to try both of those out tonight and see how it goes
  #7   Spotlight this post!  
Unread 05-02-2004, 17:40
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: clear printf box?

My solution: Write my own!
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
box grabbing matt111 3D Animation and Competition 3 27-01-2003 23:08
project box archiver 2000 2 23-06-2002 23:01
What box can we use for our custom OI interface DanBlock Technical Discussion 1 15-02-2002 17:09
Gray box limitations Tim Skloss Technical Discussion 1 23-01-2002 07:38
Modular Control box assembly Andrew Wyatt Technical Discussion 4 29-11-2001 15:44


All times are GMT -5. The time now is 23:58.

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