Hi Pierrick,
Does the iocsh ‘dbpvar’ command tell you anything interesting/useful about the state of the pva link? You can give it a record name, or “*”, and an integer level for more and more detail about the link(s).
- Andrew
On Apr 23, 2021, at 4:10 PM, Pierrick M Hanlet via Tech-talk <tech-talk at aps.anl.gov> wrote:
>
> 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
>
--
Complexity comes for free, simplicity you have to work for.
- Replies:
- Re: pvdata structure not writing to other pvs Pierrick M Hanlet via Tech-talk
- References:
- pvdata structure not writing to other pvs Pierrick M Hanlet via Tech-talk
- Navigate by Date:
- Prev:
pvdata structure not writing to other pvs Pierrick M Hanlet via Tech-talk
- Next:
Re: pvdata structure not writing to other pvs Pierrick M Hanlet 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:
pvdata structure not writing to other pvs Pierrick M Hanlet via Tech-talk
- Next:
Re: pvdata structure not writing to other pvs Pierrick M Hanlet 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
|