Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add textblock for Camera Information #728

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions .github/ISSUE_TEMPLATE/1-support-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ body:

- type: textarea
attributes:
label: "Hardware setup & camera model(s) used"
label: "Host setup used"
description: >
List the camera model names involved in this support request.
Describe your hardware setup including, e.g.,:

* PC or embedded system model/type:
Expand All @@ -54,6 +53,29 @@ body:
validations:
required: true

- type: textarea
attributes:
label: "Camera(s) used"
description: >
List your Camera(s), especially the DeviceFirmwareVersion.
The below command will output all the required information.
```python
import pypylon.pylon as py

tl_factory = py.TlFactory.GetInstance()
for dev in tl_factory.EnumerateDevices():
dev: py.DeviceInfo
print(dev.GetFriendlyName())
try:
camera = py.InstantCamera(tl_factory.CreateDevice(dev))
camera.Open()
print(camera.DeviceFirmwareVersion.Value)
camera.Close()
except (py.LogicalErrorException, py.RuntimeException) as error:
print(f"Error reading camera info: {error}")

validations:
required: true

- type: textarea
attributes:
Expand Down