加速器控制网内EPICS数据包的捕获分析,可对控制网内出现的与EPICS CA通信相关的问题进行快速定位,还可用于监测EPICS IOC活动状态以及记录对EPICS PV的写操作日志。使用PCAP应用接口可开发出捕获特定数据包的应用程序。本文介绍了基于PCAP接口开发的EPICS数据包捕获分析工具—cacap以及cacap在CSNS加速器控制系统中的应用。%EPICS packets capturing and analyzing is useful for fast analysis of EPICS channel access related is-sues in accelerator control network, and furthermore, it can be used for monitoring the active state of EPICS IOC and logging the put operation on EPICS PVs. The PCAP library provides a high level application interface for capturing network packets. An EPICS network packets capturing and analyzing tool named cacap has been developed based on PCAP, and the practical application in CSNS accelerator control system was briefly intro-duced in the paper.
展开▼