2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 <2017> 2018 2019 2020 2021 2022 2023 2024 | Index | 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: Improved simulation mode prototype |
From: | Ralph Lange <[email protected]> |
To: | EPICS Core Talk <[email protected]> |
Date: | Fri, 15 Sep 2017 17:22:29 +0200 |
Dear Core-Talkers,I have been working on improving the simulation mode to avoid the issues tat were mentioned in a recent thread here on core-talk.The prototype is at https://github.com/ralphlange/epics-base/tree/ - please have a look and take it for a test drive.improve-sim-mode There are six record types supported in this prototype: ai, ao, bi, bo, mbbi and mbbo.Configuration is through two types of info items that can be added to record instances:info(simm:SCAN,".2 second")will set a record's SCAN to the specified value during simulation mode.info(simm:DELAY,"0.6")will process the record asynchronously using the specified delay [sec] during simulation mode.During simulation mode, records with TSE=-2 (time stamp from device) will use the time stamp of the source record when fetching a value through SIOL, the current IOC time otherwise.Please report any issues, comments etc.My next steps will be adding tests and extending the changes to all record types that support simulation mode.Thanks for your help,~Ralph