diff --git a/doc/user/macro.htm b/doc/user/macro.htm index 0b07be0a..cba3c764 100644 --- a/doc/user/macro.htm +++ b/doc/user/macro.htm @@ -7,7 +7,7 @@
SICS has a built in macro facility. This macro facility is aimed at instrument managers and users alike. Instrument managers may provide customised measurement procedures in this language, users may write batch files in this language. The macro language is John Ousterhout's Tool Command Language (TCL). Tcl has control constructs, variables of its own, loop constructs, associative arrays and procedures. Tcl is well documented by several books and online tutorials, therefore no details on Tcl will be given here. All SICS commands are available in the macro language. Some potentially harmful Tcl commands have been deleted from the standard Tcl interpreter. These are: exec, source, puts, vwait, exit,gets and socket. A macro or batch file can be executed with the command:
- fileeval name tries to open the file name and + exe name tries to open the file name and executes the script in this file.
diff --git a/doc/user/tasmad.html b/doc/user/tasmad.html index eadeb988..0b1f5f96 100644 --- a/doc/user/tasmad.html +++ b/doc/user/tasmad.html @@ -40,7 +40,7 @@
scan a1=0 da1=1 np=6+
sc a1=0 da1=1 np=6indicates that everything between the s and 6, inclusive, is to be typed by the user.
@@ -150,8 +139,7 @@ the motors or supplies which have been cleared are listed by THE Program. - e.g. CL A1-A3<CR> - CL I3,RA,I4<CR> + e.g. CL I3,RA,I4<CR> CL<CR>@@ -488,33 +476,6 @@ e.g. PR A1,A5<CR> PR QH-EN,GM<CR> - -
- - RU(N) : Runs a jobfile. All commands which may be issued at the terminal - may also be included in a job-file which essentially replaces the user - at the terminal. - The commands in the job file are executed by running the job file. - Before running the job file a syntax check is done. The file is listed - on the terminal and all scans are checked for limit violations. When - checking is complete, execution is started even if errors have been - reported during the check. To interrupt the sequence type CTRL-C twice - (see interruption section II above). If the RUN command is issued alone, - MAD Program asks for a job file name. The default file extension for a - job file is .JOB. The job-file name may also be given on the same line - as the RUN command. Job files can be created as normal OpenVMS files - using one edtir (EDT/TPU/NEDIT). - Nesting : Job files may be nested. That is, a job file may contain any - number of RUN commands. The nesting depth should not exceed 3 however. - See also DO. - - e.g. RU MYJOB.HET<CR> commands from file MYJOB.HET - RU MYJOB<CR> commands from file MYJOB.JOB - RUN<CR> gives prompt for job file name - JOB-FILE NAME: - -
@@ -619,7 +580,7 @@ sets dM and dA to 3.355-
| ScanFast | Scans a simple variable quickly. The variable is driven @@ -636,7 +597,7 @@ to be specified directly. |
Example:- SF A1=6,DA1=1,NP=13,TI=2 --> A1 = 0 to +12 with + FS A1=6,DA1=1,NP=13,TI=2 --> A1 = 0 to +12 with readings every 2 secs. | |
All of the data is output to a disk file as with the
@@ -650,7 +611,7 @@
SZ : (SetZero.) This command sets the zero for a variable such that
- its current value is change into a specified value.
+ its current value of the zer point offset is change into the specified value.
Obviously this command works only for variables that have a zero.
e.g. PR A3
A3 -45.42
@@ -719,9 +680,9 @@ Example of phonon scan:
Polarisation Analysis Variables+*I1 -\ *I2 \ *I3 +-- power supply current values [A] . / -*I11 -/ +*I6 -/ *HX -\ Components of Helmholtz fields at sample in Oersteds. *HY +-- HX is parallel to Q and HY is perpendicular to Q in @@ -986,6 +943,7 @@ TRT(RT) Temperature of regulation thermometer [K] *F1 -\ Status of flippers one and two; these variables take the *F2 -/ values ON or OFF.+ Increments VariablesFor all variables A1 through T in the list of type (iv) variables diff --git a/doc/user/tasstore.htm b/doc/user/tasstore.htm index f35c1e9f..f80278ae 100644 --- a/doc/user/tasstore.htm +++ b/doc/user/tasstore.htm @@ -10,24 +10,27 @@ files are formatted in a format compatible to the ILL's triple axis data file format. Data files can be found in directories:- /home/INST/data/YYYY + /home/INST/data/YYYY/HHHon the instrument computer or in- /data/lnslib/data/INST/data/YYYY + /afs/psi.ch/project/sinqdata/YYYY/INST/HHHon any other LNS unix system. INST is a placeholder for the instrument -name in capitals, YYYY for the year of data collection. Data files are +name in capitals, YYYY for the year of data collection. HHH is the thousands +directoy. In order to facilitate file handling, data files are grouped into directories +containing thousand data files each. Thus files 0-999 will be in the 000 directory, files + 1000-1999 in the 001 directory etc. Data files are named according to the SINQ naming convention:- instRRRRRYYYY.dat + instYYYYnTRRRRR.datwith inst being the placeholder for the instrument name in lowercase, -RRRRR the run number as a five digit number and YYYY again the year of -data collection. Example: tasp003302002.dat is data collected in run +RRRRRR the run number as a six digit number and YYYY again the year of +data collection. Example: tasp2002n000330.dat is data collected in run number 330 in 2002. |