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).
|