EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Improved simulation mode prototype
From: Ralph Lange <[email protected]>
To: EPICS Core Talk <[email protected]>
Date: Thu, 24 Aug 2017 17:32:33 +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/improve-sim-mode - please have a look and take it for a test drive.

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


Replies:
Re: Improved simulation mode prototype Ralph Lange

Navigate by Date:
Prev: Possible Access Rights improvement? Ralph Lange
Next: Re: Possible Access Rights improvement? Kasemir, Kay
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Possible Access Rights improvement? Kasemir, Kay
Next: Re: Improved simulation mode prototype Ralph Lange
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·