EPICS Home

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: 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 co-cores,

The improved simulation prototype has been extended to support all 21 simulation capable record types in Base; extensive tests for simulation mode have been added.

 https://github.com/ralphlange/epics-base/tree/improve-sim-mode 

This is a good moment to test, report issues etc.
Next steps: add a few more tests, squash/reorder commits and push to LaunchPad as a merge proposal.

Thanks for your help,
~Ralph



On Thu, Aug 24, 2017 at 5:32 PM, Ralph Lange <[email protected]> wrote:
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 Andrew Johnson
References:
Improved simulation mode prototype Ralph Lange

Navigate by Date:
Prev: Re: asynManager changes Torsten Bögershausen
Next: Re: Improved simulation mode prototype Andrew Johnson
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: Improved simulation mode prototype Ralph Lange
Next: Re: Improved simulation mode prototype Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024