View Single Post
  #6  
Old 06-13-2018, 02:05 PM
ekoranyi ekoranyi is offline
VanDyke Technical Support
 
Join Date: Jan 2017
Posts: 569
Hi ngrison,

Unfortunately the information you provided is not conclusive. It appears you may have inadvertently introduced a bug in the code that can impact the data seen/received.

WaitForScreenContentsToStopChanging with Synchronous true will not provide the desired or expected behavior. With Synchronous set to the true the only time your screen gets updated is if you use a WaitFor or ReadString, and because your modified version of the function does not contain any WaitFor or ReadString, the contents of your screen will not ever get updated while in that function. With that being the case WaitForScreenContentsToStopChanging will always return after the 250 ms delay, even if your remote is still sending data. For this function to work as expected it will need Synchronous set to false.

With a bit of additional information I may be able to suggest alternative methods of determining if your commands are finished running. What type of devices are you connecting to?
__________________
Thanks,
--Eric

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730

Last edited by jdev; 06-13-2018 at 03:06 PM.
Reply With Quote