Experimental Physics and
| |||||||||||||||
|
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
| ||||||||||||||
ANJ, 21 Dec 2017 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |