81 int iSamplingFrequency,
86 bool bWriteDriverDebugToFile,
87 QString sOutputFilePath,
88 bool bUseCommonAverage,
89 bool bMeasureImpedance)
92 if(m_pTMSIDriver->initDevice(iNumberOfChannels,
98 bWriteDriverDebugToFile,
107 m_bIsRunning =
false;
116 m_bIsRunning =
false;
119 m_pTMSI->m_pRawMatrixBuffer_In->releaseFromPush();
121 while(this->isRunning())
122 m_bIsRunning =
false;
125 m_pTMSIDriver->uninitDevice();
133 MatrixXf matRawBuffer(m_pTMSI->m_iNumberOfChannels, m_pTMSI->m_iSamplesPerBlock);
139 if(m_pTMSIDriver->getSampleMatrixValue(matRawBuffer))
140 m_pTMSI->m_pRawMatrixBuffer_In->push(&matRawBuffer);
TMSIProducer(TMSI *pTMSI)
virtual void start(int iNumberOfChannels, int iSamplingFrequency, int iSamplesPerBlock, bool bUseChExponent, bool bUseUnitGain, bool bUseUnitOffset, bool bWriteDriverDebugToFile, QString sOutputFilePath, bool bUseCommonAverage, bool bMeasureImpedance)
Contains the declaration of the tmsidriver class. This class implements the basic communication betwe...
Contains the declaration of the TMSI class.
The TMSI class provides a EEG connector. In order for this plugin to work properly the driver dll "RT...
The TMSIDriver class provides real time data acquisition of EEG data with a TMSi Refa device...
Contains the declaration of the TMSIProducer class.