Online

Home ] Up ] General ] Short ] Syntax ] Postscript ] Hints ] Cursor ] DSN ] Arithmetik ] Line Modes ] Colours ] Polar ] 2Dim ] 3Dim ] Analyzers ] Library ] Types ] Text ] Graphic ] Inbed ] Fit ] Presentation ] Extend ] Concepts ] Dynamic ] Listmode ] Macros ] Goosydata ] [ Online ] Commands (List) ] Commands (Details) ] Install ] MSWindows ] Problems ]

GSI
FRS

 

 

SATAN Help

ONLINE DATA ACQUISITION 

SATAN can be used to analyze online data by connecting it to the data stream from the front-end computer.

1) Start the stream server on the MBS front-end computer (see http://daq.gsi.de/ ).

2) Start the new version of the Remote Event Server on a LINUX or AIX machine. (Note that SATAN is adapted to the modified data connection provided by the new Remote Event Server. It is not possible to connect SATAN on WINDOWS/NT with the old Remote Event Server!) 
The command to start the Remote Event Server in its simplest form is
  mrevserv nodename iport  (example:  mrevserv   E7_11   6002). For one experiment, the Remote Event Server has to be started only once on one machine. It serves to distribute the data stream from the front-end computer to different clients, where they are analyzed by e.g. SATAN, PAW, GOOSY or GO4. (Details about the Remote Event Server can be looked up in the WEB: http://www-aix.gsi.de/~goeri/mbsnew/revserver.html )

3) Start WINREVDLG.EXE on your PC and connect it to the Remote Event Server. (WINREVDLG.EXE needs the following modules of the C run-time library to start: Mfc42d.dll, Mfcn42d.dll, Mf042d.dll, Msvcrtd.dll. They are available if the C compiler is installed.) WINREVDLG.EXE requires the IP number and the port of the machine where the Remote Event Server runs. The IP number can be obtained by entering "PING computername" (example "PING lxi006") in a DOS command window. WINREVDLG collects the data from the Remote Event Server and writes the data on a buffer file on your PC. Any name for the buffer file is allowed. E.g. you could synchronize the names of the buffer files to the files written by the front-end system. (Be aware that storing the buffer file(s) might need large disk space.)
The buffer file is written in MBS/GOOSY format without headers. Old buffer files may be kept for later analysis. If the disk space is short, they must be deleted explicitly, e.g. by the WINDOWS EXPLORER.

4) Start your SATAN analysis program. The analysis program for the on-line analysis is identical to the one you use for the off-line analysis. It is compiled with PLI .. and linked with SLINK .. without any special options.
(Example:   PLI  ONLINE.PLI   ;  SLINK  ONLINE.OBJ )

5) Connect your SATAN analysis to the buffer file by pulling it from the WINDOWS EXPLORER into the SATAN command window by the mouse or by entering the command "LINPUT filename / ONLINEDATA CONNECT".
"ONLINEDATA" adapts SATAN to the data format without headers.
"CONNECT" keeps the connection to the input file and continuously reads the data flow written by WINREVDLG to the buffer file.

6) The SATAN commands are accepted in a separate thread, therefore any command is accepted during data analysis. The connection to the file can be maintained. The data of the buffer file, written by WINREVDLG are read without any losses, but eventually with some time delay. 

7) Be aware that only some fraction, typically around 50%, of the measured data is transported by the Remote Event Server due to dead-time losses.


Useful hints for online analysis:

- Several analyzers can be controlled simultaneously
==> GSET / ZONE(2,2)
==> GDISP A1 / LIV
==> GOVER A2 / LIV
==> GOVER A3 / LIV
==> GOVER A4 / LIV
- A selected analyzer can be redrawn by the GNEW command. The following example shows, how to modify the graphic presentation:
==> GSET / XMIN(10) XMAX(35) YLOG
==> GNEW       (You are asked to identify the selected analyzer by the cursor.)
- The command LREPORT lists important analysis parameters.