Yes, unfortunately, I am sure:
EPICS_AR_PORT: 7002
EPICS_CAS_AUTO_BEACON_ADDR_LIST is undefined
EPICS_CAS_BEACON_ADDR_LIST is undefined
EPICS_CAS_BEACON_PERIOD is undefined
EPICS_CAS_BEACON_PORT is undefined
EPICS_CAS_IGNORE_ADDR_LIST is undefined
EPICS_CAS_INTF_ADDR_LIST is undefined
EPICS_CAS_SERVER_PORT is undefined
EPICS_CA_ADDR_LIST is undefined
EPICS_CA_AUTO_ADDR_LIST: YES
EPICS_CA_BEACON_PERIOD: 15.0
EPICS_CA_CONN_TMO: 30.0
EPICS_CA_MAX_ARRAY_BYTES: 6000000
EPICS_CA_MAX_SEARCH_PERIOD: 300.0
EPICS_CA_NAME_SERVERS is undefined
EPICS_CA_REPEATER_PORT: 5065
EPICS_CA_SERVER_PORT: 5064
EPICS_CMD_PROTO_PORT is undefined
EPICS_IOC_LOG_FILE_COMMAND is undefined
EPICS_IOC_LOG_FILE_LIMIT: 2000000000
EPICS_IOC_LOG_INET: 127.0.0.1
EPICS_IOC_LOG_PORT: 6500
EPICS_TIMEZONE: CUS::360:031302:110602
EPICS_TS_NTP_INET is undefined
I set the same value in the console where I run caget.
I discovered another strange behavior. When I changed the number of
elements to (NELM, 1000000) caget returns only 16960 first elements. On
the other hand, for 40000 (so an 'image' 200x200) caget returns all the
elements.
- Pawel
W dniu 2011-08-24 15:27, Mark Rivers pisze:
Are you sure you set the EPICS_CA_MAX_ARRAY_BYTES on the IOC server as well? You can check it on the IOC using the command
epicsPrtEnvParams
Mark
________________________________
From: [email protected] on behalf of Pawel Predki
Sent: Wed 8/24/2011 5:07 AM
To: Kasemir, Kay
Cc: TechTalk
Subject: Re: Dynamic images in BOY
Hello Kay,
It's been quite some time since I raised this topic but now I finally
managed to try your way for 1-channel images. All in all it works fine.
There is one problem, though. The images we're dealing width are of
resolution of up to 1710x1680 which is way above the default
EPICS_CA_MAX_ARRAY_BYTES value. I changed this environmental variable to
6 000 000 and everything seemed fine again. There were no more errors.
However, only 54752 elements are really being sent. I checked it using
caget and in BOY.
My database entry looks as follows:
record(waveform, "CAMERA1:WAVETEST") {
field(DTYP, "imgwave")
field(NELM, "2872800")
field(FTVL, "SHORT")
}
By the way, I tried FTVL, "UCHAR" and I got negative values when the
real values exceeded 127 when writing to the waveform in the IOC.
I wrote soem very simple device support routines that fill the waveform
with counter-like data (0..255) in the read_wf routine. I'm setting the
NORD field of the PV to 1710*1680 and it is there afterwards so I know
the loop works fine.
Do you have any ideas what can be wrong? Is there some other size limit
that I am not aware of?
Regards,
Pawel
W dniu 2011-06-06 15:33, Kasemir, Kay pisze:
On 6/6/11 08:59 , "Pawel Predki"<[email protected]> wrote:
Is it possible to do such a thing in BOY? There is an Image widget but I
believe it's for static images only.
The "Intensity Graph" widget displays waveforms that are really grayscale
images.
For example:
waveform with 10000 elements, "width" 100 means:
Elements 0...99 are the first row of the image,
elements 100..199 are the second row of the image and so on.
You need to specify the minimum and maximum element value,
like 0 and 255, which will then be mapped to black...white
or some other color map of your choosing.
-Kay
- References:
- Re: Dynamic images in BOY Kasemir, Kay
- Re: Dynamic images in BOY Paweł Prędki
- RE: Dynamic images in BOY Mark Rivers
- Navigate by Date:
- Prev:
RE: Dynamic images in BOY Mark Rivers
- Next:
'open' epics backup? emmanuel_mayssat
- 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: Dynamic images in BOY Mark Rivers
- Next:
RE: Dynamic images in BOY Mark Rivers
- 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
|