PDA

View Full Version : Capturing Text File in Hyperterminal



jrudd
- 8th March 2005, 00:23
I'm using Hyperterminal to receive and display data using:
Hserout ["Value=",DEC adval,10,13] which works fine, I get the A/D value "adval" and I get the linefeed and carriage return using the 10,13 operators.
When I select the "Capture" to text file function from within Hyperterminal,
and stop and open the file to view, I have received the data in the following format Value=1501 Value=1501 etc. There are two blank/black(squares) characters between the repeating text and data display, no line feed or carrage return as I would expect. Any thoughts?
Thanks,
John

Darrel Taylor
- 8th March 2005, 02:05
John,

What are you using to view the text file?

Some programs expect to see the carriage return first.
(13,10) instead of (10,13).

Darrel

jrudd
- 8th March 2005, 23:40
Darrel,
Thanks, I used 10,13 because that is the sequence I amusing to run a 16x2 LCD and displaying the same data that I wanted to capture in a text file using Hyperterminal. The next thing I want to do is run a VB program to display a/d input values.

I'll try 13,10 this evening.

John

Luciano
- 9th March 2005, 09:21
Try with a serial modem.

TYPE:

ati3

(+ press enter key)

The modem will send you back its model number and sw version.

Example:

ati3

SupraExpress 56e Memory s1.00-052099b

OK

In the captured file at the end of the lines you will see 0D 0A.

Luciano

Bruce
- 9th March 2005, 14:35
If you have VB6 & SoftWire, you an make your own terminal program & A/D logging applicaion.

Here's one with a strip chart, analog meter & a few more bells & whistles with the VB & PBP source code http://www.rentron.com/PicBasic/AD_Log.htm

If you don't have SoftWire you can download if free of charge here http://www.softwire.com/swdownload/softwiredownload.htm