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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: EPICS fsmRecord question |
From: | Jiro Fujita <[email protected]> |
To: | Michael Davidsaver <[email protected]> |
Cc: | Michael Cherney <[email protected]>, [email protected], EPICS tech-talk <[email protected]> |
Date: | Wed, 17 Jul 2013 19:43:52 +0900 |
On 07/13/2013 01:06 AM, Jiro Fujita wrote:
...what is the minimum version of EPICS Base should we be using?
I developed fsmRecord against 3.14.10 and it should build against newer versions. Also, it isn't doing anything special, the only part of OSI it uses is epicsMutex, so it will likely build against earlier 3.14 releases.And I didn't think to ask...
This is something we probably should have thought about before we started, but for a number of reasons, we didn't.
I wouldn't dream of discourage you from upgrading :) However, I suspect it would be less work to port fsmRecord back. If you were considering this you might have a look at StreamDevice which supports 3.13 (specifically the file StreamEpics.cc). It might be as simple as replacing use of epicsMutex with a vxWorks semaphore.
The subdetector system in question is mostly running EPICS base 3.13 or 3.12 (yes, we still have them around). For a number of technical reasons it is not all that easy for us to recompile EPICS base 3.12 IOCs (although not impossible, I suppose).
This is possible, but some care is needed. fsmRecord uses the normal db linking calls, so puts to output CA links queue a request and return immediately. So the FSM might have to include extra states to check (and wait) until this has happened.
My thought is we can always edit the database of those IOCs to add flnk to send the PV values to another PVs running on soft IOC somewhere to get the job done (not very elegant, but should work).
Michael