JACoW logo

Journals of Accelerator Conferences Website (JACoW)

'Journal of Accelerator Conferences Website' (JACoW) is a publisher in Geneva, Switzerland that publishes the proceedings of accelerator conferences held around the world by an international collaboration of editors.


https://doi.org/10.18429/JACoW-ICALEPCS2023-THPDP076
Title Stream-based Virtual Device Simulation for Enhanced EPICS Integration and Automated Testing
Authors
  • M. Lukaszewski, K. Klys
    E9, London, United Kingdom
Abstract Integrating devices into the Experimental Physics and Industrial Control System (EPICS) can often take a suboptimal path due to discrepancies between available documentation and real device behaviour. To address this issue, we introduce "vd" (virtual device), a software for simulating stream-based virtual devices that enables testing communication without connecting to the real device. It is focused on the communication layer rather than the device’s underlying physics. The vd listens to a TCP port for client commands and employs ASCII-based byte stream communication. It offers easy configuration through a user-friendly config file containing all necessary information to simulate a device, including parameters for the simulated device and information exchanged via TCP, such as commands and queries related to each parameter. Defining the protocol for data exchange through a configuration file allows users to simulate various devices without modifying the simulator’s code. The vd’s architecture enables its use as a library for creating advanced simulations, making it a tool for testing and validating device communication and integration into EPICS. Furthermore, the vd can be integrated into CI pipelines, facilitating automated testing and validation of device communication, ultimately improving the quality of the produced control system.
Paper download THPDP076.PDF [1.018 MB / 4 pages]
Cite download ※ BibTeX LaTeXText/WordRISEndNote
Conference ICALEPCS2023
Series International Conference on Accelerator and Large Experimental Physics Control Systems (19th)
Location Cape Town, South Africa
Date 09-13 October 2023
Publisher JACoW Publishing, Geneva, Switzerland
Editorial Board Volker RW Schaa (GSI, Darmstadt, Germany); Andy Götz (ESRF, Grenoble, France); Johan Venter (SARAO, Cape Town, South Africa); Karen White (SNS, Oak Ridge, TN, USA); Marie Robichon (ESRF, Grenoble, France); Vivienne Rowland (SARAO, Cape Town, South Africa)
Online ISBN 978-3-95450-238-7
Online ISSN 2226-0358
Received 06 October 2023
Accepted 08 December 2023
Issued/td> 12 December 2023
DOI doi:10.18429/JACoW-ICALEPCS2023-THPDP076
Pages 1522-1525
Copyright
Creative Commons CC logoPublished by JACoW Publishing under the terms of the Creative Commons Attribution 4.0 International license. Any further distribution of this work must maintain attribution to the author(s), the published article's title, publisher, and DOI.