- description: sddsSoftIOC creates a temporary EPICS soft IOC (EPICS Base) that serves the same PV names
and types as sddspcas(), based on the same SDDS input file format.
At runtime, sddsSoftIOC generates an EPICS database (.db) file in a temporary directory, starts softIoc
with that database, and removes the generated files on exit.
This is useful when you want “IOC-like” behavior using an EPICS Base softIoc without installing or
maintaining a static IOC application directory.
- examples:
# Serve PVs described by an SDDS file using EPICS Base softIoc
sddsSoftIOC pvlist.sdds
# Add a prefix and run for 5 minutes
sddsSoftIOC pvlist.sdds -pvPrefix=TEST: -executionTime=300
# Use a specific EPICS Base installation
sddsSoftIOC pvlist.sdds -epicsBase=/path/to/epics-base
# Enable periodic noise updates
sddsSoftIOC pvlist.sdds -noise=1
# Run without checking master PV lists
sddsSoftIOC pvlist.sdds -standalone
- synopsis:
usage: sddsSoftIOC <inputfiles>
[-masterPVFile=<filename>]
[-pcasPVFile=<filename>]
[-standalone]
[-debugLevel=<debug level>]
[-executionTime=<seconds>] (default=12 hours, 0=forever)
[-pvPrefix=<PV name prefix>]
[-noise=<rateSeconds>]
[-arraySize=<bytes>] (sets EPICS_CA_MAX_ARRAY_BYTES)
[-epicsBase=<path>]
[-help] | [-h]
- switches:
- -masterPVFile — SDDS file containing IOC PV names. Used to ensure no duplicate PVs are created.
- -pcasPVFile — SDDS file tracking PVs served by PCAS-style servers. Used to prevent duplicate PV
advertisements.
- -standalone — Do not use the master PV files unless explicitly provided.
- -executionTime — How long to run in seconds. Values less than 0.5 are treated as “forever”.
- -pvPrefix — Prefix prepended to all PV names.
- -noise — Periodically adds small random noise to numeric PV values.
- -arraySize — Sets EPICS_CA_MAX_ARRAY_BYTES for waveform transfers.
- -epicsBase — Path to an EPICS Base installation containing startup/EpicsHostArch and
bin/<arch>/softIoc.
- -debugLevel — Increase diagnostic output.
- see also:
- author: Robert Soliday, ANL/APS.