Open simonmichel1996 opened 6 months ago
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. During "StartGrabbing", the Sensor switch implicit to "On", but during acquisition, the temperature value of the image-sensor is not readable. So you have to stop the grabbing before sensor temperature readout. See also: https://docs.baslerweb.com/sensor-state.html
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: