EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  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  <20122013  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
Every time now I get this message:

L1 TPS2024B:file: 3574 bytes surplus input "<00><00><00><00><00><00>6<04><00><00>(<00><00><00>@<01><00><00>Ё<00>..."
L1 TPS2024B:file: after 4 bytes: "BM<92>/"


The amount of bytes (3574 in this example) varies from time to time (as I set a different readTimeout), but the second line saying "after 4 bytes: "BM<92>/" remains the same.

Strange...


On Thu, May 3, 2012 at 8:56 AM, Eric Norum <[email protected]> wrote:
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]







--
Best regards,


Pavel Maslov, MS
Controls Engineer at Pulsed power Lab
Efremov Institute for Electro-Physical Apparatus
St. Petersburg, Russia

Mobile: +7 (951) 672 22 19
Landline: +7 (812) 461 01 01


Replies:
Re: [Scopes] BMP image record?? Pavel Masloff
References:
[Scopes] BMP image record?? Pavel Masloff
RE: [Scopes] BMP image record?? Mark Rivers
Re: [Scopes] BMP image record?? Pavel Masloff
RE: [Scopes] BMP image record?? Mark Rivers
Re: [Scopes] BMP image record?? Pavel Masloff
Re: [Scopes] BMP image record?? Rod Nussbaumer
Re: [Scopes] BMP image record?? Pavel Masloff
Re: [Scopes] BMP image record?? Rod Nussbaumer
Re: [Scopes] BMP image record?? Pavel Masloff
Re: [Scopes] BMP image record?? Rod Nussbaumer
Re: [Scopes] BMP image record?? Eric Norum
Re: [Scopes] BMP image record?? Pavel Masloff

Navigate by Date:
Prev: Regarding access of Process Variable manta santosh aditya santosh_aditya
Next: Re: [Scopes] BMP image record?? Pavel Masloff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: [Scopes] BMP image record?? Pavel Masloff
Next: Re: [Scopes] BMP image record?? Pavel Masloff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024