Hi,
I encountered an error
failed to set double feature value ExposureTime to 130000, error: [ExposureTime] [ExposureTimeValConv] [ExposureTimeRawReg] GigEVision write_memory error (access-denied)
and would like to know what kind of condition will trigger GigEVision write_memory error?
I am trying to use arv_camera_set_float
function to set the ExposureTime.
More details: The camera that we use is iRayple, and the model is A7500CG20E
.
I had been trying plugging/unplugging the camera, plugging/unplugging the power of ethernet the camera is connected to, rebooting the controller that the camera is connected to, and also manipulating the iptables to enable/disable the gvcp port to make the camera connected/disconnected repeatedly in order to reproduce this error.
However, all above efforts failed to regenerate the issue.
This issue is seen once in a while (a month or several weeks), does anyone have any idea why this is happening and how can we solve it?
@Emmanuel Hi, is there anyone who can help with this? Any help is appreciated, thanks in advance.
Hi,
A denied access is normally the indication your application lost the camera controller privilege. This privilege is maintained by aravis by reading a register every second in a dedicated thread. The camera has a configurable timeout (a few seconds by default) after which the current controller will lost its privilege, which will happen if aravis fails to read the register in time.
After the write error happen, does the next writes fail ?
How do you recover from this issue ?
Hi, thank you for the response!
Yes, the next writes also failed after the write error happened.
I was able to recover by power cycling the controller and restarting the application.
I saw you mentioned there is a configurable timeout in the camera, could you please tell me which and how I can configure that? Maybe it’s too short right now for the application.
Thank you in advance.
Best,
KuanYu
It depends on your camera. Could be GevHeartbeatTimeout
or DeviceLinkHeartbeatTimeout
, or something else…
Thank you very much.
I believe it is GevHeartbeatTimeout
for iRayple camera.