Experimental Physics and Industrial Control System
Hi all,
I'm running v7.0.3.1 on an SL7.8 machine. I'm using structured data, with a sub-structure
called Control. I know that the structure/sub-structure is being properly set by testing it
with a pvmonitor:
pvmonitor -r Control P:S12OFP
which yields:
P:S12OFP structure
structure Control
time_t timeStamp <undefined>
long secondsPastEpoch 0
int nanoseconds 0
int userTag 0
short value 8
I want this Control value to populate another record which has the form:
record(longin,"PIP2IT-HPRF-SSR1-SSA2-00:OFP:ControlPVs") {
field(DESC,"Trigger Control PVs from acnet device")
field(SCAN,"Passive")
field(INP,{pva:{pv:"P:S12OFP",
field:"Control.value",
proc:"CP"}})
field(FLNK,"PIP2IT-HPRF-SSR1-SSA2-00:OFP:SetPVs.PROC")
}
However, this value doesn't change despite its input value changing. Furthermore,
if I attempt to change it's value with:
caput PIP2IT-HPRF-SSR1-SSA2-00:OFP:ControlPVs
then get the error:
Old : PIP2IT-HPRF-SSR1-SSA2-00:OFP:ControlPVs 0
CA.Client.Exception...............................................
Warning: "Channel write request failed"
Context: "op=1, channel=PIP2IT-HPRF-SSR1-SSA2-00:OFP:ControlPVs, type=DBR_STRING, count=1, ctx="PIP2IT-HPRF-SSR1-SSA2-00:OFP:ControlPVs""
Source File: ../oldChannelNotify.cpp line 160
New : PIP2IT-HPRF-SSR1-SSA2-00:OFP:ControlPVs 0
Current Time: Fri Apr 23 2021 15:45:03.687389769
Thank you,
Pierrick
--
Pierrick Hanlet
Fermi National Accelerator
Accelerator Front End Controls
+1-630-840-5555 -- lab
+1-312-687-4980 -- mobile
"Whether you think you can or think you can't, you're right" -- Henry Ford
- Replies:
- Re: pvdata structure not writing to other pvs Johnson, Andrew N. via Tech-talk
- Navigate by Date:
- Prev:
Re: EPICS in Docker image Build Error base-3.15.6 (alpine linux) Josh Fiddler via Tech-talk
- Next:
Re: pvdata structure not writing to other pvs Johnson, Andrew N. 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
- Navigate by Thread:
- Prev:
How to get the Time format (H:M:S) in scalcout? Tasaddaq Khan via Tech-talk
- Next:
Re: pvdata structure not writing to other pvs Johnson, Andrew N. 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