|
@ -78,14 +78,15 @@ void Sram::setSramRx(QVector<quint8> &rxBeamFormerNumber, quint32 &focusTypeNumb |
|
|
|
|
|
|
|
|
void Sram::setSramMetaData(QList<quint64> &metaData) const |
|
|
void Sram::setSramMetaData(QList<quint64> &metaData) const |
|
|
{ |
|
|
{ |
|
|
this->_metaData->setSoftwareMetaData(metaData); |
|
|
|
|
|
this->_metaData->updateArrayLong(META_DATA_INTERVAL, META_DATA_LENGTH); |
|
|
|
|
|
|
|
|
|
|
|
quint32 metaDataBaseOffset = this->_metaData->getCurrentOffset(); |
|
|
quint32 metaDataBaseOffset = this->_metaData->getCurrentOffset(); |
|
|
|
|
|
|
|
|
this->_metaData->changeOffset(META_DATA_OFFSET+metaDataBaseOffset); |
|
|
this->_metaData->setSoftwareMetaData(metaData); |
|
|
|
|
|
|
|
|
this->_metaData->updateArrayLong(META_DATA_INTERVAL, META_DATA_LENGTH); |
|
|
for(quint8 i=0; i < 3; i++) |
|
|
|
|
|
{ |
|
|
|
|
|
this->_metaData->changeOffset(i * META_DATA_OFFSET + metaDataBaseOffset); |
|
|
|
|
|
this->_metaData->updateArrayLong(META_DATA_INTERVAL, static_cast<quint32>(metaData.length())); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
this->_metaData->changeOffset(metaDataBaseOffset); // return to base offset address
|
|
|
this->_metaData->changeOffset(metaDataBaseOffset); // return to base offset address
|
|
|
} |
|
|
} |
|
|