Files
epics-base/documentation/new-notes/PR-558.md
2025-06-20 15:42:47 -05:00

1.7 KiB

New afterIocRunning IOC Shell Command Added

This release incorporates PR #558 which added a new IOC shell command afterIocRunning. This command allows startup scripts to schedule arbitrary commands to be executed automatically after the IOC initialization phase (iocInit).

afterIocRunning allows you to write better-structured IOC shell files to include in your startup scripts without tracking where iocInit is located (and how IOC is deployed) e.g.:

Features

  • Define commands that run after IOC initialization completes.
  • Executes following iocInit and autosave initialization (important for proper PV configuration).
  • Supports any valid IOC shell command as an argument.
  • Example usages:
    • afterIocRunning "dbpf <PV> <VAL>"
    • afterIocRunning "date"
    • afterIocRunning "dbpf $(P)EvtClkSource-Sel 'Upstream (fanout)'"
    • afterIocRunning "dbpf $(P)Enable-Sel Enabled"