diff --git a/Resources/NeuropixAPI_x64_3_62_1.dll b/Resources/NeuropixAPI_x64_3_62_1.dll deleted file mode 100644 index 456fe25..0000000 Binary files a/Resources/NeuropixAPI_x64_3_62_1.dll and /dev/null differ diff --git a/Source/Basestations/Basestation_v3.cpp b/Source/Basestations/Basestation_v3.cpp index d0be582..60b4078 100644 --- a/Source/Basestations/Basestation_v3.cpp +++ b/Source/Basestations/Basestation_v3.cpp @@ -337,7 +337,7 @@ void Basestation_v3::setSyncAsInput() { LOGC("Failed to set sync on SMA input on slot: ", slot); } - + /* errorCode = Neuropixels::setParameter(Neuropixels::NP_PARAM_SYNCMASTER, slot); if (errorCode != Neuropixels::SUCCESS) { @@ -350,6 +350,7 @@ void Basestation_v3::setSyncAsInput() { LOGC("Failed to set slot ", slot, "SMA as sync source!"); } + */ errorCode = Neuropixels::switchmatrix_set(slot, Neuropixels::SM_Output_StatusBit, Neuropixels::SM_Input_PXISYNC, true); if (errorCode != Neuropixels::SUCCESS) @@ -379,7 +380,7 @@ Array Basestation_v3::getSyncFrequencies() void Basestation_v3::setSyncAsOutput(int freqIndex) { - + /* errorCode = Neuropixels::setParameter(Neuropixels::NP_PARAM_SYNCMASTER, slot); if (errorCode != Neuropixels::SUCCESS) { @@ -403,6 +404,7 @@ void Basestation_v3::setSyncAsOutput(int freqIndex) LOGC("Failed to set slot ", slot, " sync frequency to ", freq, " Hz!"); return; } + */ LOGD("Setting sync as output..."); diff --git a/Source/Basestations/OneBox.cpp b/Source/Basestations/OneBox.cpp index 18fa2ea..99995b8 100644 --- a/Source/Basestations/OneBox.cpp +++ b/Source/Basestations/OneBox.cpp @@ -291,6 +291,7 @@ void OneBox::setSyncAsInput() LOGC("Failed to set sync on SMA input on slot: ", slot); } + /* errorCode = Neuropixels::setParameter(Neuropixels::NP_PARAM_SYNCMASTER, slot); if (errorCode != Neuropixels::SUCCESS) { @@ -303,6 +304,7 @@ void OneBox::setSyncAsInput() { LOGC("Failed to set slot ", slot, "SMA as sync source!"); } + */ errorCode = Neuropixels::switchmatrix_set(slot, Neuropixels::SM_Output_StatusBit, Neuropixels::SM_Input_SMA1, true); if (errorCode != Neuropixels::SUCCESS) @@ -319,7 +321,7 @@ Array OneBox::getSyncFrequencies() void OneBox::setSyncAsOutput(int freqIndex) { - + /* errorCode = Neuropixels::setParameter(Neuropixels::NP_PARAM_SYNCMASTER, slot); if (errorCode != Neuropixels::SUCCESS) { @@ -343,6 +345,7 @@ void OneBox::setSyncAsOutput(int freqIndex) LOGC("Failed to set slot ", slot, " sync frequency to ", freq, " Hz!"); return; } + */ LOGD("Setting sync as output...");