diff --git a/doc/user/buffer.htm b/doc/user/buffer.htm index 10dec3a7..a1895602 100644 --- a/doc/user/buffer.htm +++ b/doc/user/buffer.htm @@ -19,30 +19,30 @@ three commands have been defined:

The Buf object is responsible for creating and deleting Rünbuffers. The syntax is:

After creation, the Rünbuffer is accessible by his name. It then understands the commands:

The Rünlist is accessible as object stack . Only one Rünlist per server is permitted. The syntax:

diff --git a/doc/user/commandlog.htm b/doc/user/commandlog.htm index 807e4b11..3ed7774c 100644 --- a/doc/user/commandlog.htm +++ b/doc/user/commandlog.htm @@ -12,7 +12,7 @@ file or can be configured by the instrument manager. There exists a special command, commandlog, which allows to control this log file.
-
commandlog new filename +
commandlog new filename
starts a new commandlog writing to filename. Any prior files will be closed. The log file can be found in the directory specified by the ServerOption LogFileDir. Usually this is @@ -25,7 +25,7 @@ the log directory.
Switches automatic log file creation on. This is normally switched on. Log files are written to the log directory of the instrument account. There are time stamps any hour in that file and there is a new file any 24 hours. -
commandlog tail n +
commandlog tail [n]
prints the last n entries made into the command log. n is optional and defaults to 20. Up to 1000 lines are held in an internal buffer for this command.
It is now possible to have a script executed whenever a new log file is diff --git a/doc/user/count.htm b/doc/user/count.htm index 5953938c..1bd21752 100644 --- a/doc/user/count.htm +++ b/doc/user/count.htm @@ -3,19 +3,18 @@ Counting Commands -

Counting Commands.

-

-

-
count mode preset -
Does a count operation in mode with a preset of preset. - The parameters are optional. If they are not - given the count will be started with the current setting in the histogram -memory object. After the count, StoreData will be automatically called. -
Repeat num mode preset. +

Counting Commands

+
+
count [mode preset] +
Does a count operation in mode with a given preset. + Mode can be timer or monitor. + The parameters mode and preset are optional. If they + are not given the count will be started with the + current setting in the histogram memory object. +
repeat num mode preset.
Calls count num times. num is a required parameter. The other two are optional and are handled as described above for count. -
+
Both commands make sure, that measured data is written to files. -

diff --git a/doc/user/counter.htm b/doc/user/counter.htm index 11fbe2af..e3e18b97 100644 --- a/doc/user/counter.htm +++ b/doc/user/counter.htm @@ -24,39 +24,36 @@ the exponent is only in operation in Monitor mode. Again, in SICS the counter is an object which understands a set of commands:

- SICSbounds var newval checks if the new value newval lies within the limits for varaible var. Returns an error or OK depending on the result of the test.

+ SICSbounds var newval checks if the new value newval lies within the limits for variable var(example: SICSbounds D1HL 10). Returns an error or OK depending on the result of the test.

- SICSStatus var SICS devices such as counters or motor may be + SICSStatus var SICS devices such as counters or motor may be started and left running while the program is free to do something else. This command inquires the status of such a running device. Return values are internal SICS integer codes. This command is only of use for SICS programmers.

- SetStatus newval sets the SICS status to one of: Eager, UserWait, Count, NoBeam, Driving, Running, Scanning, Batch Hatl or Dead. This command is only available in macros.

+ SetStatus newval sets the SICS status to one of: Eager, UserWait, Count, NoBeam, Driving, Running, Scanning, Batch Hatl or Dead. This command is only available in macros.

- SetInt newval, GetInt sets SICS interrupts from macro scripts. Not recommended! Possible return values or new values are: continue, abortop, abortscan, abortbatch, halt, free, end. This command is only permitted in macros. Should only be used by SICS programmers.

+ SetInt newval, GetInt sets SICS interrupts from macro scripts. Not recommended! Possible return values or new values are: continue, abortop, abortscan, abortbatch, halt, free, end. This command is only permitted in macros. Should only be used by SICS programmers.

diff --git a/doc/user/motor.htm b/doc/user/motor.htm index 8b622b94..5095642d 100644 --- a/doc/user/motor.htm +++ b/doc/user/motor.htm @@ -6,16 +6,28 @@

SICS motor handling


- In SICS each motor is an object with a name. Motors may take commands which basically come in the form motorname command . Most of these commands deal with the plethora of parameters which are associated with each motor. The syntax for manipulating variables is, again, simple. Motorname parametername will print the current value of the variable. Motorname parametername newval will set the parameter to the new value specified. A list of all parameters and their meanings is given below. The general principle behind this is that the actual (hardware) motor is kept as stupid as possible and all the intracacies of motor control are dealt with in software. Besides the parameter commands any motor understands these basic commands: