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  <20252026  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  <20252026 
<== Date ==> <== Thread ==>

Subject: RE: How to implement a custom CRC check function in StreamDevice?
From: Freddie Akeroyd - STFC UKRI via Tech-talk <[email protected]>
To: LONG FENG <[email protected]>, "[email protected]" <[email protected]>
Date: Fri, 19 Dec 2025 10:52:12 +0000

Hi Feng,

 

The stream device checksum function names are looked up via

https://github.com/paulscherrerinstitute/StreamDevice/blob/929204cb13f122e2ff3beb64ab86d8bdb6a21d70/src/ChecksumConverter.cc#L640 so you just need to add your calculation function to this (or a separate) file and then reference it from the  checksumMap  variable

 

Regards,

 

Freddie

 

 

 

 

From: Tech-talk <[email protected]> On Behalf Of LONG FENG via Tech-talk
Sent: 19 December 2025 08:13
To: [email protected]
Subject: How to implement a custom CRC check function in StreamDevice?

 

Hi all,

StreamDevice provides some common CRC check methods, such as %<crc16>. However, sometimes we encounter non-standard CRC checks, like the CRC check of the SQM160, as shown in the figure .

 

 

In this case, we need to write a function to implement a custom CRC check and include this custom CRC function in the .proto file. 

 

How can we implement this process?  

 

Feng


References:
How to implement a custom CRC check function in StreamDevice? LONG FENG via Tech-talk

Navigate by Date:
Prev: The problem of slow response of drvAsynIPServer PortConfigure method bombbird02 via Tech-talk
Next: AreaDetector Collaboration Meeting - January 8th Érico Nogueira Rolim 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  <20252026 
Navigate by Thread:
Prev: How to implement a custom CRC check function in StreamDevice? LONG FENG via Tech-talk
Next: The problem of slow response of drvAsynIPServer PortConfigure method bombbird02 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  <20252026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·