EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Hardware simulator
From: Ralph Lange <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Thu, 29 Aug 2013 21:47:10 +0200
On 29.08.2013 20:30, Dalesio, Leo wrote:

That brings an interesting question:
What are all those 'simulation' records (SIMM, SIOL) used for?

These fields are used to set up the ability to test database logic without the need to have hardware there to fail - or to test client based code such as quad centering or beam steering. You can use the link to have one record set the thing into simulation mode if all SIOL point to the same link field. There is also a SVAL field (or something close to that). This should all be explained in the record reference manual. If it isn't - someone should add it.

SIMM allows you to say that the simulation is offering up either a raw digital value that needs to go through conversion, an engineering units value - ignore the conversion part of the record - or no simulation.

BUT. (big but)

In practice I found simulation mode often pretty useless, as:
Your database's SIOL links all pointing to one record may put your whole database into the same lock set. Which can change its behaviour dramatically.
All records that work asynchronously with the real hardware are working synchronously in simulation mode. Which does change the behaviour of your database dramatically. Timing, values, completion delays - all different.

The idea of simulation mode is really intriguing, but a good implementation .... is still waiting to be done.

Cheers,
~Ralph

References:
RE: Hardware simulator Steiner, Mathias
Re: Hardware simulator Pavel Maslov
RE: Hardware simulator Emmanuel Mayssat
RE: Hardware simulator Dalesio, Leo

Navigate by Date:
Prev: Re: Build problem of EPICS R3.14.12.3 for ARM processor in Linux Andrew Johnson
Next: Re: Benchmarking the performance of an embedded IOC Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Hardware simulator Dalesio, Leo
Next: Benchmarking the performance of an embedded IOC Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·