AlexShkarin/pyLabLib

Exposure time in Basler camera broken

Opened this issue · 3 comments

exp=self.get_attribute_value("ExposureTimeAbs",error_on_missing=False)

Getting setting exposure time does not work.
My camera has a "ExposureTime" attribute but not "ExposureTimeAbs", as the get all config shows.

If I remove the "Abs", I can get / set the exposure time.

Cameras are Basler Dart daA1280-54um and daA2500-14um

By the way, Basler offers their own wrapper, which might reduce your maintanence effort:

https://github.com/basler/pypylon

Thanks for pointing out the issue! I will fix it in the next release.

I also noticed, that the methods get_roi and set_roi of BaslerPylonCamera do not match the superclass IROICamera definition.
The Basler's methods only handle the roi without binning (4 parameters), while the IROICamera handles roi and binning (6 parameters).