Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

different ximea cameras have different behaviours when setting exposure above max #7

Open
carandraug opened this issue Nov 3, 2020 · 0 comments
Labels

Comments

@carandraug
Copy link
Contributor

When setting the camera exposure time with a value above the maximum exposure time of the camera, different cameras behave differently. One xiC will clip the value, while another xiQ will raise an error. This has been reported to ximea (it's ticket number 56174 on their internal ticket system).

With this code:

from ximea import xiapi

c = xiapi.Camera()
c.open_device()
print('maximum: ', c.get_exposure_maximum())
print('current: ', c.get_exposure())

c.set_exposure(c.get_exposure_maximum() + 1000)
print('after set above maximum: ', c.get_exposure())

c.start_acquisition()
print('after starting acquisition: ', c.get_exposure())

c.stop_acquisition()
c.close_device()

our xiC Model:MC023MG-SY-UB SN:CAMAU2018044 FwF1:01.25 API:V4.21.18.00 , returns:

maximum:  30000000.0
current:  38.0
after set above maximum:  30000998.0
after starting acquisition:  29999998.0

while our xiQ Model:MQ042MG-CM SN:23082950 FwF1: API:V4.21.18.00, raises an error:

maximum:  1000000.0
current:  28.0
Traceback (most recent call last):
[...]
ximea.xiapi.Xi_error: ERROR 11: Invalid arguments supplied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant