Closed StokesMIDE closed 10 months ago
When the batch MAT exporter is used in enDAQ Lab, it fails due to this line in matfile.py: https://github.com/MideTechnology/idelib/blob/7b0e0deebbda09b58f47a2ff79802ec71dd5e1b4/idelib/matfile.py#L736 The intention is to add the time to the start of the array. This worked in earlier versions in which the data (v) were tuples. Now that it's Numpy arrays, this just adds the timestamp to each column. It should be something like this:
matfile.py
v
matfile.writeRow(np.append([createTime + t], v))
There may be other places where + is used to concatenate tuples/lists. These should be sought out.
+
Note: this only affects batch exporting in enDAQ Lab.
When the batch MAT exporter is used in enDAQ Lab, it fails due to this line in
matfile.py
: https://github.com/MideTechnology/idelib/blob/7b0e0deebbda09b58f47a2ff79802ec71dd5e1b4/idelib/matfile.py#L736 The intention is to add the time to the start of the array. This worked in earlier versions in which the data (v
) were tuples. Now that it's Numpy arrays, this just adds the timestamp to each column. It should be something like this:There may be other places where
+
is used to concatenate tuples/lists. These should be sought out.Note: this only affects batch exporting in enDAQ Lab.