Browse Source

Some critical declaration related to probe detach while scanning is considered.

Arash Aletayeb 12 months ago
parent
commit
7ea83ccde2
  1. 1
      developHw.pro
  2. 2
      developHw.pro.user
  3. 45
      include/model/hardware/core/lowLevelApi/TrxBoard.h
  4. 9
      include/model/hardware/core/lowLevelApi/TrxBoardUtils/TrxBoardStructures.h
  5. 48
      include/model/hardware/core/lowLevelApi/TrxBoardUtils/e2promFormat.h
  6. 889
      mainwindow.cpp
  7. 113
      mainwindow.h
  8. 1859
      mainwindow.ui
  9. 269
      src/model/hardware/core/lowLevelApi/TrxBoard.cpp

1
developHw.pro

@ -25,6 +25,7 @@ SOURCES += \
$$files(hdf5Scenario/*.cpp, true) \
HEADERS += \
include/model/hardware/core/lowLevelApi/TrxBoardUtils/e2promFormat.h \
mainwindow.h \
qcustomplot.h \
api.h \

2
developHw.pro.user

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.10.0, 2023-11-05T16:53:16. -->
<!-- Written by QtCreator 4.10.0, 2023-12-04T19:32:47. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>

45
include/model/hardware/core/lowLevelApi/TrxBoard.h

@ -30,7 +30,7 @@
#include "TrxBoardUtils/ScenParamsRanges.h"
#include "TrxBoardUtils/PreProcessorDef.h"
#include "TrxBoardUtils/TrxBoardEnums.h"
#include "TrxBoardUtils/e2promFormat.h"
#include "model/scenarioGenerator/core/general/Calculation.h"
#include "model/hardware/service/HardwarePacketEngine.h"
@ -43,18 +43,6 @@
#define LOGGER_SAMPLE_CNT 2048U
#define BITE_INTERVAL 0x0
#define EEPROM_CRC_BEGIN 0U
#define EEPROM_CRC_NUMBER 19U
#define EEPROM_ID_BEGIN 19U
#define EEPROM_ID_NUMBER 2U
#define EEPROM_INFO_BEGIN 30U
#define EEPROM_INFO_NUMBER 100U
#define EEPROM_IMPULSE_RESPONSE_BEGIN 428U
#define EEPROM_IMPULSE_RESPONSE_NUMBER 1024U
#define EEPROM_NO_ERROR 0x0
#define EEPROM_CRC_ERROR 0x1
class TrxBoard : public QObject
{
Q_OBJECT
@ -231,6 +219,7 @@ public:
void scenPlayerStart(bool afeHvPwrOn = false);
void scenPlayerStop(bool afeHvPwrOff = false);
//void scenPlayerPause (bool pause) const;
bool isScenarioStart() const;
void setFramesMetaData(const QByteArray& metaData);
void setMChangeParams(SramTx* tx, SramRx* rx) const;
@ -265,18 +254,40 @@ public:
quint32 deviceId(void) const;
quint32 vendorId(void) const;
QByteArray trxRomHeader(void) const;
QByteArray trxRomId(void) const;
QByteArray trxRomPid(void) const;
QByteArray trxRomPcbVersion(void) const;
QByteArray trxRomSerialNo(void) const;
QByteArray trxRomFirstMbedCode(void) const;
QByteArray trxRomSecondMbedCode(void) const;
void trxState(EepromStatus& romStatus) const;
QByteArray mpsRomHeader(void) const;
QByteArray mpsRomId(void) const;
QByteArray mpsRomPid(void) const;
QByteArray mpsRomPcbVersion(void) const;
QByteArray mpsRomSerialNo(void) const;
QByteArray mpsRomFirstMbedCode(void) const;
QByteArray mpsRomSecondMbedCode(void) const;
void mpsState(EepromStatus& romStatus) const;
QByteArray prbCtrlRomHeader(void) const;
QByteArray prbCtrlRomId(void) const;
QByteArray prbCtrlRomPid(void) const;
QByteArray prbCtrlRomPcbVersion(void) const;
QByteArray prbCtrlRomSerialNo(void) const;
void prbCtrlState(EepromStatus& romStatus) const;
void selectedPrbState(EepromStatus& romStatus, eSelectProbe prbSel) const;
void prbState(PrbCase* prb) const;
QString trxInfo(void) const;
QString mpsInfo(void) const;
QString prbCtrlInfo(void) const;
QByteArray selectedPrbImpulseResponse(quint8 prbSel) const;
void prbImpulseResponse(ConnectedPrbInfo* prbInfo) const;
// QString trxInfo(void) const;
// QString mpsInfo(void) const;
// QString prbCtrlInfo(void) const;
void supervisorRbValue(SupervisorRbValue* sValue) const;
void mpsFaultStatus(MpsFaultStatus* faultStatus) const;
void mpsPwrOn() const;

9
include/model/hardware/core/lowLevelApi/TrxBoardUtils/TrxBoardStructures.h

@ -34,7 +34,14 @@ struct HealthStatus
struct EepromStatus
{
eConnectionMode ConnectionMode;
quint32 id;
quint32 header;
quint16 id;
quint16 pid;
quint16 pcbVersion;
quint32 boardSerialNumber;
quint32 firstMbedCodeVersion;
quint32 secondMbedCodeVersion;
quint16 crc16;
quint8 errorCode;
};

48
include/model/hardware/core/lowLevelApi/TrxBoardUtils/e2promFormat.h

@ -0,0 +1,48 @@
#ifndef E2PROMFORMAT_H
#define E2PROMFORMAT_H
#include <QObject>
#define EEPROM_HEADER_BEGIN 0U
#define EEPROM_HEADER_NUMBER 3U
#define EEPROM_ID_BEGIN 19U
#define EEPROM_ID_NUMBER 2U
#define EEPROM_PID_BEGIN 21U
#define EEPROM_PID_NUMBER 2U
#define EEPROM_PCB_VERSION_BEGIN 23U
#define EEPROM_PCB_VERSION_NUMBER 2U
#define EEPROM_BOARD_SERIAL_NO_BEGIN 25U
#define EEPROM_BOARD_SERIAL_NO_NUMBER 4U
#define EEPROM_FIRST_MBED_CODE_VERSION_BEGIN 29U
#define EEPROM_FIRST_MBED_CODE_VERSION_NUMBER 4U
#define EEPROM_SECOND_MBED_CODE_VERSION_BEGIN 33U
#define EEPROM_SECOND_MBED_CODE_VERSION_NUMBER 4U
#define EEPROM_INFO_BEGIN 30U
#define EEPROM_INFO_NUMBER 100U
#define EEPROM_IMPULSE_RESPONSE_BEGIN 428U
#define EEPROM_IMPULSE_RESPONSE_NUMBER 1024U
#define EEPROM_CRC_BEGIN 0U
#define EEPROM_CRC_NUMBER 19U
#define EEPROM_NO_ERROR 0x0
#define EEPROM_CRC_ERROR 0x1
const QByteArray headerArray = QByteArray::fromHex("AA55F0");
const quint32 trxId = 0x1030;
const quint32 prbCntlId = 0x1020;
const quint32 mpsId = 0x1010;
const quint32 pid = 0x0001;
#endif // E2PROMFORMAT_H

889
mainwindow.cpp

File diff suppressed because it is too large

113
mainwindow.h

@ -151,6 +151,27 @@ private:
PrbCase* _prb;
eSelectProbe currentSelectedPrb;
bool trxIdWrEn;
bool trxPidWrEn;
bool trxPcbVesionWrEn;
bool trxSerialNoWrEn;
bool trxMasterCodeVersionWrEn;
bool trxSlaveCodeVersionWrEn;
bool prbCtrlIdWrEn;
bool prbCtrlPidWrEn;
bool prbCtrlPcbVesionWrEn;
bool prbCtrlSerialNoWrEn;
bool mpsIdWrEn;
bool mpsPidWrEn;
bool mpsPcbVesionWrEn;
bool mpsSerialNoWrEn;
bool mpsUcCodeVersionWrEn;
bool mpsSupCodeVersionWrEn;
void setScenarioCompare(const QString& scenPath);
void timeout();
@ -173,7 +194,7 @@ private:
QByteArray str2ByteArray (QString& str);
QString uint2IdString (quint32& id);
QString uint2IdString (quint16& id);
QString byteArray2InfoString (QByteArray& arr);
@ -211,6 +232,8 @@ private:
void logButtonsEnable (bool Enable);
bool scenarioStartPermission();
QString _fpgaProgramFolder = "/home/hasis/Desktop/hardware/hwCode";
QString _mcsProgramFolder = "/home/hasis/Desktop/hardware/hwCode";
QString _mcsVerifyFolder = "/home/hasis/Desktop/hardware/hwCode";
@ -340,31 +363,25 @@ private slots:
void on_btn_setIdx_clicked();
void on_btn_trxRomInfoWrite_clicked();
void on_btn_trxRomIdWrite_clicked();
void on_btn_mpsRomIdWrite_clicked();
void on_btn_mpsRomInfoWrite_clicked();
// void on_btn_trxRomInfoWrite_clicked();
void on_btn_prbCtrlRomIdWrite_clicked();
// void on_btn_mpsRomInfoWrite_clicked();
void on_btn_prbCtrlRomInfoWrite_clicked();
// void on_btn_prbCtrlRomInfoWrite_clicked();
void on_btn_prbRomImpulseRead_clicked();
void on_btn_trxRomIdRead_clicked();
void on_btn_trxRomId_clicked();
void on_btn_trxRomInfoRead_clicked();
// void on_btn_trxRomInfoRead_clicked();
void on_btn_mpsRomIdRead_clicked();
void on_btn_mpsRomId_clicked();
void on_btn_mpsRomInfoRead_clicked();
// void on_btn_mpsRomInfoRead_clicked();
void on_btn_prbCtrlRomIdRead_clicked();
void on_btn_prbCtrlRomId_clicked();
void on_btn_prbCtrlRomInfoRead_clicked();
// void on_btn_prbCtrlRomInfoRead_clicked();
void on_btn_prbRomIdRead_clicked();
@ -438,15 +455,15 @@ private slots:
void on_chk_clearTrxRom_clicked(bool checked);
void on_chk_writeCrcTrxRom_clicked(bool checked);
void on_chk_writeHeaderTrxRom_clicked(bool checked);
void on_chk_clearMpsRom_clicked(bool checked);
void on_chk_writeCrcMpsRom_clicked(bool checked);
void on_chk_writeHeaderMpsRom_clicked(bool checked);
void on_chk_clearPrbCtrlRom_clicked(bool checked);
void on_chk_writeCrcPrbCtrlRom_clicked(bool checked);
void on_chk_writeHeaderPrbCtrlRom_clicked(bool checked);
void prbRead (const QString& prbSelData, qint32 prbSel);
@ -472,6 +489,64 @@ private slots:
void on_btn_spiVerify_clicked();
void on_chk_trxIdWrEn_clicked(bool checked);
void on_chk_trxPidWrEn_clicked(bool checked);
void on_btn_trxRomPid_clicked();
void on_chk_trxPcbVersionWrEn_clicked(bool checked);
void on_btn_trxRomPcbVersion_clicked();
void on_chk_trxSerialNumberWrEn_clicked(bool checked);
void on_btn_trxRomSerialNumber_clicked();
void on_chk_trxMasterCodeVersionWrEn_clicked(bool checked);
void on_btn_trxRomMasterCodeVersion_clicked();
void on_chk_trxSlaveCodeVersionWrEn_clicked(bool checked);
void on_btn_trxRomSlaveCodeVersion_clicked();
void on_chk_prbCntlIdWrEn_clicked(bool checked);
void on_chk_prbCntlPidWrEn_clicked(bool checked);
void on_btn_prbCntlRomPid_clicked();
void on_chk_prbCntlPcbVersionWrEn_clicked(bool checked);
void on_btn_prbCntlRomPcbVersion_clicked();
void on_chk_prbCntlSerialNumberWrEn_clicked(bool checked);
void on_btn_prbCntlRomSerialNumber_clicked();
void on_chk_mpsIdWrEn_clicked(bool checked);
void on_chk_mpsPidWrEn_clicked(bool checked);
void on_btn_mpsRomPid_clicked();
void on_chk_mpsPcbVersionWrEn_clicked(bool checked);
void on_btn_mpsRomPcbVersion_clicked();
void on_chk_mpsSerialNumberWrEn_clicked(bool checked);
void on_btn_mpsRomSerialNumber_clicked();
void on_chk_mpsUcCodeVersionWrEn_clicked(bool checked);
void on_btn_mpsRomUcCodeVersion_clicked();
void on_chk_mpsSupCodeVersionWrEn_clicked(bool checked);
void on_btn_mpsRomSupCodeVersion_clicked();
signals:
void showMessage(QString message);
void threeDReady();

1859
mainwindow.ui

File diff suppressed because it is too large

269
src/model/hardware/core/lowLevelApi/TrxBoard.cpp

@ -1546,6 +1546,11 @@ void TrxBoard::scenPlayerStop(bool afeHvPwrOff)
}
}
bool TrxBoard::isScenarioStart() const
{
return this->_scenPlayer->control.getCommand();
}
//void TrxBoard::scenPlayerPause(bool pause) const
//{
//this->_scenPlayer->control.pause(pause);
@ -1638,70 +1643,234 @@ quint32 TrxBoard::vendorId() const
{
auto vid = this->_bCtrlMngt->getVid();
return vid;
return vid;
}
QByteArray TrxBoard::trxRomHeader() const
{
return(this->_bCtrlMngt->trxEepromRead(EEPROM_HEADER_BEGIN, EEPROM_HEADER_NUMBER));
}
QByteArray TrxBoard::trxRomId() const
{
return(this->_bCtrlMngt->trxEepromRead(EEPROM_ID_BEGIN, EEPROM_ID_NUMBER));
}
QByteArray TrxBoard::trxRomPid() const
{
return(this->_bCtrlMngt->trxEepromRead(EEPROM_PID_BEGIN, EEPROM_PID_NUMBER));
}
QByteArray TrxBoard::trxRomPcbVersion() const
{
return(this->_bCtrlMngt->trxEepromRead(EEPROM_PCB_VERSION_BEGIN, EEPROM_PCB_VERSION_NUMBER));
}
QByteArray TrxBoard::trxRomSerialNo() const
{
return(this->_bCtrlMngt->trxEepromRead(EEPROM_BOARD_SERIAL_NO_BEGIN, EEPROM_BOARD_SERIAL_NO_NUMBER));
}
QByteArray TrxBoard::trxRomFirstMbedCode() const
{
return(this->_bCtrlMngt->trxEepromRead(EEPROM_FIRST_MBED_CODE_VERSION_BEGIN, EEPROM_FIRST_MBED_CODE_VERSION_NUMBER));
}
QByteArray TrxBoard::trxRomSecondMbedCode() const
{
return(this->_bCtrlMngt->trxEepromRead(EEPROM_SECOND_MBED_CODE_VERSION_BEGIN, EEPROM_SECOND_MBED_CODE_VERSION_NUMBER));
}
void TrxBoard::trxState(EepromStatus& romStatus) const
{
QByteArray header;
QByteArray id;
QByteArray crcChk;
QByteArray pid;
QByteArray pcbVersion;
QByteArray serialNo;
QByteArray firstMbedCode;
QByteArray secondMbedCode;
QByteArray crc16;
romStatus.ConnectionMode = connected;
romStatus.errorCode = EEPROM_NO_ERROR;
header = trxRomHeader();
romStatus.header = byteArray2UintBigEndian<quint32>(header);
id = this->_bCtrlMngt->trxEepromRead(EEPROM_ID_BEGIN, EEPROM_ID_NUMBER);
id = trxRomId();
romStatus.id = byteArray2UintBigEndian<quint16>(id);
crcChk = this->_bCtrlMngt->trxEepromRead(EEPROM_CRC_BEGIN, EEPROM_CRC_NUMBER);
if(crcChk == _eepromCrc)
{
romStatus.errorCode = EEPROM_NO_ERROR;
}
else
{
romStatus.errorCode = EEPROM_CRC_ERROR;
}
pid = trxRomPid();
romStatus.pid = byteArray2UintBigEndian<quint16>(pid);
pcbVersion = trxRomPcbVersion();
romStatus.pcbVersion = byteArray2UintBigEndian<quint16>(pcbVersion);
serialNo = trxRomSerialNo();
romStatus.boardSerialNumber = byteArray2UintBigEndian<quint32>(serialNo);
firstMbedCode = trxRomFirstMbedCode();
romStatus.firstMbedCodeVersion = byteArray2UintBigEndian<quint32>(firstMbedCode);
secondMbedCode = trxRomSecondMbedCode();
romStatus.secondMbedCodeVersion = byteArray2UintBigEndian<quint32>(secondMbedCode);
// crcChk = this->_bCtrlMngt->trxEepromRead(EEPROM_CRC_BEGIN, EEPROM_CRC_NUMBER);
// if(crcChk == _eepromCrc)
// {
// romStatus.errorCode = EEPROM_NO_ERROR;
// }
// else
// {
// romStatus.errorCode = EEPROM_CRC_ERROR;
// }
}
QByteArray TrxBoard::mpsRomHeader() const
{
return(this->_bCtrlMngt->mpsEepromRead(EEPROM_HEADER_BEGIN, EEPROM_HEADER_NUMBER));
}
QByteArray TrxBoard::mpsRomId() const
{
return(this->_bCtrlMngt->mpsEepromRead(EEPROM_ID_BEGIN, EEPROM_ID_NUMBER));
}
QByteArray TrxBoard::mpsRomPid() const
{
return(this->_bCtrlMngt->mpsEepromRead(EEPROM_PID_BEGIN, EEPROM_PID_NUMBER));
}
QByteArray TrxBoard::mpsRomPcbVersion() const
{
return(this->_bCtrlMngt->mpsEepromRead(EEPROM_PCB_VERSION_BEGIN, EEPROM_PCB_VERSION_NUMBER));
}
QByteArray TrxBoard::mpsRomSerialNo() const
{
return(this->_bCtrlMngt->mpsEepromRead(EEPROM_BOARD_SERIAL_NO_BEGIN, EEPROM_BOARD_SERIAL_NO_NUMBER));
}
QByteArray TrxBoard::mpsRomFirstMbedCode() const
{
return(this->_bCtrlMngt->mpsEepromRead(EEPROM_FIRST_MBED_CODE_VERSION_BEGIN, EEPROM_FIRST_MBED_CODE_VERSION_NUMBER));
}
QByteArray TrxBoard::mpsRomSecondMbedCode() const
{
return(this->_bCtrlMngt->mpsEepromRead(EEPROM_SECOND_MBED_CODE_VERSION_BEGIN, EEPROM_SECOND_MBED_CODE_VERSION_NUMBER));
}
void TrxBoard::mpsState(EepromStatus& romStatus) const
{
QByteArray header;
QByteArray id;
QByteArray crcChk;
QByteArray pid;
QByteArray pcbVersion;
QByteArray serialNo;
QByteArray firstMbedCode;
QByteArray secondMbedCode;
QByteArray crc16;
romStatus.ConnectionMode = connected;
romStatus.errorCode = EEPROM_NO_ERROR;
header = mpsRomHeader();
romStatus.header = byteArray2UintBigEndian<quint32>(header);
id = this->_bCtrlMngt->mpsEepromRead(EEPROM_ID_BEGIN, EEPROM_ID_NUMBER);
id = mpsRomId();
romStatus.id = byteArray2UintBigEndian<quint16>(id);
crcChk = this->_bCtrlMngt->mpsEepromRead(EEPROM_CRC_BEGIN, EEPROM_CRC_NUMBER);
if(crcChk == _eepromCrc)
{
romStatus.errorCode = EEPROM_NO_ERROR;
}
else
{
romStatus.errorCode = EEPROM_CRC_ERROR;
}
pid = mpsRomPid();
romStatus.pid = byteArray2UintBigEndian<quint16>(pid);
pcbVersion = mpsRomPcbVersion();
romStatus.pcbVersion = byteArray2UintBigEndian<quint16>(pcbVersion);
serialNo = mpsRomSerialNo();
romStatus.boardSerialNumber = byteArray2UintBigEndian<quint32>(serialNo);
firstMbedCode = mpsRomFirstMbedCode();
romStatus.firstMbedCodeVersion = byteArray2UintBigEndian<quint32>(firstMbedCode);
secondMbedCode = mpsRomSecondMbedCode();
romStatus.secondMbedCodeVersion = byteArray2UintBigEndian<quint32>(secondMbedCode);
// crcChk = this->_bCtrlMngt->mpsEepromRead(EEPROM_CRC_BEGIN, EEPROM_CRC_NUMBER);
// if(crcChk == _eepromCrc)
// {
// romStatus.errorCode = EEPROM_NO_ERROR;
// }
// else
// {
// romStatus.errorCode = EEPROM_CRC_ERROR;
// }
}
QByteArray TrxBoard::prbCtrlRomHeader() const
{
return(this->_bCtrlMngt->prbCtrlEepromRead(EEPROM_HEADER_BEGIN, EEPROM_HEADER_NUMBER));
}
QByteArray TrxBoard::prbCtrlRomId() const
{
return(this->_bCtrlMngt->prbCtrlEepromRead(EEPROM_ID_BEGIN, EEPROM_ID_NUMBER));
}
QByteArray TrxBoard::prbCtrlRomPid() const
{
return(this->_bCtrlMngt->prbCtrlEepromRead(EEPROM_PID_BEGIN, EEPROM_PID_NUMBER));
}
QByteArray TrxBoard::prbCtrlRomPcbVersion() const
{
return(this->_bCtrlMngt->prbCtrlEepromRead(EEPROM_PCB_VERSION_BEGIN, EEPROM_PCB_VERSION_NUMBER));
}
QByteArray TrxBoard::prbCtrlRomSerialNo() const
{
return(this->_bCtrlMngt->prbCtrlEepromRead(EEPROM_BOARD_SERIAL_NO_BEGIN, EEPROM_BOARD_SERIAL_NO_NUMBER));
}
void TrxBoard::prbCtrlState(EepromStatus& romStatus) const
{
QByteArray header;
QByteArray id;
QByteArray crcChk;
QByteArray pid;
QByteArray pcbVersion;
QByteArray serialNo;
QByteArray firstMbedCode;
QByteArray secondMbedCode;
QByteArray crc16;
romStatus.ConnectionMode = connected;
romStatus.errorCode = EEPROM_NO_ERROR;
id = this->_bCtrlMngt->prbCtrlEepromRead(EEPROM_ID_BEGIN, EEPROM_ID_NUMBER);
header = prbCtrlRomHeader();
romStatus.header = byteArray2UintBigEndian<quint32>(header);
id = prbCtrlRomId();
romStatus.id = byteArray2UintBigEndian<quint16>(id);
crcChk = this->_bCtrlMngt->prbCtrlEepromRead(EEPROM_CRC_BEGIN, EEPROM_CRC_NUMBER);
if(crcChk == _eepromCrc)
{
romStatus.errorCode = EEPROM_NO_ERROR;
}
else
{
romStatus.errorCode = EEPROM_CRC_ERROR;
}
pid = prbCtrlRomPid();
romStatus.pid = byteArray2UintBigEndian<quint16>(pid);
pcbVersion = prbCtrlRomPcbVersion();
romStatus.pcbVersion = byteArray2UintBigEndian<quint16>(pcbVersion);
serialNo = prbCtrlRomSerialNo();
romStatus.boardSerialNumber = byteArray2UintBigEndian<quint32>(serialNo);
// crcChk = this->_bCtrlMngt->prbCtrlEepromRead(EEPROM_CRC_BEGIN, EEPROM_CRC_NUMBER);
// if(crcChk == _eepromCrc)
// {
// romStatus.errorCode = EEPROM_NO_ERROR;
// }
// else
// {
// romStatus.errorCode = EEPROM_CRC_ERROR;
// }
}
void TrxBoard::selectedPrbState(EepromStatus& romStatus, eSelectProbe prbSel) const
@ -1872,26 +2041,26 @@ void TrxBoard::prbState(PrbCase* prb) const
}
}
QString TrxBoard::trxInfo() const
{
FpgaCodeVersion version;
getFpgasCodeVersion(&version);
//QString TrxBoard::trxInfo() const
//{
// FpgaCodeVersion version;
// getFpgasCodeVersion(&version);
QString info = QString(this->_bCtrlMngt->trxEepromRead(EEPROM_INFO_BEGIN, EEPROM_INFO_NUMBER));
// QString info = QString(this->_bCtrlMngt->trxEepromRead(EEPROM_INFO_BEGIN, EEPROM_INFO_NUMBER));
return (info + "(FPM-V " + QString::number(version.masterCode, 10) +
", FPS-V " + QString::number(version.slave0Code, 10) + ")");
}
// return (info + "(FPM-V " + QString::number(version.masterCode, 10) +
// ", FPS-V " + QString::number(version.slave0Code, 10) + ")");
//}
QString TrxBoard::mpsInfo() const
{
return QString(this->_bCtrlMngt->mpsEepromRead(EEPROM_INFO_BEGIN, EEPROM_INFO_NUMBER));
}
//QString TrxBoard::mpsInfo() const
//{
// return QString(this->_bCtrlMngt->mpsEepromRead(EEPROM_INFO_BEGIN, EEPROM_INFO_NUMBER));
//}
QString TrxBoard::prbCtrlInfo() const
{
return QString(this->_bCtrlMngt->prbCtrlEepromRead(EEPROM_INFO_BEGIN, EEPROM_INFO_NUMBER));
}
//QString TrxBoard::prbCtrlInfo() const
//{
// return QString(this->_bCtrlMngt->prbCtrlEepromRead(EEPROM_INFO_BEGIN, EEPROM_INFO_NUMBER));
//}
QByteArray TrxBoard::selectedPrbImpulseResponse(quint8 prbSel) const
{

Loading…
Cancel
Save