Skip to content

Simple way to check if camera is connected #817

Open
@YacobBY

Description

@YacobBY

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

Hello I am looking for a simple way to check whether the camera is still connected.
Using camera.GetDeviceInfo() methods does not appear to return errors when the camera is disconnected.

Is your camera operational in Basler pylon viewer on your platform

Yes

Hardware setup used

X86 pc

Camera(s) used

This code does not run because imports miss.
But 'acA1920-25gm'

Runtime information:

python: 3.11.11 (main, Dec  4 2024, 08:55:07) [GCC 11.4.0]
platform: linux/x86_64/5.19.8-xanmod1
pypylon: 4.0.0 / 8.0.0.10

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