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: Q: Simulation mode issues
From: Ralph Lange <[email protected]>
To: EPICS Core Talk <[email protected]>
Date: Fri, 28 Jul 2017 11:44:25 +0200
Dear Core-Talkers,

Trying to implement an emulation mode for our PLC driver to be used when hardware is not present, we wanted to use the EPICS simulation mode, but found two show-stopping issues:
  1. Records that have SCAN="I/O Intr" are never processed, so simulation mode does not work. Setting SIMM=YES and writing to SVAL does update the fields, but does not process the record.
  2. Records that have TSE=-2 (timestamp from device) will always have invalid timestamps, which do not allow using X/T graphs, archiving etc.
Does anyone have an idea how to solve this, preferably in a generic way in base?

Our current workaround is to change the DTYP, SCAN, TSE fields, but our requirements for this emulation mechanism are asking for no changes to the database and the ability to switch without IOC reboot.

Thanks a lot,
~Ralph

Replies:
Re: Q: Simulation mode issues Benjamin Franksen

Navigate by Date:
Prev: Developers Meetings @ ITER, Oct 2017 Ralph Lange
Next: Re: Q: Simulation mode issues Benjamin Franksen
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: Developers Meetings @ ITER, Oct 2017 Ralph Lange
Next: Re: Q: Simulation mode issues Benjamin Franksen
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024