07-31-2011 08:54 PM - edited 07-31-2011 09:03 PM
I am using two Sentech GigE (STC-GE500A) cameras. For the most part the cameras runs fine but I am loosing a lot of data packets; my code is attached. Using information from this forum I have
1. Enable jumbo packets on network card
2. Change bandwidth
3. Change packet size
But none seems to eliminate packet loss. I get the same result even when I have the two camera on separate or on the same network card.
08-01-2011 04:03 AM
Hi aderogba,
The lost of data packets may have been atributed by the timing delay that you have inserted in the acquisition loop as well as combination with not enough memory buffer to contain the amount of frame acquired within the delay time.
Try to lower down the timing delay that you put into the acquisition loop and may also want to increase the number of buffer allocated in the "NI IMAQdx Configure Acquisition".
Let me know the result of your experiment.
Regards
08-02-2011 06:24 AM
Thanks for your response. I am still experimenting with changing the timing loop delay and number of buffer. One observation I have so far is that each time I try to increase the number of buffer above 21 I get "out of memory error". Do you know why?
08-03-2011 03:40 AM
Hi Aderogba,
Your camera is 15fps with 5M pixel of either 8-12 bits data. This would easily translate to 10M per image size. The out of memory size may be because you don't have enough memory in the computer to create more than 21 image buffer.
Should you keep the number of buffer to 20 and lower down the timing loop delay, did you see any decrease in number of dropped images?
Regards
08-04-2011 11:32 AM
The number of dropped images do descrease but didn't stop the problem altogether. Everything works fine for about 5-10min then the vi begins to drop images/packets.
08-05-2011 06:37 PM
Hi aderogba,
Do you still loose packets if you only run one camera? I know you mentioned that you get the same result when you have the two cameras on separate or on the same network card, but I am not sure whether you are running them at the same time. Additionally, have you tried to acquire images at a slower frame rate? Does this still loose packets or increase the amount of time before you start loosing packets? Another thing to check would be to lower the packet size within Measurement and Automation Explorer. It is possible that you network card does not support sending such large packets. Thanks!
Kim
08-11-2011 10:11 PM
With one camera the image is fine, there is no packet loss even when I let the VI run for extended period of time. I have not systematically adjust the frame rate and packet. I will do this and send update about my findings. Do you gave recommendation for network card? Thanks.
08-12-2011 05:41 PM
We don't have any official recommendations for network cards. Really, just about any network card will work. Let us know what you've found when modifying these settings.
08-14-2011 09:59 PM
Hi Aderogba,
Glad to hear that the issue is getting better.