Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet Server with VBAI 3.5

Hello,

 

I have already some problem with triggering the inspection and selecting the inspection by TCP.

 

I have different solution. I could use 2 differents socket (1 for Select Inspection and 1 for Triggering the inspection). I think VBAI 3.5 is not able to support 2 master or 2 slave TCP Ethernet device. 

 

I have tried to use 1 master and 1 slave. This solution is working one time, and no more.... I have tried to restart the application, the computer, but It doesn't work anymore.

 

First question : VBAI 3.5 is able to work with 2 master or 2 slave Ethernet device ??????

 

Second question : VBAI 3.5 is able to work with 1 master and 1 slave Ethernet device ??????

 

Third question : When I send 3 bytes after opening the port from my application (C++), VBAI takes approximatively 10 seconds to receive those 3 bytes. After this the connection is working well.

 

Thank you in advance for this answer.

 

F.Michel

0 Kudos
Message 1 of 6
(3,972 Views)

Hello Mr Michel,

 

I tried to figure out, what exactly the problem is, but it is not really clear to me.

 

To select the inspection you'll find a descriptionif you go to View > View Complete Setup > Select Inspection

 

 What do you mean by "I have tried to use 1 master and 1 slave"? VBAI can be set up as master or slav, but there can be only one master and multiple slaves.

 

Maybe you could tell me a little more about your application and post some example project so I can understand your problem a little bit better.

Andreas Stark
LabVIEW Lead @ Rocket Factory Augsburg
0 Kudos
Message 2 of 6
(3,932 Views)

Hello AndreaS,

 

Sorry if I'm not very clear.

 

Ok. I would configure VBAI to be one master and one slave. I need two different TCP communication between the vision system and the complete machine.

 

I have tried to use one TCP communication for the select inspection and another TCP communication for triggering the acquisition. But this solution didn't work.

 

My question is : VBAI is able to work with one master and one slave TCP device together ????

 

Regards,

 

F.Michel

0 Kudos
Message 3 of 6
(3,930 Views)
So you have two applications that communicate with VBAI over TCP/IP? One application is a Master and VBAI is the slave and for the second application VBAI should be the master and the application is the slave?
Andreas Stark
LabVIEW Lead @ Rocket Factory Augsburg
0 Kudos
Message 4 of 6
(3,926 Views)

Correct, but there is not TWO applications but only ONE with two socket opened.

 

Did you know if VBAI is able to manage an application like this ?

 

Regards,


F.Michel

0 Kudos
Message 5 of 6
(3,924 Views)

You should be able to configure two TCP connections, one as master, one as slave in Tool > Communication device manager.

 

Let me knwo if that solves the problem.

Andreas Stark
LabVIEW Lead @ Rocket Factory Augsburg
0 Kudos
Message 6 of 6
(3,922 Views)