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  2023  2024  2025  <2026 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  <2026
<== Date ==> <== Thread ==>

Subject: Re: How to configure waveform record to read remote PV via PVAccess in EPICS
From: Varuna Crishan Meddage via Tech-talk <tech-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 25 Mar 2026 19:51:24 +0000
Thank you

From: Michael Davidsaver <mdavidsaver at gmail.com>
Sent: Wednesday, March 25, 2026 2:28 PM
To: Varuna Crishan Meddage <vmeddage at fnal.gov>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: How to configure waveform record to read remote PV via PVAccess in EPICS
 

[EXTERNAL] – This message is from an external sender

On 3/25/26 12:13 PM, Varuna Crishan Meddage via Tech-talk wrote:
I am trying to create a waveform record in my IOC that takes its values from a remote PV hosted on another serverusing EPICS PVAccess (PVA).
Here’s what I want to achieve:
  • Define a waveform record locally (e.g., LOCAL:WF)
  • Subscribe to a remote PV (e.g., REMOTE:ARRAY:PV) on a server with a known IP address and port
  • Automatically update the waveform at a set scan rate

Take a look at PVA links:


https ://epics-base.github.io/pvxs/pvalink.html


https ://github.com/epics-base/pvxs/blob/6f7942e4af38a0b84630deb837f2b7bccf53a62a/test/testpvalink.db#L64-L68


I am unsure about the exact configuration. Specifically, I would like guidance on:
  1. Waveform record DB definition – how should the DTYP and INP fields be set to read from the remote PV?

For input type records "INP".  You will also want the "CP" or "CPP" modifier to process on subscription update.


  1. Specifying the server IP and port in the INP field.

The PV name lookup process is configured the same as for any PVA client.  eg. using the $EPICS_PVA_ADDR_LIST


pvxsIoc.dbd



  1. Any pitfalls, such as array size (NELM) matching or data type requirements.

As usual, NELM (capacity) needs to be large enough.


For example, would a record like this work?
=================================================

record(waveform, "LOCAL:WF") {
    field(DTYP, "pvaClientWaveform")
    field(SCAN, "1 second")
    field(NELM, "4096")
}


Something like:

record(aai, "testToFromString:str2") {
    field(FTVL, "DOUBLE")
    field(NELM, "4096")
    field(INP , {pva:{pv:"PVA:REMOTE:ARRAY:PV", "proc":"CPP"}})
}



===============================================

I would greatly appreciate any example .db record, IOC DBD configuration, or startup instructions for properly using a remote PV with waveform records via PVA.

My base EPICS version is : epics-base-R7.0.9-328

Thanks
Varuna Meddage



References:
How to configure waveform record to read remote PV via PVAccess in EPICS Varuna Crishan Meddage via Tech-talk
Re: How to configure waveform record to read remote PV via PVAccess in EPICS Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: How to configure waveform record to read remote PV via PVAccess in EPICS Michael Davidsaver via Tech-talk
Next: Re: How to configure waveform record to read remote PV via PVAccess in EPICS Varuna Crishan Meddage 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  2023  2024  2025  <2026
Navigate by Thread:
Prev: Re: How to configure waveform record to read remote PV via PVAccess in EPICS Michael Davidsaver via Tech-talk
Next: Re: How to configure waveform record to read remote PV via PVAccess in EPICS Varuna Crishan Meddage 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  2023  2024  2025  <2026
ANJ, 25 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·