I have found a way to make this work by starting a second thread where the camera is monitored and a frame is read, independent from the thread where the trigger is sent.
This works, but only a single time.
If the camera is started again after being closed camera.close()
, the SDK causes the computer to crash when started again...