FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
10-11-2022 11:14 AM
Hi,
I have two seperate (.NET) snaps which both need to connect to the same drive via the EAL library. If I install only one of them and uninstall the other, both work fine. However, if I install both of them at the same time, only one of them works and the other throws the exception
2022-10-11T09:08:15Z measurement-module.client[2560107]: Unhandled exception. EAL.Exceptions.EALException: Ping execution is failed.
2022-10-11T09:08:15Z measurement-module.client[2560107]: Ping execution is failed.
2022-10-11T09:08:15Z measurement-module.client[2560107]: ----------------------------------------------------
2022-10-11T09:08:15Z measurement-module.client[2560107]: ------------------------------
2022-10-11T09:08:15Z measurement-module.client[2560107]: at EAL.EALConnection.EALConnection.Connect(String ipAddress)
2022-10-11T09:08:15Z measurement-module.client[2560107]: at Samples.Datalayer.Client.Program.Main(String[] args)
2022-10-11T09:08:15Z systemd[1]: snap.measurement-module.client.service: Main process exited, code=killed, status=6/ABRT
2022-10-11T09:08:15Z systemd[1]: snap.measurement-module.client.service: Failed with result 'signal'.
Solved! Go to Solution.
10-12-2022 08:31 AM
To get a better picture, could you please tell what exact components you are using!
10-12-2022 10:04 AM
The max. connections via S/IP (EAL) to a single drive are limited by 2 at the same time.
This means when you are connected via ctrlX WORKS and your app using EAL at same time, you will not be able to connect with your second app.
Regards
10-12-2022 10:13 AM
10-12-2022 10:17 AM
I am using a ctrlX core and I am trying to connect to a "HCS01.1E-W0009-A-02-A-CC-EC-ET-NN-NN-FW". Is this what you meant?
Best
Johannes
10-12-2022 10:54 AM
I think what they mean is that you cant connect with ctrlX Drive Engineering and two snap's as that would make up three connections.
And also, it would mean that if you use both EAL connections in the snaps it wont be possible to connect to the drive with ctlrX Drive Engineering.
10-12-2022 11:06 AM
I don't understand. Am I using ctrlX Drive Engineering and where can I find it?
Best
Johannes
10-12-2022 02:17 PM
Okey, maybe you are using IndraWorks Ds or IndraWorks Engineering, but the same points about three connections apply.
10-12-2022 02:31 PM
Thank you very much! I was running IndraWorks and closing itseems to have solved the problem. Strange, that I never experienced this before the core20 update...
Best
Johannes
10-19-2022 06:15 PM
Another solution might be to use the Drives App (DCA) on the CORE to map the reachable drives into the datalayer and then use the ctrlX Data Layer .NET API to communicate with the drives. Because the DCA is then the only instance doing IP communcation with the drives, the number of clients is not limited.