EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: genSub and EFLG
From: Kay-Uwe Kasemir <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Thu, 06 Dec 2007 14:02:01 -0500
Hi:

Haven't tried any of this, but
from a quick glance at the code in genSubRecord.c it seems
to me that the output links are always "put",
which explains what you see.

The eflg is only checked in monitor() to decide which monitors to send
for the fields VALA, VALB, ...

Try a simple camonitor your_gensub.VALA.

So if you leave your OUTA empty, but make

someOtherRecord.INP = "your_gensub.VALA CP"

you might only get updates from your_gensub to someOtherRecord
when your_gensub changes value.

-Kay

On Dec 6, 2007, at 13:46 , John Dobbins wrote:

I have created a genSub record, myGenSubRecord, for which the subroutine does nothing.

For myGenSubRecord I set:

OUTA = "someOtherRecord PP"

EFLG = "ON CHANGE"

if I cause myGenSubRecord to process then so does someOtherRecord which is not what I would expect for this value of EFLG. Am I misinterpreting the meaning of EFLG?

John Dobbins
Lab for Elementary Particle Physics
Cornell University


References:
genSub and EFLG John Dobbins

Navigate by Date:
Prev: Re: A patch for medm Kate Feng
Next: Starting Edm without a 'msgbox' S. Banerian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: genSub and EFLG John Dobbins
Next: Starting Edm without a 'msgbox' S. Banerian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·