Skip to content

Commit

Permalink
Merge pull request #728 from HighImp/topic/add_fw_to_template
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernrennfanz authored Nov 23, 2024
2 parents 1ea75b1 + 640bcbd commit 1d15252
Showing 1 changed file with 24 additions and 2 deletions.
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: "Hardware 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

0 comments on commit 1d15252

Please sign in to comment.