EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: PVA gateway status PV monitoring
From: "Murray, Doug via Tech-talk" <tech-talk at aps.anl.gov>
To: "Ha, Kiman" <kha at bnl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 1 Sep 2023 11:53:21 +0000

Hi again Kiman,

I wanted to let you know that the PVA gateway documentation was recently updated (within the hour prior to this message), at https://mdavidsaver.github.io/p4p/gw.html

 

cheers

-doug

SLAC

 

 

From: Murray, Doug <drm at slac.stanford.edu>
Date: Thursday, August 31, 2023 at 11:15 PM
To: Ha, Kiman <kha at bnl.gov>, tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: PVA gateway status PV monitoring

Hi Kiman,

The status PVs should be accessible as regular PVs using pvget or pvcall.

If you have the latest version of the p4p gateway, and the statusprefix is set to sts_server: as you’ve indicated, you could type:

pvget  sts_server:clients

pvget  sts_server:cache

and so forth.

The asTest PV is different because it uses RPC, so you could type:

                pvcall sts_server:asTest  pv=”my:pv:name”

(using one of your own PVs instead of my:pv:name)

 

I’m wondering if you have a previous version of the gateway because, for example mine doesn’t show a StatsTime PV.

Also you should be able to run the gateway in the background by typing “pvagw &”, at least for testing purposes.  Ideally, it would be run through something like systemd, depending on your host.

 

cheers

-doug

SLAC

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Ha, Kiman via Tech-talk <tech-talk at aps.anl.gov>
Date: Thursday, August 31, 2023 at 11:46 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: PVA gateway status PV monitoring

Hello All,

 

I am testing the PVA gateway and completing the installation of the PVXS and P4P modules.

In the first test, I can read/write device IOC PVs from a client, which means the pva gateway works fine.

In the next step, I’d like to monitor pvagateway provided server/clients status PVs; for example, read this PV “sts_server:StatsTime” from the client.

 

How do I read pvagateway internal PVs?

Would you like me to install p4p python packages?

 

I just run pvagw mytest.config, any more efficient way to run pvagw as background?

 

 

p4p]$ bin/linux-x86_64/pvagw mytest.conf

 

INFO:p4p.gw:Client theclient input config:

 

INFO:p4p.gw:Status PV: sts_server:StatsTime

INFO:p4p.gw:Status PV: sts_server:asDebug

INFO:p4p.gw:Status PV: sts_server:asTest

INFO:p4p.gw:Status PV: sts_server:cache

INFO:p4p.gw:Status PV: sts_server:clients

INFO:p4p.gw:Status PV: sts_server:ds:byhost:rx

INFO:p4p.gw:Status PV: sts_server:ds:byhost:tx

INFO:p4p.gw:Status PV: sts_server:ds:bypv:rx

INFO:p4p.gw:Status PV: sts_server:ds:bypv:tx

INFO:p4p.gw:Status PV: sts_server:poke

INFO:p4p.gw:Status PV: sts_server:refs

INFO:p4p.gw:Status PV: sts_server:stats

INFO:p4p.gw:Status PV: sts_server:threads

INFO:p4p.gw:Status PV: sts_server:us:byhost:rx

INFO:p4p.gw:Status PV: sts_server:us:byhost:tx

INFO:p4p.gw:Status PV: sts_server:us:bypv:rx

INFO:p4p.gw:Status PV: sts_server:us:bypv:tx

INFO:p4p.gw:Server effective config stserver_0 :

 

 

INFO:p4p.gw:Status PV: sts_client:StatsTime

INFO:p4p.gw:Status PV: sts_client:asDebug

INFO:p4p.gw:Status PV: sts_client:asTest

INFO:p4p.gw:Status PV: sts_client:cache

INFO:p4p.gw:Status PV: sts_client:clients

INFO:p4p.gw:Status PV: sts_client:ds:byhost:rx

INFO:p4p.gw:Status PV: sts_client:ds:byhost:tx

INFO:p4p.gw:Status PV: sts_client:ds:bypv:rx

INFO:p4p.gw:Status PV: sts_client:ds:bypv:tx

INFO:p4p.gw:Status PV: sts_client:poke

INFO:p4p.gw:Status PV: sts_client:refs

INFO:p4p.gw:Status PV: sts_client:stats

INFO:p4p.gw:Status PV: sts_client:threads

INFO:p4p.gw:Status PV: sts_client:us:byhost:rx

INFO:p4p.gw:Status PV: sts_client:us:byhost:tx

INFO:p4p.gw:Status PV: sts_client:us:bypv:rx

INFO:p4p.gw:Status PV: sts_client:us:bypv:tx

INFO:p4p.gw:Setup GW clients to ignore GW servers

 

 

Kiman


Replies:
RE: PVA gateway status PV monitoring Ha, Kiman via Tech-talk
References:
PVA gateway status PV monitoring Ha, Kiman via Tech-talk
Re: PVA gateway status PV monitoring Murray, Doug via Tech-talk

Navigate by Date:
Prev: Re: pheobus on AlmaLinux9 Michael Davidsaver via Tech-talk
Next: Requesting Feedback and Support in Consolidating Source Code and Documentation McNanney, Douglas via Tech-talk
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  <20232024 
Navigate by Thread:
Prev: Re: PVA gateway status PV monitoring Murray, Doug via Tech-talk
Next: RE: PVA gateway status PV monitoring Ha, Kiman via Tech-talk
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  <20232024 
ANJ, 01 Sep 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·