|
Hi Michalel
Following is the output after printing out ENV variables.
==============================================================================
iocdev1$ env | grep EPICS_PVA
EPICS_PVA_ADDR_LIST=239.128.1.6,8@eno1 10.200.21.28 10.200.21.29 10.200.12.73 10.200.16.47 10.200.16.40 10.200.16.58 10.200.16.59
EPICS_PVAS_INTF_ADDR_LIST=239.128.1.6
EPICS_PVAS_AUTO_BEACON_ADDR_LIST=NO
EPICS_PVA_AUTO_ADDR_LIST=NO
EPICS_PVAS_BEACON_ADDR_LIST=239.128.1.7,10
==============================================================================
=============================== INSIDE EPICS SESSIION =============================
epics> pvxsr
EPICS_PVAS_AUTO_BEACON_ADDR_LIST=NO
EPICS_PVAS_BEACON_ADDR_LIST=239.128.1.7:5076,10
EPICS_PVAS_BROADCAST_PORT=5076
EPICS_PVAS_IGNORE_ADDR_LIST=
EPICS_PVAS_INTF_ADDR_LIST=239.128.1.6:5075,-1 0.0.0.0
EPICS_PVAS_SERVER_PORT=40515
Source: __builtin prio=-1
Source: __server prio=-1
Source: acnet prio=0
Source: qsrvSingle prio=0
Source: qsrvGroup prio=1
================================================================================
From: Michael Davidsaver <mdavidsaver at gmail.com>
Sent: Wednesday, March 25, 2026 7:47 PM
To: Varuna Crishan Meddage <vmeddage at fnal.gov>
Cc: kasemirk at ornl.gov <kasemirk at ornl.gov>; 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 1:54 PM, Varuna Crishan Meddage wrote:
Hi,
I created the following PV
===========================================
record(waveform, "PIP2:CTRL_MPS:acq2106_current")
{
field(INP, {pva:{pv:"acq2106_347:1:AI:WF:17", "proc":"CPP"}})
field(FTVL, "DOUBLE")
field(NELM, "4096")
field(SCAN, "1 second")
}
===========================================
But it complains that input PV is disconnected.
...
iocdev1$ pvxget acq2106_347:1:AI:WF:17
Is your IOC running with the same PVA configuration (environment variables) as your shell session?
fyi. At the IOC shell, run "pvxsr" to see the effective configuration (after auto address list expansion).
epics>
pvxsr
EPICS_PVAS_AUTO_BEACON_ADDR_LIST=NO
EPICS_PVAS_BEACON_ADDR_LIST=192.168.1.255 10.127.127.255
EPICS_PVAS_BROADCAST_PORT=5076
EPICS_PVAS_IGNORE_ADDR_LIST=
EPICS_PVAS_INTF_ADDR_LIST=0.0.0.0
EPICS_PVAS_SERVER_PORT=5075
eg. If I run one instance of softIocPVX with
record(calc, "counter") {
field(SCAN, "1 second")
field(CALC, "VAL+1")
}
And a second with
record(longin, "follower") {
field(INP, {pva:{pv:"counter", "proc":"CP"}})
}
I see that the "follower" record subscribes to the "counter"
epics>
dbgf follower
DBF_LONG: 59 = 0x3b
epics>
dbgf follower
DBF_LONG: 60 = 0x3c
|