PDA

View Full Version : Hyperterminal Question



earltyso
- 18th April 2008, 18:06
Hello,
I am sending serial data to my windows 2000 Hyperterminal window successfully, however I would like to have all the data "left alligned" so that I can do a simple copy/paste/export to excell for delimiting and graphing. I have been using the 10 command for line feedout thinking this would do the job. I have also googled the top of serial commands for hyperterminal with no luck. If anyone know I would sure appreciate the help.



SEROUT PORTA.2,N2400,[10,"VALUE ", #eepaddr," ",#B0," counts"


I have included a screen shot so you can see what I currently see in my HT window.

skimask
- 18th April 2008, 18:08
10 is for line feed only, doesn't reset the 'cursor' back to the left.
13 is for carraige return, resets the cursor back to the left.

so, end your serial output line with 10 , 13
line feed, then carraige return



SEROUT PORTA.2,N2400,[10,"VALUE ", #eepaddr," ",#B0," counts" , 10 , 13

mister_e
- 18th April 2008, 18:09
Carriage Return, then a LineFeed
13,10

:D hit the button at the same time :D

earltyso
- 18th April 2008, 18:15
Thank you both!
Consider yourselves nominated for Jedi Council Membership.

skimask
- 18th April 2008, 18:20
Thank you both!
Consider yourselves nominated for Jedi Council Membership.
Bah!
I used the force once...but I did NOT inhale! Maybe I should have? :D

mister_e
- 18th April 2008, 18:23
:D the only thing i remember of it is that guy bellow...
http://www.mister-e.org/Pics/YodaRTFM
All the force is in those Fabulous manuals :D

Kamikaze47
- 18th April 2008, 23:25
Does anyone know if there is something you can send to clear the terminal screen?

mister_e
- 18th April 2008, 23:34
If it's Hyperterminal or else ANSI compatible software, then yes, and much more.
http://www.pbpgroup.com/modules/wfsection/article.php?articleid=9

SteveB
- 18th April 2008, 23:40
This link has a very nice summary of the codes.
http://en.wikipedia.org/wiki/ANSI_escape_code

Also, you might consider using Tera Term Pro (http://www.ayera.com/teraterm/) (free!). Much nicer than Hyperterminal IMHO.