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: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: Adrian Martinez <adrian.martinez at sevensols.com>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 7 Jul 2020 13:51:28 +0000
Hi Adrian,


camonitor does work with array PVs, so if camonitor is not working then the problem is probably the IOC.


Here is an example of a waveform record that is updating quickly.  The-#100 means only read the first 100 array elements.


corvette:~>camonitor -#100 13IDAPG1:image1:ArrayData
13IDAPG1:image1:ArrayData 2020-07-07 08:49:55.350564 100 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 8 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7
13IDAPG1:image1:ArrayData 2020-07-07 08:49:55.381655 100 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7
13IDAPG1:image1:ArrayData 2020-07-07 08:49:55.403725 100 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 8 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7
13IDAPG1:image1:ArrayData 2020-07-07 08:49:55.425340 100 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7


However, the problem could be EPICS_CA_,MAX_ARRAY_BYTES.


How large is the array, and what exactly do you see when you type the camonitor command?


Mark


________________________________
From: Adrian Martinez <adrian.martinez at sevensols.com>
Sent: Tuesday, July 7, 2020 8:33 AM
To: Mark Rivers; tech-talk at aps.anl.gov
Subject: Re: Array PV doesn't update in CSS BOY

Hi Mark,

I've used caget to confirm the correct, and updated, values of my PV (camonitor doesn't work with array PV... I don't know the reason).

If the problem is with CSS, do you have any idea?

Thanks, Adrián.

El mar., 7 jul. 2020 a las 14:51, Mark Rivers (<rivers at cars.uchicago.edu<mailto:rivers at cars.uchicago.edu>>) escribió:
Hi Adrian,

The first thing to do is to run camonitor from EPICS base on the PV and see if that is updating when it should.  If it does then your problem is with CSS.  If it does not then your problem is the IOC.

Mark


________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov<mailto:tech-talk-bounces at aps.anl.gov>> on behalf of Adrian Martinez via Tech-talk <tech-talk at aps.anl.gov<mailto:tech-talk at aps.anl.gov>>
Sent: Tuesday, July 7, 2020 5:17 AM
To: tech-talk at aps.anl.gov<mailto: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.


--
[http://sevensols.com]<http://sevensols.com>
Adrián Martínez Múnera

Embedded Software Engineer

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 immediately notify us via e-mail and delete it.

 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.

Replies:
Re: Array PV doesn't update in CSS BOY Hu, Yong via Tech-talk
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
Re: Array PV doesn't update in CSS BOY Adrian Martinez via Tech-talk

Navigate by Date:
Prev: Re: Array PV doesn't update in CSS BOY Adrian Martinez via Tech-talk
Next: Re: Array PV doesn't update in CSS BOY Hu, Yong 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 Adrian Martinez via Tech-talk
Next: Re: Array PV doesn't update in CSS BOY Hu, Yong 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 ·