PyPylon icon indicating copy to clipboard operation
PyPylon copied to clipboard

Key is not writable

Open noe-tiger opened this issue 7 years ago • 0 comments

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 ?

noe-tiger avatar Dec 14 '17 10:12 noe-tiger