harvesters
harvesters copied to clipboard
Node values are not updated
Describe the Issue I trying to get temperature from a camera every X seconds. However, I always get the same value (that was correct at the moment of the connection to the camera) despite the fact that the temperature changes all the time.
To Reproduce Try to read a dynamic node such as temperature and see if the values are indeed different.
Sample Code
with Harvester() as h:
...
ia = h.create()
white True:
print(ia.remote_device.node_map.get_node("Temperature_Sensor").value)
# it will always print the same value, even though the true value (temperature) changes.
- [x] Yes
- [ ] No
If yes, please provide a sample code: See above.
Expected Behavior I would expect to see the value changes, however, it is kept "frozen". Namely, all the prints above will print the same temperature (correct only on the first reading).
Screenshots NA.
Configuration
- OS: Ubuntu 22.04
- Python: 3.8
- Harvester: 1.4.2
- GenTL Producer: MATRIX VISION GmbH
- Camera: Specim FX17
Reproducibility
This phenomenon can be stably reproduced:
- [x] Yes
- [ ] No.
If applicable, please provide your observation about the reproducibility.
Actions You Have Taken
- [x] I've read the Harvester FAQ page.
Additional context NA