Skip to content

Commit

Permalink
Update from 3.3.1 to 3.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-foy committed Jul 9, 2024
1 parent 63e1b29 commit 946dea6
Show file tree
Hide file tree
Showing 228 changed files with 814 additions and 481 deletions.
4 changes: 2 additions & 2 deletions Engine/API/Abstract/abstractrhxcontroller.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
6 changes: 3 additions & 3 deletions Engine/API/Abstract/abstractrhxcontroller.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down Expand Up @@ -214,7 +214,7 @@ class AbstractRHXController

virtual int findConnectedChips(vector<ChipType> &chipType, vector<int> &portIndex, vector<int> &commandStream,
vector<int> &numChannelsOnPort, bool synthMaxChannels = false, bool returnToFastSettle = false,
bool usePreviousDelay = false, int selectedPort = 0, int lastDetectedChip = -1) = 0;
bool usePreviousDelay = false, int selectedPort = 0, int lastDetectedChip = -1, int lastDetectedNumStreams = -1) = 0;

int pipeReadError() const { return pipeReadErrorCode; }

Expand Down
10 changes: 7 additions & 3 deletions Engine/API/Hardware/rhxcontroller.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down Expand Up @@ -1733,7 +1733,7 @@ void RHXController::uploadCommandList(const vector<unsigned int> &commandList, A
// of USB bus bandwidth.
int RHXController::findConnectedChips(vector<ChipType> &chipType, vector<int> &portIndex, vector<int> &commandStream,
vector<int> &numChannelsOnPort, bool /* synthMaxChannels */, bool returnToFastSettle,
bool usePreviousDelay, int selectedPort, int lastDetectedChip)
bool usePreviousDelay, int selectedPort, int lastDetectedChip, int lastDetectedNumStreams)
{
int returnValue = 1; // return 1 == everything okay
int maxNumStreams = maxNumDataStreams();
Expand Down Expand Up @@ -1895,6 +1895,10 @@ int RHXController::findConnectedChips(vector<ChipType> &chipType, vector<int> &p
int convertedPortIndex = (int) (2 * selectedPort);
optimumDelay[convertedPortIndex] = previousDelay;
chipTypeOld[convertedPortIndex] = (ChipType) lastDetectedChip;
if (lastDetectedChip == RHS2116Chip && lastDetectedNumStreams == 2) {
optimumDelay[convertedPortIndex + 1] = previousDelay;
chipTypeOld[convertedPortIndex + 1] = (ChipType) lastDetectedChip;
}
if (lastDetectedChip == RHD2164Chip) {
optimumDelay[convertedPortIndex + 1] = previousDelay;
chipTypeOld[convertedPortIndex + 1] = RHD2164MISOBChip;
Expand Down
7 changes: 4 additions & 3 deletions Engine/API/Hardware/rhxcontroller.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down Expand Up @@ -122,7 +122,8 @@ class RHXController : public AbstractRHXController

int findConnectedChips(vector<ChipType> &chipType, vector<int> &portIndex, vector<int> &commandStream,
vector<int> &numChannelsOnPort, bool = false, bool returnToFastSettle = false,
bool usePreviousDelay = false, int selectedPort = 0, int lastDetectedChip = -1) override;
bool usePreviousDelay = false, int selectedPort = 0, int lastDetectedChip = -1,
int lastDetectedNumStreams = -1) override;

// Physical board only
static void resetBoard(okCFrontPanel* dev_);
Expand Down
4 changes: 2 additions & 2 deletions Engine/API/Hardware/rhxdatablock.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
4 changes: 2 additions & 2 deletions Engine/API/Hardware/rhxdatablock.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
8 changes: 4 additions & 4 deletions Engine/API/Hardware/rhxglobals.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down Expand Up @@ -46,7 +46,7 @@ const int HASHMARKLENGTH = 5;
// Software version number (e.g., version 1.3.5)
#define SOFTWARE_MAIN_VERSION_NUMBER 3
#define SOFTWARE_SECONDARY_VERSION_NUMBER 3
#define SOFTWARE_TERTIARY_VERSION_NUMBER 1
#define SOFTWARE_TERTIARY_VERSION_NUMBER 2

enum ControllerType {
ControllerRecordUSB2 = 0,
Expand Down Expand Up @@ -227,7 +227,7 @@ const uint32_t TCPSpikeMagicNumber = 0x3ae2710f;
const QString OrganizationName = "Intan Technologies";
const QString OrganizationDomain = "intantech.com";
const QString ApplicationName = "IntanRHX";
const QString ApplicationCopyrightYear = "2020-2023";
const QString ApplicationCopyrightYear = "2020-2024";

const QString SoftwareVersion = QString::number(SOFTWARE_MAIN_VERSION_NUMBER) + "." +
QString::number(SOFTWARE_SECONDARY_VERSION_NUMBER) + "." +
Expand Down
4 changes: 2 additions & 2 deletions Engine/API/Hardware/rhxregisters.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
4 changes: 2 additions & 2 deletions Engine/API/Hardware/rhxregisters.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
7 changes: 4 additions & 3 deletions Engine/API/Synthetic/playbackrhxcontroller.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down Expand Up @@ -201,7 +201,8 @@ int PlaybackRHXController::getNumSPIPorts(bool &expanderBoardDetected)
int PlaybackRHXController::findConnectedChips(vector<ChipType>& /* chipType */, vector<int>& /* portIndex */,
vector<int>& /* commandStream */, vector<int>& /* numChannelsOnPort */,
bool /* synthMaxChannels */, bool /* returnToFastSettle */,
bool /* usePreviousDelay */, int /* selectedPort */, int /* lastDetectedChip */)
bool /* usePreviousDelay */, int /* selectedPort */, int /* lastDetectedChip */,
int /* lastDetectedNumStreams */)
{
return 1;
}
Expand Down
6 changes: 3 additions & 3 deletions Engine/API/Synthetic/playbackrhxcontroller.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down Expand Up @@ -108,7 +108,7 @@ class PlaybackRHXController : public AbstractRHXController

int findConnectedChips(vector<ChipType> &chipType, vector<int> &portIndex, vector<int> &commandStream,
vector<int> &numChannelsOnPort, bool synthMaxChannels = false, bool returnToFastSettle = false,
bool usePreviousDelay = false, int selectedPort = 0, int lastDetectedChip = -1) override;
bool usePreviousDelay = false, int selectedPort = 0, int lastDetectedChip = -1, int lastDetectedNumStreams = -1) override;

private:
unsigned int numWordsInFifo() override;
Expand Down
4 changes: 2 additions & 2 deletions Engine/API/Synthetic/randomnumber.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
4 changes: 2 additions & 2 deletions Engine/API/Synthetic/randomnumber.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
4 changes: 2 additions & 2 deletions Engine/API/Synthetic/synthdatablockgenerator.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
4 changes: 2 additions & 2 deletions Engine/API/Synthetic/synthdatablockgenerator.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
6 changes: 3 additions & 3 deletions Engine/API/Synthetic/syntheticrhxcontroller.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down Expand Up @@ -216,7 +216,7 @@ int SyntheticRHXController::getNumSPIPorts(bool &expanderBoardDetected)
// of USB bus bandwidth.
int SyntheticRHXController::findConnectedChips(vector<ChipType> &chipType, vector<int> &portIndex, vector<int> &commandStream,
vector<int> &numChannelsOnPort, bool synthMaxChannels, bool returnToFastSettle,
bool usePreviousDelay, int selectedPort, int lastDetectedChip)
bool usePreviousDelay, int selectedPort, int lastDetectedChip, int lastDetectedNumStreams)
{
int maxNumStreams = maxNumDataStreams();
int maxSPIPorts = maxNumSPIPorts();
Expand Down
6 changes: 3 additions & 3 deletions Engine/API/Synthetic/syntheticrhxcontroller.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down Expand Up @@ -108,7 +108,7 @@ class SyntheticRHXController : public AbstractRHXController

int findConnectedChips(vector<ChipType> &chipType, vector<int> &portIndex, vector<int> &commandStream,
vector<int> &numChannelsOnPort, bool synthMaxChannels = false, bool returnToFastSettle = false,
bool usePreviousDelay = false, int selectedPort = 0, int lastDetectedChip = -1) override;
bool usePreviousDelay = false, int selectedPort = 0, int lastDetectedChip = -1, int lastDetectedNumStreams = -1) override;

private:
unsigned int numWordsInFifo() override;
Expand Down
4 changes: 2 additions & 2 deletions Engine/Processing/DataFileReaders/datafile.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
4 changes: 2 additions & 2 deletions Engine/Processing/DataFileReaders/datafile.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
4 changes: 2 additions & 2 deletions Engine/Processing/DataFileReaders/datafilemanager.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
4 changes: 2 additions & 2 deletions Engine/Processing/DataFileReaders/datafilemanager.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
4 changes: 2 additions & 2 deletions Engine/Processing/DataFileReaders/datafilereader.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
4 changes: 2 additions & 2 deletions Engine/Processing/DataFileReaders/datafilereader.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
4 changes: 2 additions & 2 deletions Engine/Processing/DataFileReaders/fileperchannelmanager.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
4 changes: 2 additions & 2 deletions Engine/Processing/DataFileReaders/fileperchannelmanager.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//------------------------------------------------------------------------------
//
// Intan Technologies RHX Data Acquisition Software
// Version 3.3.1
// Version 3.3.2
//
// Copyright (c) 2020-2023 Intan Technologies
// Copyright (c) 2020-2024 Intan Technologies
//
// This file is part of the Intan Technologies RHX Data Acquisition Software.
//
Expand Down
Loading

0 comments on commit 946dea6

Please sign in to comment.