sddspvtest tests the process variable given by the inputfile are out-of-range
or not and sets the number of out-of-range process variables to a control PV.
sddspvtest linac.sdds -time=20 -runControlPV={string=shang:ControlLawRC,pingTimeout=4}\
-runControlDescription=string=hi
where the contents of the file linac.sdds are
SDDS1
&description text="Namecapture BURT Request File", contents="BURT Request", &end
&column name=ControlName, type=string, &end
&column name=MaximumValue, type=double, &end
&column name=MinimumValue, type=double, &end
&data mode=ascii, &end
! page number 1
linac
10
soliday:PM1:X:positionM 1.000000000000000e+00 -1.000000000000000e+00
soliday:PM1:Y:positionM 1.000000000000000e+00 -1.000000000000000e+00
soliday:PM2:X:positionM 1.000000000000000e+00 -1.000000000000000e+00
soliday:PM2:Y:positionM 1.000000000000000e+00 -1.000000000000000e+00
soliday:PM3:X:positionM 1.000000000000000e+00 -1.000000000000000e+00
soliday:PM3:Y:positionM 1.000000000000000e+00 -1.000000000000000e+00
soliday:PM4:X:positionM 1.000000000000000e+00 -1.000000000000000e+00
soliday:PM4:Y:positionM 1.000000000000000e+00 -1.000000000000000e+00
soliday:PM5:X:positionM 1.000000000000000e+00 -1.000000000000000e+00
soliday:PM5:Y:positionM 1.000000000000000e+00 -1.000000000000000e+00
.......
usage: sddspvtest <inputFile> [-pvOutput=<pvName>]
[-time=<timeToRun>,<timeUnits>] [-interval=<timeInterval>,<timeUnits>]
[-runControlPV={string=<string>|parameter=<string>},pingTimeout=<value>,
pingInterval=<value>]
[-runControlDescription={string=<string>|parameter=<string>}]
[-pendIOtime=<value>] [-verbose] [-testValues=<file>[,limit=<number>]]
The variable input file is an SDDS file with one string column: ControlName, which is required and gives the list of control correctors (process variables or knobs). It also contains two double double columns: MaximumValue and MinimumValue, which are also required. seconds between two settings of the correctors.