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 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: Re: PVXS programmatically create pvalinks
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: Dave Bracey <dbracey at fnal.gov>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 9 Jun 2025 19:27:21 -0700
On 6/5/25 11:13, Dave Bracey via Tech-talk wrote:

I have an application that programmatically creates PV’s using pvxs::ioc::server (based on the examples at https://epics-base.github.io/pvxs/example.html)

 

Is there any way to create links between these PV’s?

As a note,


 

I notice that fields that implement timestamp, alarms, display units, etc are implemented in nt.cpp with explicit name strings, and I don’t see anything relevant to links.

nt.cpp is relevant for servers, not PVA links specifically nor PVA clients in general.  PVA link is one specific PVA client which knows how to read/write certain PVA structures to certain types of database record field.


 

If this is not implemented, I suppose one would build a DB file and call dbLoadRecords on it?  If one does that, can those PV’s reference PV’s created created programmatically?

Speaking of "links" generally refers to the process database feature, which is implemented for database records.  Both CA and PVA links can target local or remote PVs.  This local vs. remote distinction is meant to be mostly abstracted from the prospective of someone writing database files.

https://epics-base.github.io/pvxs/ioc.html#pvaccess-links




Replies:
Re: PVXS programmatically create pvalinks Dave Bracey via Tech-talk
References:
PVXS programmatically create pvalinks Dave Bracey via Tech-talk

Navigate by Date:
Prev: RE: AreaDetector Driver for device that sends back 3 synchronized frames Mark Rivers via Tech-talk
Next: Re: How to update combo box items with subset of PV items Michael Davidsaver 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
Navigate by Thread:
Prev: PVXS programmatically create pvalinks Dave Bracey via Tech-talk
Next: Re: PVXS programmatically create pvalinks Dave Bracey 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
ANJ, 10 Jun 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·