examples: Statistics of the pressure readbacks of storage ring ion pumps and the stored current for groups of 60 data
points taken at 1 second interval are collected with the command below.
sddsstatmon SRvac.mon SRvac.sdds -time=24,hours -interval=1,seconds
-samplesPerStatistic=60
where the contents of the file SRvac.mon are
SDDS1
&description &end
&column
name = ControlName, type = string, &end
&column
name = ControlType, type = string, &end
&column
name = ReadbackUnits, type = string, &end
&column
name = ReadbackName, type = string, &end
&data
mode = ascii, no_row_counts=1 &end
! page number 1
S35DCCT:currentCC pv mA S35DCCT
VM:01:3IP1.VAL pv Torr VM:01:3IP1
VM:01:2IP2.VAL pv Torr VM:01:2IP2
VM:01:2IP3.VAL pv Torr VM:01:2IP3
...
synopsis:
usage: sddsstatmon <input> <output>
[-erase | -generations[=digits=<integer>][,delimiter=<string>] | -append[=recover][,toPage]]
[-steps=<integer-value> | -time=<real-value>[,<time-units>]]
[-dataStrobeSamplePV=<PVname>] [-dataStrobeOutputPV=<PVname>]
[-interval=<real-value>[,<time-units>] | -singleShot[={noprompt|stdout}]]
[-enforceTimeLimit] [-offsetTimeOfDay]
[-includeStatistics=[mean,][standardDeviation,][minimum,][maximum,][sigma][,first][,last]
[,sample][,sum][,all]]
[-samplesPerStatistic=<integer>]
[-verbose] [-precision={single|double}]
[-updateInterval=<integer>] [-watchInput]
[-oncaerror={repeat|skip|exit}]
[-comment=<parameterName>,<text>]
[-conditions=<filename>,{allMustPass|oneMustPass}[,touchOutput][,retakeStep]]
[-getUnits={force|ifBlank|ifNoneGiven}]
[-pendIOtime=<seconds>] [-ezcaTiming=<timeout>,<retries>]
[-inhibitPV=name=<name>[,pendIOTime=<seconds>][,waitTime=<seconds>]]
Writes values of process variables or devices to a binary SDDS file.