Ⅱ-8. Accelerator

RIKEN Accel. Prog. Rep. 48 (2015)

Development of new operational log system for RIBF operation∗1∗1 system for∗1RIBF operation
Development ofA.new
operationallog
Uchiyama,
M. Komiyama,
and N. Fukunishi

∗1
∗1
∗1
A. isUchiyama,
Komiyama,Whenand theN. Fukunishi
The operational log system
one of the M.
electric
monitored operation status, such as thelog systems for recording and viewing the acceleraDAC value of a magnet power supply, is changed, thetorTheoperationtime logandsystemcontents
destatus
storedas operational
operational
is ofoneanofoperated
the electricWhenis themonitored
operationinformation
status, suchinto
as the1)developedbyvice.
Zlog (Zope-basedsystem)
database.
of thefeatures,
theis monitor
log systems
for recordinglog
andviewing
the acceleraDAC value Asof aonemagnetpower
supply,changed,prothe
KEK
was utilized
the operational
for thegram
theasevent
signal viainformation
the EPICS PV
tor operation
timeas andcontents oflog
ansystem
operated
destatusacquires
is stored
operational
intogatethe4)because(IOCs)RIKEN
RIBF
control system.
Zope is1)andeveloped
open-source
waybyvice. Zlog
(Zope-basedlog system)
database.
As EPICS
one of input/output
the features, controllers
the monitor
prorequire
much system
resources
whena largePV
numberWeband Web
application
framework
written
inKEKserver
was utilized
as theoperationallog system
for thegram
acquiresthe eventsignal via
the EPICS
gate2)
4)
Using
theopen-source
Web appliof caMonitors
are connected
to EPICS
IOCs. (IOCs)
In orPython
because EPICS
input/output
controllers
RIKEN programming
RIBF controllanguage.
system. Zope
is an
way
cation,information
accelerator
operationwritten
is desigder
to constructa Web
application
userinterrequire
much system
resourceswhenasathe
large
numberWeb serverand Webon
application
frameworkin2) browsers. However,natedbyprogramminga character stringon Webface
for providing
information,
the Apache
Using the Web appliof caMonitors
areoperational
connected to
EPICS IOCs.
In orPython
language.
, areinterused
thedisplayed
string characteron theoperation
Web browser
willWeband Bootstrap
Web framework
cation,informationon accelerator
is desigder toserver
construct
a Web application
as the5)user
by theTherefore,
it isinformation,
possible to provide
opbe
complexfor accelerator
because many
panatedby a character
string operatorson Web browsers.
However,
faceforsystem.
providingoperational
the Apache5)
erational
logs
witha varietyof richGUI components.
rameters
are changedin accelerator
though, are usedthe displayed
string characteron theoperation,
Web browser
willWeb
serverand
Bootstrap
Webframework
now, theTherefore,
operational
system has
been worktheWeb-based
system has
many advantages.
byAs
theofsystem.
it logis possible
to provide
opbe complex
for accelerator
operators
because many For
paing
for accelerator
monitoring
approxismootheraccelerator
an operation,
ergonomicallydeerationallogs with aoperationvariety ofbyrich
GUI components.
rameters arechanged operation,in accelerator
thoughmatelypointsas the EPICS
recordany
signedoperationallog system
is required.
AdditionAs of 3,000
now, theoperationallog systemhaswithout
been workthe Web-based
systemhas manyadvantages.
For
serioussince
November
As an example,
ally,
it is notalways easy
to set antheergonomicallymany monitored
ing for problem
accelerator
operationby2013.
monitoring
approxismootheraccelerator
operation,
dethe
user3,000
interfacelog without
for magnet
parameters
for Zlog log
withoutomission,
becausethe usermatelypointsofasthe
theoperational
EPICS record
anysigned operationalsystem
is required.
Additionpowershownin Fig. 2.2013.
The Asoperationallog
must
withalways
Pythonprogramming
languagefor oneserioussupplies
problemissinceNovemberan example,
ally, itcode
is noteasy
to set the many
monitoredisby using
characterstringlog
andforline
chartmonitored
in theomission,case of theZlog thesystem.
thedisplayeduser interface
of atheoperational
magnetparametersparameter
for Zlog without
becauseuserona Webbrowser(Firefox).
future, log
weTherefore,
we developed
a new operationallog system
powersupplies
is shown
in Fig. In
2. theThenear
operationalmust code withPython programming
languagefor onewill
update thesystem
for improving
usability
tofor
RIBF controlsystem.
is displayedby using
a character
stringtheandline chart
monitored
parameterin the case of the Zlog system.
fully
satisfy
therequirementsofusers.
on a Web browser (Firefox). In the near future, weTherefore, we developed a new operational log system
will update the system for improving the usability tofor RIBF control system.
fully satisfy the requirements of users.

Fig. 1. Outline of the new operational log system.
1. Outlineof thenewsystem,
operationalsystem.
InFig.
additionto theZlog
thelogPostgreSQLbased database, which is one of the major relational
databases,
is adopted
for recording
logsPostgreSQLin the new
In addition
to the Zlog
system, theoperationallog system.
order
to major
ensure relational
compatibased database,which is In
oneof thebility
with Zlog,
the new
log system
databases,
is adopted
for operational
recording logs
in the uses
newthesame databasetableIn configurationas compatiin Zlog.
operationallog system.
order to ensureThecharttheofnewnewoperational
operationalloglogsystemsystemisbilitysystemwith Zlog,uses
shownin Fig.1.
Thetable
RIBF
control system
consists
the same
databaseconfiguration
as inZlog.
ofa distributed
controlsystemconstructedusing theThesystem chartof new
operationallog systemisExperimental
Physics
Industrial
Systemshown in Fig.1.
The andRIBF
control Control
system consists
3)
Therefore,feature
to store using
the data(EPICS).
of a distributed
control thesystemconstructedtheinto the databaseis developedon the Control
basis of caMonExperimental
Physics
and Industrial
System3) is an event driven program using EPICS
itor, which
Therefore, the feature to store the data(EPICS).
channel(CA)protocol. on the basis of caMoninto the accessdatabaseis developed
itor, which is an event driven program using EPICS∗1 RIKEN Nishina Centerchannel access (CA) protocol.
∗1

RIKEN Nishina Center

Fig. 2. User interface showing operational log for magnet
power supply.
Fig. 2. User interface showing operational log for magnet
power supply.

References

1) K. Yoshii et al.: Proc. ICALEPCS07, (2007), p. 299.
2) http://www.zope.org/
References
3)
Komiyamaal.: RIKEN
Accel. Prog.
Rep.
1) M.
K. Yoshii
et al.:etProc.
ICALEPCS07,(2007),p. 47.
299.
4)
Evans. Proc. ICALEPCS2005, (2005), PO1.033-6.
2) K.
http://www.zope.org/
5)3) http://getbootstrap.com/
M. Komiyama et al.: RIKEN Accel. Prog. Rep. 47.
4) K. Evans. Proc. ICALEPCS2005, (2005), PO1.033-6.
5) http://getbootstrap.com/- 195 -完全版2014_本文.indd 195

15/10/16 17:53