doocsput $Id: doocsput.cc,v 1.10 2001/07/31 13:25:36 anna Exp $ Synopsis: doocsput [-t type] [-v] -c doocschannel -d value or doocsput [-C [-c merge_address] ] [-D delay] -f filename Usage: doocsput -c doocschannel -d value doocsput -t -c doocschannel -d value doocsput -v -t type -c doocschannel -d value doocsput -f filename doocsput -f filename -C doocsput -f filename -C -c merge_address Examples: $ doocsput -t 14 -c TTF.KRYO/CALCULATOR/_SVR/SVR.RATE -d "10 0 0 0" $ doocsput -v displays the version id The valid types are: DATA_NULL = 0, DATA_INT = 1, DATA_FLOAT = 2, DATA_STRING = 3, DATA_BOOL = 4, DATA_STRING16 = 5, DATA_YT = 10, DATA_XYT = 11, DATA_TDS = 12, DATA_XY = 13, DATA_IIII = 14, DATA_IFFF = 15, DATA_USTR = 16, DATA_FIS = 17, DATA_TTII = 18 $ doocsput -f '/usr/ttfsvr3/ttflinac/sr/all_magnets_991209_6.sr' this will restore the values from the save&restore file $ doocsput -f '/usr/ttfsvr3/ttflinac/sr/all_magnets_991209_6.sr' -C $ doocsput -C -c ///.TARGET -f '/usr/ttfsvr3/ttflinac/sr/all_magnets_991209_6.s r' -C option will take the values of the device properties from the file, but will write into properties with the merged address. The merge address itself will be read out from the file. For example, if a property address is TTF.MAGNETS/DIPOLE/B1BC2/PS and the merge address is ///.TARGET , then the value from the file will be written to TTF.MAGNETS/DIPOLE/B1BC2/PS.TARGET property. -c option allows manually enter the merge address. This will ignore the merge address value in the given .sr file. $ doocsput -D delay -f filename make a delay in milliseconds between each set call to a channel from .sr file. The delay time value should be in the range of 1.0 to 999.999 , default = 0.0 doocsput -D 500 -f /usr/ttfsvr3/ttflinac/sr/all_magnets_991209_6.sr