##// END OF EJS Templates
Functions added to the plugin to get the number of CCSDS packets...
Functions added to the plugin to get the number of CCSDS packets transmitted (linked to the lfrcontrol plugin counter of TC transmitted, it is possible to flush the TC transmission before changing the spacewire link in use)

File last commit:

r38:6939a908c25c Patch 2 from Paul on spwplugin default
r40:cda6b4e8adc1 Patch 3 from Paul on spwplugin default
Show More
stardundeeGUI.ui
305 lines | 9.0 KiB | text/plain | TextLexer
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>StarDundeeUI</class>
<widget class="QWidget" name="StarDundeeUI">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>397</width>
<height>506</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="selectBrickLbl">
<property name="text">
<string>Select Brick</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="selectBrickCmbx">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Select the brick you want to use.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="whatsThis">
<string/>
</property>
<item>
<property name="text">
<string>None</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="selectLinkLbl">
<property name="text">
<string>Select link number</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="selectLinkCmbx">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Select the link number you want to use.&lt;/p&gt;&lt;p&gt;The link number correspond to the numbers on the brick:&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;:/imgs/stardundee.tif&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="selectLinkSpeedLbl">
<property name="text">
<string>Link Speed</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="setLinkSpeedCmbx">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Select the Space Wire link speed you want to use.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<item>
<property name="text">
<string>10MHz</string>
</property>
</item>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="setDestKeyLbl">
<property name="text">
<string>Source address</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="sourceAddressLineEdit">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Set the Space Wire Brick destination Key, the default value is 32 (0x20).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="inputMask">
<string comment="ddD"/>
</property>
<property name="text">
<string>32</string>
</property>
<property name="maxLength">
<number>3</number>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="RMAPaddressLbl">
<property name="text">
<string>Destination address</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="destinationAddressLineEdit">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Set the RMAP target address, this address will be used as destination address for all the RMAP transfers.&lt;/p&gt;&lt;p&gt;This is you SOC spw address.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="inputMask">
<string comment="ddD"/>
</property>
<property name="text">
<string>254</string>
</property>
<property name="maxLength">
<number>3</number>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="RMAPKeyLbl">
<property name="text">
<string>Destination key</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="destinationKeyLineEdit">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Set the RMAP target key, this key will be used for all the RMAP transfers.&lt;/p&gt;&lt;p&gt;This is you SOC spw key.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="inputMask">
<string comment="ddD"/>
</property>
<property name="text">
<string comment="ddD">2</string>
</property>
<property name="maxLength">
<number>3</number>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLineEdit" name="RMAPTimeoutLineEdit">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Set the RMAP timeout, when waiting for a RMAP answer the driver will give up after this time if it doesn't get any answer.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="inputMethodHints">
<set>Qt::ImhDigitsOnly</set>
</property>
<property name="inputMask">
<string comment="DDdd;"/>
</property>
<property name="text">
<string>500</string>
</property>
<property name="maxLength">
<number>5</number>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="RMAPTimeoutLbl">
<property name="text">
<string>RMAP timeout(ms)</string>
</property>
</widget>
</item>
<item row="10" column="1">
<widget class="QPushButton" name="connectQpb">
<property name="text">
<string>Connect</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QRadioButton" name="setInterfaceModeQrb">
<property name="text">
<string>interface mode</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QRadioButton" name="setRouterModeQrb">
<property name="text">
<string>router mode</string>
</property>
</widget>
</item>
<item row="11" column="0" colspan="2">
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Packets</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="starDundeeReceivedPackets">
<property name="text">
<string>-</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_3">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Received</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="starDundeeReceivedBytes">
<property name="text">
<string>-</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Bytes</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_7">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Transmitted</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="starDundeeTransmittedPackets">
<property name="text">
<string>-</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="starDundeeTransmittedBytes">
<property name="text">
<string>-</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="resetStatsQpb">
<property name="text">
<string>Reset stats</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="8" column="0">
<widget class="QCheckBox" name="spwTimecodes">
<property name="text">
<string>timecode</string>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Timecode f (Hz)</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QLineEdit" name="timecodeFrequencyLineEdit">
<property name="text">
<string>1</string>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>