Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

vision builder / TCP Server Problem

Hi,
 
I'm trying to use NI smart cameras and Vision builder to build an inspection and send the inspected values to another computer on the network by TCP. I set the other computer as the server and the camera is the client. When I start the inspection on the VB program, I can get the data by using TCP server VI that I prepared to get the string data from the network. One fix that I have to make is to start the TCP server on the "comunication device manager".
 
What I need to do is to start the inspection when I launch the camera. When I tried to do that, I could not receive the data over the network by using the TCP server VI. I assume the problem is about the TCP server option not being on.
 
So the question is if my assumption for the source of the problem is correct, and if it is correct, what might be the solution?
 
Thanks,
Barlas
0 Kudos
Message 1 of 2
(3,231 Views)
Hi Barlas,

That is a good question.  You might try placing a wait in the initial startup to allow the TCP server to start up.
Wes Pierce
Principal Engineer
Pierce Controls
0 Kudos
Message 2 of 2
(3,212 Views)