cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Problem with parallel EAL connections

Problem with parallel EAL connections

jellinger
New Poster

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

 
I can successfully ping the drive from both snaps. When I still was running core18, the problem did not occur. 
 
What am I missing here?
 
Best
Johannes Ellinger
9 REPLIES 9

Drives_Uwe
Community Moderator
Community Moderator

To get a better picture, could you please tell what exact components you are using!

RexCode
Long-established Member

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

I am not running ctrlX WORKS but have attached a screenshot of all installed apps. Is there another app which might cause the issue? "measurement-module" and "excitation-module" are my own snaps with an EAL connection each. 

Best

Johannes

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

AndreasL
Long-established Member

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.

 

I don't understand. Am I using ctrlX Drive Engineering and where can I find it? 

Best

Johannes

AndreasL
Long-established Member

Okey, maybe you are using IndraWorks Ds or IndraWorks Engineering, but the same points about three connections apply.

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

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.

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist