![]() |
![]() ![]()
Experimental Physics and
| ||||||||||||||
|
Hi Abdalla, If the PVs for which you want to control processing all process at the same rate (and are on the same IOC), you could also use event processing and control the event record. One thing to keep in mind, though: Disabled records can still change their values (by db puts and CA puts). In order to prevent disruptive changes to your system, you may alwo want to set/unset the DISP field which prevents at least value changes via CA puts. Take care - rolf - On 2022-11-14 12:09 a.m., Abdalla Ahmad
via Tech-talk wrote:
Hello I would like to disable processing for certain PVs based on some condition, I used the DISA field by writing 1 to it in a dfanout record from a calcout record (OUT field). The setup is working fine but with a strange behavior (which might be expected). Writing anything to DISA does not take effect until the PV is processed, so I had to make another fanout record only to process those PVs whenever the calcout record is processed (FLNK). Now assume if the condition is met and the PVs got disabled, if you write anything to the PV, it will not process it but on the next change from calcout. This can be problematic in certain setups. Is there any way to avoid writing at all when the PV is disabled? Or a better way to disable PVs? Thanks. Abdalla Al-Dalleh Control Engineer SESAME (Synchrotron-light for Experimental Science and Applications in the Middle East) P.O. Box 7, Allan 19252, Jordan Tel: +96253511348 , ext. 265 Fax: +96253511423 abdalla.ahmad at sesame.org.jo<mailto:abdalla.ahmad at sesame.org.jo> www.sesame.org.jo<http://www.sesame.org.jo> --
Rolf Keitel, Ph.D. Researcher Emeritus Office: TRIUMF, 4004 Wesbrook Mall Vancouver, BC, V6T 2A3 604 222 7453 Home: 4158 West 13th Ave Vancouver, BC, V6R 2T6 604 228 0594 e-mail: rolf at triumf.ca
| ||||||||||||||
ANJ, 14 Nov 2022 |
![]() · Download · Search · IRMIS · Talk · Documents · Links · Licensing · |