- description: sddspcas is a Portable Channel Access Server (PCAS) that creates and serves EPICS process
variables (PVs) from one or more SDDS input files. Each input file must contain a ControlName column
with PV base names. Optional columns (e.g., Hopr, Lopr, ReadbackUnits, ElementCount, Type) control limits,
engineering units, waveform length, and data type.
If an Equation column is present, PV values can be automatically updated based on expressions involving
other PVs.
- examples:
# Serve PVs described by an SDDS file
sddspcas pvlist.sdds
# Add a prefix to all served PVs and run for 10 minutes
sddspcas pvlist.sdds -pvPrefix=TEST: -executionTime=600
# Enable periodic noise updates
sddspcas pvlist.sdds -pvPrefix=TEST: -noise=1
# Run without checking master PV lists
sddspcas pvlist.sdds -standalone
- synopsis:
usage: sddspcas <inputfiles>
[-masterPVFile=<filename>]
[-pcasPVFile=<filename>]
[-debugLevel=<debug level>]
[-executionTime=<seconds>] (default=12 hours, 0=forever)
[-pvPrefix=<PV name prefix>]
[-noise=<rateSeconds>]
[-runControlPV=string=<string>,pingTimeout=<value>]
[-runControlDescription=string=<string>]
[-standalone]
- switches:
- -masterPVFile — SDDS file containing IOC PV names. Used to ensure no duplicate PVs are created.
- -pcasPVFile — SDDS file tracking PVs created by sddspcas. Used to prevent multiple servers from
advertising the same PVs and to record the serving host.
- -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.
- -debugLevel — Increase diagnostic output.
- -runControlPV / -runControlDescription — Optional run-control integration (if built with
runcontrol).
- see also:
- author: Robert Soliday, ANL/APS.