|
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
I am unsure about the exact configuration. Specifically, I would like guidance on:
-
Waveform record DB definition – how should the
DTYP and INP fields be set to read from the remote PV? -
Specifying the server IP and port in the
INP field. -
Specific DBD files and libraries that need to be included to achieve this goal.
-
Any pitfalls, such as array size (
NELM) matching or data type requirements.
For example, would a record like this work?
=================================================
record(waveform, "LOCAL:WF") {
field(DTYP, "pvaClientWaveform")
field(SCAN, "1 second")
field(NELM, "4096")
}
===============================================
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
|