-
Notifications
You must be signed in to change notification settings - Fork 206
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
I want to read temperatures at different parts of the camera but it is not possible #754
Comments
would you check with pylon viewer if the node DeviceTemperatureSelector has got the entry sensor? |
Yes, the entry is there in the pylon viewer and it's selectable |
Its a little bit tricky: The Sensor State is "Standby" after wakeup, but must be "On" to read out the temperature. |
Describe what you want to implement and what the issue & the steps to reproduce it are:
I want to read temperatures at different parts of the camera at runtime, but it looks like the temperature can only be read from the default spot (which is 'Coreboard'). If I change the value of cap.DeviceTemperatureSelector it will crash.
Here is some example code of the working configuration:
Output:
If I uncomment the line
cap.DeviceTemperatureSelector.Value = 'Sensor'
however I get the following Output:I got it running by using
cap.StopGrabbing()
before reading the temperature andcap.StartGrabbing()
afterwards, but this does horrible things to the framerate.Is your camera operational in Basler pylon viewer on your platform
Yes
Hardware setup & camera model(s) used
Camera: a2A5328-15ucBAS
CPU: Apple M2 Pro
OS: macOS Ventura (13.5)
RAM: 32GB
Interface: USB 3.1 (I don't know the specifics of the interface card)
Hubs: Yes, USB-A 3.1 to USB-C 3.1 Hub
Cable: 1m USB 3.1 Cable
Runtime information:
The text was updated successfully, but these errors were encountered: