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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2019-10-29
Hi Svenn,
you can find this option under: settings/console options/send on enter key.
Regards,
Stefan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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).
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
Hi Svenn,
you can find this option under: settings/console options/send on enter key.
Regards,
Stefan
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.
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
The same behaviour on win10 x86_64
Did you add a new line to your text?
Where do you enter your text? In the console or in the send field under the console?
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.