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  2018  2019  2020  2021  2022  2023  2024  2025  <2026>  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  <2026> 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Modbus and SScan acquisition synchronisation and timestamp query
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Sun, 16 Aug 2026 17:32:19 +0200
On Wed, 12 Aug 2026 at 14:44, Kasemir, Kay via Tech-talk <tech-talk at aps.anl.gov> wrote:

When I had N records that all read from the same device via SCAN=I/O Intr, I’ve set the “TPRO” flag and that way saw in which order they are processed. Then I added an FLNK from the one record processed last to the record or chain of records that should process next to use the information just read from the device.
That “works” as long as your device support always reads items from the device and then issues the I/O Intr updates of the associated records in the same order. This was the case for the specific device that I used, but isn’t generally given.

Careful:
If you activate the feature that allows multiple parallel callback threads (to increase throughput on multi-processor systems), the strict order of processing of "I/O Intr" records - with respect to the order in which processing has been requested - is not guaranteed.
Actually, it has never been promised - it just happened as a side effect of only a single thread processing all records from the priority-specific callback queue.

Cheers,
~Ralph


References:
Modbus and SScan acquisition synchronisation and timestamp query Kuldeep Joshi via Tech-talk
Re: [EXTERNAL] Modbus and SScan acquisition synchronisation and timestamp query Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: Oxford Cryostream 1000 IOC questions Mark Rivers via Tech-talk
Next: How to calculate checksum (three ASCII values) when using streamdevice LiangChih Chiang via Tech-talk
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  <2026> 
Navigate by Thread:
Prev: Re: [EXTERNAL] Modbus and SScan acquisition synchronisation and timestamp query Kasemir, Kay via Tech-talk
Next: Modbus and SScan acquisition synchronisation and timestamp query Kuldeep Joshi via Tech-talk
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  <2026> 
ANJ, 17 Aug 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·