From 424417aab9c52c98acae85d38fc2c8b4f41654e2 Mon Sep 17 00:00:00 2001 From: Chris Esposito Date: Wed, 27 Dec 2017 14:39:56 +1100 Subject: [PATCH] DAQ Files store mode variable --- Desktop_Interface/isobuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Desktop_Interface/isobuffer.cpp b/Desktop_Interface/isobuffer.cpp index 94c9fe4e..5edfce3a 100644 --- a/Desktop_Interface/isobuffer.cpp +++ b/Desktop_Interface/isobuffer.cpp @@ -228,7 +228,7 @@ void isoBuffer::enableFileIO(QFile *file, int samplesToAverage, qulonglong max_f //Add the header char headerLine[256]; - sprintf(headerLine, "EspoTek Labrador DAQ V1.0 Output File\nAveraging = %d\n", samplesToAverage); + sprintf(headerLine, "EspoTek Labrador DAQ V1.0 Output File\nAveraging = %d\nMode = %d\n", samplesToAverage, virtualParent->driver->deviceMode); currentFile->write(headerLine); //Set up the isoBuffer for DAQ