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  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Array PV doesn't update in CSS BOY
From: "Shen, Guobao via Tech-talk" <tech-talk at aps.anl.gov>
To: "Rivers, Mark L." <rivers at cars.uchicago.edu>, Adrian Martinez <adrian.martinez at sevensols.com>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Tue, 7 Jul 2020 15:51:34 +0000
Adrian,
It seems that the value of PV does not change, which could result in no plot change in CSS OPI.
Like Mark pointed out, you might want to check your driver in that case.

An easy way is to use camonitor to confirm whether the array value of your PV updates as you are expecting.

Thanks,
Guobao

On 7/7/20, 10:32 AM, "Tech-talk on behalf of Mark Rivers via Tech-talk" <tech-talk-bounces at aps.anl.gov on behalf of tech-talk at aps.anl.gov> wrote:


    Hi Adrian,

    One simple explanation for what you are seeing would be that your driver is not calling the following:

    doCallbacksInt32Array(value, nElements, reason, addr)

    If your driver does not call that function when the array changes then records with SCAN=I/O Intr will not update.

    Mark


    ________________________________
    From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Adrian Martinez via Tech-talk <tech-talk at aps.anl.gov>
    Sent: Tuesday, July 7, 2020 5:17 AM
    To: tech-talk at aps.anl.gov
    Subject: Array PV doesn't update in CSS BOY

    Hi, I have an Asyn driver and one of the PV (asynInt32ArrayIn) doesn't update in CSS BOY.
    If you run the opi, the PV gets values but never update them again ( unless the opi is updated) .

    I attach the PV in .db file:
    record(waveform, "$(user):DInILKArrayPreRdbk")
    {
    field(DTYP, "asynInt32ArrayIn")
    field(INP  ,"@asyn($(PORT),$(ADDR),$(TIMEOUT))DInILKArrayPre")
    field(SCAN ,"I/O Intr")
    field(FTVL, "ULONG")
    field(NELM, "512")
    field(PINI, "YES")
    field(DESC ,"Interlock status array")
    }

    This PV is used by a widget, which runs a script, being my PV an 'input PV'.

    Can anyone help me with this?

    Thanks, Adrián.

     This e-mail and any materials attached hereto, including, without limitation, all content hereof and thereof are confidential and proprietary to Seven Solutions,S.L and/or its affiliates, and are *confidential*. Without the prior written consent of Seven Solutions, this content may not (i) be disclosed to any third party, (ii) be reproduced, modified or otherwise used by anyone other than current employees of Seven Solutions or its affiliates. If you are not the intended recipient or if this message has been received in error, please notify us immediately via e-mail and delete it.


References:
Array PV doesn't update in CSS BOY Adrian Martinez via Tech-talk
Re: Array PV doesn't update in CSS BOY Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Array PV doesn't update in CSS BOY Mark Rivers via Tech-talk
Next: How to resolve CA beacon routing error messages when rebooting IOC is not helping Tang, Johnny 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Array PV doesn't update in CSS BOY Mark Rivers via Tech-talk
Next: Bug Text Input (Selector Type: file) CSS BOY Adrian Martinez 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  <20202021  2022  2023  2024 
ANJ, 07 Jul 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·