EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Ca portable server Enum strin table
From: "Jeff Hill" <[email protected]>
To: "'Gasper Jansa'" <[email protected]>
Cc: "'EPICS Core Talk'" <[email protected]>
Date: Thu, 7 Dec 2006 13:36:22 -0700
Hello Gasper,

I was looking through my mail stack and I think that I forgot to answer this
question.

> I was looking why enum string table is demanded by server library only
> the first time from gateway.
> 
> I noticed in casPVI.cc that if string table already exists it is not
> requested by server tool anymore.
> So I commented out this lines in casPVI.cc in updateEnumStringTable()
> and updateEnumStringTableAsyncCompletion()
>    if ( this->enumStrTbl.numberOfStrings () > 0 ) {
>         return S_cas_success;
>     }
> 
> Is there a reason why this is done?
> I commented this out since in other case I don't get updated string
> values to the clients if there is one monitor connected to the PV.


This could be a legitimate problem. Presumably you noticed this when someone
wrote to the fields containing the state labels in a mmbi or mbbo record? I
created entry 278 in the mantis bug tracker. I also committed a fix to CVS
(removing the code that you are commenting out). The fix will show up in
R3.14.9.

Thanks for reporting the bug, and Best Regards,

Jeff



> -----Original Message-----
> From: Gasper Jansa [mailto:[email protected]]
> Sent: Monday, November 27, 2006 11:32 AM
> To: Jeff Hill
> Subject: Ca portable server Enum strin table
> 
> Dear Jeff
> 
> Thank you for you previous answer.
> 
> I have yet another question.
> 
> I was looking why enum string table is demanded by server library only
> the first time from gateway.
> 
> I noticed in casPVI.cc that if string table already exists it is not
> requested by server tool anymore.
> So I commented out this lines in casPVI.cc in updateEnumStringTable()
> and updateEnumStringTableAsyncCompletion()
>    if ( this->enumStrTbl.numberOfStrings () > 0 ) {
>         return S_cas_success;
>     }
> 
> Is there a reason why this is done?
> I commented this out since in other case I don't get updated string
> values to the clients if there is one monitor connected to the PV.
> 
> Thank you in advance  and  Best regards,
> Gasper Jansa
> 


Navigate by Date:
Prev: RE: thread private exit hook added to EPICS base for R3.14.9 Jeff Hill
Next: Re: C strict aliasing rules Till Straumann
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: thread private exit hook added to EPICS base for R3.14.9 Jeff Hill
Next: configure/os/linux, configure/os/freebsd, configure/os/win32 .... Jeff Hill
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·