CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Problem sending "carriage return" via SIOW

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
cyberant



Joined: 04 Jun 2007
Posts: 27

View user's profile Send private message

Problem sending "carriage return" via SIOW
PostPosted: Fri Jul 27, 2007 8:13 am     Reply with quote

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

View user's profile Send private message Visit poster's website

PostPosted: Fri Jul 27, 2007 8:32 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Aug 01, 2007 2:52 am     Reply with quote

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. Confused
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Wed Aug 01, 2007 5:25 am     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Aug 02, 2007 12:31 am     Reply with quote

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. Very Happy
Would be nice if someone also know how to send a 13(0D) in the asci line? - but its not so bad as before.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group