See help for usage : doocsget $Id: doocsget.cc,v 1.34 2001/10/31 15:13:14 anna Exp $ SYNOPSIS of the command (the same for DOOCSget and doocsget): doocsget [-v] [-H] [-h] [-E] [-d format] [-w column_width] [-x command] [-l anz_loop] [-s seconds] [-t] [-T] [-i ttii_arg] [-I iiii_arg] [-a [-p] [-g format] [-e step] [-u units] ] [-F file_name] [-P path] -c channel_list or doocsget [ [-v] [-H] [-h] [-d format] [-w column_width] [-x command] [-l anz_loop] [-s seconds] ] [-T] [-r] [-b new_file] -f file_name EXAMPLES: $ doocsget -c TTF.KRYO/CALCULATOR/_SVR/SVR.UPDATE channel_list is a single channel name or blank separated list enclosed in ' ' quotation marks $ doocsget -c 'TTF.VAC/PENNING/DISTC.PS/P TTF.UTIL/WATER/TTF/THCT.TEMP' $ doocsget -c 'TTF.VAC/PENNING/*/P' $ doocsget -c 'TTF.VAC/PENNING/COLDB.0/*' '*' can indicate all locations of the device or all properties in the given location.The output is like the one for channel_list $ doocsget -a -c TTF.VAC/MASS_SPECTR/OVEN/SPECTRUM.LIST $ doocsget -a -c TTF.VAC/LEAK_D/OVEN/LEAK_R.HIST $ doocsget -a -c channel_list -a if it's an array (HIST, SPECTRUM) $ doocsget -a -p -c channel_list -p output for a plotting program. in case of channel_list first are displayed the non-array channels' values $ doocsget -T -c channel_list output of channel values separated with single tabulation sign $ doocsget -t -c channel_list -t displays the type(s) of the channel(s) $ doocsget -E -c channel_list -E option allows to save the columns of channels values in a file. This option makes sense if you set an '*' for example, in location parts of channels. You get an output in columns, each channel values in one column. The default output file name is 'username-table.txt' . With -F you can define other file name. For example: doocsget -E -c 'TTF.VAC/PENNING/*/NAME TTF.VAC/PENNING/*/P' This will give an output in a file like the following: COLDB.0 8.4684e-06 TRANS_TTF 0.001 PG.PS.86 0.001 COLDB.1 0.001 DISTC.0 0.000691221 COLDB.PS 3.75167e-07 $ doocsget -i ttii_arg -a -c channel_list -i displays the values of the. HIST properties within the time interval, defined in ttii_arg argument. ttii_arg argument string should be enclosed in quotation marks. -i option can take two types of strings: interval in Unix time values, or in 'time1, time2' format, where time1 and time2 are represented as dd.mm.yy hours:min.sec string $ doocsget -i '935431417 936940565 0 0' -a -c TTF.UTIL/INJTEMP/CELL_1/TEMP.HIST $ doocsget -i '23.08.99 20:03.37, 10.09.99 07:16.05' -a -c TTF.UTIL/INJTEMP/CEL L_1/TEMP.HIST $ doocsget -I iiii_arg -a -c channel_list' -I displays a number of values from the SPECTRUM properties. The iiii_arg is a D_IIII structure, where i1 - buffer number, i2 - offset in spectrum values, i3 - step, i4 - number of values to be read from spectrum. The iiii_arg is a string, and should be enclosed in quotation marks: $ doocsget -I '0 4 1 20' -a -c TTF.UTIL/LASER/LASER/CH0.TD $ doocsget -d format -s second -c channel_list continued loop with -s second delay -d displays the date in the first column $ doocsget -a -g format -c channel_list saves the history channel data in a file of a given format. if format = 1,it's a matlab file, if format = 2, it's a text (*.txt) file, which can be opened in Excel, StarOffice. If a file name is not specified, then the history will be saved in a default directory under a default name. NOTE: in order to use '-g 1' option for matlab format, you need to h ave DOOCSget, otherwise you can use only '-g 2' option in doocsget. Exam ple: $ DOOCSget -a -g 1 -c TTF.DIAG/TEMP_CONTR/1UND/E_TEMP.HIST this will give as a result a file, named e.g. 31-Oct-01_11-19-45.mat , in a specified (or default) directory. The file name is composed of the current date and time with corresponding extension. The default directory is the current one. $ doocsget -a -g 2 -e step -u units -F file_name -P dir -c channel_list NOTICE: all these options (-g, -e, -u, -F , -P) work ONLY with -a !! ! -e option lets to set a step for a history readout, the smallest step is 1sec. Units of the step are given in u units: s - seconds, m - minutes, h - hours, d - days, w - weeks, M - months, y - years, default - seconds. -F defines the file name, where the history is to be stored. -P defines the directory, where the file will be saved. $ doocsget -l anz_loop -c channel_list anz_loop loops with -s second delay or default 10 second $ doocsget -H -c channel_list $ doocsget -H -d 1 -c TTF.VAC/PENNING/COLDB.0/P $ doocsget -H -d 1 -w 15 -c 'TTF.VAC/PENNING/COLDB.0/*' -H adds the header line in the output on the screen -d defines the format of date output : 1 - displays date, time, Unix system time 2 - Unix time 3 - date (dd.mm.yy) 4 - date (mm.dd.yy) 5 - date and time ( example: 02 Aug 1998 14:30:03 ) -w limits the number of characters per column (default is 32) $ doocsget -v displays the version id $ doocsget -f file_name displays the channel values from the save&restore file $ doocsget -D delay -f file_name makes a milliseconds delay between each get call from the channels stored in a save&restore file. 'delay' must be in the range of 1.0 to 999.999 $ doocsget -r -f file_name -r displays the number of differences between save&restore file reference values and actual values of channels $ doocsget -f file_name -n line_number displays the channel name from the specified line number in save&restore file. -n 1 shows the name of the first property -n 0 shows the whole amount of properties in file $ doocsget -L -f file_name displays all channel names from the save&restore file $ doocsget -f file_name -b new_file_name displays the channel names and values from a save&restore file and saves the actual values of the properties in a new save&restore file $ doocsget -x 'pwd' -c TTF.UTIL/WATER/TTF/THCT.TEMP -x executes the given Unix command before each loop $ doocsget -h -h displays this help on usage of this tool