Menu

How do I send carriage-return from the send area on alt+enter

2019-10-29
2019-10-31
  • Svenn Are Bjerkem

    The equipment I communicate with on serial port accepts only carriage-return \r as end-of-line indicator. I have problems finding where to set the option to send carriage-return when pressing the "send" button or alt+enter.

     
  • Anonymous

    Anonymous - 2019-10-29

    Hi Svenn,

    you can find this option under: settings/console options/send on enter key.

    Regards,
    Stefan

     
  • Svenn Are Bjerkem

    I have set the drop-down box for the send button to CR, but there is no carriage-return transported to the device. I have to go to hex window and add 0d at end of the sequence and then press send. The remote device does not react to commands before the 0d is manually added in hex window, or <|#CR#|> is added in the ascii window. This is scriptcommunicator 5.10 on windows 8.1 x86_64.

     
  • Stefan Zieker

    Stefan Zieker - 2019-10-30

    Did you forget the enter key at the end of your sequence (you have to add a new line)? Look at the picture in the attachment. ScriptCommuicator sends 0xd (you can see it it the hex console).

     

    Last edit: Stefan Zieker 2019-10-30
  • Svenn Are Bjerkem

    The same behaviour on win10 x86_64

     
  • Stefan Zieker

    Stefan Zieker - 2019-10-30

    Did you add a new line to your text?

     
  • Stefan Zieker

    Stefan Zieker - 2019-10-30

    Where do you enter your text? In the console or in the send field under the console?

     
  • Svenn Are Bjerkem

    I enter the text in the send field under the console. And I now realize that I have to press the enter key to insert a 0x0a character in the send field in ascii mode to inject a linefeed which the function behind the send button (or alt+enter) will replace with 0x0d (the value conficured in the console setting for new line) when sending the text buffer. (I have inspected the source code of scriptcommunicator). Got it. Thanks.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.