Skip to content

get_frame() fails and crashes Python #57

@kailiang777

Description

@kailiang777

Hi!

I have been having this problem with PyVCam for a month or two, and any help would be greatly appreciated. I am using a Teledyne Kinetix camera, and the PVCam Test app work great, but I cannot get any Python script using PyVCam to run. I am using the Anaconda Command Prompt (through the administrator). When I run cam.get_frame() or any action involving camera operation, the python terminal pauses, and then shuts down. All the tests in test_camera.py pass.

From previous posts (comment #47), I did install an older version of Build Tools 17.2, and put in the D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR flag, but these problems still persisted. Thanks again! All the technical specs of the set-up are down below:

Windows: 11 Pro
PVCAM Release: 3.10.1
PVCam SDK: 3.10.0
Camera Model: Teledyne Kinetix
Visual Studio version: Visual Studio Build Tools 2022 LTSC 17.2
Python Version: 3.9.15

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