epics progress at ihep
DESCRIPTION
EPICS Progress at IHEP. BEPCII Control Group Presented by Ge Lei Aug/20/2002. Platform. Linux – Host and IOC NT SUN workstation & PPC2431 Ultra10, Solaris 2.6 in 2001 Solaris 2.8 since July, 2002 PPC2431, VME512, VME510 Tornado 2.0. Software installed on Solaris2.8. Perl-5.005_03 - PowerPoint PPT PresentationTRANSCRIPT
Aug/20/2002 EPICS Progress at IHEP 1
EPICS Progress at IHEP
BEPCII Control Group
Presented by Ge Lei
Aug/20/2002
Aug/20/2002 EPICS Progress at IHEP 2
Platform
1. Linux – Host and IOC
2. NT
3. SUN workstation & PPC2431– Ultra10, Solaris 2.6 in 2001– Solaris 2.8 since July, 2002– PPC2431, VME512, VME510– Tornado 2.0
Aug/20/2002 EPICS Progress at IHEP 3
Software installed on Solaris2.8
Perl-5.005_03cvs-1.11gcc-2.95.3gmake-3.79.1gnuplot-3.7.1python-2.1.1tcl-8.3.3tk-3.10alibpng-1.2.0……
Aug/20/2002 EPICS Progress at IHEP 4
Toolkits built
• EPICS Base 3.13.4
• EPICS Extensions – extensionsUnBuild adt, alh, ar,burt,ca, ChannelArchiver, …jpt,
MEDM(with JPT), …SDDS, StripTool, Tools…
Dm2k 2.5.3 with JPT
CAStripTool
Aug/20/2002 EPICS Progress at IHEP 5
Toolkits Practiced
• Use CVS to maintain the software• Driver support• Database Practice• IOC debugging• ChannelArchiver • MEDM and dm2k• StripTool• Gnuplot
Aug/20/2002 EPICS Progress at IHEP 6
Practice on dm2k and MEDM
Aug/20/2002 EPICS Progress at IHEP 7
Practice on dm2k and MEDM
Aug/20/2002 EPICS Progress at IHEP 8
Practice on StripTool
Aug/20/2002 EPICS Progress at IHEP 9
record(calc, "$(user):calcExample"){
field(DESC, "Counter")field(SCAN,".5 second")field(FLNK, "$(user):sinExample")field(CALC, "A+C")field(INPA, "$(user):calcExample.VAL NPP NMS")field(INPB, "9")field(INPC, "0.05")field(INPD, "0")
…
}
Aug/20/2002 EPICS Progress at IHEP 10
record(calc, "$(user):linacExample"){
field(DESC, "Counter")field(SCAN,".5 second")field(CALC, "(A<B)?(A+C):D")field(INPA, "$(user):linacExample.VAL NPP NMS")field(INPB, "15")field(INPC, "1")field(INPD, "-15")field(EGU, "Counts")
…
}
Aug/20/2002 EPICS Progress at IHEP 11
record(calc, "$(user):cosExample"){
field(DESC, "Counter")field(SCAN,".5 second")field(CALC, "15*cos(A)")field(INPA, "$(user):calcExample.VAL NPP NMS")field(EGU, "Counts")
…
}
Aug/20/2002 EPICS Progress at IHEP 12
record(calc, "$(user):sinExample"){
field(DESC, "Counter")field(FLNK, "$(user):aiExample")field(CALC, "10*sin(A)")field(INPA, "$(user):calcExample.VAL PP NMS")field(EGU, "Counts")field(HOPR, "10")field(HIHI, "10")field(HIGH, "5")field(LOW, "-5")field(LOLO, "-10")
…}
Aug/20/2002 EPICS Progress at IHEP 13
Practice on ChannelArchiver and gnuplot
Aug/20/2002 EPICS Progress at IHEP 14
Linux Host & IOC
• Experience on Linuc host & IOC is also gained. Mr. Shifu Xu will give a detailed talk on it.
Aug/20/2002 EPICS Progress at IHEP 15
Working with VEM I/O modules
• A driver is developed to get and put data through the I/O modules VME512, VME510.
• Mr. Shifu Xu will talk about that in details.
Aug/20/2002 EPICS Progress at IHEP 16
Problem solvedIn file included from /home1/local/epics/epics3.13.4/base/include/os/solaris/osiSock.h:36,
from ../HTMLPage.h:14, from ../main.cpp:22, from ../main.cc:6: /usr/include/net/if.h:87: `struct map' redeclared as different kind of symbol /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/../../../../include/g++-3/stl_map.h:48: previous declaration of `template <class _Key, class _Tp, class
_Compare = struct less<_Key>, class _Alloc = class allocator<_T2> > class
map<_Key,_Tp,_Compare,_Alloc>'
Aug/20/2002 EPICS Progress at IHEP 17
• #ifdef solaris • // Hack around clash of struct map in inet headers with
std::map • #define map xxxMapxxx
• #endif • #include <osiSock.h>
• #ifdef solaris • #undef map • #endif
Aug/20/2002 EPICS Progress at IHEP 18
Problem
• Platform selection– Buy better and more expensive machines?
• High level toolkits evaluation
Aug/20/2002 EPICS Progress at IHEP 19
Next to do
• Buy Capfast – database configuration tool
• More practice –– SDDS– CGIExport– CDEV– Python– Gnuplot …
Aug/20/2002 EPICS Progress at IHEP 20
Next to do
• Installing I/O drivers for ControlNet, RS485,RS-232 for vacuum control and device protection system
• Develop drivers for CANbus with remote I/O modules (made in China)
• providing an EPICS platform for the users from other groups of IHEP so that they can learn the EPICS well.
Aug/20/2002 EPICS Progress at IHEP 21
Thank you!