EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  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  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: calcout without update
From: Emmanuel Mayssat <[email protected]>
To: epics <[email protected]>
Date: Wed, 01 Nov 2006 09:49:02 -0800
Hello all,

I have a calcout record that select the video multiplexer channel based
on the combination of inserted screen.
The calcout is being scanned at a rate of 10 sec.
So every 10 sec, my mux receive the command to set a channel at a given
value. Obviously this is true, even if the channel is already selected.

Q: How can I tell the calcout not to send any value on its out field ?
(i.e. if channelSelector NPP is already at given value, then do
nothing. ) ( field(CALC, "A=0?:1") ? if INPA is set at 0 then do nothing
otherwise put 1 on OUT field record)

I tried playing with the PROC field, but it seems that whatever value
you put in this field trigger processing of the associated record.

Thank you for your help,

-- 
Emmanuel Mayssat
Cell: 650/793-0626
Lyncean Technologies, Inc.
"See the invisible"


Replies:
Re: calcout without update Tim Mooney

Navigate by Date:
Prev: Support for larger messages in IOC Error Logging facility J. Lewis Muir
Next: Re: calcout without update Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Support for larger messages in IOC Error Logging facility Andrew Johnson
Next: Re: calcout without update Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·