From c77552eef8269480bb0f14b667ad78bc7109d4c5 Mon Sep 17 00:00:00 2001 From: Max Ortiz Catalan Date: Tue, 19 Jul 2016 17:46:47 +0200 Subject: [PATCH] last minute fixe on the recording session when using NI devices --- SigRecordings/RecordingSession.m | 1 + 1 file changed, 1 insertion(+) 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