210 likes | 318 Views
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
E N D
EPICS Progress at IHEP BEPCII Control Group Presented by Ge Lei Aug/20/2002 EPICS Progress at IHEP
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 EPICS Progress at IHEP
Software installed on Solaris2.8 Perl-5.005_03 cvs-1.11 gcc-2.95.3 gmake-3.79.1 gnuplot-3.7.1 python-2.1.1 tcl-8.3.3 tk-3.10a libpng-1.2.0 …… EPICS Progress at IHEP
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 EPICS Progress at IHEP
Toolkits Practiced • Use CVS to maintain the software • Driver support • Database Practice • IOC debugging • ChannelArchiver • MEDM and dm2k • StripTool • Gnuplot EPICS Progress at IHEP
Practice on dm2k and MEDM EPICS Progress at IHEP
Practice on dm2k and MEDM EPICS Progress at IHEP
Practice on StripTool EPICS Progress at IHEP
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") … } EPICS Progress at IHEP
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") … } EPICS Progress at IHEP
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") … } EPICS Progress at IHEP
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") … } EPICS Progress at IHEP
Practice on ChannelArchiver and gnuplot EPICS Progress at IHEP
Linux Host & IOC • Experience on Linuc host & IOC is also gained. Mr. Shifu Xu will give a detailed talk on it. EPICS Progress at IHEP
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. EPICS Progress at IHEP
Problem solved In 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>' EPICS Progress at IHEP
#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 EPICS Progress at IHEP
Problem • Platform selection • Buy better and more expensive machines? • High level toolkits evaluation EPICS Progress at IHEP
Next to do • Buy Capfast – database configuration tool • More practice – • SDDS • CGIExport • CDEV • Python • Gnuplot … EPICS Progress at IHEP
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. EPICS Progress at IHEP
Thank you! EPICS Progress at IHEP