We, Time of Flight counter group at Univ. of Tsukuba, took EPICS as
a standard set of tools for controlling our High Voltage System.
To know the detail of the configuration of our High Voltage System,
just click
here.
Followings are some simple steps to control the
CAEN
A938AN Negative HV generator and CAEN SY527 Crate via CAEN V288 VME module
from grafical user interface of EPICS.
Make sure that your IOC(VME based board computer like MVME167) has
already been booted and needed objects, binary files and database
has succesfully downloaded onto your IOC.
If not in that case, following steps can easily let you boot your
IOC.
1)rsh/telnet to your IOC from Unix WorkStation or Linux PC
by executing
>rsh iocondev1
Here I suppose that the node name of your IOC is assigned to
"iocondev1" as it is in our case at PHENIX experiment.
Then from the prompt of VxWorks shell on your IOC just type
iocondev1> cd "/home/phnxtof/work/R3.13.0.beta11/CaenHv_pro/iocBoot/iocCaenHv/"
iocondev1> < load
This causes donwnloading the necessay files onto your IOC.
All the needed procedure for your CAEN HardWare like SY527 or
V288 will be done at this time.
And also the cache information for each HV channels will be
created at the same time.
Note that if you modify bootscripts of IOC you can do above automaticaly
Here you can see the boot parameters of our MVME167
boot device : ei
processor number : 0
host name : phoncs0.phenix
file name : /home/phoncs/config/vxboot/vxWorksT101_68k167
inet on ethernet (e) : 130.199.98.101:fffffe00
inet on backplane (b):
host inet (h) : 130.199.98.60
gateway inet (g) : 130.199.98.24
user (u) : ******
ftp password (pw) (blank = use rsh):*****
flags (f) : 0x0
target name (tn) : iocondev1.phenix
startup script (s) : /home/phnxtof/work/R3.13.0.beta11/CaenHv/iocBoot/iocCaenHv/startup
other (o) :
Here I suppose that you know general information about EPICS's
tool for Grafical User Interface(GUI) like MEDM as we took it as
our standard user interface to CAEN HardWare.
And I also suppose that the application packages are in
R3.13.0.beta11/CaenHv_pro/ area.
Befor excuting MEDM you have to set your environment up properly.
To do this just excute following script in CaenHv_pro area.
>source setup_CAEN
Then you can go to CaenHv_pro/CaenHvApp/perldm/adl/ area
and find *.adl files in it.
These files are to be read by MEDM and will be your interface.
You can see that there are two types of name like
CR*.adl and CR*HV#.adl.
For CR*.adl, it's for monitoring all the HV channels of SY527
with crate id *.
For CR*HV#.adl, it's for controlling all the HV channels of A938AN
board with slot id #.
In this area just type
>medm -x CR*HV#.adl
then you can see wonderfully costumized GUI on your screen.
The input fields or switchs located at bottom are for control all
the parameters or switchs at the same time.