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  <20112012  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  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject:
From: "Szalata, Zenon M." <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 6 Jul 2011 20:57:23 -0700

I have a few pairs of bo records.  For simplicity let’s consider only one pair, record A and record B.  The requirement is that if A is true, then B is not allowed to process.  When A is false, then B can process.  In addition, I also have an EDM screen with two toggle buttons; toggle A control record A and toggle B controls record B.

This is how I attempted implementing this:

 

record( bo, "BO:A"){

  field( ZNAM, "off")

  field( ONAM, "on")

  field( FLNK, "DF:A")

  field( PINI, "YES")

}

record( dfanout, "DF:A"){

  field( DOL,  "BO:A")

  field( OMSL, "closed_loop")

  field( OUTA, "BO:B.DISA")

}

record( bo, "B"){

  field( DISV, "1")

  field( ZNAM, "off")

  field( ONAM, "on")

}

 

This record set seems to works correctly.  The communication between the EDM buttons and the records does not work correctly, at least from my point of view.  This is what I see:

 

I start the test IOC and an EDM screen.

Both A and B records are in false state.

I set A to true by clicking on toggle button A.  DISA is set to 1 in record B.  So, now both DISV and DISA are 1 and the record now does not process.

However, I click on toggle B and button goes to an on visual state, this conveys wrong information to the operator.

If I click toggle B again, the visual state does not change.

This behavior is observed each time toggle A changes from off to on.

 

My goal is to provide operators with an EDM screen such that when record A is in true (on) state, then record B will not process, but also that this denial of processing will be reflected in the visual representation of the toggle button that controls record B.

 

Any suggestions on how to overcome this difficulty, or some different approach which produces correct results, are most welcome.

Thanks in advance,

Zen


Navigate by Date:
Prev: RE: Problem with areaDetector netCDF files >2GB on win32-x86 Mark Rivers
Next: EDM and record processing Szalata, Zenon M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Los Alamos forest fire Jeff Hill
Next: EDM and record processing Szalata, Zenon M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·