Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Q: Simulation mode issues
From: Ralph Lange <ralph.lange@gmx.de>
To: EPICS Core Talk <core-talk@aps.anl.gov>
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  <2017
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  <2017
ANJ, 08 Sep 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·