Experimental Physics and Industrial Control System
|
Or like this (when I turn on AsynTraceMask):
←[31;1m2012/05/03 11:41:04.892 L1 TPS2024B:file: asynError in read: COM3 read error: 995
←[0m←[31;1m2012/05/03 11:41:04.897 L1 TPS2024B:file: I/O error after reading 379 bytes: "...<00>▀<00><00><00>╫<00><00><00>╧<00><00><00>└<00><ff><ff><ff><00>ю"
←[0m←[31;1m2012/05/03 11:41:04.901 L1 TPS2024B:file: Protocol aborted ←[0m
On Thu, May 3, 2012 at 11:22 AM, Pavel Masloff <[email protected]> wrote:
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
-- 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
- 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
- Re: [Scopes] BMP image record?? Pavel Masloff
- Navigate by Date:
- Prev:
Re: [Scopes] BMP image record?? Pavel Masloff
- Next:
Re: [Scopes] BMP image record?? Dirk Zimoch
- 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
- Navigate by Thread:
- Prev:
Re: [Scopes] BMP image record?? Pavel Masloff
- Next:
Re: [Scopes] BMP image record?? Eric Norum
- 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
|
ANJ, 18 Nov 2013 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|