Skip to content

ia.fetch(is_raw=True) buffer queue #506

Description

@juhanih-work

I have used fetch(is_raw=False) earlier and handled the data with python and the buffer is released manually with the queue() method.

Now I am unable to queue the buffer with ia.fetch(is_raw=True) which returns a genicam.gentl.Buffer object that doesn't have a queue() method or at least I have not found a way to do that. The documentation for is_raw=true says that I have to manipulate the buffer myself but I have no clue how to release it.

If I try to use the with-statement for ia.fetch(), I get "AttributeError: enter".

Configuration

  • OS: Linux
  • Python: 3.10.12
  • Harvester: 1.4.3
  • GenTL Producer: basler pylon 8.1.0
  • Camera: basler a2A2048-114umbas

This phenomenon can be stably reproduced:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions