Open MasIgor opened 1 year ago
Most likely a bandwith problem. Starting two cameras takes up a lot of bandwith. Could you try lowering the framerate and increase the reservedbandwith setting to at least 50% and see if that makes a difference?
@MathijsNL sorry, have been removed from the project until today. why do you think it is a bandwith problem? on other projects we start 4 cameras.. also its a 2.5 mpx camera. I will try it anyways.. how can I increase the reserved bandwidth?
Thank you for your help!
Hi @tanzerlana,
Let's assume you are using a 1920 x 1200 camera with 8 bit per pixel the camera will consume 2.304.000 bytes per frame. A typical camera of this resolution using GigE will have about 40FPS. 40 x 2.304.000 = 92.160.000 bytes per second.
Gigabit network has a maximum of 125.000.000 bytes. That is why I think you are having a bandwidth problem. If you would set the framerate to 20FPS per camera it might work, assuming it is indeed a bandwidth problem.
# Either decrease FPS
ia1.remote_device.node_map.AcquisitionFrameRate.value = 20
ia2.remote_device.node_map.AcquisitionFrameRate.value = 20
# Or increase BandwidthReserve (or both, up to you)
ia1.remote_device.node_map.BandwidthReserve.value = 60
ia2.remote_device.node_map.BandwidthReserve.value = 60
Please check your bandwidth usage after starting 1 camera. Even if you don't actively use the frames, the harvester will use a lot of bandwidth because it will grab all available frames at the specified framerate.
Let me know if this solves your problem.
Hi all!
I have two cameras, that I would like to get a image of. (below my code) if I start the first, get the image, stop it and then start the second it works, but if I start them both and try to get the images of both, it just hangs and does not continue working. what am I doing wrong?
any help appreciated.
below my not working code.