Hi Lin,
Thanks for your comprehensive reply! We will look into the different options you’ve provided.
Best regards,
Vincent van Beveren
Control System Engineer
Present: Mon - Tue - Wed - Thu - Fri
-----------------------------------------------------------------------------
High Voltage Engineering Europa B.V.
Amsterdamseweg 63, 3812 RR Amersfoort
P.O. Box 99, 3800 AB Amersfoort, The Netherlands
Tel +31334619741
Fax +31334615291
E-mail
vvanbeveren at highvolteng.com
Web
www.highvolteng.com
----------------------------------------------------------------------------
From: Wang, Lin <wanglin at ihep.ac.cn>
Sent: woensdag 11 december 2024 12:27
To: Vincent van Beveren <vvanbeveren at highvolteng.com>
Cc: tech-talk at aps.anl.gov
Subject: Re: EPICS Channel Access (PV access) to REST bridge?
Hello Vincent,
Typically, caget and caput functions can be implemented via REST APIs, but the camonitor function needs to be implemented using WebSocket.
The following tools provide such functions,
1. epics2web
https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url="">
It is maintained by JeffersonLab and supports Channel Access, but currently does not support PV Access.
2. pvws
https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url="">
It is maintained by ORNL, supports both Channel Access and PV Access, but I did not find REST APIs for caget and caput (probably not difficult to implement).
If caget and caput REST APIs are needed in pvws, probably you can customize pvws and add them. For example, at CSNS I customized pvws and added pvget/pvput interfaces as follows,
https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url="">
https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url="">
Regards,
Lin
-----原始邮件-----
发件人: "Vincent van Beveren via Tech-talk" <tech-talk at aps.anl.gov>
发送时间: 2024-12-11 16:07:23 (星期三)
收件人: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
主题: EPICS Channel
Access (PV access) to REST bridge?
Hi everyone,
Does anybody know if there is an EPICS to REST bridge? Meaning, being able to read/write (/monitor) process variables over a REST interface? Thanks!
Best regards,
Vincent van Beveren
Control System Engineer
Present: Mon - Tue - Wed - Thu - Fri
-----------------------------------------------------------------------------
High Voltage Engineering Europa B.V.
Amsterdamseweg 63, 3812 RR Amersfoort
P.O. Box 99, 3800 AB Amersfoort, The Netherlands
Tel +31334619741
Fax +31334615291
E-mail
vvanbeveren at highvolteng.com
Web
www.highvolteng.com
----------------------------------------------------------------------------