Nao made a command procedure (called as NaoGICO) for improving its man-machine interface without any change on GICO. The NaoGICO command procedure produces a subprocess for plotting graphics (GIPLOT). The subprocess was controlled by a mailbox (as same as pipe in UNIX). NaoGICO needs only one terminal window. In addition, any DCL command can be used from the NaoGICO prompt. Sometimes, it is helpful for finding, copying, deleting files and so on.
I would like to thank K. Itahashi for his improvement on the error handling routines of NaoGICO. I thank S. Shimoura for his suggestion on handling the mailbox.
NaoGICO is completely free (GICO is not free. Ask Achim Magel.) Please let me know if you have problems, questions and suggestions.
You should once execute
the setup command-procedure ``@kp2$root:[iwasa.gico]setup''
on a terminal window for building environment of NaoGICO.
(I propose to write the command in your login.com file. Then you don'
take care of the setup procedure.)
GICO needs two file, GIOSFF.DAT and GICOFF.DAT,
on the current directory.
Please copy the files from the KP2$ROOT:[IWASA.GICO.FRS] directory.
Type ``NaoGICO'' in the DCL prompt. When you don't define display,
NaoGICO ask the name of your display.
(If you type wrong name, define the display,
modify it by using the DCL command
``set display /cre/node=....[/trans=tcpip]'' again.)
---------------------------------------------------------------------------
X605:IWASA_FTA1910$ NAOGICO
RGT started GICO Test version
GIPLOT zeigt GICO-Plots auf Workstation mit GKS
DISPLAY ? : XWTEU
Lock file is checked.
GICO %
---------------------------------------------------------------------------
************** GICO ****************
Edit : edit gico input file
Run : calculate optics
File : change input file
STAtus : Show current status
Quit : exit
EXit : exit
ENd : exit
HElp : help
H : hardcopy(Postscript)
L : hardcopy(LN3)
1-10 : plot graphic
\command : dcl command
Most of usual DCL commands are available without preceding
An basic routine is continuously for editing input file and executing ion optics as follows
$ gicoeditor == "edit"
where edit is command to execute the editor program.
When you want to print graphical output in a postscript printer,
type ``H'' and specify printer name.
---------------------------------------------------------------------------
GICO % H
PostScript printer : p13
Job GIPLOT (queue P13, entry 539) started on P13
---------------------------------------------------------------------------
When you want to print graphical output in a LN3 printer,
type ``L'' and specify printer name.
---------------------------------------------------------------------------
GICO % L
LN3 printer : p13
Job GIPLOT (queue P13, entry 540) started on P13
---------------------------------------------------------------------------
Sometimes following warning messages are seen, but forget it, please.
---------------------------------------------------------------------------
%SYSTEM-W-ACCONFLICT, file access conflict
\giplot.temp2\
%DCL-I-SUPERSEDE, previous value of SYS$ERROR has been superseded
---------------------------------------------------------------------------
Status of NaoGICO is plotted as follows.
If you have problem, check status of NaoGICO first.
The status information and file GIPLOT.ERR (log of giplot
process) may be good tools to know the status.
GICO % sta
Child process :MAILBOX_1 running MAILBOX_* should be exist
Child process :GIPLOT_1 running GIPLOT_* should be exist if META.DAT file
exists
Mailbox is active it should be appeared
There is no current input file
Current directory is: [IWASA.GICO.FRS]
Current lockfile is: sys$login:gico_LOCKF.tmpiwasa containing
AXP605::30402BCE
NaoGICOBACK was developed by corpolating GICOBACK and NaoGICO. We made input files for checking ion-optics for the fragment separator (FRS: TA-S4), FRS-Cave B, and FRS-Cave C beam lines. In NaoGICO, the network problems are not solved. Please check gico-output files sometimes and take care of correct calculation.
AXP605::Behr% @check_optics_1
********* GICO BACK ***********
B : change beamline
H : hardcopy(Postscript)
L : hardcopy(LN3)
1-10 : plot graphic
sta : show status
C : show logfile of GICOBACK
E : exit
Q : quit
By using the ``B'' command, beam line can be selected again.
By using the ``C'' command, status of recent GICO calculation can be read.
If NaoGICOBACK does not work properly, check status of NaoGICO.
gicoback % : sta
Child process :MAILBOX_1 running should be exist
Child process :GIPLOT_1 running should be exist: plot subprocess
Child process :OPTICS_1 running should be exist: calculion subprocess
Mailbox is active
There is no current input file
Current directory is: [BEHR.GICO.FRS.CAVC.PROG]
The plot-process log-file, [.plot]giplot.err, and the calculation-process
log-file, GICOBACK.LOG, may be helpful to solve the problem
If you want to change GICO input files (by changing drift length etc.)
Please edit following files.
1 | FRS | FRS_BACK.DAT |
2 | FRS to ESR | ESR_BACK.DAT |
3 | FRS to CAVE B | CAVE_B_BACK.DAT |
4 | FRS to CAVE C | CAVE_C_BACK.DAT |