Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

storing images on smart camera target

correction- camera ip is 169.254.0.2 port 502.
0 Kudos
Message 21 of 23
(1,256 Views)

There's your problem...

 

You have a single network interface and it is currently assigned a (likely) DHCP address in 10.90.30.x network. You have attached the camera to the same network interface but the camera is not using DHCP but rather has a fixed address in the 169.254.x.x link-local address space. This configuration will not really work since the devices are in two separate subnets and don't know they can talk to each other.

 

It is likely "sort of" working because your system has a routing table entry that sends traffic destined to "169.254.x.x" out your default interface, so the packets will actually still go out. This routing entry is likely added by Apple's Zeroconf/Bonjour client on your PC per their interpretation of some of the various RFCs (lots of software installs this client, and NI installs a copy too if you have VISA installed). However, the camera itself does not have a routing table entry to the 10.90.30.x subnet and thus it is likely not able to properly establish the 2-way TCP connection. In general this network configuration does not really work.

 

What you need to do is either connect the camera directly to your PC so that your system chooses a link-local address automatically as well (since no DHCP will be present) and then matches networks with the camera, or change the camera to use DHCP as well so it is on the same network as the PC.

 

Hope this helps,
Eric 

Message 22 of 23
(1,249 Views)
Cheese, your explanation is way over my head. But I have been able to send a start inspection command to it and receive a pass/fail from it using Active X controls, which I'm just beginning to learn about. Looks like the only thing I can't do is upload files to it, but I can probably get around that by including files in the inspection and loading them into the camera via VBAI. Thank you much for the help.
0 Kudos
Message 23 of 23
(1,237 Views)