Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-11-2017, 02: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
 

Tags
script sleep synchronous


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 04:39 AM.