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  <20152016  2017  2018  2019  2020  2021  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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Detecting EPICS record processing
From: <[email protected]>
To: <[email protected]>, <[email protected]>
Date: Wed, 24 Jun 2015 08:47:13 +0000
Hi Jan,

If you have a Channel access link on IOC:B monitoring blackbox:A and set MDEL on blackbox:A to a value < 0, then a channel access monitor will occur every time blackbox:A processes, which will cause IOC:B to process.

This assumes that blackbox:A is an analog record, of course.

There are other ways, but this is one of the most common.

Cheers,

Nick Rees
Principal Software Engineer           Phone: +44 (0)1235-778430
Diamond Light Source                  Fax:   +44 (0)1235-446713


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jan Malec
Sent: 24 June 2015 09:12
To: [email protected]
Subject: Detecting EPICS record processing

Dear EPICS developers/users!

I've been using EPICS for almost two years and there has been a number 
of occasions when I've seen a need for this solution, but I have always 
found a way around it. However, I would really like to know a good 
solution exist.

Setup:
Let's suppose that we have a black box device that hosts EPICS records 
and we can't modify its EPICS database.
This device hosts a record "blackbox:A".
On another IOC, we would like to process a record "IOC:B" every time a 
"blackbox:A" processes, even if it doesn't change value.
My idea was that I could somehow detect a change in "blackbox:A.PACT" 
and trigger an interrupt, but I just can't get it to work.
Has anyone tried to solve this situation before?

Best regards,
Jan Malec

-- 
Jan Malec
Software developer
Cosylab d.d.

Phone: +386 40 671 246
Web: http://www.cosylab.com


-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom


References:
Detecting EPICS record processing Jan Malec

Navigate by Date:
Prev: Detecting EPICS record processing Jan Malec
Next: UCHAR to BitArray conversion ishita bhatia
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Detecting EPICS record processing Jan Malec
Next: IOC without iocsh [email protected]
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·