Skip to content

Software triggerd multi camera capture - Pixel format currently not supported #844

@yairhs

Description

@yairhs

Describe what you want to implement and what the issue & the steps to reproduce it are:

Hello,

I running a multicamera setup. all cameras are Basler ace acA5472-5gm.
Cameras are connected to a Basler GigE Interface Card, 4 Port PoE.
Cameras are software triggered.
I occusianly get "Pixel format currently not supported" errors during grabbing.
This can happen after ~1000 captures. But can also happen multiple times in a raw.

I have a different PC using a Basler 5GigE Interface Card, 4 Port PoE+ with the same code where I dont see this error.

This is asnippet of my code:

  try:
      grab = cam.RetrieveResult(4000, pylon.TimeoutHandling_ThrowException)
      if not grab.GrabSucceeded:
          err = grab.GetErrorDescription()
          self.logger.error("Grab failed on %s: %s", cid, err)
          grab.Release()
          raise RuntimeError(err)
    
      # Extract image and metadata
      img = grab.GetArray()
      w, h = grab.GetWidth(), grab.GetHeight()
      ox, oy = grab.GetOffsetX(), grab.GetOffsetY()
      grab.Release()

This is the error:

  File "pypylon\pylon.py", line 167, in func_wrapper
  File "pypylon\pylon.py", line 2250, in GetArray
  File "pypylon\pylon.py", line 167, in func_wrapper
  File "pypylon\pylon.py", line 2232, in GetImageFormat
ValueError: Pixel format currently not supported

Is there a way to minimize this type of errors?
Is this a hardware issue?

Thank you

Is your camera operational in Basler pylon viewer on your platform

Yes

Hardware setup used

PC
Win 11
X64

Camera(s) used

Basler ace acA5472-5gm

Runtime information:

python: 3.12.8 (main, Jan 14 2025, 22:49:36) [MSC v.1942 64 bit (AMD64)]
platform: win32/AMD64/11
pypylon: 4.1.0 / 9.0.3.215

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