Skip to content

Frames of GigE camera are inaccessible  #132

@mlix11

Description

@mlix11

Setup:

  • Virtual machine (KVM) with ubuntu14.04, ubuntu16.04, ubuntu 18.04 and debian 9
  • NIC is bridged, so every virtual machine has a own IP
  • Only one virtual machine is running
  • Camera: GigE acA1920 - 25gc
  • pylon 5.0.12 and 5.2

Issue:
I am able to connect and configure the camera on every linux OS, but my script only receives images on ubuntu 14.04.
Through wireshark I found out, that the camera is sending the images back to the system with the IP 0.0.0.0. Unfortunate it looks like, every OS above 14.04 is dropping the packages. My concern is, that newer kernel versions are dropping UDP packages, which don't have an IP.

Is it possible to set the destination IP, so it is sending to a valid IP and not to 0.0.0.0? I tried it with the standard genicam parameter, but it didn't worked.

identifier = str(self.configuration["identifier"])
factory = pylon.TlFactory.GetInstance()

ptl = factory.CreateTl("BaslerGigE")
device_info = ptl.CreateDeviceInfo()
device_info.SetPropertyValue("IpAddress", camera_ip)
camera_device = factory.CreateFirstDevice(device_info)
camera = pylon.InstantCamera(camera_device)
camera.Open()
camera.GetNodeMap().GetNode("GevSCDA").SetValue(int(ipaddress.ip_address("host_ip")))

I always get a pylon.TimeoutHandling_ThrowException. Is there some "hack" to solve this? Because pylonviewer is working in the VMs. Be aware, that I will not able to connect via serial number.

Thank you.

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