Xshell Forum

Serial communication questions & suggestions

Last post: Friday, August 19, 2016 12:47 AM by Support, 3 reply

 
Thursday, August 11, 2016 9:38 AM - Gret Rumpel

Serial communication questions & suggestions

 
Hi,
First of all congratulations for your XShell 5 software!
I have some questions & suggestions as follows.
1. Is there any way to automatically execute shell commands and/or script just before session start?
I see there is an option to start a script when session begins but this appears to happen after communication port gets opened. In my scenario I have an embedded system which communicates over a serial port and which relies on DTR & RTS line signals from PC to power some part of its transmission logic. I found that XShell does not control RTS/DTR pins when port flow control is disabled so one could set those signals by MODE COMx command. So I am looking for a solution to check the DTR/RTS status and set them accordingly before session starts. Actually the check is optional because the logic does work only in a certain configuration.
2. Is there a possibility to interact with an established session from a foreign process/program?

And some suggestion to facilitate serial communications.
1. It would be very helpful the status of line signals (RTS/DTR/CTS/DSR) to be visible somewhere in the status line. Anything like green/red rectangle LEDs would be very nice.
2. Add an option to manually set DTR & RTS when flow control is disabled. It would be even cooler if this could be accomplished by clicking on status bar LEDs from above.
3. There are some embedded systems which end their answer only with CR. If this is the case Xshell prints everything on one line. Could you add an option to append an implicit LF after receiving a single CR? Currently there is a similar action for LF in Terminal -> Advance settings
Regards

Program Ver. : Xshell 5
Tuesday, August 16, 2016 9:31 PM - Support

Re: Serial communication questions & suggestions

 
Thank you for the detailed suggestion. We will consider adding them in the future.

Technical Support

Like us on Facebook
Follow us on Twitter
Visit our blog Blog
Wednesday, August 17, 2016 12:46 PM - Grer Rumpel

Re: Serial communication questions & suggestions

 
Hi,
Thank you for your responsiveness.
Any answers to the questions?
Regards
Friday, August 19, 2016 12:47 AM - Support

Re: Serial communication questions & suggestions

 
. Is there any way to automatically execute shell commands and/or script just before session start?

You can make a quick button to run a script. While in Local Shell, you can utilize the script to run a session and run shell commands.

2. Is there a possibility to interact with an established session from a foreign process/program?

Unfortunately, there is no way to do this currently.

I hope this helps!

Technical Support

Like us on Facebook
Follow us on Twitter
Visit our blog Blog