Updated user documentation. MK
This commit is contained in:
@ -7,10 +7,22 @@
|
||||
<hr size=4 width="66%">
|
||||
<h3>General structure</h3>
|
||||
<p>
|
||||
SICS is a client server system. The application the user sees is usually some form of client. A client has two tasks: the first is to collect user input and send it to the SICS server who will execute the command. The clients second task is to listen to the the server messages and display them in a readable format. This aoproach has two advantages: clients can reside on machines across the whole network thus enabling remote control from everywhere in the world. The second advantage is that new clients (such as graphical user interface clients) can be written in any feasible language without changes to the server.</p>
|
||||
SICS is a client server system. The application the user sees is
|
||||
usually some form of client. A client has two tasks: the first is to
|
||||
collect user input and send it to the SICS server which then executes
|
||||
the command. The clients second task is to listen to the the server
|
||||
messages and display them in a readable format. This aproach has two
|
||||
advantages: clients can reside on machines across the whole network
|
||||
thus enabling remote control from everywhere in the world. The second
|
||||
advantage is that new clients (such as graphical user interface
|
||||
clients) can be written in any feasible language without changes to
|
||||
the server.</p>
|
||||
|
||||
<h3>SICS Command Syntax </h3>
|
||||
<p>
|
||||
SICS is an object oriented system. This is reflected in the command syntax. SICS objects can be devices such as motors or counters, variables such as wavelength or Title and measurement procedures. Communication with these objects happens by sending messages to the target object. This is very simply done by typing something like: object message par1 par2 .. parn. For example, if we have a motor called A1:<pre>
|
||||
SICS is an object oriented system. This is reflected in the command
|
||||
syntax. SICS objects can be devices such as motors, single
|
||||
counters, histogram memories or other hardware variables such as wavelength or Title and measurement procedures. Communication with these objects happens by sending messages to the target object. This is very simply done by typing something like: object message par1 par2 .. parn. For example, if we have a motor called A1:<pre>
|
||||
A1 list
|
||||
</pre>
|
||||
will print a parameter listing for the motor A1. In this example no parameters were needed. There exist a number of one-word commands as well. For
|
||||
@ -24,10 +36,13 @@ system for instance file names are case sensitive and that had to be
|
||||
preserved. Commands defined in the scripting language are lower case by
|
||||
convention.
|
||||
</p>
|
||||
|
||||
|
||||
<h3>Authorisation</h3>
|
||||
<p>
|
||||
A client server system is potentially open to unauthorised hackers which might mess up the instrument and your valuable measurements. A known problem in instrument control is that less knowledgeable user accidentally change instrument adjustments which should better be left fixed. In order to solve these two problems SICS supports authorisation on a very fine level. As a user you have to specify a username and password in order to able to access SICS. Some clients already do this for you automatically. SICS support four levels of access to an instrument:<ul>
|
||||
A client server system is potentially open to unauthorised hackers
|
||||
who might mess up the instrument and your valuable measurements. A
|
||||
known problem in instrument control is that less knowledgeable user
|
||||
accidentally change instrument parameters which ought to be left fixed. In order to solve these two problems SICS supports authorisation on a very fine level. As a user you have to specify a username and password in order to able to access SICS. Some clients already do this for you automatically. SICS support four levels of access to an instrument:<ul>
|
||||
<li> <b> Spy </b> may look at everything, request any value, but may not actually change anything. No damage potential here.
|
||||
<li> <b> User </b> is privileged to perform a certain amount of operations necessary to run the instrument.
|
||||
<li> <b> Manager </b> has the permission to mess with almost everything. A very dangerous person.
|
||||
@ -49,8 +64,8 @@ at the Unix prompt. Before this program is ready to collaborate with you you
|
||||
have to connect it to an instrument using the options in the connect
|
||||
pulldown menu. The screen is roughly divided in three areas: The top area
|
||||
shows all input to and output from the server. The middle area shows the
|
||||
command history. At the lower end is a text entry field which allows to type
|
||||
commands to the SICS server. For more information about this client consult
|
||||
command history. At the lower end is a text entry field which allows you to type
|
||||
commands to be sent to the SICS server. For more information about this client consult
|
||||
the online help of this application.
|
||||
</p>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user