Rocket Terminal Emulator

 View Only
  • 1.  Script randomly slows down on WaitReady

    Posted 22 days ago

    Hi,

    I am using BlueZone v8.1.1 and I have written a Python script to automate an audit workflow.

    I am using the WaitReady function after sending an attention identifier key and this approach works for the most part. But all of a sudden, the execution will grind to a halt after a while. I've noticed the execution of the script is getting held up on the WaitReady or WaitForReady command, even though there is nothing waiting on the terminal (the status is 'Ready'). This causes the execution of WaitReady to take up to 30 seconds to execute. This then causes every subsequent use of WaitReady or WaitForReady to also take that long despite the terminal status being 'Ready'. I've then noticed that Presentation Space is Busy is then returned from the function even though the terminal isn't busy

    UPDATE: I'm starting to see this issue with SendKeys function now as well.. 

    What am I doing wrong? Any help would be appreciated!!

    Josh.



    ------------------------------
    Josh Grant
    Rocket Forum Shared Account
    ------------------------------


  • 2.  RE: Script randomly slows down on WaitReady

    Posted 21 days ago

    Josh, 

    I ran into this for a while and have not come up with a perfect solution but here are a few things to try. 

    1. Instead of qualifying the BZHAO.WaitFor...   Try ThisSession.WaitReady
    2.  And shorten the time on error by ThisSession.WaitReady 10, 1 <-changing the 1 to a   ->  .1   <-
    3.   I stopped using waitforreadys'.  I'm not sure if something was done behind the scenes, but they seem unneeded now.  If you are using the attached VBA in Rocket, it may be worth a try. 
    4. If you are using Excel and OLE automation, #3 probably will not work well.



    ------------------------------
    Michael Hlusak
    Computer Systems Scheduler
    United States Postal Service
    Washington DC US
    ------------------------------