Skip to content

Key is not writable #39

@noe-tiger

Description

@noe-tiger

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions