Closed daykin closed 12 months ago
Closed via #23
../ADAravis.cpp:404:84: error:‘arv_gv_device_leave_control’ not defined?
You need a more recent release of aravis 8.
I followed the instrcution from https://areadetector.github.io/areaDetector/ADGenICam/ADGenICam.html#installing-aravis git clone https://github.com/AravisProject/aravis cd aravis/ git checkout ARAVIS_0_8_1 Mybe it need to be updated.
I added a note to the ADAravis RELEASE.md for R2-3: https://github.com/areaDetector/ADAravis/blob/master/RELEASE.md
This release requires aravis version ARAVIS_0_8_3 or higher, because that is when arv_gv_leave_control() was added.
I also changed the documentation for installing aravis in ADGenICam, to recommend using the latest release, and 0.8.3 as a minimum. https://areadetector.github.io/areaDetector/ADGenICam/ADGenICam.html#installing-aravis
On our Imaging Source cameras, hitting ARResetCamera when the camera is already initialized and connected results in a degraded state where the camera cannot be controlled. The only remedy I have found at this point is to restart the camera.
to reproduce:
The cause (I think): the GigE channel control privilege register is not reset when ARResetCamera is toggled and
makeCameraObject()
is called. Therefore, the new device instance comes back without control of the camera.Proposed solution: relinquish control of the channel if we have an existing camera, that camera is a GigEVision device, and we have client control of the device.