View previous topic :: View next topic |
Author |
Message |
cyberant
Joined: 04 Jun 2007 Posts: 27
|
Problem sending "carriage return" via SIOW |
Posted: Fri Jul 27, 2007 8:13 am |
|
|
Hi,
Sinple question =)
How can i send a 13 via the ASCII line in SIOW? - it always sends a 1 and a 3.
I want to control my programm via the pc which works fine, but the problem is that I need a carriage return behind every command.
It works if I send my command in the ASCII line and then change in the Hex line and send the 0D - but doing this everytime is not so nice... |
|
|
treitmey
Joined: 23 Jan 2004 Posts: 1094 Location: Appleton,WI USA
|
|
Posted: Fri Jul 27, 2007 8:32 am |
|
|
pressing the enter should send the 0x0d.
I have a loopback cable on my system right now.
I can type stuff and i see it at the other port, and
when I press enter i see the 0x0d
Make sure you have view hex turned on,.. then you can see the REAL data. |
|
|
cyberant
Joined: 04 Jun 2007 Posts: 27
|
|
Posted: Wed Aug 01, 2007 2:52 am |
|
|
Sorry nearly forgot this post, but i still have the Problem.
Here pressing enter makes the same thing as pressing send - no 0D or 13 gets send. |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Wed Aug 01, 2007 5:25 am |
|
|
Make sure the keyboard focus is not on a button or other edit component, try clicking once on either the transmit window or receive window. When I do this I see the TXD symbol on the Window bottom light up for every key press, including the enter key. Is this TXD symbol lighting up in your system? |
|
|
cyberant
Joined: 04 Jun 2007 Posts: 27
|
|
Posted: Thu Aug 02, 2007 12:31 am |
|
|
Ah that was the problem - thanks.
You have to click on the hex view first and then type without seeing what you type...then it works.
Would be nice if someone also know how to send a 13(0D) in the asci line? - but its not so bad as before. |
|
|
|