1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 2025 | 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 2018 2019 2020 2021 2022 <2023> 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Process aSub record on arrival of data |
From: | Andrew Johnson via Tech-talk <tech-talk at aps.anl.gov> |
To: | tech-talk at aps.anl.gov |
Date: | Mon, 31 Jul 2023 11:38:15 -0500 |
Hi Matt, On 7/30/23 10:37 PM, Matt Rippa via
Tech-talk wrote:
The aSub record only posts monitors on VAL (when the and the VAL[A-U] and NEV[A-U] array fields, i.e. the output arrays. If you want monitors on the input arrays you could add calls to db_post_events() on them inside your aSub subroutine, look at the record type's monitor() routine for an example to copy. However looks like your RX subroutine could just set prec->oval=1 to have the monitor on the VAL field fire every time it processes if you want to see the timestamp without monitoring RX.VALA. That depends on the accuracy of your timing system — are your system clocks synchronized well enough to measure that? I would start by comparing the time-stamps from CA monitors of the two aSub records. I have no idea whether you'll be able to reliably achieve 200µs though, are these IOCs both running RTEMS? I'd be skeptical about that myself, but would do the test anyway. HTH, - Andrew
-- Complexity is free, it's Simplicity that takes work. |