Added dbLoadSuspendOnError iocsh variable.
Launchpad merge proposal is here:
https://code.launchpad.net/~bhill/epics-base/+git/epics-base/+merge/366606
Cheers,
- Bruce
On 4/15/19 11:44 AM, Mooney, Tim M. via Tech-talk wrote:
I've long wanted to give autosave the ability to retain PV values of
databases that loaded successfully in the past, but that failed or
were commented out during one or more reboots, so they can be restored
when the database next boots successfully. I don't have plans to do
this soon, but it does seem a reasonable thing to do, and not all that
hard.
Tim Mooney ([email protected]) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab
------------------------------------------------------------------------
*From:* [email protected] <[email protected]>
on behalf of Paduan Donadio, Marcio via Tech-talk <[email protected]>
*Sent:* Monday, April 15, 2019 12:49 PM
*To:* [email protected]
*Subject:* Stopping IOC boot on failure to load database
Hello, all.
We are thinking about creating a function in EPICS base like
stopOnDbLoadErrorto be called before dbLoad* functions. The idea is to
freeze the IOC boot with a message on the IOC shell or to completely
abort, exiting. Alternatively, we could also place an additional
optional parameter to the dbLoad* functions to have the same behavior.
What we intend with this is:
1.) bring the error to the attention of the responsible IOC engineer and,
2.) stop corruption of Autosave files due to missing PVs.
Do you think it would be something valuable to be added in an official
EPICS release?
Thank you,
Márcio Paduan Donadio
Control Systems Engineer
SLAC
--
Bruce Hill
Member Technical Staff
SLAC National Accelerator Lab
2575 Sand Hill Road M/S 10
Menlo Park, CA 94025