Diff: SeaServer

Search SINQ Wiki:
SINQ LIN

SINQ Wiki
- Main Page
- Search SINQ Wiki
- Sample Environment
- Probenumg. Intern
- Troubleshooting SICS

This Page
- Page Info
- Printer Friendly

Referenced by
NewFeaturesInSICS
Main
Sea

Wiki Info
- Unused pages
- Undefined pages
- RecentChanges
- Page Index
- System Info
- JSPWiki Docu
- SandBox
- OneMinuteWiki
- Create a New Page




JSPWiki v2.0.52


Difference between version 11 and version 4:
Line 3 was replaced by line 3
- The SeaServer is a SICS server running in parallel to the Server
+ The SeaServer is a sics server running in parallel to the Server
Line 11 was replaced by line 11
- All stuff related to sea are placed in $HOME/sea. All script files
+ All stuff related to sea are placed in ''$HOME/sea''. All script files
Lines 13-14 were replaced by lines 13-14
- all instruments and are placed in the subdirectory sea/tcl. There
- is one exception, sea/sea.tcl. This file contains
+ all instruments and are placed in the directory ''~/sea/tcl''. There
+ is one exception, ''~/sea/sea.tcl''. This file contains
Line 16 was replaced by lines 16-17
- instrument independent startup file sea/tcl/seainit.tcl.
+ instrument independent startup file ''~/sea/tcl/seainit.tcl''.
+ This file calls all scripts in the directory ''~/sea/tcl/startup/'.
Lines 18-22 were replaced by lines 19-23
- The server log files are located in sea/log, and the
- database for the logger in sea/logger. The copy of the
- SICServer for sea is sea/SICServer, and there is a link
- to it (sea/SeaServer) which is started with the script
- sea/startwithpid.
+ The server log files are located in ''sea/log'', and the
+ database for the logger in ''sea/logger''. The copy of the
+ ''SICServer'' for sea is ''sea/SICServer'', and there is a link
+ to it (''sea/SeaServer'') which is started with the script
+ ''sea/startwithpid''.
Lines 26-28 were replaced by lines 27-28
- On Startup, both servers (sea and SICS) try to make a connection
- to the other server. For this, the following lines have to be
- included into the sics startup script:
+ The following lines should to be included into the instruments
+ startup script:
At line 32 added 1 line.
+ The macro ''connect_sea'' tries to make a connection to sea.
Line 34 was replaced by lines 35-46
- for all objects listed in the variable env_object_list on sea.
+ for all objects listed in the variable ''env_object_list'' on sea.
+ Likewise the sea server tries to make a connection to sics on
+ startup and initiates the update of configured objects.
+
+ !Sea Configuration
+
+ To select the sample environment device, the command ''samenv'' (defined
+ in ''sea/tcl/seacom.tcl'') is used. It calles the configuration script
+ for the given device (''sea/tcl/<name>.config''). The configuration scripts
+ do not call ''makeobject'' directly, but use the ''makenv'' script, which
+ keeps a list of created objects and takes the host:port information from
+ a small database managed by ''cfgenv''.
At line 35 added 8 lines.
+ Syntax:
+ {{{
+ samenv <device name> configure sea for the given SE device
+
+ samenv show the actual configuration
+
+ samenv none remove all objects related with the actual
+ SE device
At line 36 added 1 line.
+ cfgenv <driver> <host:port> configure the serial connection of a controller
At line 37 added 6 lines.
+ cfgenv list all configured controllers
+
+ makenv <object> <driver> make an object, using the configuration defined
+ with cfgenv (this command can be used in
+ configuration scripts only)
+ }}}

Back to SeaServer, or to the Page History.