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: conditional process two records
From: Florian Feldbauer <[email protected]>
To: [email protected]
Date: Wed, 22 Apr 2015 16:00:14 +0200
Hey,

you can use DISV and SDIS fields.
for calc record A set DISV 1, and for B to 0
and SDIS is a DBLINK to your bo.

If the value of your bo and the value in the DISV records are different,
the record is disabled.

Hope this helps you!
Cheers,
Florian

On 04/22/2015 03:04 PM, Zhang Yuliang wrote:
> Hello all,
> 
> I want to know how to conditional process two records upon the third record's value. For examle: i have there records, one bo record and two calcout record(A and B), if the value of bo record is zero, process calcout record A, else process calcout record B.
> 
> Any ideas?
> Thanks in advance!
> 
> Zhang Yuliang
> 


-- 
----------------------------------------
| Dr. Florian Feldbauer                |
|                                      |
| Helmholtz-Institut Mainz /           |
| Johannes Gutenberg-Universität Mainz |
| Johann-Joachim-Becher-Weg 36         |
| D-55128 Mainz                        |
|                                      |
| Office: SB1 / 00-321                 |
| Phone:  (+49)6131 / 39-29605         |
----------------------------------------

References:
conditional process two records Zhang Yuliang

Navigate by Date:
Prev: RE: conditional process two records Arnold, Ned D.
Next: RE: conditional process two records Mooney, Tim M.
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: RE: conditional process two records Arnold, Ned D.
Next: RE: conditional process two records Mooney, Tim M.
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 ·