diff --git a/SigRecordings/RecordingSession.m b/SigRecordings/RecordingSession.m index 7d47d59..ff7a372 100644 --- a/SigRecordings/RecordingSession.m +++ b/SigRecordings/RecordingSession.m @@ -474,6 +474,7 @@ % NI DAQ card: "You must delete the listener once the operation is complete" if strcmp(ComPortType,'NI'); + error=0; if ~s.IsDone % check if is done s.wait(); end