Experimental Physics and
| |||||||||||||||
|
I have lots of ao records which are restored at boot time via the flavour of bumpless restart called, I believe, autoSaveRestore, which I obtained from Frank Lenkszus at APS. The ao records have DOL set to "CONSTANT" and and SCAN to "Passive". The values are restored in the second pass of the restore operation at a point which, according to the comments in the code, achieve the following: /* * restore fields that init_record() would have overwritten with * info from the dol (desired output location). */ If one wanted to set the ao to a given value at boot time, one would then simply use the autoRestore part of the package with a fixed save file and not turn on the autoSave part for the channels in question. Maybe, though, this "ornlSerial" DTYP is more idiosyncratic than our straightforward ipac DAC cards. David Maden -- [email protected] _/_/_/ _/ _/_/_/ Beamline Control Group, SLS Project _/ _/ _/ Paul Scherrer Institute _/_/ _/ _/_/ CH-5232 Villigen-PSI _/ _/ _/ Tel: +41 56 310 3616 _/_/_/ _/_/_/ _/_/_/ Fax: +41 56 310 3294 -------------------------------- Bob Dalesio wrote: As I recall, the analog output record does a read on initialization. This is required to support a bumpless reboot on hardware that was cleaver enough not to drive the value to 0 during a sysReset. As a result, the value field would be written over by whatever value is returned from the device support on initialization. It sounds like we need an option for not reading the value on reboot.
| ||||||||||||||
ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |