script problem on the serial port. [3]

script problem on the serial port.

Wednesday, April 11, 2012 6:57 PM - xilai

I make a session with SERIAL protocol connect to COM1.
Then, I run the Script.
But the function "xsh.Screen.WaitForString" can't work.

If I make a session with SSH protocol, this function can work.


Please give me help, Thanks!



----------------------------example.vbs--------------------------------
Sub Main

xsh.Screen.Synchronous = true

xsh.Screen.Send "cd"
xsh.Screen.Send VbCr
xsh.Screen.WaitForString "#"

xsh.Screen.Send "cd"
xsh.Screen.Send VbCr
xsh.Screen.WaitForString "#"

xsh.Screen.Synchronous = false

End Sub
----------------------------example.vbs--------------------------------

Program Ver. : Xshell 4


Re: script problem on the serial port.

Wednesday, March 13, 2013 7:21 PM - rmp

Hi,
I got the same problem, too
The function "xsh.Screen.WaitForString" can't work for serial port.
Is there any update on this?

Thank you.


Re: script problem on the serial port.

Thursday, March 14, 2013 1:57 AM - Support

We have found the problem with script and serial connection. The problem has been reported for fix.


---
Technical Support


Re: script problem on the serial port.

Sunday, August 18, 2013 7:15 PM - Support

This problem has been fixed in Xshell 4.0 Build 0127. Please upgrade your Xshell.

---
Technical Support.


Previous views: 226