EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: CA environment variables not being set?
From: "Mark Rivers" <[email protected]>
To: "Shawn Smith" <[email protected]>, <[email protected]>
Date: Wed, 1 Jul 2009 18:10:21 -0500
Hi Shawn,

EPICS_CA_MAX_ARRAY bytes must be set for both the IOC server (which it
appears you have done OK) and for the CA client.  Is that environment
variable also set in the process running the CA client?  What client are
you using?

Mark


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Shawn Smith
Sent: Wednesday, July 01, 2009 6:05 PM
To: [email protected]
Subject: CA environment variables not being set?

Hello everyone,
I'm pretty new to EPICS and I cannot find answers within the
documentation, so hopefully someone can help me understand the problem
I am having.

It appears that my CA is only using the default values from the
CONFIG_ENV file, no matter what I have set the system variables to.
The order of ops is as follows:
  setenv() to establish the env list EPICS_CA_ADDR_LIST,
AUTO_ADDR_LIST, ... MAX_ARRAY_BYTES
  iocsh(0x0)
  ( I have tried using epicsEnvSet() on all the variables here, but it
makes no difference )
  dbLoadDatabase()
  dbLoadTemplate()
  iocInit()

Any epicsEnvShow() calls after the iocInit() come back with the
correct values from either setenv() or epicsEnvSet().
I try to set EPICS_CA_MAX_ARRAY_BYTES to higher than the default 16384
to accommodate a NELM of 4000 points, size DOUBLE, but CA calls to the
pv come back with
"Read operation timed out: some PV data was not read. ... The
requested data transfer is greater than available memory or
EPICS_CA_MAX_ARRAY_BYTES"
I don't believe that I am out of memory because the ADDR_LIST
variables are not functioning properly either.

Is there any way to read back these values with Channel Access calls?
I am not sure where the problem might be, in the configure files or a
missing startup call?
This is version EPICS v3.14.9
Thanks for any help.
--
Shawn Smith
Jr. Software Engineer
ZTEC Instruments, Inc.
505-342-0132 x104
[email protected]


References:
CA environment variables not being set? Shawn Smith

Navigate by Date:
Prev: CA environment variables not being set? Shawn Smith
Next: Motor record for Micos SMC Corvus Eco 3-axis controller? Burkhard Kolb
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: CA environment variables not being set? Shawn Smith
Next: Motor record for Micos SMC Corvus Eco 3-axis controller? Burkhard Kolb
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·