thanks for your answer, yes i know but I have to open it outside the while loop and close it outside, I would need to close the file in the logging state. After logging the daq gets again in the recording state and writes a new logging file, so i would never go out of the while loop.
↧