aravis
aravis copied to clipboard
Issues changing feature values of a Pleora camera
Hi, I am having some issues controlling a Pleora based camera with Aravis.
At the begining I was not able to receive any buffer after sending the AcquisitionStart command to the camera. This was fixed by forcing the legacy behaviour modifying the register_workaround_check and make it always return TRUE as suggested in another thread (https://github.com/AravisProject/aravis/blob/master/src/arvgcport.c#L80).
Now I am able to receive images, however, I am still having issues setting some feature values. Specifically, I am trying to modify the Windowing feature (Enum: w128x128, w64x64, w32x32, w1x128), which changes the size of the image. By default Windowing=w128x128 with an image size of 128x128.
I run the following command to set Windowing=w64x64 and retrieve the Width feature to check that it is correct:
$ arv-tool control Width Windowing Windowing=w64x64 Windowing Width New Infrared Technologies Ltd.-Tachyon 16k Camera-117D3FF (192.168.0.167) Width = 128 (min:8;max:128) Windowing = w128x128 Windowing = w64x64 Windowing = w64x64 Width = 128 (min:8;max:64)
As you see Windowing is set correctly, but the Width value should be automatically set to 64 and it is not. See attached the complete log file when debugging output.log. This feature works properly with the Pleora SDK.
If I run again the same command I get the following behavior:
./arv-tool control Width Windowing Windowing=w64x64 Windowing Width New Infrared Technologies Ltd.-Tachyon 16k Camera-117D3FF (192.168.0.167) Width = 64 (min:8;max:128) Windowing = w128x128 Windowing = w64x64 Windowing = w64x64 Width = 64 (min:8;max:64)