1 / 21

EPICS Progress at IHEP

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

charis
Télécharger la présentation

EPICS Progress at IHEP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EPICS Progress at IHEP BEPCII Control Group Presented by Ge Lei Aug/20/2002 EPICS Progress at IHEP

  2. 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

  3. 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

  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 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 EPICS Progress at IHEP

  6. Practice on dm2k and MEDM EPICS Progress at IHEP

  7. Practice on dm2k and MEDM EPICS Progress at IHEP

  8. Practice on StripTool 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") … } 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") … } 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") … } 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") … } EPICS Progress at IHEP

  13. Practice on ChannelArchiver and gnuplot 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. 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. EPICS Progress at IHEP

  16. 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

  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 EPICS Progress at IHEP

  18. Problem • Platform selection • Buy better and more expensive machines? • High level toolkits evaluation EPICS Progress at IHEP

  19. Next to do • Buy Capfast – database configuration tool • More practice – • SDDS • CGIExport • CDEV • Python • Gnuplot … 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. EPICS Progress at IHEP

  21. Thank you! EPICS Progress at IHEP

More Related