View Single Post
  #1  
Old 05-11-2017, 03:19 PM
Ronnie427 Ronnie427 is offline
Registered User
 
Join Date: May 2017
Location: Houston, TX
Posts: 7
Output very slow when crt.Screen.Synchronous = True

I'm getting very slow output, less than 1 cps, when sync = true, complete output displays once disconnect dialog box appears.

I'm logging to file, Version 8.1.2 (x64 build 1362). os windows 8.1 pro.

Speed of display is fine if sync=false.

My test script_sleep.vbs to a ssh host:
#$language = "VBScript"
#$interface = "1.0"

Sub Main
crt.Screen.Synchronous = True
crt.Screen.Send "show clock" & vbCR
crt.Screen.WaitForString strPrompt
crt.Sleep (10000)
crt.Screen.Send "show clock" & vbCR
crt.Screen.WaitForString strPrompt
crt.Sleep (10000)
crt.Screen.Send "show clock" & vbCR
crt.Screen.WaitForString strPrompt
crt.Sleep (10000)
crt.Screen.Send "show clock" & vbCR
crt.Screen.WaitForString strPrompt
crt.Sleep (10000)
crt.Screen.Send "show clock" & vbCR
crt.Screen.WaitForString strPrompt
crt.Sleep (10000)
crt.Screen.Send "show clock" & vbCR
crt.Screen.WaitForString strPrompt
crt.Sleep (10000)
crt.Quit

End Sub
Reply With Quote