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 is not writable #39

Open
noe-tiger opened this issue Dec 14, 2017 · 0 comments
Open

Key is not writable #39

noe-tiger opened this issue Dec 14, 2017 · 0 comments

Comments

@noe-tiger
Copy link

noe-tiger commented Dec 14, 2017

Hi, i am trying to change some of the camera parameters like the 'DecimationVertical'
Here is my code :

cam = pypylon.factory.create_device(device_name)
cam.open()
cam.properties['PixelFormat'] = 'Mono8'
cam.properties['DecimationVertical'] = 2
cam.close()

It gave me this error :

File "mypath/test.py", line 4
cam.properties['DecimationVertical'] = 2
File "cython\factory.pyx", line 123, in pypylon.cython.factory._PropertyMap.setitem
OSError: Key is not writable

Does anyone have an idea for doing this ?

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