1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-26 13:33:23 -04:00

SDRDaemonSource: adaptation to remote DaemonSink channel

This commit is contained in:
f4exb
2018-09-08 23:30:22 +02:00
parent 4c0c51b17d
commit 95b105f453
13 changed files with 333 additions and 1022 deletions
@@ -6,14 +6,14 @@
<rect>
<x>0</x>
<y>0</y>
<width>372</width>
<height>261</height>
<width>360</width>
<height>270</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>372</width>
<height>261</height>
<width>360</width>
<height>270</height>
</size>
</property>
<property name="font">
@@ -373,41 +373,6 @@
</item>
<item>
<layout class="QHBoxLayout" name="streamLayout">
<item>
<widget class="QDial" name="nbFECBlocks">
<property name="maximumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="toolTip">
<string>Desired number of FEC blocks per frame</string>
</property>
<property name="maximum">
<number>64</number>
</property>
<property name="pageStep">
<number>1</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="nbFECBlocksText">
<property name="minimumSize">
<size>
<width>18</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Desired number of FEC blocks per frame</string>
</property>
<property name="text">
<string>00</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="nominalNbBlocksText">
<property name="minimumSize">
@@ -577,28 +542,34 @@
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="addressLayout">
<layout class="QHBoxLayout" name="apiAddressLayout">
<item>
<widget class="QLabel" name="addressLabel">
<widget class="QLabel" name="apiAddressLabel">
<property name="minimumSize">
<size>
<width>30</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Addr:</string>
<string>API</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="address">
<widget class="QLineEdit" name="apiAddress">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>110</width>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>110</width>
<width>120</width>
<height>16777215</height>
</size>
</property>
@@ -617,52 +588,14 @@
</widget>
</item>
<item>
<widget class="QLabel" name="dataPortLabel">
<widget class="QLabel" name="apiPortSeparator">
<property name="text">
<string>D:</string>
<string>:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="dataPort">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>60</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Local data connection port</string>
</property>
<property name="inputMask">
<string>00000</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="controlPortLabel">
<property name="text">
<string>C:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="controlPort">
<widget class="QLineEdit" name="apiPort">
<property name="minimumSize">
<size>
<width>60</width>
@@ -703,7 +636,7 @@
</spacer>
</item>
<item>
<widget class="QPushButton" name="applyButton">
<widget class="QPushButton" name="apiApplyButton">
<property name="enabled">
<bool>true</bool>
</property>
@@ -721,54 +654,77 @@
</layout>
</item>
<item>
<widget class="Line" name="line_freq">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="frequencyLayout">
<layout class="QHBoxLayout" name="dataAddressLayout">
<item>
<widget class="QLabel" name="freqLabel">
<widget class="QLabel" name="dataAddressLabel">
<property name="minimumSize">
<size>
<width>30</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Fc:</string>
<string>Data</string>
</property>
</widget>
</item>
<item>
<widget class="ValueDial" name="freq" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<widget class="QLineEdit" name="dataAddress">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>16777215</height>
</size>
</property>
<property name="inputMask">
<string>000.000.000.000</string>
</property>
<property name="text">
<string>0.0.0.0</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="dataPortSeparator">
<property name="text">
<string>:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="dataPort">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>32</width>
<height>16</height>
<width>60</width>
<height>0</height>
</size>
</property>
<property name="font">
<font>
<family>Liberation Mono</family>
<pointsize>12</pointsize>
<italic>false</italic>
</font>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Desired device center frequency</string>
<string>Local data connection port</string>
</property>
<property name="inputMask">
<string>00000</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="freqUnitLabel">
<property name="text">
<string>kHz</string>
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
@@ -786,256 +742,37 @@
</spacer>
</item>
<item>
<widget class="Line" name="line_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="txDelayLabel">
<property name="text">
<string>UDly</string>
</property>
</widget>
</item>
<item>
<widget class="QDial" name="txDelay">
<widget class="QPushButton" name="dataApplyButton">
<property name="maximumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="toolTip">
<string>Delay between consecutive UDP packets in percentage of nominal UDP packet process time</string>
</property>
<property name="minimum">
<number>10</number>
</property>
<property name="maximum">
<number>90</number>
</property>
<property name="pageStep">
<number>1</number>
</property>
<property name="value">
<number>50</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="txDelayText">
<property name="minimumSize">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>20</width>
<width>30</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>90</string>
<string>Set</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="sampleRateLayout">
<layout class="QHBoxLayout" name="statusLayout">
<item>
<widget class="QLabel" name="sampleRateLabel">
<widget class="QLabel" name="statusText">
<property name="text">
<string>SR:</string>
<string>...</string>
</property>
</widget>
</item>
<item>
<widget class="ValueDial" name="sampleRate" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>32</width>
<height>16</height>
</size>
</property>
<property name="font">
<font>
<family>Liberation Mono</family>
<pointsize>12</pointsize>
<italic>false</italic>
</font>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="toolTip">
<string>Desired remote device sample rate</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="sampleRateUnits">
<property name="text">
<string>S/s</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="decimLabel">
<property name="text">
<string>Dec:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="decim">
<property name="minimumSize">
<size>
<width>45</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Decimation</string>
</property>
<property name="currentIndex">
<number>3</number>
</property>
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>16</string>
</property>
</item>
<item>
<property name="text">
<string>32</string>
</property>
</item>
<item>
<property name="text">
<string>64</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="fcPosLabel">
<property name="text">
<string> Fp:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="fcPos">
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Center frequency position (Infradyne, Supradyne, Centered)</string>
</property>
<property name="currentIndex">
<number>2</number>
</property>
<item>
<property name="text">
<string>Inf</string>
</property>
</item>
<item>
<property name="text">
<string>Sup</string>
</property>
</item>
<item>
<property name="text">
<string>Cen</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="controlLayout2">
<layout class="QHBoxLayout" name="infoLayout">
<item>
<widget class="QLabel" name="specificParmsLAbel">
<widget class="QLabel" name="infoText">
<property name="text">
<string>Sp:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="specificParms">
<property name="toolTip">
<string>Other parameters that are hardware specific</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="sendButton">
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Send commands to remote SDRdaemonRx instance</string>
</property>
<property name="text">
<string>Send</string>
<string>...</string>
</property>
</widget>
</item>