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

IMAQdxCamera manual_mode_camera_attributes should not be limited to those in Basler_camera_imaqdx_attributes #68

Open
ispielma opened this issue Sep 15, 2020 · 0 comments

Comments

@ispielma
Copy link
Contributor

Consider the call:

IMAQdxCamera(name='MOT_x',
parent_device=MOT_Camera_Trigger,
connection='trigger',
trigger_edge_type='rising',
orientation = 'MOT_x',
serial_number=0x3053162459,
camera_attributes=Basler_camera_imaqdx_attributes,
manual_mode_camera_attributes=Basler_manual_mode_imaqdx_attributes,
stop_acquisition_timeout=10,
exception_on_failed_shot=False)

right now everything in Basler_manual_mode_imaqdx_attributes must also be in Basler_camera_imaqdx_attributes. This is a bug because some options are only allowed based on other settings. For example:

Basler_manual_mode_imaqdx_attributes = {
'CameraAttributes::AcquisitionTrigger::AcquisitionMode': 'Continuous',
'CameraAttributes::AcquisitionTrigger::TriggerMode': 'Off',
'CameraAttributes::AcquisitionTrigger::ExposureMode': 'Timed',

'CameraAttributes::AcquisitionTrigger::ExposeTimeRaw': 8000,

}

The option 'CameraAttributes::AcquisitionTrigger::ExposeTimeRaw' can only be set if 'CameraAttributes::AcquisitionTrigger::ExposureMode' is set to time 'Timed', but for my shot use 'Trigger Width'. This implies that the key 'CameraAttributes::AcquisitionTrigger::ExposeTimeRaw' cannot be present at all in Basler_camera_imaqdx_attributes, leading to the reported bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant