I am not sure how CA allocates memory, but you have set a REALLY big value for EPICS_CA_MAX_ARRAY_BYTES (1.6GB). Perhaps you should try setting it to be just a little bigger than the largest image you will use. Is your data 8-bit? If so then 400000 is big enough for the 640x480 array you mentioned.
Mark
________________________________
From: [email protected] on behalf of wantianmin
Sent: Thu 9/9/2010 10:26 PM
To: [email protected]
Subject: Fwd: Re: ca client get waveform pv error
You have to set EPICS_CA_MAX_ARRAY_BYTES on both the server (IOC) and
client ends. On Sep 9, 2010, at 7:17 PM, wantianmin wrote:
>> Hi all,
>> I am use a edm client get a waveform pv(640*480 ),the IOC has enough
>> memory,but only one client can get the pv data,when another client try
>> to connect to this pv,the client get the error message:
>> CA value callback('pic1'): No data, CA status The requested data
>> transfer is greater than available memory or EPICS_CA_MAX_ARRAY_BYTES
>>
>> But ,I set the EPICS_CA_MAX_ARRAY_BYTES to a big number(1600000000),is
>> there some other options need to be configured?
>> Thanks for your help.
>> wantianmin
>>
Hi,Eric,
thanks for your reply,
I checked the shell command for running the IOC and the client,
The EPICS_CA_MAX_ARRAY_BYTES is both set to 1600000000,and
running one client is ok,but if I try to running 2 client at the
seem time,
the second client will complain about such error(CA value callback ...)
wantianmin
- Replies:
- Re: ca client get waveform pv error wantianmin
- References:
- Fwd: Re: ca client get waveform pv error wantianmin
- Navigate by Date:
- Prev:
Fwd: Re: ca client get waveform pv error wantianmin
- Next:
Re: ca client get waveform pv error wantianmin
- 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:
Fwd: Re: ca client get waveform pv error wantianmin
- Next:
Re: ca client get waveform pv error wantianmin
- 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
|