EPICS Home

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

Subject: Re: Investigating performance issues with Xflash detector IOC on Windows 10
From: Rami Khrais via Tech-talk <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 28 Dec 2023 09:55:27 +0000

Please accept my apologize, I just realized that my last response regarding the MCA (RontecXFlash) issue did not reach you.

I want to update you that we have identified the problem which was related to the communication parameters, specifically the baud rate. After contacting to the company, they provided us with the proper configuration and parameters. We have made these changes, and the communication issue has been successfully resolved.

 

Thank you for your support and best regards.




From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Tuesday, October 3, 2023 4:36 PM
To: Rami Khrais <Rami.khrais at sesame.org.jo>
Subject: Re: Investigating performance issues with Xflash detector IOC on Windows 10
 
The first thing to do is to use asynTrace to look at the communication with the device.  In you startup script after creating the serial port add these lines

asynSetTraceIOMask(PORT, -1, ESCAPE)
asynSetTraceMask(PORT, -1, ERROR|DRIVER)

Then you will see all of the communication with the device.  You can see if some command is timing out or taking a very long time to respond.

You can get even more information by changing the above command to:
asynSetTraceMask(PORT, -1, ERROR|DEVICE|FLOW|DRIVER)

Mark


From: Rami Khrais <Rami.khrais at sesame.org.jo>
Sent: Tuesday, October 3, 2023 1:13 AM
To: Mark Rivers <rivers at cars.uchicago.edu>
Subject: Re: Investigating performance issues with Xflash detector IOC on Windows 10
 
Hi Mark,

I'm using a standard serial connection.

From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Monday, October 2, 2023 4:16 PM
To: Rami Khrais <Rami.khrais at sesame.org.jo>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: Investigating performance issues with Xflash detector IOC on Windows 10
 
Hi Rami,

Are you using a standard serial connection, or the Bruker QM100 interface card?

Mark


Sent from my iPhone

On Oct 2, 2023, at 8:05 AM, Rami Khrais via Tech-talk <tech-talk at aps.anl.gov> wrote:


Hello,

I am working on a detector IOC for Xflash, but I have encountered some issues. When I load periodic scan records, such as ReadTemperature, from the RontecXFlash.db file using the epics setup on Windows 10, the GUI freezes, and I cannot read or collect data from the detector. Additionally, when I stop the previous PVs and try to collect data, it takes longer than expected, and the dead time is not calculated. This behavior only occurs when using the epics setup, and the original Xflash software works correctly.

What is the main cause of this problem and how can we solve it?

Kind regards,
Rami Khrais.

Control software engineer.
SESAME (Synchrotron-light for Experimental Science and Applications in the Middle East).

References:
Investigating performance issues with Xflash detector IOC on Windows 10 Rami Khrais via Tech-talk
Re: Investigating performance issues with Xflash detector IOC on Windows 10 Mark Rivers via Tech-talk

Navigate by Date:
Prev: Question about cross compile of epics 문석호 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  <20232024 
Navigate by Thread:
Prev: Re: Investigating performance issues with Xflash detector IOC on Windows 10 Mark Rivers via Tech-talk
Next: SIMM and related fields for motor records Gregory, Ray 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  <20232024