Experimental Physics and
| |||||||||||||||
|
I would also agree that autoSaveRestore looks like a reasonable way to handle this. More general, I would argue that for any remote device, PINI does not make sense in many cases, as the device may not be accessible when the IOC boots. Instead, the device support needs to implement some adequate configurable behavior in the case of (re)connection. StreamDevice has the @init exception handler to do that. For OPC UA, I created a menu-type config parameter with the options "read", "ignore" and "write" - the obvious and easy ones. Some devices can signal if they did a warm or a cold reboot, connection drops may need to be handled differently from reboots... once you look closely, it gets messy. Cheers, ~Ralph
| ||||||||||||||
ANJ, 22 Jun 2021 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |