What versions of streamDevice are you using on the old Debian IOC and the new Centos7 IOC?
What version of asyn are you using on the Debian IOC?
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of
Ivashkevych, Oksana via Tech-talk
Sent: Wednesday, December 9, 2020 12:52 PM
To: tech-talk at aps.anl.gov
Subject: serial IOC connection problem
Hello,
I have been asked to port an existing Serial IOC for a Force Torque Sensor from ATI from one server (Debian 7 with Debian packages dated ~ at least 5 years ago) to CentOS 7.
CentOS 7.7.1908; base R7.0.3.1; asyn R4-37; SerialDevice master.
After the ported recompiled IOC reported unrecoverable connection error, I have created a brand new IOC using the latest makeBaseApp.pl script.
Errors became more dynamic, and I do see some readings, when IOC does manage to connect successfully. I have browsed the Tech Talk and found a related discussions about connecting/disconnecting. Protocol file of this IOC does connects/disconnects
after every read and is very simple. I only can guess why the developer made this decision, I am sure it was an unavoidable compromise. I did add asynSetTraceMask call which changes temporarily the dynamic of the errors. Logs and proto are attached.
In summary: I have two iocs accessing same device: the old one running on Debian 7, and the new on running CentOS 7. The old one works without problem the new on reports connection errors and does manage to read something at the frequency
~30 times slower than 0.1 expected scan. I am out of my own ideas, and would appreciate help from the community.
Thank you,
Oksana