Download presentation
Presentation is loading. Please wait.
Published byMarion Lang Modified over 8 years ago
1
Autosave @ HINS Sharon Lackey July 10, 2008
2
What is Autosave? Autosave is an EPICS extension that: Automatically saves settings in an ioc when they are changed. Automatically saves settings in an ioc when they are changed. Loads in the saved settings on reboot of an ioc. Loads in the saved settings on reboot of an ioc. Allows the user to determine what settings have changed since a particular file was saved. Allows the user to determine what settings have changed since a particular file was saved.
3
Installing Autosave Any hardware or soft EPICS IOC can use the autosave extension The IOC must be configured and re- compiled to use autosave This has already been done for the HINS PLC IOCs and for the SNS LLRF IOC Instructions are at: autosave Installation Instructions autosave Installation Instructionsautosave Installation Instructionsautosave Installation Instructions
4
How it works Request files list the device settings that need to be saved and restored on reboot Whenever one of those devices is changed, an update is written to the save file automatically A dated save file may also be written at boot time On reboot, the contents of the most recent save file is used to restore the settings If the user wants to know what settings may have changed since the last reboot, the asVerify utility can be used
5
Organization Request and save files are in the /p/iocAutosaveFiles directory under the name of the IOC hins01> ls /p/iocAutosaveFiles A0-plc hins01 hinscave smtf hins01> cd hins01 hins01> cd hins01 hins01> ls hins01> ls auto_settings.req auto_settings.sav0save_restore.edl auto_settings.sav auto_settings.sav_080702-135343
6
Request File is just a list of devices
7
Save Files look like:
8
Date and time of last reboot save file Flashes red and green with autosave heartbeat Edm Utility Screen
9
asVerify Add to your path: /p/epics/support/autosave/R4- 10/bin/linux-x86 To compare present settings with an existing save file: asVerify [-vrd] asVerify [-vrd] where -v is verbose: all saved pv’s will print -r restores the named file -r restores the named file -d (debug) increment debug level by one -d (debug) increment debug level by one
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.