harvesters
harvesters copied to clipboard
Unexplainable error
Describe the Issue I am observing a strange error on my Specim FX17 camera. When trying to set OffsetX, the SW raises an exception saying that the maximal value is 0 (no offset). This is strange because we have already used a non-zero offset on this very camera just a day ago. Nothing has changed since then. In fact, when we tried first to set this offset, we got this error, but somehow it disappeared. And now appeared again....
Traceback (most recent call last):
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/neolithics/nx/code/streaming/video_streaming/video_input_stream.py", line 222, in _readloop_wrapper
self._readloop(self) # Could avoid using self using Python descriptors
File "/home/neolithics/nx/code/streaming/video_streaming/linescan_input_stream.py", line 108, in _readloop
set_genicam_values(self._initial_genicam_settings, ia.remote_device.node_map, self._stream_id,
File "/home/neolithics/nx/code/streaming/video_streaming/common.py", line 33, in set_genicam_values
node.set_value(v)
File "/home/neolithics/nx/venv38/lib/python3.8/site-packages/genicam/genapi.py", line 2354, in set_value
self._primal_set_value(value, verify)
File "/home/neolithics/nx/venv38/lib/python3.8/site-packages/genicam/genapi.py", line 2270, in _primal_set_value
return _genapi.IInteger__primal_set_value(self, Value, Verify)
_genapi.OutOfRangeException: Value = 192 must be equal or smaller than Max = 0. : OutOfRangeException thrown in node 'OffsetX' while calling 'OffsetX.SetValue()' (file 'IntegerT.h', line 79)