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

Key does not exist cam.properties #36

Open
madhusudangr opened this issue Oct 16, 2017 · 0 comments
Open

Key does not exist cam.properties #36

madhusudangr opened this issue Oct 16, 2017 · 0 comments

Comments

@madhusudangr
Copy link

Key not found error in when trying to set cam.properties . The others seems to work fine, does anyone have any idea about this ?

>>> cam.properties['ExposureTime']
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "cython\factory.pyx", line 87, in pypylon.cython.factory._PropertyMap.__getitem__
KeyError: 'Key does not exist'

>>> cam.properties['DeviceLinkThroughputLimitMode']
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "cython\factory.pyx", line 87, in pypylon.cython.factory._PropertyMap.__getitem__
KeyError: 'Key does not exist'

The above two throws an error, while this works

>>> import pypylon
>>> pypylon.pylon_version.version
'5.0.10.build_10613'
>>> available_cameras =pypylon.factory.find_devices()
>>> available_cameras
[<DeviceInfo Basler acA1300-60gc (xxxxxxx)>]
>>> cam = pypylon.factory.create_device(available_cameras[0])
>>> cam.opened
False
>>> cam.open()
>>> cam.grab_images(1)
<generator object at 0x00000xxxxxxxxxx>

Does anyone have a clue what is happening ?

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