1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | web-pvtools: PV client tools for web |
From: | "Wang, Lin via Tech-talk" <tech-talk at aps.anl.gov> |
To: | tech-talk at aps.anl.gov |
Date: | Wed, 12 Jun 2024 16:07:26 +0800 (GMT+08:00) |
Dear all,
web-pvtools in the following GitHub link, has been developed and will be deployed at CSNS office network to access PVs from CA gateway.
https://github.com/wanglin86769/web-pvtools
web-pvtools includes a series of PV client tools that can access IOCs via web browsers. This work is inspired by epics2web [1] and pvws [2], and it supports both Channel Access and PV Access.
The frontend is a single page application based on Vue.js framework and provides the following PV tools,
●PV status monitor
●
caget, caput, camonitor, cainfoThe backend is a customized version of pvws [2] including the following modifications,
●Replace Java Servlet with Spring Boot to simplify the REST API code
●
Add "connected" field in WebSocket response to show PV connection status●Replace the Base64 encoding array value with raw data to simplify both WebSocket client and server
●Add separate REST APIs for caget, caput and cainfo
For more information, please refer to the GitHub link above.
[1] https://github.com/JeffersonLab/epics2web
[2] https://github.com/ornl-epics/pvws
Regards,
Lin Wang,
Staff Engineer
Controls Group, Accelerator System Division, CSNS (China Spallation Neutron Source)
IHEP (Institute of High Energy Physics)