Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOC stops collecting images from the camera #2

Open
AbdallaDalleh opened this issue Oct 15, 2023 · 4 comments
Open

IOC stops collecting images from the camera #2

AbdallaDalleh opened this issue Oct 15, 2023 · 4 comments

Comments

@AbdallaDalleh
Copy link

Hi

OS: Rocky Linux 8.6
EPICS base: 3.15.6
Support modules: master branches for all.
Pylon SDK: 7.3

Out of no where, the driver stops collecting images from the camera even if it is connected and "Acquire" on, the IOC shell shows the error message in ADPylon.cpp:485. To resolve it, I have to restart the IOC.

@xiaoqiangwang
Copy link
Collaborator

It can only mean the camera stops sending image data. Will the Stop/Start cycle be able to recover, instead of IOC restart?

@AbdallaDalleh
Copy link
Author

That's the problem, stop/start does not recover, only an IOC restart. What's more problematic is that it is not reproducible, sometimes it happens on 3M+ frames collected sometimes on few 100Ks. Even across cameras the behavior is different.

@AbdallaDalleh
Copy link
Author

I just found out that MTU size (GevSCPSPacketSize) was set to 576 bytes, this caused us similar problem in the past, I set it to 1500 and the camera is working fine for 3 days. Are their certain circumstances that need MTU to be 9000?

@xiaoqiangwang
Copy link
Collaborator

From https://docs.baslerweb.com/network-configuration-(gige-cameras)

Using jumbo frames is important for reducing the overhead and the CPU load. The bigger the frame size, the less CPU interrupts are generated and thus, the lower the CPU load.

And

Basler 5GigE or GigE cameras and the recommended network adapters can both handle jumbo frames. For maximum network efficiency, your camera should be configured to use the largest packet size that your network can handle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants