mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-04 16:01:14 -05:00
DSD demod: display symbol center and zero crossing
This commit is contained in:
parent
89a017a5b7
commit
8935660410
@ -39,6 +39,8 @@ public:
|
||||
int getMbeRateIndex() const { return (int) m_decoder.getMbeRate(); }
|
||||
|
||||
int getInLevel() const { return m_decoder.getInLevel(); }
|
||||
int getCarrierPos() const { return m_decoder.getCarrierPos(); }
|
||||
int getZeroCrossingPos() const { return m_decoder.getZeroCrossingPos(); }
|
||||
int getSamplesPerSymbol() const { return m_decoder.getSamplesPerSymbol(); }
|
||||
DSDcc::DSDDecoder::DSDSyncType getSyncType() const { return m_decoder.getSyncType(); }
|
||||
DSDcc::DSDDecoder::DSDStationType getStationType() const { return m_decoder.getStationType(); }
|
||||
|
@ -495,6 +495,8 @@ void DSDDemodGUI::tick()
|
||||
else
|
||||
{
|
||||
ui->inLevelText->setText(QString::number(m_dsdDemod->getDecoder().getInLevel()));
|
||||
ui->inCarrierPosText->setText(QString::number(m_dsdDemod->getDecoder().getCarrierPos()));
|
||||
ui->zcPosText->setText(QString::number(m_dsdDemod->getDecoder().getZeroCrossingPos()));
|
||||
ui->syncText->setText(QString(m_dsdDemod->getDecoder().getFrameTypeText()));
|
||||
|
||||
formatStatusText();
|
||||
|
@ -201,11 +201,52 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Input level (%) valid when synchronized</string>
|
||||
<string>Carrier input level (%) when synchronized</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>00</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="inCarrierPosText">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>25</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Carrier relative position (%) when synchronized</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>-00</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="zcPosText">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>25</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Zero crossing relaive position in number of samples (<0 sampling point lags, >0 it leads)</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>-00</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
Loading…
Reference in New Issue
Block a user