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  2015  2016  2017  <20182019  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  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Scanning on event number fails with EPICS 3.16
From: Simon Reiter <[email protected]>
To: [email protected]
Date: Tue, 30 Jan 2018 17:20:09 +0100
Thanks so far.

postEvent 2
works fine.

Up to now, my event record has an INP field, which links to a calc record.
This calc record only provides the correct value under some conditions.
How can I do this without using a state machine?

record(calc,"$(BOARDNAME):ErrorFlags:calc")
{
  field(INPA, "$(BOARDNAME):InitDone:S CPP")
  field(CALC, "A ? 2 : 0")
}

record(event, "$(BOARDNAME):ErrorFlags:trg")
{
  field(INP,  "$(BOARDNAME):ErrorFlags:calc CPP")
}

This is my current code. The value of event is now 2.000000 in the correct case.



Replies:
Re: Scanning on event number fails with EPICS 3.16 Michael Davidsaver
Re: Scanning on event number fails with EPICS 3.16 Andrew Johnson
Re: Scanning on event number fails with EPICS 3.16 Dirk Zimoch
References:
Scanning on event number fails with EPICS 3.16 Simon Reiter
Re: Scanning on event number fails with EPICS 3.16 Benjamin Franksen

Navigate by Date:
Prev: Re: pvPut error message by Sequencer Benjamin Franksen
Next: Sequencer seem to skip states with EPICS 3.16.1 Simon Reiter
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Scanning on event number fails with EPICS 3.16 Benjamin Franksen
Next: Re: Scanning on event number fails with EPICS 3.16 Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 08 Feb 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·