ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Error when conneced over network

Solved!
Go to solution

Hey guys,

 

I have been using two basler cameras to perform vision acquisition and has worked fine the last two months while in development, however i have now started to deploy this on two other machines in the workplace and have conected over the network, i can ick up the cameras but i cannot acquire images it tells me the camera did not receive a test packet,the test packet size might be too large for network configuration or firewall is enabled. my test acket size was 4000. I have changed no settings so i am confused as to why now it does not work. The firewall was always disabled. Any suggestions welcome

 

Damien

0 Kudos
Message 1 of 7
(4,600 Views)

I have decreased the packet size from 4000 to 1500 and increased the inter packet delay and i get the image in pylon viewer but when i try to acquire an image in labview or MAX it tells me Attribute value is out of range.

Camera attributes transport layer::SCBWRA where is this and how do i change it to get it within range?

 

 

Damien

0 Kudos
Message 2 of 7
(4,597 Views)
Solution
Accepted by topic author Damien129

Hi Damien,

 

If you are now connectong the cameras over a corporate network rather than directly, it is likely that you are hitting issues with jumbo frames (>1500 bytes) not being passed through the network infrastructure. Jumbo frames are non-standard and most networking equipment disables them by default, if it even supports it at all.

 

Firstly, I would suggest trying reducing the packet size to 1500 bytes and see if it fixes the issue. If it does, then you know it is related to packet size and not anything else such as firewalls. Then you can perhaps talk with your network administrator and see if there is any way that jumbo frames can be enabled on your network for better performance of GigE Vision.

 

Eric

Message 3 of 7
(4,596 Views)
Thanks Eric,initially the acquisition would not work with both the labview and the pylon viewer however I changed the packet size from 4000 to 1500 and it worked for the pylon viewer but not for labview i will try change/enable jumbo frames and see if this works

Regards

Damien
0 Kudos
Message 4 of 7
(4,588 Views)

Hi,

 

I have changed the jumbo frames and have a setting of 1500 for the packet size and it worked fine when i connected directly but now since i am connected over the network the image i acquire is a broken green image. Any suggestions how to fix this.

 

Damien

0 Kudos
Message 5 of 7
(4,576 Views)

Does it have to be connected through the company network?  There is probably a lot of non-camera data moving around on the company network, so it is probably messing things up.  I always set up my DAQ or vision systems on their own network to avoid the problem.  Vision systems especially send a lot of data over the network, using a large percentage of the bandwidth at full speed.

 

Are you trying to do continuous, high speed acquisition, or just snapping a frame every now and then?  I would try snapping a single image to see if that works, then work your way up from low speed (1 frame/sec) to whatever you need.

 

Can you check your percentage of bandwidth use when connected directly?

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 6 of 7
(4,573 Views)

It is on the company network at present, currently i use 192.168.0.1and 192.168.0.3 for my 2 cameras and i get the images fine, with the other address 10.1.1.199 for cam1 is the company address where i get the green images. My bandwidth reserve is 0, the bandwidth reserve accumulation is 1 with the assigned bandwidth at 125000000 this was preset bby the pylon viewer software. These settings work fine with the 192 ip address

 

I will be taking continous images for the most part.

 

Damien

0 Kudos
Message 7 of 7
(4,571 Views)