Skip to main content

Module runtime

Module runtime 

Source
Expand description

Pylon runtime lifecycle management.

Most callers do not need this module — the runtime initializes automatically on the first call to enumerate_devices, create_first_device, or create_device, and shuts down when the last InstantCamera or DeviceInfo is dropped.

Use this module when you need explicit control: early initialization, keeping the runtime alive between handle lifetimes, or deterministic teardown.

Structs§

RuntimeGuard
Keeps the Pylon runtime alive for explicit lifecycle management.

Functions§

init
Explicitly initializes the Pylon runtime and returns a guard that keeps it alive until dropped.
shutdown
Explicitly terminates the Pylon runtime.
version
Returns the version of the loaded Pylon runtime.