1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 <2012> 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 <2012> 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: [Scopes] BMP image record?? |
From: | Pavel Masloff <[email protected]> |
To: | Eric Norum <[email protected]> |
Cc: | EPICS Tech Talk <[email protected]> |
Date: | Thu, 3 May 2012 11:22:08 +0400 |
Looks reasonable.
Please post your results.
You might make the ReadTimeout a little longer since the only negative effect is that it will take a little longer for the transfer to complete. The postive effect is that the chance of receiving a partial image is reduced.
--
On May 2, 2012, at 9:33 PM, Pavel Masloff wrote:
> The minimum gap time is about 0,3 s. I checked it with the Python script. Sometimes, I got only the bottom part of the image, So I increased the sleep time from 0,3 to 0,5 seconds.
> So, Eric, I should try something like this (with nnn = the maximum expected file size in bytes which in my case is sth about 50 kB):
>
> PrtScr {
> InTerminator = "";
> ReplyTimeout = 2000;
> ReadTimeout = 500;
> out "HARDCOPY START";
> in "%50000c";
>
> }
>
> So, if the file is ~ 14 kB, it will copy 14 kB then the ReadTimeout will elapse, and it's done. Correct?
>
Eric Norum
[email protected]