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: checking the content of the waveform record
From: Andrew Johnson <[email protected]>
To: "Chestnut, Ronald P." <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Mon, 10 Dec 2007 14:36:58 -0600
Chestnut, Ronald P. wrote:
My first take would be a simple subroutine record which does the
compares you want and returns success or failure.

Make that a genSub record if possible so it can read both waveforms automatically through its input links (the genSub can transfer scalars or arrays through its link fields). Then all you need to do is compare the array elements inside the C subroutine and set VAL to a true/false result.


- Andrew

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Vladimir
Sirotenko
Sent: Monday, December 10, 2007 11:49 AM
To: EPICS tech-talk
Subject: checking the content of the waveform record

Does anyone know what is the easiest way to check the content of the
waveform record against predefined one? There is a record with 36
elements and we have to raise an alarm if any of it's elements is
differ from reference one. Of cource I can use many subArray records,
one for every waveform element, then several calc records and so on
.. But may be there is more elegant way of doing that?

Thanks,
Vladimir




--
When a distinguished but elderly scientist states that something is
possible, he is almost certainly right.  When he states that something
is impossible, he is very probably wrong.  -- Arthur C. Clarke

References:
MVME6100 or 7100 Matt Rippa
Re: MVME6100 or 7100 Oleg Makarov
checking the content of the waveform record Vladimir Sirotenko
RE: checking the content of the waveform record Chestnut, Ronald P.

Navigate by Date:
Prev: RE: checking the content of the waveform record Chestnut, Ronald P.
Next: Re: checking the content of the waveform record Tim Mooney
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: RE: checking the content of the waveform record Chestnut, Ronald P.
Next: Re: checking the content of the waveform record Tim Mooney
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 ·