Skip to main content
Submitted by vlovo on Mon, 07/03/2017 - 07:10

Setup:

2x DMC 1425 connected over Ethernet Controler IPs are 10.0.41.2 and 10.0.41.4 and corosponding two network cards 10.0.41.1 and 10.0.41.3

I use the API from galil1.dll Version 1.6.4.578

The Problem is that I always can connect to controler A , but not reliable to controler B.

I got the exception : 5004 OPEN ERROR. Galil::Galil() failed to open Ethernet host 10.0.41.4

That means for example , if I start my application the second time both controlers are connected. The next time I start only one controler gets connected.

Do I have to change my network configuration ? Is the galil1.dll capable of hosting two or more objects refering to different IPs ?

Tx in advance

Comments 1

troym_galil on 07/17/2017 - 11:56

I would suggest you take a look at gclib our newest API as the galil1.dll is a prior generation API. I know gclib works great at connecting to multiple controllers.

You would use two GOpen() functions, one for each of your controllers.

http://www.galil.com/downloads/api