You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Onix1::showWarningMessageBoxAsync("Unable to Create ONIX Source Folder",
1255
+
"The plugin was unable to create a recording directory at '" + dir.getFullPathName().toStdString() + "'. No Probe Interface files will be saved for this recording, please stop recording and determine why the directory could not be created.");
1256
+
return;
1257
+
}
1258
+
}
1259
+
1260
+
for (constauto& device : devicesWithProbeInterface)
1261
+
{
1262
+
if (device->getDeviceType() == OnixDeviceType::NEUROPIXELSV1E || device->getDeviceType() == OnixDeviceType::NEUROPIXELSV1F)
1263
+
{
1264
+
auto npx = std::static_pointer_cast<Neuropixels1>(device);
1265
+
auto streamName = npx->createStreamName(); // NB: Create the automatic stream name, without any suffixes and including the port name
1266
+
1267
+
auto streamExists = dataStreamExists(streamName, sn->getDataStreams());
1268
+
1269
+
if (!streamExists)
1270
+
return;
1271
+
1272
+
if (!npx->saveProbeInterfaceFile(dir, streamName))
0 commit comments