EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Array Information
From: Noboru Yamamoto <[email protected]>
To: [email protected]
Date: Thu, 05 Aug 1999 16:26:14 +0900
Hi, 

on Page93, chap 7,sect5 of EPICS IOC Application Developer's Guide,it says,
"get_array_info() function  returens the CURRENT number of elements and
the offset of the first value of the
specified array".
In other words,  no_elements which get_array_info() return may be
smaller than the maximu size of this array.

Now, ca library compares requested elements count with privCount field
of channel structure and 
it rejects request when the requested count is larger than privCount.
privCount field is updated only when
channel is (re) connected. i.e. you cannot request loger array data 
than the size of array which get_array_info 
when your channel is connected with the Database.

In our application , the CURRENT number of elements of SubArray records
can vary time to time. 
However,  application program cannot read an array data longer than the
element count which is a element count 
at the time channel is connected. It may loose data and its size cannot
be predictable.

Does anyone encounterd similar problem? Or have you solved this problem?

Ragards,

Noboru Yamaoto
KEKB control Group
KEK, JAPAN


Replies:
RE: Array Information Jeff Hill

Navigate by Date:
Prev: RE: Channel Access Gateway software Jeff Hill
Next: [Re: drvGpib.c] Noboru Yamamoto
Index: 1994  1995  1996  1997  1998  <19992000  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: FW: MVME162 Bug in system clock Jeff Hill
Next: RE: Array Information Jeff Hill
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024