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:
- 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.
- 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