Hi, In my quest to use Aravis on MacOS to develop our in-house tools, I found the project Cocaravis. The last checkin used 0.6. I worked on updating it to 0.8.5 and it now compiles and run. Many of the calls work but some fails with some strange error.
In particular in the following code
- (CoAAcquisitionProperty *)frameRateProperty
{
if (! arv_camera_is_frame_rate_available(_arvCamera, &global_error))
return nil;
CoAFrameRateAcquisitionProperty *frm = [CoAFrameRateAcquisitionProperty new];
frm.name = aquisitionPropertyNameString[propertyIndexFrameRate];
frm.camera = self;
frm.unit = @"fps";
double min, max;
arv_camera_get_frame_rate_bounds(_arvCamera, &min, &max, &global_error);
frm.min = min;
frm.max = max;
frm.currentValue = arv_camera_get_frame_rate(_arvCamera, &global_error);
frm.valueAuto = autoNotImplemented;
return frm;
}
The call to arv_camera_get_frame_rate_bounds succeeds but the one to arv_camera_get_frame_rate fails with the message
"GigEVision write_register error (access-denied)"
and the console spews
... arv_gc_float_get_value: assertion 'error == NULL || *error == NULL' failed
Newbie alert. This is my first foray in GigE stuff and the concept of access control of register escapes me. If you have pointers where I can educate myself… they are welcome.
MacOS 10.15.7,
aravis 0.8 installed by brew
FLIR-Blackfly S BFS-PGE-31S4M