@@ -0,0 +1,143 | |||||
|
1 | #include "recordpage.h" | |||
|
2 | ||||
|
3 | RecordPage::RecordPage(QWidget *parent) : | |||
|
4 | QWidget(parent) | |||
|
5 | { | |||
|
6 | logFileEn = false; | |||
|
7 | ||||
|
8 | radiobutton_swf_f0 = new QRadioButton("swf_f0"); | |||
|
9 | radiobutton_swf_f1 = new QRadioButton("swf_f1"); | |||
|
10 | radiobutton_swf_f2 = new QRadioButton("swf_f2"); | |||
|
11 | radiobutton_cwf_f1 = new QRadioButton("cwf_f1"); | |||
|
12 | radiobutton_cwf_f2 = new QRadioButton("cwf_f2"); | |||
|
13 | radiobutton_cwf_f3 = new QRadioButton("cwf_f3"); | |||
|
14 | ||||
|
15 | radiobutton_swf_f0->setAutoExclusive(false); | |||
|
16 | radiobutton_swf_f1->setAutoExclusive(false); | |||
|
17 | radiobutton_swf_f2->setAutoExclusive(false); | |||
|
18 | radiobutton_cwf_f1->setAutoExclusive(false); | |||
|
19 | radiobutton_cwf_f2->setAutoExclusive(false); | |||
|
20 | radiobutton_cwf_f3->setAutoExclusive(false); | |||
|
21 | ||||
|
22 | label_currentDir = new QLabel("Current Dir: -"); | |||
|
23 | ||||
|
24 | button_chooseDir = new QPushButton("choose dir"); | |||
|
25 | button_storeWfrm = new QPushButton(tr("REC")); | |||
|
26 | ||||
|
27 | groupbox_waveforms = new QGroupBox("waveforms"); | |||
|
28 | groupbox_directory = new QGroupBox("directory"); | |||
|
29 | ||||
|
30 | vboxlayout_waveforms = new QVBoxLayout(); | |||
|
31 | vboxlayout_directory = new QVBoxLayout(); | |||
|
32 | ||||
|
33 | mainLayout = new QGridLayout(); | |||
|
34 | ||||
|
35 | this->readSettings(); | |||
|
36 | ||||
|
37 | vboxlayout_waveforms->addWidget(radiobutton_swf_f0); | |||
|
38 | vboxlayout_waveforms->addWidget(radiobutton_swf_f1); | |||
|
39 | vboxlayout_waveforms->addWidget(radiobutton_swf_f2); | |||
|
40 | vboxlayout_waveforms->addWidget(radiobutton_cwf_f1); | |||
|
41 | vboxlayout_waveforms->addWidget(radiobutton_cwf_f2); | |||
|
42 | vboxlayout_waveforms->addWidget(radiobutton_cwf_f3); | |||
|
43 | vboxlayout_waveforms->addStretch(); | |||
|
44 | ||||
|
45 | vboxlayout_directory->addWidget(button_storeWfrm); | |||
|
46 | vboxlayout_directory->addWidget(button_chooseDir); | |||
|
47 | vboxlayout_directory->addWidget(label_currentDir); | |||
|
48 | vboxlayout_directory->addStretch(); | |||
|
49 | ||||
|
50 | groupbox_waveforms->setLayout(vboxlayout_waveforms); | |||
|
51 | groupbox_directory->setLayout(vboxlayout_directory); | |||
|
52 | ||||
|
53 | mainLayout->addWidget(groupbox_directory, 0, 0, 1, 1); | |||
|
54 | mainLayout->addWidget(groupbox_waveforms, 0, 1, 1, 1); | |||
|
55 | mainLayout->setRowStretch(1, 1); | |||
|
56 | mainLayout->setColumnStretch(2, 1); | |||
|
57 | ||||
|
58 | this->setLayout(mainLayout); | |||
|
59 | ||||
|
60 | connect(this->button_chooseDir, SIGNAL(clicked()), this, SLOT(chooseDir())); | |||
|
61 | connect(this->button_storeWfrm, SIGNAL(clicked()), this, SLOT(storeWfrm())); | |||
|
62 | } | |||
|
63 | ||||
|
64 | RecordPage::~RecordPage() | |||
|
65 | { | |||
|
66 | this->writeSettings(); | |||
|
67 | } | |||
|
68 | ||||
|
69 | void RecordPage::chooseDir() | |||
|
70 | { | |||
|
71 | QString tmpDefaultStorageDirectory; | |||
|
72 | tmpDefaultStorageDirectory = QFileDialog::getExistingDirectory(this, | |||
|
73 | "choose the directory", | |||
|
74 | QDir::homePath(), | |||
|
75 | QFileDialog::ShowDirsOnly); | |||
|
76 | ||||
|
77 | if( !tmpDefaultStorageDirectory.isEmpty() ) | |||
|
78 | { | |||
|
79 | defaultStorageDirectory = tmpDefaultStorageDirectory; | |||
|
80 | } | |||
|
81 | ||||
|
82 | label_currentDir->setText(defaultStorageDirectory); | |||
|
83 | emit signal_defaultStorageDirectoryUpdated( defaultStorageDirectory ); | |||
|
84 | } | |||
|
85 | ||||
|
86 | void RecordPage::storeWfrm() | |||
|
87 | { | |||
|
88 | if (logFileEn == false) | |||
|
89 | { | |||
|
90 | // enable storage | |||
|
91 | button_storeWfrm->setText(tr("STOP")); | |||
|
92 | logFileEn = true; | |||
|
93 | if (radiobutton_swf_f0->isChecked()) emit signal_store_swf_f0(); | |||
|
94 | if (radiobutton_swf_f1->isChecked()) emit signal_store_swf_f1(); | |||
|
95 | if (radiobutton_swf_f2->isChecked()) emit signal_store_swf_f2(); | |||
|
96 | if (radiobutton_cwf_f1->isChecked()) emit signal_store_cwf_f1(); | |||
|
97 | if (radiobutton_cwf_f2->isChecked()) emit signal_store_cwf_f2(); | |||
|
98 | if (radiobutton_cwf_f3->isChecked()) emit signal_store_cwf_f3(); | |||
|
99 | radiobutton_swf_f0->setEnabled(false); | |||
|
100 | radiobutton_swf_f1->setEnabled(false); | |||
|
101 | radiobutton_swf_f2->setEnabled(false); | |||
|
102 | radiobutton_cwf_f1->setEnabled(false); | |||
|
103 | radiobutton_cwf_f2->setEnabled(false); | |||
|
104 | radiobutton_cwf_f3->setEnabled(false); | |||
|
105 | } | |||
|
106 | else | |||
|
107 | { | |||
|
108 | // disable storage | |||
|
109 | button_storeWfrm->setText(tr("REC")); | |||
|
110 | logFileEn = false; | |||
|
111 | if (radiobutton_swf_f0->isChecked()) emit signal_store_swf_f0(); | |||
|
112 | if (radiobutton_swf_f1->isChecked()) emit signal_store_swf_f1(); | |||
|
113 | if (radiobutton_swf_f2->isChecked()) emit signal_store_swf_f2(); | |||
|
114 | if (radiobutton_cwf_f1->isChecked()) emit signal_store_cwf_f1(); | |||
|
115 | if (radiobutton_cwf_f2->isChecked()) emit signal_store_cwf_f2(); | |||
|
116 | if (radiobutton_cwf_f3->isChecked()) emit signal_store_cwf_f3(); | |||
|
117 | radiobutton_swf_f0->setEnabled(true); | |||
|
118 | radiobutton_swf_f1->setEnabled(true); | |||
|
119 | radiobutton_swf_f2->setEnabled(true); | |||
|
120 | radiobutton_cwf_f1->setEnabled(true); | |||
|
121 | radiobutton_cwf_f2->setEnabled(true); | |||
|
122 | radiobutton_cwf_f3->setEnabled(true); | |||
|
123 | } | |||
|
124 | } | |||
|
125 | ||||
|
126 | void RecordPage::readSettings() | |||
|
127 | { | |||
|
128 | QSettings settings("lpp", "lfrsgse"); | |||
|
129 | defaultStorageDirectory = settings.value( "storageDirectory", QDir::homePath() ).toString(); | |||
|
130 | label_currentDir->setText( defaultStorageDirectory ); | |||
|
131 | emit signal_defaultStorageDirectoryUpdated( defaultStorageDirectory ); | |||
|
132 | } | |||
|
133 | ||||
|
134 | void RecordPage::writeSettings() | |||
|
135 | { | |||
|
136 | QSettings settings("lpp", "lfrsgse"); | |||
|
137 | settings.setValue("storageDirectory", defaultStorageDirectory); | |||
|
138 | } | |||
|
139 | ||||
|
140 | void RecordPage::closeEvent(QCloseEvent *event) | |||
|
141 | { | |||
|
142 | event->accept(); | |||
|
143 | } |
@@ -0,0 +1,66 | |||||
|
1 | #ifndef RECORDPAGE_H | |||
|
2 | #define RECORDPAGE_H | |||
|
3 | ||||
|
4 | #include <QWidget> | |||
|
5 | #include <QRadioButton> | |||
|
6 | #include <QGroupBox> | |||
|
7 | #include <QVBoxLayout> | |||
|
8 | #include <QGridLayout> | |||
|
9 | #include <QLabel> | |||
|
10 | #include <QPushButton> | |||
|
11 | #include <QSettings> | |||
|
12 | #include <QFileDialog> | |||
|
13 | #include <QCloseEvent> | |||
|
14 | ||||
|
15 | class RecordPage : public QWidget | |||
|
16 | { | |||
|
17 | Q_OBJECT | |||
|
18 | public: | |||
|
19 | explicit RecordPage(QWidget *parent = 0); | |||
|
20 | ~RecordPage(); | |||
|
21 | ||||
|
22 | QLabel *label_currentDir; | |||
|
23 | ||||
|
24 | bool logFileEn; | |||
|
25 | ||||
|
26 | QPushButton *button_chooseDir; | |||
|
27 | QPushButton *button_storeWfrm; | |||
|
28 | ||||
|
29 | QRadioButton *radiobutton_swf_f0; | |||
|
30 | QRadioButton *radiobutton_swf_f1; | |||
|
31 | QRadioButton *radiobutton_swf_f2; | |||
|
32 | QRadioButton *radiobutton_cwf_f1; | |||
|
33 | QRadioButton *radiobutton_cwf_f2; | |||
|
34 | QRadioButton *radiobutton_cwf_f3; | |||
|
35 | ||||
|
36 | QGroupBox *groupbox_waveforms; | |||
|
37 | QGroupBox *groupbox_directory; | |||
|
38 | ||||
|
39 | QVBoxLayout *vboxlayout_waveforms; | |||
|
40 | QVBoxLayout *vboxlayout_directory; | |||
|
41 | ||||
|
42 | QString defaultStorageDirectory; | |||
|
43 | ||||
|
44 | QGridLayout *mainLayout; | |||
|
45 | ||||
|
46 | protected: | |||
|
47 | void closeEvent(QCloseEvent *event); | |||
|
48 | ||||
|
49 | signals: | |||
|
50 | void signal_store_swf_f0(); | |||
|
51 | void signal_store_swf_f1(); | |||
|
52 | void signal_store_swf_f2(); | |||
|
53 | void signal_store_cwf_f1(); | |||
|
54 | void signal_store_cwf_f2(); | |||
|
55 | void signal_store_cwf_f3(); | |||
|
56 | void signal_defaultStorageDirectoryUpdated( QString nameOfTheDirectory ); | |||
|
57 | ||||
|
58 | public slots: | |||
|
59 | void chooseDir(); | |||
|
60 | void storeWfrm(); | |||
|
61 | void readSettings(); | |||
|
62 | void writeSettings(); | |||
|
63 | ||||
|
64 | }; | |||
|
65 | ||||
|
66 | #endif // RECORDPAGE_H |
@@ -10,6 +10,7 HKDisplay::HKDisplay(QWidget *parent) : | |||||
10 |
|
10 | |||
11 | setupLFRStatusWord(); |
|
11 | setupLFRStatusWord(); | |
12 | setupLFRSWVersion(); |
|
12 | setupLFRSWVersion(); | |
|
13 | setupLFR_FPGA_Version(); | |||
13 | setupTCStatistics(); |
|
14 | setupTCStatistics(); | |
14 | setupAnomalyStatistics(); |
|
15 | setupAnomalyStatistics(); | |
15 | setupSpaceWireIFStatistics(); |
|
16 | setupSpaceWireIFStatistics(); | |
@@ -17,6 +18,7 HKDisplay::HKDisplay(QWidget *parent) : | |||||
17 |
|
18 | |||
18 | groupbox_lfrStatusWord->setFont(font); |
|
19 | groupbox_lfrStatusWord->setFont(font); | |
19 | groupbox_lfrSWVersion->setFont(font); |
|
20 | groupbox_lfrSWVersion->setFont(font); | |
|
21 | groupbox_lfr_FPGA_Version->setFont(font); | |||
20 | groupbox_tcStatistics->setFont(font); |
|
22 | groupbox_tcStatistics->setFont(font); | |
21 | groupbox_anomalyStatistics->setFont(font); |
|
23 | groupbox_anomalyStatistics->setFont(font); | |
22 | groupbox_spacewireIFStatisctics->setFont(font); |
|
24 | groupbox_spacewireIFStatisctics->setFont(font); | |
@@ -24,11 +26,12 HKDisplay::HKDisplay(QWidget *parent) : | |||||
24 |
|
26 | |||
25 | mainLayout->addWidget(groupbox_lfrStatusWord, 0,0,1,1); |
|
27 | mainLayout->addWidget(groupbox_lfrStatusWord, 0,0,1,1); | |
26 | mainLayout->addWidget(groupbox_lfrSWVersion, 0,1,1,1); |
|
28 | mainLayout->addWidget(groupbox_lfrSWVersion, 0,1,1,1); | |
27 |
mainLayout->addWidget(groupbox_ |
|
29 | mainLayout->addWidget(groupbox_lfr_FPGA_Version, 0,2,1,1); | |
|
30 | mainLayout->addWidget(groupbox_anomalyStatistics, 0,3,1,1); | |||
28 | mainLayout->addWidget(groupbox_tcStatistics, 1,0,1,1); |
|
31 | mainLayout->addWidget(groupbox_tcStatistics, 1,0,1,1); | |
29 | mainLayout->addWidget(groupbox_spacewireIFStatisctics, 1, 1, 1, 1); |
|
32 | mainLayout->addWidget(groupbox_spacewireIFStatisctics, 1, 1, 1, 1); | |
30 | mainLayout->addWidget(groupbox_errorCountersSpaceWire, 1, 2, 1, 1); |
|
33 | mainLayout->addWidget(groupbox_errorCountersSpaceWire, 1, 2, 1, 1); | |
31 |
mainLayout->setColumnStretch( |
|
34 | mainLayout->setColumnStretch(4, 1); | |
32 | mainLayout->setRowStretch(2, 1); |
|
35 | mainLayout->setRowStretch(2, 1); | |
33 |
|
36 | |||
34 | this->setLayout(mainLayout); |
|
37 | this->setLayout(mainLayout); | |
@@ -72,14 +75,28 void HKDisplay::setupLFRSWVersion() | |||||
72 | groupbox_lfrSWVersion->setLayout(box_lfrSWVersion); |
|
75 | groupbox_lfrSWVersion->setLayout(box_lfrSWVersion); | |
73 | } |
|
76 | } | |
74 |
|
77 | |||
|
78 | void HKDisplay::setupLFR_FPGA_Version() | |||
|
79 | { | |||
|
80 | groupbox_lfr_FPGA_Version = new QGroupBox("LFR FPGA Version"); | |||
|
81 | box_lfr_FPGA_Version = new QVBoxLayout(); | |||
|
82 | sy_lfr_fpga_version_n1 = new QLabel("sy_lfr_fpga_version_n1: -"); | |||
|
83 | sy_lfr_fpga_version_n2 = new QLabel("sy_lfr_fpga_version_n2: -"); | |||
|
84 | sy_lfr_fpga_version_n3 = new QLabel("sy_lfr_fpga_version_n3: -"); | |||
|
85 | box_lfr_FPGA_Version->addWidget(sy_lfr_fpga_version_n1); | |||
|
86 | box_lfr_FPGA_Version->addWidget(sy_lfr_fpga_version_n2); | |||
|
87 | box_lfr_FPGA_Version->addWidget(sy_lfr_fpga_version_n3); | |||
|
88 | box_lfr_FPGA_Version->insertStretch(3); | |||
|
89 | groupbox_lfr_FPGA_Version->setLayout(box_lfr_FPGA_Version); | |||
|
90 | } | |||
|
91 | ||||
75 | void HKDisplay::setupTCStatistics() |
|
92 | void HKDisplay::setupTCStatistics() | |
76 | { |
|
93 | { | |
77 | groupbox_tcStatistics = new QGroupBox("TC Statistics"); |
|
94 | groupbox_tcStatistics = new QGroupBox("TC Statistics"); | |
78 | box_tcStatistics = new QVBoxLayout(); |
|
95 | box_tcStatistics = new QVBoxLayout(); | |
79 | hk_lfr_update_info_tc_cnt = new QLabel("hk_lfr_update_info_tc_cnt: -"); |
|
96 | hk_lfr_update_info_tc_cnt = new QLabel("hk_lfr_update_info_tc_cnt: -"); | |
80 | hk_lfr_update_time_tc_cnt = new QLabel("hk_lfr_update_time_tc_cnt: -"); |
|
97 | hk_lfr_update_time_tc_cnt = new QLabel("hk_lfr_update_time_tc_cnt: -"); | |
81 |
hk_ |
|
98 | hk_lfr_exe_tc_cnt = new QLabel("hk_lfr_exe_tc_cnt: -"); | |
82 |
hk_ |
|
99 | hk_lfr_rej_tc_cnt = new QLabel("hk_lfr_rej_tc_cnt: -"); | |
83 | hk_lfr_last_exe_tc_id = new QLabel("hk_lfr_last_exe_tc_id: -"); |
|
100 | hk_lfr_last_exe_tc_id = new QLabel("hk_lfr_last_exe_tc_id: -"); | |
84 | hk_lfr_last_exe_tc_type = new QLabel("hk_lfr_last_exe_tc_type: -"); |
|
101 | hk_lfr_last_exe_tc_type = new QLabel("hk_lfr_last_exe_tc_type: -"); | |
85 | hk_lfr_last_exe_tc_subtype = new QLabel("hk_lfr_last_exe_tc_subtype: -"); |
|
102 | hk_lfr_last_exe_tc_subtype = new QLabel("hk_lfr_last_exe_tc_subtype: -"); | |
@@ -90,8 +107,8 void HKDisplay::setupTCStatistics() | |||||
90 | hk_lfr_last_rej_tc_time = new QLabel("hk_lfr_last_rej_tc_time: -"); |
|
107 | hk_lfr_last_rej_tc_time = new QLabel("hk_lfr_last_rej_tc_time: -"); | |
91 | box_tcStatistics->addWidget(hk_lfr_update_info_tc_cnt); |
|
108 | box_tcStatistics->addWidget(hk_lfr_update_info_tc_cnt); | |
92 | box_tcStatistics->addWidget(hk_lfr_update_time_tc_cnt); |
|
109 | box_tcStatistics->addWidget(hk_lfr_update_time_tc_cnt); | |
93 |
box_tcStatistics->addWidget(hk_ |
|
110 | box_tcStatistics->addWidget(hk_lfr_exe_tc_cnt); | |
94 |
box_tcStatistics->addWidget(hk_ |
|
111 | box_tcStatistics->addWidget(hk_lfr_rej_tc_cnt); | |
95 | box_tcStatistics->addWidget(hk_lfr_last_exe_tc_id); |
|
112 | box_tcStatistics->addWidget(hk_lfr_last_exe_tc_id); | |
96 | box_tcStatistics->addWidget(hk_lfr_last_exe_tc_type); |
|
113 | box_tcStatistics->addWidget(hk_lfr_last_exe_tc_type); | |
97 | box_tcStatistics->addWidget(hk_lfr_last_exe_tc_subtype); |
|
114 | box_tcStatistics->addWidget(hk_lfr_last_exe_tc_subtype); | |
@@ -132,12 +149,12 void HKDisplay::setupSpaceWireIFStatisti | |||||
132 | hk_lfr_dpu_spw_pkt_rcv_cnt = new QLabel("hk_lfr_dpu_spw_pkt_rcv_cnt: -"); |
|
149 | hk_lfr_dpu_spw_pkt_rcv_cnt = new QLabel("hk_lfr_dpu_spw_pkt_rcv_cnt: -"); | |
133 | hk_lfr_dpu_spw_pkt_sent_cnt = new QLabel("hk_lfr_dpu_spw_pkt_sent_cnt: -"); |
|
150 | hk_lfr_dpu_spw_pkt_sent_cnt = new QLabel("hk_lfr_dpu_spw_pkt_sent_cnt: -"); | |
134 | hk_lfr_dpu_spw_tick_out_cnt = new QLabel("hk_lfr_dpu_spw_tick_out_cnt: -"); |
|
151 | hk_lfr_dpu_spw_tick_out_cnt = new QLabel("hk_lfr_dpu_spw_tick_out_cnt: -"); | |
135 |
hk_lfr_dpu_spw_last_tim |
|
152 | hk_lfr_dpu_spw_last_timc = new QLabel("hk_lfr_dpu_spw_last_timc: -"); | |
136 |
|
153 | |||
137 | box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_pkt_rcv_cnt); |
|
154 | box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_pkt_rcv_cnt); | |
138 | box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_pkt_sent_cnt); |
|
155 | box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_pkt_sent_cnt); | |
139 | box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_tick_out_cnt); |
|
156 | box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_tick_out_cnt); | |
140 |
box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_last_tim |
|
157 | box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_last_timc); | |
141 | box_spacewireIFStatisctics->insertStretch(5); |
|
158 | box_spacewireIFStatisctics->insertStretch(5); | |
142 |
|
159 | |||
143 | groupbox_spacewireIFStatisctics->setLayout(box_spacewireIFStatisctics->layout()); |
|
160 | groupbox_spacewireIFStatisctics->setLayout(box_spacewireIFStatisctics->layout()); | |
@@ -155,8 +172,6 void HKDisplay::setupErrorCountersSpaceW | |||||
155 | hk_lfr_dpu_spw_write_sync = new QLabel("hk_lfr_dpu_spw_write_sync: -"); |
|
172 | hk_lfr_dpu_spw_write_sync = new QLabel("hk_lfr_dpu_spw_write_sync: -"); | |
156 | hk_lfr_dpu_spw_rx_ahb = new QLabel("hk_lfr_dpu_spw_rx_ahb: -"); |
|
173 | hk_lfr_dpu_spw_rx_ahb = new QLabel("hk_lfr_dpu_spw_rx_ahb: -"); | |
157 | hk_lfr_dpu_spw_tx_ahb = new QLabel("hk_lfr_dpu_spw_tx_ahb: -"); |
|
174 | hk_lfr_dpu_spw_tx_ahb = new QLabel("hk_lfr_dpu_spw_tx_ahb: -"); | |
158 | hk_lfr_dpu_spw_header_crc = new QLabel("hk_lfr_dpu_spw_header_crc: -"); |
|
|||
159 | hk_lfr_dpu_spw_data_crc = new QLabel("hk_lfr_dpu_spw_data_crc: -"); |
|
|||
160 | hk_lfr_dpu_spw_early_eop = new QLabel("hk_lfr_dpu_spw_early_eop: -"); |
|
175 | hk_lfr_dpu_spw_early_eop = new QLabel("hk_lfr_dpu_spw_early_eop: -"); | |
161 | hk_lfr_dpu_spw_invalid_addr = new QLabel("hk_lfr_dpu_spw_invalid_addr: -"); |
|
176 | hk_lfr_dpu_spw_invalid_addr = new QLabel("hk_lfr_dpu_spw_invalid_addr: -"); | |
162 | hk_lfr_dpu_spw_eep = new QLabel("hk_lfr_dpu_spw_eep: -"); |
|
177 | hk_lfr_dpu_spw_eep = new QLabel("hk_lfr_dpu_spw_eep: -"); | |
@@ -169,8 +184,6 void HKDisplay::setupErrorCountersSpaceW | |||||
169 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_write_sync); |
|
184 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_write_sync); | |
170 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_rx_ahb); |
|
185 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_rx_ahb); | |
171 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_tx_ahb); |
|
186 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_tx_ahb); | |
172 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_header_crc); |
|
|||
173 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_data_crc); |
|
|||
174 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_early_eop); |
|
187 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_early_eop); | |
175 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_invalid_addr); |
|
188 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_invalid_addr); | |
176 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_eep); |
|
189 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_eep); | |
@@ -193,6 +206,7 void HKDisplay::displayPacket(TMPacketTo | |||||
193 |
|
206 | |||
194 | update_lfr_status_word( housekeepingPacket ); |
|
207 | update_lfr_status_word( housekeepingPacket ); | |
195 | updateSWVersion( housekeepingPacket ); |
|
208 | updateSWVersion( housekeepingPacket ); | |
|
209 | update_FPGA_version( housekeepingPacket ); | |||
196 | updateTCStatistics( housekeepingPacket ); |
|
210 | updateTCStatistics( housekeepingPacket ); | |
197 | updateAnomalyStatistics( housekeepingPacket ); |
|
211 | updateAnomalyStatistics( housekeepingPacket ); | |
198 | updateSpaceWireIFStatistics( housekeepingPacket ); |
|
212 | updateSpaceWireIFStatistics( housekeepingPacket ); | |
@@ -200,26 +214,26 void HKDisplay::displayPacket(TMPacketTo | |||||
200 | } |
|
214 | } | |
201 | } |
|
215 | } | |
202 |
|
216 | |||
203 | void HKDisplay::displayPacketLESIA(TMPacketToRead *tmPacketToRead) |
|
217 | //void HKDisplay::displayPacketLESIA(TMPacketToRead *tmPacketToRead) | |
204 | { |
|
218 | //{ | |
205 | Packet_TM_LFR_HK_t *housekeepingPacket; |
|
219 | // Packet_TM_LFR_HK_t *housekeepingPacket; | |
206 | if (tmPacketToRead->size != (HK_PACKET_SIZE - 4)) { |
|
220 | // if (tmPacketToRead->size != (HK_PACKET_SIZE - 4)) { | |
207 | emit displayMessage("in displayPacket *** HK packet size is " |
|
221 | // emit displayMessage("in displayPacket *** HK packet size is " | |
208 | + QString::number(tmPacketToRead->size) |
|
222 | // + QString::number(tmPacketToRead->size) | |
209 | + " instead of " |
|
223 | // + " instead of " | |
210 | + QString::number(HK_PACKET_SIZE-4)); |
|
224 | // + QString::number(HK_PACKET_SIZE-4)); | |
211 | } |
|
225 | // } | |
212 | else { |
|
226 | // else { | |
213 | housekeepingPacket = (Packet_TM_LFR_HK_t *) (tmPacketToRead->Value-4); |
|
227 | // housekeepingPacket = (Packet_TM_LFR_HK_t *) (tmPacketToRead->Value-4); | |
214 |
|
228 | |||
215 | update_lfr_status_word( housekeepingPacket ); |
|
229 | // update_lfr_status_word( housekeepingPacket ); | |
216 | updateSWVersion( housekeepingPacket ); |
|
230 | // updateSWVersion( housekeepingPacket ); | |
217 | updateTCStatistics( housekeepingPacket ); |
|
231 | // updateTCStatistics( housekeepingPacket ); | |
218 | updateAnomalyStatistics( housekeepingPacket ); |
|
232 | // updateAnomalyStatistics( housekeepingPacket ); | |
219 | updateSpaceWireIFStatistics( housekeepingPacket ); |
|
233 | // updateSpaceWireIFStatistics( housekeepingPacket ); | |
220 | updateErrorCountersSpaceWire( housekeepingPacket ); |
|
234 | // updateErrorCountersSpaceWire( housekeepingPacket ); | |
221 | } |
|
235 | // } | |
222 | } |
|
236 | //} | |
223 |
|
237 | |||
224 | void HKDisplay::update_lfr_status_word(Packet_TM_LFR_HK_t *housekeepingPacket) |
|
238 | void HKDisplay::update_lfr_status_word(Packet_TM_LFR_HK_t *housekeepingPacket) | |
225 | { |
|
239 | { | |
@@ -269,6 +283,19 void HKDisplay::updateSWVersion(Packet_T | |||||
269 | ); |
|
283 | ); | |
270 | } |
|
284 | } | |
271 |
|
285 | |||
|
286 | void HKDisplay::update_FPGA_version(Packet_TM_LFR_HK_t *housekeepingPacket) | |||
|
287 | { | |||
|
288 | sy_lfr_fpga_version_n1->setText("sy_lfr_fpga_version_n1: " | |||
|
289 | +QString::number( housekeepingPacket->lfr_fpga_version[0] ) | |||
|
290 | ); | |||
|
291 | sy_lfr_fpga_version_n2->setText("sy_lfr_fpga_version_n2: " | |||
|
292 | +QString::number( housekeepingPacket->lfr_fpga_version[1] ) | |||
|
293 | ); | |||
|
294 | sy_lfr_fpga_version_n3->setText("sy_lfr_fpga_version_n3: " | |||
|
295 | +QString::number( housekeepingPacket->lfr_fpga_version[2] ) | |||
|
296 | ); | |||
|
297 | } | |||
|
298 | ||||
272 | void HKDisplay::updateTCStatistics(Packet_TM_LFR_HK_t *housekeepingPacket) |
|
299 | void HKDisplay::updateTCStatistics(Packet_TM_LFR_HK_t *housekeepingPacket) | |
273 | { |
|
300 | { | |
274 | // TC Statistics |
|
301 | // TC Statistics | |
@@ -282,15 +309,15 void HKDisplay::updateTCStatistics(Packe | |||||
282 | housekeepingPacket->hk_lfr_update_time_tc_cnt[0] * 256 |
|
309 | housekeepingPacket->hk_lfr_update_time_tc_cnt[0] * 256 | |
283 | + housekeepingPacket->hk_lfr_update_time_tc_cnt[1]) |
|
310 | + housekeepingPacket->hk_lfr_update_time_tc_cnt[1]) | |
284 | ); |
|
311 | ); | |
285 |
hk_ |
|
312 | hk_lfr_exe_tc_cnt->setText("hk_lfr_exe_tc_cnt: " | |
286 | + QString::number( |
|
313 | + QString::number( | |
287 |
housekeepingPacket->hk_ |
|
314 | housekeepingPacket->hk_lfr_exe_tc_cnt[0] * 256 | |
288 |
+ housekeepingPacket->hk_ |
|
315 | + housekeepingPacket->hk_lfr_exe_tc_cnt[1]) | |
289 | ); |
|
316 | ); | |
290 |
hk_ |
|
317 | hk_lfr_rej_tc_cnt->setText("hk_lfr_rej_tc_cnt: " | |
291 | + QString::number( |
|
318 | + QString::number( | |
292 |
housekeepingPacket->hk_ |
|
319 | housekeepingPacket->hk_lfr_rej_tc_cnt[0] * 256 | |
293 |
+ housekeepingPacket->hk_ |
|
320 | + housekeepingPacket->hk_lfr_rej_tc_cnt[1]) | |
294 | ); |
|
321 | ); | |
295 | hk_lfr_last_exe_tc_id->setText("hk_lfr_last_exe_tc_id: " |
|
322 | hk_lfr_last_exe_tc_id->setText("hk_lfr_last_exe_tc_id: " | |
296 | + QString::number( |
|
323 | + QString::number( | |
@@ -393,9 +420,9 void HKDisplay::updateSpaceWireIFStatist | |||||
393 | + QString::number( |
|
420 | + QString::number( | |
394 | housekeepingPacket->hk_lfr_dpu_spw_tick_out_cnt) |
|
421 | housekeepingPacket->hk_lfr_dpu_spw_tick_out_cnt) | |
395 | ); |
|
422 | ); | |
396 |
hk_lfr_dpu_spw_last_tim |
|
423 | hk_lfr_dpu_spw_last_timc->setText("hk_lfr_dpu_spw_last_timc: " | |
397 | + QString::number( |
|
424 | + QString::number( | |
398 |
housekeepingPacket->hk_lfr_dpu_spw_last_tim |
|
425 | housekeepingPacket->hk_lfr_dpu_spw_last_timc) | |
399 | ); |
|
426 | ); | |
400 | } |
|
427 | } | |
401 |
|
428 | |||
@@ -429,14 +456,6 void HKDisplay::updateErrorCountersSpace | |||||
429 | + QString::number( |
|
456 | + QString::number( | |
430 | housekeepingPacket->hk_lfr_dpu_spw_tx_ahb) |
|
457 | housekeepingPacket->hk_lfr_dpu_spw_tx_ahb) | |
431 | ); |
|
458 | ); | |
432 | hk_lfr_dpu_spw_header_crc->setText("hk_lfr_dpu_spw_header_crc: " |
|
|||
433 | + QString::number( |
|
|||
434 | housekeepingPacket->hk_lfr_dpu_spw_header_crc) |
|
|||
435 | ); |
|
|||
436 | hk_lfr_dpu_spw_data_crc->setText("hk_lfr_dpu_spw_data_crc: " |
|
|||
437 | + QString::number( |
|
|||
438 | housekeepingPacket->hk_lfr_dpu_spw_data_crc) |
|
|||
439 | ); |
|
|||
440 | hk_lfr_dpu_spw_early_eop->setText("hk_lfr_dpu_spw_early_eop: " |
|
459 | hk_lfr_dpu_spw_early_eop->setText("hk_lfr_dpu_spw_early_eop: " | |
441 | + QString::number( |
|
460 | + QString::number( | |
442 | housekeepingPacket->hk_lfr_dpu_spw_early_eop) |
|
461 | housekeepingPacket->hk_lfr_dpu_spw_early_eop) |
@@ -18,10 +18,11 class HKDisplay : public QWidget | |||||
18 | public: |
|
18 | public: | |
19 | explicit HKDisplay(QWidget *parent = 0); |
|
19 | explicit HKDisplay(QWidget *parent = 0); | |
20 | void displayPacket(TMPacketToRead *tmPacketToRead); |
|
20 | void displayPacket(TMPacketToRead *tmPacketToRead); | |
21 | void displayPacketLESIA(TMPacketToRead *tmPacketToRead); |
|
21 | // void displayPacketLESIA(TMPacketToRead *tmPacketToRead); | |
22 |
|
22 | |||
23 | void setupLFRStatusWord(); |
|
23 | void setupLFRStatusWord(); | |
24 | void setupLFRSWVersion(); |
|
24 | void setupLFRSWVersion(); | |
|
25 | void setupLFR_FPGA_Version(); | |||
25 | void setupTCStatistics(); |
|
26 | void setupTCStatistics(); | |
26 | void setupAnomalyStatistics(); |
|
27 | void setupAnomalyStatistics(); | |
27 | void setupSpaceWireIFStatistics(); |
|
28 | void setupSpaceWireIFStatistics(); | |
@@ -29,6 +30,7 public: | |||||
29 |
|
30 | |||
30 | void update_lfr_status_word(Packet_TM_LFR_HK_t *housekeepingPacket); |
|
31 | void update_lfr_status_word(Packet_TM_LFR_HK_t *housekeepingPacket); | |
31 | void updateSWVersion(Packet_TM_LFR_HK_t *housekeepingPacket); |
|
32 | void updateSWVersion(Packet_TM_LFR_HK_t *housekeepingPacket); | |
|
33 | void update_FPGA_version(Packet_TM_LFR_HK_t *housekeepingPacket); | |||
32 | void updateTCStatistics(Packet_TM_LFR_HK_t *housekeepingPacket); |
|
34 | void updateTCStatistics(Packet_TM_LFR_HK_t *housekeepingPacket); | |
33 | void updateAnomalyStatistics(Packet_TM_LFR_HK_t *housekeepingPacket); |
|
35 | void updateAnomalyStatistics(Packet_TM_LFR_HK_t *housekeepingPacket); | |
34 | void updateSpaceWireIFStatistics(Packet_TM_LFR_HK_t *housekeepingPacket); |
|
36 | void updateSpaceWireIFStatistics(Packet_TM_LFR_HK_t *housekeepingPacket); | |
@@ -42,6 +44,7 public slots: | |||||
42 | private: |
|
44 | private: | |
43 | QGroupBox *groupbox_lfrStatusWord; |
|
45 | QGroupBox *groupbox_lfrStatusWord; | |
44 | QGroupBox *groupbox_lfrSWVersion; |
|
46 | QGroupBox *groupbox_lfrSWVersion; | |
|
47 | QGroupBox *groupbox_lfr_FPGA_Version; | |||
45 | QGroupBox *groupbox_tcStatistics; |
|
48 | QGroupBox *groupbox_tcStatistics; | |
46 | QGroupBox *groupbox_anomalyStatistics; |
|
49 | QGroupBox *groupbox_anomalyStatistics; | |
47 | //*********************************** |
|
50 | //*********************************** | |
@@ -56,6 +59,7 private: | |||||
56 | QGridLayout *mainLayout; |
|
59 | QGridLayout *mainLayout; | |
57 | QVBoxLayout *box_lfrStatusWord; |
|
60 | QVBoxLayout *box_lfrStatusWord; | |
58 | QVBoxLayout *box_lfrSWVersion; |
|
61 | QVBoxLayout *box_lfrSWVersion; | |
|
62 | QVBoxLayout *box_lfr_FPGA_Version; | |||
59 | QVBoxLayout *box_tcStatistics; |
|
63 | QVBoxLayout *box_tcStatistics; | |
60 | QVBoxLayout *box_anomalyStatistics; |
|
64 | QVBoxLayout *box_anomalyStatistics; | |
61 | //*********************************** |
|
65 | //*********************************** | |
@@ -79,10 +83,15 private: | |||||
79 | QLabel *sy_lfr_sw_version_n2; |
|
83 | QLabel *sy_lfr_sw_version_n2; | |
80 | QLabel *sy_lfr_sw_version_n3; |
|
84 | QLabel *sy_lfr_sw_version_n3; | |
81 | QLabel *sy_lfr_sw_version_n4; |
|
85 | QLabel *sy_lfr_sw_version_n4; | |
|
86 | // sy_lfr_fpga_version | |||
|
87 | QLabel *sy_lfr_fpga_version_n1; | |||
|
88 | QLabel *sy_lfr_fpga_version_n2; | |||
|
89 | QLabel *sy_lfr_fpga_version_n3; | |||
|
90 | // | |||
82 | QLabel *hk_lfr_update_info_tc_cnt; |
|
91 | QLabel *hk_lfr_update_info_tc_cnt; | |
83 | QLabel *hk_lfr_update_time_tc_cnt; |
|
92 | QLabel *hk_lfr_update_time_tc_cnt; | |
84 |
QLabel *hk_ |
|
93 | QLabel *hk_lfr_exe_tc_cnt; | |
85 |
QLabel *hk_ |
|
94 | QLabel *hk_lfr_rej_tc_cnt; | |
86 | // hk_lfr_last_exe_tc_ |
|
95 | // hk_lfr_last_exe_tc_ | |
87 | QLabel *hk_lfr_last_exe_tc_id; |
|
96 | QLabel *hk_lfr_last_exe_tc_id; | |
88 | QLabel *hk_lfr_last_exe_tc_type; |
|
97 | QLabel *hk_lfr_last_exe_tc_type; | |
@@ -116,7 +125,7 private: | |||||
116 | QLabel *hk_lfr_dpu_spw_pkt_rcv_cnt; |
|
125 | QLabel *hk_lfr_dpu_spw_pkt_rcv_cnt; | |
117 | QLabel *hk_lfr_dpu_spw_pkt_sent_cnt; |
|
126 | QLabel *hk_lfr_dpu_spw_pkt_sent_cnt; | |
118 | QLabel *hk_lfr_dpu_spw_tick_out_cnt; |
|
127 | QLabel *hk_lfr_dpu_spw_tick_out_cnt; | |
119 |
QLabel *hk_lfr_dpu_spw_last_tim |
|
128 | QLabel *hk_lfr_dpu_spw_last_timc; | |
120 | // hk_lfr_last_fail_addr |
|
129 | // hk_lfr_last_fail_addr | |
121 | QLabel *hk_lfr_last_fail_addr; |
|
130 | QLabel *hk_lfr_last_fail_addr; | |
122 | // hk_lfr_temp_ |
|
131 | // hk_lfr_temp_ | |
@@ -131,8 +140,6 private: | |||||
131 | QLabel *hk_lfr_dpu_spw_write_sync; |
|
140 | QLabel *hk_lfr_dpu_spw_write_sync; | |
132 | QLabel *hk_lfr_dpu_spw_rx_ahb; |
|
141 | QLabel *hk_lfr_dpu_spw_rx_ahb; | |
133 | QLabel *hk_lfr_dpu_spw_tx_ahb; |
|
142 | QLabel *hk_lfr_dpu_spw_tx_ahb; | |
134 | QLabel *hk_lfr_dpu_spw_header_crc; |
|
|||
135 | QLabel *hk_lfr_dpu_spw_data_crc; |
|
|||
136 | QLabel *hk_lfr_dpu_spw_early_eop; |
|
143 | QLabel *hk_lfr_dpu_spw_early_eop; | |
137 | QLabel *hk_lfr_dpu_spw_invalid_addr; |
|
144 | QLabel *hk_lfr_dpu_spw_invalid_addr; | |
138 | QLabel *hk_lfr_dpu_spw_eep; |
|
145 | QLabel *hk_lfr_dpu_spw_eep; |
@@ -56,7 +56,8 SOURCES = main.cpp \ | |||||
56 | ../rmapplugin/spectrapacket.cpp \ |
|
56 | ../rmapplugin/spectrapacket.cpp \ | |
57 | ../common_PLE/qipdialogbox.cpp \ |
|
57 | ../common_PLE/qipdialogbox.cpp \ | |
58 | ../common_PLE/hkdisplay.cpp \ |
|
58 | ../common_PLE/hkdisplay.cpp \ | |
59 |
lfrxmlparser.cpp |
|
59 | lfrxmlparser.cpp \ | |
|
60 | recordpage.cpp moc_mainwindow.cpp \ | |||
60 | moc_mainwindowui.cpp \ |
|
61 | moc_mainwindowui.cpp \ | |
61 | moc_lfrxmlhandler.cpp \ |
|
62 | moc_lfrxmlhandler.cpp \ | |
62 | moc_lfrxmlwriter.cpp \ |
|
63 | moc_lfrxmlwriter.cpp \ | |
@@ -66,7 +67,8 SOURCES = main.cpp \ | |||||
66 | moc_spectrapacket.cpp \ |
|
67 | moc_spectrapacket.cpp \ | |
67 | moc_qipdialogbox.cpp \ |
|
68 | moc_qipdialogbox.cpp \ | |
68 | moc_hkdisplay.cpp \ |
|
69 | moc_hkdisplay.cpp \ | |
69 | moc_lfrxmlparser.cpp |
|
70 | moc_lfrxmlparser.cpp \ | |
|
71 | moc_recordpage.cpp | |||
70 | OBJECTS = main.o \ |
|
72 | OBJECTS = main.o \ | |
71 | mainwindow.o \ |
|
73 | mainwindow.o \ | |
72 | mainwindowui.o \ |
|
74 | mainwindowui.o \ | |
@@ -79,6 +81,7 OBJECTS = main.o \ | |||||
79 | qipdialogbox.o \ |
|
81 | qipdialogbox.o \ | |
80 | hkdisplay.o \ |
|
82 | hkdisplay.o \ | |
81 | lfrxmlparser.o \ |
|
83 | lfrxmlparser.o \ | |
|
84 | recordpage.o \ | |||
82 | moc_mainwindow.o \ |
|
85 | moc_mainwindow.o \ | |
83 | moc_mainwindowui.o \ |
|
86 | moc_mainwindowui.o \ | |
84 | moc_lfrxmlhandler.o \ |
|
87 | moc_lfrxmlhandler.o \ | |
@@ -89,7 +92,8 OBJECTS = main.o \ | |||||
89 | moc_spectrapacket.o \ |
|
92 | moc_spectrapacket.o \ | |
90 | moc_qipdialogbox.o \ |
|
93 | moc_qipdialogbox.o \ | |
91 | moc_hkdisplay.o \ |
|
94 | moc_hkdisplay.o \ | |
92 | moc_lfrxmlparser.o |
|
95 | moc_lfrxmlparser.o \ | |
|
96 | moc_recordpage.o | |||
93 | DIST = /usr/lib64/qt5/mkspecs/features/spec_pre.prf \ |
|
97 | DIST = /usr/lib64/qt5/mkspecs/features/spec_pre.prf \ | |
94 | /usr/lib64/qt5/mkspecs/common/shell-unix.conf \ |
|
98 | /usr/lib64/qt5/mkspecs/common/shell-unix.conf \ | |
95 | /usr/lib64/qt5/mkspecs/common/unix.conf \ |
|
99 | /usr/lib64/qt5/mkspecs/common/unix.conf \ | |
@@ -99,13 +103,12 DIST = /usr/lib64/qt5/mkspecs/f | |||||
99 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ |
|
103 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ | |
100 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ |
|
104 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ | |
101 | /usr/lib64/qt5/mkspecs/qconfig.pri \ |
|
105 | /usr/lib64/qt5/mkspecs/qconfig.pri \ | |
102 | /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri \ |
|
|||
103 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ |
|
106 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ | |
104 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ |
|
107 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ | |
105 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ |
|
108 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ | |
|
109 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri \ | |||
106 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ |
|
110 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ | |
107 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ |
|
111 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ | |
108 | /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri \ |
|
|||
109 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ |
|
112 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ | |
110 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ |
|
113 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ | |
111 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ |
|
114 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ | |
@@ -228,13 +231,12 Makefile: gselesia.pro /usr/lib64/qt5/mk | |||||
228 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ |
|
231 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ | |
229 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ |
|
232 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ | |
230 | /usr/lib64/qt5/mkspecs/qconfig.pri \ |
|
233 | /usr/lib64/qt5/mkspecs/qconfig.pri \ | |
231 | /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri \ |
|
|||
232 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ |
|
234 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ | |
233 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ |
|
235 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ | |
234 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ |
|
236 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ | |
|
237 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri \ | |||
235 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ |
|
238 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ | |
236 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ |
|
239 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ | |
237 | /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri \ |
|
|||
238 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ |
|
240 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ | |
239 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ |
|
241 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ | |
240 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ |
|
242 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ | |
@@ -331,13 +333,12 Makefile: gselesia.pro /usr/lib64/qt5/mk | |||||
331 | /usr/lib64/qt5/mkspecs/common/g++-base.conf: |
|
333 | /usr/lib64/qt5/mkspecs/common/g++-base.conf: | |
332 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf: |
|
334 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf: | |
333 | /usr/lib64/qt5/mkspecs/qconfig.pri: |
|
335 | /usr/lib64/qt5/mkspecs/qconfig.pri: | |
334 | /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri: |
|
|||
335 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri: |
|
336 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri: | |
336 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri: |
|
337 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri: | |
337 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri: |
|
338 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri: | |
|
339 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri: | |||
338 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri: |
|
340 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri: | |
339 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri: |
|
341 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri: | |
340 | /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri: |
|
|||
341 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri: |
|
342 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri: | |
342 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri: |
|
343 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri: | |
343 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri: |
|
344 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri: | |
@@ -431,7 +432,7 qmake_all: FORCE | |||||
431 |
|
432 | |||
432 | dist: |
|
433 | dist: | |
433 | @test -d .tmp/lfrsgse1.0.0 || mkdir -p .tmp/lfrsgse1.0.0 |
|
434 | @test -d .tmp/lfrsgse1.0.0 || mkdir -p .tmp/lfrsgse1.0.0 | |
434 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents mainwindow.h mainwindowui.h lfrxmlhandler.h lfrxmlwriter.h ../rmapplugin/tmstatistics.h ../rmapplugin/tmpackettoread.h ../rmapplugin/wfpacket.h ../rmapplugin/spectrapacket.h ../common_PLE/qipdialogbox.h ../common_PLE/hkdisplay.h ../rmapplugin/params.h ../../DEV_PLE/header/TC_types.h ../../DEV_PLE/header/ccsds_types.h lfrxmlparser.h .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp mainwindowui.cpp lfrxmlhandler.cpp lfrxmlwriter.cpp ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmpackettoread.cpp ../rmapplugin/wfpacket.cpp ../rmapplugin/spectrapacket.cpp ../common_PLE/qipdialogbox.cpp ../common_PLE/hkdisplay.cpp lfrxmlparser.cpp .tmp/lfrsgse1.0.0/ && (cd `dirname .tmp/lfrsgse1.0.0` && $(TAR) lfrsgse1.0.0.tar lfrsgse1.0.0 && $(COMPRESS) lfrsgse1.0.0.tar) && $(MOVE) `dirname .tmp/lfrsgse1.0.0`/lfrsgse1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/lfrsgse1.0.0 |
|
435 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents mainwindow.h mainwindowui.h lfrxmlhandler.h lfrxmlwriter.h ../rmapplugin/tmstatistics.h ../rmapplugin/tmpackettoread.h ../rmapplugin/wfpacket.h ../rmapplugin/spectrapacket.h ../common_PLE/qipdialogbox.h ../common_PLE/hkdisplay.h ../rmapplugin/params.h ../../DEV_PLE/header/TC_types.h ../../DEV_PLE/header/ccsds_types.h ../../DEV_PLE/header/fsw_params.h lfrxmlparser.h recordpage.h .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp mainwindowui.cpp lfrxmlhandler.cpp lfrxmlwriter.cpp ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmpackettoread.cpp ../rmapplugin/wfpacket.cpp ../rmapplugin/spectrapacket.cpp ../common_PLE/qipdialogbox.cpp ../common_PLE/hkdisplay.cpp lfrxmlparser.cpp recordpage.cpp .tmp/lfrsgse1.0.0/ && (cd `dirname .tmp/lfrsgse1.0.0` && $(TAR) lfrsgse1.0.0.tar lfrsgse1.0.0 && $(COMPRESS) lfrsgse1.0.0.tar) && $(MOVE) `dirname .tmp/lfrsgse1.0.0`/lfrsgse1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/lfrsgse1.0.0 | |
435 |
|
436 | |||
436 |
|
437 | |||
437 | clean:compiler_clean |
|
438 | clean:compiler_clean | |
@@ -454,9 +455,9 check: first | |||||
454 |
|
455 | |||
455 | compiler_rcc_make_all: |
|
456 | compiler_rcc_make_all: | |
456 | compiler_rcc_clean: |
|
457 | compiler_rcc_clean: | |
457 | compiler_moc_header_make_all: moc_mainwindow.cpp moc_mainwindowui.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_spectrapacket.cpp moc_qipdialogbox.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp |
|
458 | compiler_moc_header_make_all: moc_mainwindow.cpp moc_mainwindowui.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_spectrapacket.cpp moc_qipdialogbox.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_recordpage.cpp | |
458 | compiler_moc_header_clean: |
|
459 | compiler_moc_header_clean: | |
459 | -$(DEL_FILE) moc_mainwindow.cpp moc_mainwindowui.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_spectrapacket.cpp moc_qipdialogbox.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp |
|
460 | -$(DEL_FILE) moc_mainwindow.cpp moc_mainwindowui.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_spectrapacket.cpp moc_qipdialogbox.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_recordpage.cpp | |
460 | moc_mainwindow.cpp: /usr/include/qt5/QtNetwork/QTcpServer \ |
|
461 | moc_mainwindow.cpp: /usr/include/qt5/QtNetwork/QTcpServer \ | |
461 | /usr/include/qt5/QtNetwork/qtcpserver.h \ |
|
462 | /usr/include/qt5/QtNetwork/qtcpserver.h \ | |
462 | /usr/include/qt5/QtCore/qobject.h \ |
|
463 | /usr/include/qt5/QtCore/qobject.h \ | |
@@ -974,10 +975,16 moc_mainwindow.cpp: /usr/include/qt5/QtN | |||||
974 | ../rmapplugin/tmstatistics.h \ |
|
975 | ../rmapplugin/tmstatistics.h \ | |
975 | /usr/include/qt5/QtWidgets/QCheckBox \ |
|
976 | /usr/include/qt5/QtWidgets/QCheckBox \ | |
976 | ../common_PLE/hkdisplay.h \ |
|
977 | ../common_PLE/hkdisplay.h \ | |
|
978 | recordpage.h \ | |||
|
979 | /usr/include/qt5/QtGui/QCloseEvent \ | |||
977 | ../rmapplugin/wfpacket.h \ |
|
980 | ../rmapplugin/wfpacket.h \ | |
978 | ../rmapplugin/params.h \ |
|
981 | ../../DEV_PLE/header/fsw_params.h \ | |
|
982 | ../../DEV_PLE/header/grlib_regs.h \ | |||
|
983 | ../../DEV_PLE/header/fsw_params_processing.h \ | |||
|
984 | ../../DEV_PLE/header/tm_byte_positions.h \ | |||
979 | lfrxmlparser.h \ |
|
985 | lfrxmlparser.h \ | |
980 | ../rmapplugin/spectrapacket.h \ |
|
986 | ../rmapplugin/spectrapacket.h \ | |
|
987 | ../rmapplugin/params.h \ | |||
981 | mainwindow.h |
|
988 | mainwindow.h | |
982 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include mainwindow.h -o moc_mainwindow.cpp |
|
989 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include mainwindow.h -o moc_mainwindow.cpp | |
983 |
|
990 | |||
@@ -1484,6 +1491,8 moc_mainwindowui.cpp: /usr/include/qt5/Q | |||||
1484 | /usr/include/qt5/QtCore/QMap \ |
|
1491 | /usr/include/qt5/QtCore/QMap \ | |
1485 | /usr/include/qt5/QtWidgets/QCheckBox \ |
|
1492 | /usr/include/qt5/QtWidgets/QCheckBox \ | |
1486 | ../common_PLE/hkdisplay.h \ |
|
1493 | ../common_PLE/hkdisplay.h \ | |
|
1494 | recordpage.h \ | |||
|
1495 | /usr/include/qt5/QtGui/QCloseEvent \ | |||
1487 | mainwindowui.h |
|
1496 | mainwindowui.h | |
1488 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include mainwindowui.h -o moc_mainwindowui.cpp |
|
1497 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include mainwindowui.h -o moc_mainwindowui.cpp | |
1489 |
|
1498 | |||
@@ -1909,7 +1918,11 moc_wfpacket.cpp: /usr/include/qt5/QtCor | |||||
1909 | /usr/include/qt5/QtCore/qcontainerfwd.h \ |
|
1918 | /usr/include/qt5/QtCore/qcontainerfwd.h \ | |
1910 | /usr/include/qt5/QtCore/qisenum.h \ |
|
1919 | /usr/include/qt5/QtCore/qisenum.h \ | |
1911 | /usr/include/qt5/QtCore/qobject_impl.h \ |
|
1920 | /usr/include/qt5/QtCore/qobject_impl.h \ | |
1912 | ../rmapplugin/params.h \ |
|
1921 | ../../DEV_PLE/header/fsw_params.h \ | |
|
1922 | ../../DEV_PLE/header/grlib_regs.h \ | |||
|
1923 | ../../DEV_PLE/header/fsw_params_processing.h \ | |||
|
1924 | ../../DEV_PLE/header/tm_byte_positions.h \ | |||
|
1925 | ../../DEV_PLE/header/ccsds_types.h \ | |||
1913 | ../rmapplugin/wfpacket.h |
|
1926 | ../rmapplugin/wfpacket.h | |
1914 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include ../rmapplugin/wfpacket.h -o moc_wfpacket.cpp |
|
1927 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include ../rmapplugin/wfpacket.h -o moc_wfpacket.cpp | |
1915 |
|
1928 | |||
@@ -2284,6 +2297,143 moc_lfrxmlparser.cpp: /usr/include/qt5/Q | |||||
2284 | lfrxmlparser.h |
|
2297 | lfrxmlparser.h | |
2285 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include lfrxmlparser.h -o moc_lfrxmlparser.cpp |
|
2298 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include lfrxmlparser.h -o moc_lfrxmlparser.cpp | |
2286 |
|
2299 | |||
|
2300 | moc_recordpage.cpp: /usr/include/qt5/QtWidgets/QWidget \ | |||
|
2301 | /usr/include/qt5/QtWidgets/qwidget.h \ | |||
|
2302 | /usr/include/qt5/QtGui/qwindowdefs.h \ | |||
|
2303 | /usr/include/qt5/QtCore/qglobal.h \ | |||
|
2304 | /usr/include/qt5/QtCore/qconfig.h \ | |||
|
2305 | /usr/include/qt5/QtCore/qconfig-64.h \ | |||
|
2306 | /usr/include/qt5/QtCore/qfeatures.h \ | |||
|
2307 | /usr/include/qt5/QtCore/qsystemdetection.h \ | |||
|
2308 | /usr/include/qt5/QtCore/qprocessordetection.h \ | |||
|
2309 | /usr/include/qt5/QtCore/qcompilerdetection.h \ | |||
|
2310 | /usr/include/qt5/QtCore/qglobalstatic.h \ | |||
|
2311 | /usr/include/qt5/QtCore/qatomic.h \ | |||
|
2312 | /usr/include/qt5/QtCore/qbasicatomic.h \ | |||
|
2313 | /usr/include/qt5/QtCore/qatomic_bootstrap.h \ | |||
|
2314 | /usr/include/qt5/QtCore/qgenericatomic.h \ | |||
|
2315 | /usr/include/qt5/QtCore/qatomic_msvc.h \ | |||
|
2316 | /usr/include/qt5/QtCore/qatomic_integrity.h \ | |||
|
2317 | /usr/include/qt5/QtCore/qoldbasicatomic.h \ | |||
|
2318 | /usr/include/qt5/QtCore/qatomic_vxworks.h \ | |||
|
2319 | /usr/include/qt5/QtCore/qatomic_power.h \ | |||
|
2320 | /usr/include/qt5/QtCore/qatomic_alpha.h \ | |||
|
2321 | /usr/include/qt5/QtCore/qatomic_armv7.h \ | |||
|
2322 | /usr/include/qt5/QtCore/qatomic_armv6.h \ | |||
|
2323 | /usr/include/qt5/QtCore/qatomic_armv5.h \ | |||
|
2324 | /usr/include/qt5/QtCore/qatomic_bfin.h \ | |||
|
2325 | /usr/include/qt5/QtCore/qatomic_ia64.h \ | |||
|
2326 | /usr/include/qt5/QtCore/qatomic_mips.h \ | |||
|
2327 | /usr/include/qt5/QtCore/qatomic_s390.h \ | |||
|
2328 | /usr/include/qt5/QtCore/qatomic_sh4a.h \ | |||
|
2329 | /usr/include/qt5/QtCore/qatomic_sparc.h \ | |||
|
2330 | /usr/include/qt5/QtCore/qatomic_x86.h \ | |||
|
2331 | /usr/include/qt5/QtCore/qatomic_cxx11.h \ | |||
|
2332 | /usr/include/qt5/QtCore/qatomic_gcc.h \ | |||
|
2333 | /usr/include/qt5/QtCore/qatomic_unix.h \ | |||
|
2334 | /usr/include/qt5/QtCore/qmutex.h \ | |||
|
2335 | /usr/include/qt5/QtCore/qlogging.h \ | |||
|
2336 | /usr/include/qt5/QtCore/qflags.h \ | |||
|
2337 | /usr/include/qt5/QtCore/qtypeinfo.h \ | |||
|
2338 | /usr/include/qt5/QtCore/qtypetraits.h \ | |||
|
2339 | /usr/include/qt5/QtCore/qsysinfo.h \ | |||
|
2340 | /usr/include/qt5/QtCore/qobjectdefs.h \ | |||
|
2341 | /usr/include/qt5/QtCore/qnamespace.h \ | |||
|
2342 | /usr/include/qt5/QtCore/qobjectdefs_impl.h \ | |||
|
2343 | /usr/include/qt5/QtGui/qwindowdefs_win.h \ | |||
|
2344 | /usr/include/qt5/QtCore/qobject.h \ | |||
|
2345 | /usr/include/qt5/QtCore/qstring.h \ | |||
|
2346 | /usr/include/qt5/QtCore/qchar.h \ | |||
|
2347 | /usr/include/qt5/QtCore/qbytearray.h \ | |||
|
2348 | /usr/include/qt5/QtCore/qrefcount.h \ | |||
|
2349 | /usr/include/qt5/QtCore/qarraydata.h \ | |||
|
2350 | /usr/include/qt5/QtCore/qstringbuilder.h \ | |||
|
2351 | /usr/include/qt5/QtCore/qlist.h \ | |||
|
2352 | /usr/include/qt5/QtCore/qalgorithms.h \ | |||
|
2353 | /usr/include/qt5/QtCore/qiterator.h \ | |||
|
2354 | /usr/include/qt5/QtCore/qcoreevent.h \ | |||
|
2355 | /usr/include/qt5/QtCore/qscopedpointer.h \ | |||
|
2356 | /usr/include/qt5/QtCore/qmetatype.h \ | |||
|
2357 | /usr/include/qt5/QtCore/qvarlengtharray.h \ | |||
|
2358 | /usr/include/qt5/QtCore/qcontainerfwd.h \ | |||
|
2359 | /usr/include/qt5/QtCore/qisenum.h \ | |||
|
2360 | /usr/include/qt5/QtCore/qobject_impl.h \ | |||
|
2361 | /usr/include/qt5/QtCore/qmargins.h \ | |||
|
2362 | /usr/include/qt5/QtCore/qrect.h \ | |||
|
2363 | /usr/include/qt5/QtCore/qsize.h \ | |||
|
2364 | /usr/include/qt5/QtCore/qpoint.h \ | |||
|
2365 | /usr/include/qt5/QtGui/qpaintdevice.h \ | |||
|
2366 | /usr/include/qt5/QtGui/qpalette.h \ | |||
|
2367 | /usr/include/qt5/QtGui/qcolor.h \ | |||
|
2368 | /usr/include/qt5/QtGui/qrgb.h \ | |||
|
2369 | /usr/include/qt5/QtCore/qstringlist.h \ | |||
|
2370 | /usr/include/qt5/QtCore/qdatastream.h \ | |||
|
2371 | /usr/include/qt5/QtCore/qiodevice.h \ | |||
|
2372 | /usr/include/qt5/QtCore/qpair.h \ | |||
|
2373 | /usr/include/qt5/QtCore/qregexp.h \ | |||
|
2374 | /usr/include/qt5/QtCore/qstringmatcher.h \ | |||
|
2375 | /usr/include/qt5/QtGui/qbrush.h \ | |||
|
2376 | /usr/include/qt5/QtCore/qvector.h \ | |||
|
2377 | /usr/include/qt5/QtGui/qmatrix.h \ | |||
|
2378 | /usr/include/qt5/QtGui/qpolygon.h \ | |||
|
2379 | /usr/include/qt5/QtGui/qregion.h \ | |||
|
2380 | /usr/include/qt5/QtCore/qline.h \ | |||
|
2381 | /usr/include/qt5/QtGui/qtransform.h \ | |||
|
2382 | /usr/include/qt5/QtGui/qpainterpath.h \ | |||
|
2383 | /usr/include/qt5/QtGui/qimage.h \ | |||
|
2384 | /usr/include/qt5/QtGui/qpixmap.h \ | |||
|
2385 | /usr/include/qt5/QtCore/qsharedpointer.h \ | |||
|
2386 | /usr/include/qt5/QtCore/qshareddata.h \ | |||
|
2387 | /usr/include/qt5/QtCore/qsharedpointer_impl.h \ | |||
|
2388 | /usr/include/qt5/QtCore/qhash.h \ | |||
|
2389 | /usr/include/qt5/QtGui/qfont.h \ | |||
|
2390 | /usr/include/qt5/QtGui/qfontmetrics.h \ | |||
|
2391 | /usr/include/qt5/QtGui/qfontinfo.h \ | |||
|
2392 | /usr/include/qt5/QtWidgets/qsizepolicy.h \ | |||
|
2393 | /usr/include/qt5/QtGui/qcursor.h \ | |||
|
2394 | /usr/include/qt5/QtGui/qkeysequence.h \ | |||
|
2395 | /usr/include/qt5/QtGui/qevent.h \ | |||
|
2396 | /usr/include/qt5/QtCore/qvariant.h \ | |||
|
2397 | /usr/include/qt5/QtCore/qmap.h \ | |||
|
2398 | /usr/include/qt5/QtCore/qdebug.h \ | |||
|
2399 | /usr/include/qt5/QtCore/qtextstream.h \ | |||
|
2400 | /usr/include/qt5/QtCore/qlocale.h \ | |||
|
2401 | /usr/include/qt5/QtCore/qset.h \ | |||
|
2402 | /usr/include/qt5/QtCore/qcontiguouscache.h \ | |||
|
2403 | /usr/include/qt5/QtCore/qurl.h \ | |||
|
2404 | /usr/include/qt5/QtCore/qurlquery.h \ | |||
|
2405 | /usr/include/qt5/QtCore/qfile.h \ | |||
|
2406 | /usr/include/qt5/QtCore/qfiledevice.h \ | |||
|
2407 | /usr/include/qt5/QtGui/qvector2d.h \ | |||
|
2408 | /usr/include/qt5/QtGui/qtouchdevice.h \ | |||
|
2409 | /usr/include/qt5/QtWidgets/QRadioButton \ | |||
|
2410 | /usr/include/qt5/QtWidgets/qradiobutton.h \ | |||
|
2411 | /usr/include/qt5/QtWidgets/qabstractbutton.h \ | |||
|
2412 | /usr/include/qt5/QtGui/qicon.h \ | |||
|
2413 | /usr/include/qt5/QtWidgets/QGroupBox \ | |||
|
2414 | /usr/include/qt5/QtWidgets/qgroupbox.h \ | |||
|
2415 | /usr/include/qt5/QtWidgets/qframe.h \ | |||
|
2416 | /usr/include/qt5/QtWidgets/QVBoxLayout \ | |||
|
2417 | /usr/include/qt5/QtWidgets/qboxlayout.h \ | |||
|
2418 | /usr/include/qt5/QtWidgets/qlayout.h \ | |||
|
2419 | /usr/include/qt5/QtWidgets/qlayoutitem.h \ | |||
|
2420 | /usr/include/qt5/QtWidgets/qgridlayout.h \ | |||
|
2421 | /usr/include/qt5/QtWidgets/QGridLayout \ | |||
|
2422 | /usr/include/qt5/QtWidgets/QLabel \ | |||
|
2423 | /usr/include/qt5/QtWidgets/qlabel.h \ | |||
|
2424 | /usr/include/qt5/QtWidgets/QPushButton \ | |||
|
2425 | /usr/include/qt5/QtWidgets/qpushbutton.h \ | |||
|
2426 | /usr/include/qt5/QtCore/QSettings \ | |||
|
2427 | /usr/include/qt5/QtCore/qsettings.h \ | |||
|
2428 | /usr/include/qt5/QtWidgets/QFileDialog \ | |||
|
2429 | /usr/include/qt5/QtWidgets/qfiledialog.h \ | |||
|
2430 | /usr/include/qt5/QtCore/qdir.h \ | |||
|
2431 | /usr/include/qt5/QtCore/qfileinfo.h \ | |||
|
2432 | /usr/include/qt5/QtWidgets/qdialog.h \ | |||
|
2433 | /usr/include/qt5/QtGui/QCloseEvent \ | |||
|
2434 | recordpage.h | |||
|
2435 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include recordpage.h -o moc_recordpage.cpp | |||
|
2436 | ||||
2287 | compiler_moc_source_make_all: |
|
2437 | compiler_moc_source_make_all: | |
2288 | compiler_moc_source_clean: |
|
2438 | compiler_moc_source_clean: | |
2289 | compiler_uic_make_all: |
|
2439 | compiler_uic_make_all: | |
@@ -2816,10 +2966,16 main.o: main.cpp mainwindow.h \ | |||||
2816 | ../rmapplugin/tmstatistics.h \ |
|
2966 | ../rmapplugin/tmstatistics.h \ | |
2817 | /usr/include/qt5/QtWidgets/QCheckBox \ |
|
2967 | /usr/include/qt5/QtWidgets/QCheckBox \ | |
2818 | ../common_PLE/hkdisplay.h \ |
|
2968 | ../common_PLE/hkdisplay.h \ | |
|
2969 | recordpage.h \ | |||
|
2970 | /usr/include/qt5/QtGui/QCloseEvent \ | |||
2819 | ../rmapplugin/wfpacket.h \ |
|
2971 | ../rmapplugin/wfpacket.h \ | |
2820 | ../rmapplugin/params.h \ |
|
2972 | ../../DEV_PLE/header/fsw_params.h \ | |
|
2973 | ../../DEV_PLE/header/grlib_regs.h \ | |||
|
2974 | ../../DEV_PLE/header/fsw_params_processing.h \ | |||
|
2975 | ../../DEV_PLE/header/tm_byte_positions.h \ | |||
2821 | lfrxmlparser.h \ |
|
2976 | lfrxmlparser.h \ | |
2822 | ../rmapplugin/spectrapacket.h |
|
2977 | ../rmapplugin/spectrapacket.h \ | |
|
2978 | ../rmapplugin/params.h | |||
2823 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp |
|
2979 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp | |
2824 |
|
2980 | |||
2825 | mainwindow.o: mainwindow.cpp mainwindow.h \ |
|
2981 | mainwindow.o: mainwindow.cpp mainwindow.h \ | |
@@ -3340,10 +3496,16 mainwindow.o: mainwindow.cpp mainwindow. | |||||
3340 | ../rmapplugin/tmstatistics.h \ |
|
3496 | ../rmapplugin/tmstatistics.h \ | |
3341 | /usr/include/qt5/QtWidgets/QCheckBox \ |
|
3497 | /usr/include/qt5/QtWidgets/QCheckBox \ | |
3342 | ../common_PLE/hkdisplay.h \ |
|
3498 | ../common_PLE/hkdisplay.h \ | |
|
3499 | recordpage.h \ | |||
|
3500 | /usr/include/qt5/QtGui/QCloseEvent \ | |||
3343 | ../rmapplugin/wfpacket.h \ |
|
3501 | ../rmapplugin/wfpacket.h \ | |
3344 | ../rmapplugin/params.h \ |
|
3502 | ../../DEV_PLE/header/fsw_params.h \ | |
|
3503 | ../../DEV_PLE/header/grlib_regs.h \ | |||
|
3504 | ../../DEV_PLE/header/fsw_params_processing.h \ | |||
|
3505 | ../../DEV_PLE/header/tm_byte_positions.h \ | |||
3345 | lfrxmlparser.h \ |
|
3506 | lfrxmlparser.h \ | |
3346 | ../rmapplugin/spectrapacket.h \ |
|
3507 | ../rmapplugin/spectrapacket.h \ | |
|
3508 | ../rmapplugin/params.h \ | |||
3347 | /usr/include/qt5/QtNetwork/QNetworkInterface \ |
|
3509 | /usr/include/qt5/QtNetwork/QNetworkInterface \ | |
3348 | /usr/include/qt5/QtNetwork/qnetworkinterface.h |
|
3510 | /usr/include/qt5/QtNetwork/qnetworkinterface.h | |
3349 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp |
|
3511 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp | |
@@ -3851,7 +4013,9 mainwindowui.o: mainwindowui.cpp mainwin | |||||
3851 | ../rmapplugin/tmstatistics.h \ |
|
4013 | ../rmapplugin/tmstatistics.h \ | |
3852 | /usr/include/qt5/QtCore/QMap \ |
|
4014 | /usr/include/qt5/QtCore/QMap \ | |
3853 | /usr/include/qt5/QtWidgets/QCheckBox \ |
|
4015 | /usr/include/qt5/QtWidgets/QCheckBox \ | |
3854 | ../common_PLE/hkdisplay.h |
|
4016 | ../common_PLE/hkdisplay.h \ | |
|
4017 | recordpage.h \ | |||
|
4018 | /usr/include/qt5/QtGui/QCloseEvent | |||
3855 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindowui.o mainwindowui.cpp |
|
4019 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindowui.o mainwindowui.cpp | |
3856 |
|
4020 | |||
3857 | lfrxmlhandler.o: lfrxmlhandler.cpp lfrxmlhandler.h \ |
|
4021 | lfrxmlhandler.o: lfrxmlhandler.cpp lfrxmlhandler.h \ | |
@@ -4635,7 +4799,11 wfpacket.o: ../rmapplugin/wfpacket.cpp . | |||||
4635 | /usr/include/qt5/QtCore/qcontainerfwd.h \ |
|
4799 | /usr/include/qt5/QtCore/qcontainerfwd.h \ | |
4636 | /usr/include/qt5/QtCore/qisenum.h \ |
|
4800 | /usr/include/qt5/QtCore/qisenum.h \ | |
4637 | /usr/include/qt5/QtCore/qobject_impl.h \ |
|
4801 | /usr/include/qt5/QtCore/qobject_impl.h \ | |
4638 | ../rmapplugin/params.h |
|
4802 | ../../DEV_PLE/header/fsw_params.h \ | |
|
4803 | ../../DEV_PLE/header/grlib_regs.h \ | |||
|
4804 | ../../DEV_PLE/header/fsw_params_processing.h \ | |||
|
4805 | ../../DEV_PLE/header/tm_byte_positions.h \ | |||
|
4806 | ../../DEV_PLE/header/ccsds_types.h | |||
4639 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpacket.o ../rmapplugin/wfpacket.cpp |
|
4807 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpacket.o ../rmapplugin/wfpacket.cpp | |
4640 |
|
4808 | |||
4641 | spectrapacket.o: ../rmapplugin/spectrapacket.cpp ../rmapplugin/spectrapacket.h \ |
|
4809 | spectrapacket.o: ../rmapplugin/spectrapacket.cpp ../rmapplugin/spectrapacket.h \ | |
@@ -5016,6 +5184,143 lfrxmlparser.o: lfrxmlparser.cpp lfrxmlp | |||||
5016 | ../rmapplugin/tmpackettoread.h |
|
5184 | ../rmapplugin/tmpackettoread.h | |
5017 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlparser.o lfrxmlparser.cpp |
|
5185 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlparser.o lfrxmlparser.cpp | |
5018 |
|
5186 | |||
|
5187 | recordpage.o: recordpage.cpp recordpage.h \ | |||
|
5188 | /usr/include/qt5/QtWidgets/QWidget \ | |||
|
5189 | /usr/include/qt5/QtWidgets/qwidget.h \ | |||
|
5190 | /usr/include/qt5/QtGui/qwindowdefs.h \ | |||
|
5191 | /usr/include/qt5/QtCore/qglobal.h \ | |||
|
5192 | /usr/include/qt5/QtCore/qconfig.h \ | |||
|
5193 | /usr/include/qt5/QtCore/qconfig-64.h \ | |||
|
5194 | /usr/include/qt5/QtCore/qfeatures.h \ | |||
|
5195 | /usr/include/qt5/QtCore/qsystemdetection.h \ | |||
|
5196 | /usr/include/qt5/QtCore/qprocessordetection.h \ | |||
|
5197 | /usr/include/qt5/QtCore/qcompilerdetection.h \ | |||
|
5198 | /usr/include/qt5/QtCore/qglobalstatic.h \ | |||
|
5199 | /usr/include/qt5/QtCore/qatomic.h \ | |||
|
5200 | /usr/include/qt5/QtCore/qbasicatomic.h \ | |||
|
5201 | /usr/include/qt5/QtCore/qatomic_bootstrap.h \ | |||
|
5202 | /usr/include/qt5/QtCore/qgenericatomic.h \ | |||
|
5203 | /usr/include/qt5/QtCore/qatomic_msvc.h \ | |||
|
5204 | /usr/include/qt5/QtCore/qatomic_integrity.h \ | |||
|
5205 | /usr/include/qt5/QtCore/qoldbasicatomic.h \ | |||
|
5206 | /usr/include/qt5/QtCore/qatomic_vxworks.h \ | |||
|
5207 | /usr/include/qt5/QtCore/qatomic_power.h \ | |||
|
5208 | /usr/include/qt5/QtCore/qatomic_alpha.h \ | |||
|
5209 | /usr/include/qt5/QtCore/qatomic_armv7.h \ | |||
|
5210 | /usr/include/qt5/QtCore/qatomic_armv6.h \ | |||
|
5211 | /usr/include/qt5/QtCore/qatomic_armv5.h \ | |||
|
5212 | /usr/include/qt5/QtCore/qatomic_bfin.h \ | |||
|
5213 | /usr/include/qt5/QtCore/qatomic_ia64.h \ | |||
|
5214 | /usr/include/qt5/QtCore/qatomic_mips.h \ | |||
|
5215 | /usr/include/qt5/QtCore/qatomic_s390.h \ | |||
|
5216 | /usr/include/qt5/QtCore/qatomic_sh4a.h \ | |||
|
5217 | /usr/include/qt5/QtCore/qatomic_sparc.h \ | |||
|
5218 | /usr/include/qt5/QtCore/qatomic_x86.h \ | |||
|
5219 | /usr/include/qt5/QtCore/qatomic_cxx11.h \ | |||
|
5220 | /usr/include/qt5/QtCore/qatomic_gcc.h \ | |||
|
5221 | /usr/include/qt5/QtCore/qatomic_unix.h \ | |||
|
5222 | /usr/include/qt5/QtCore/qmutex.h \ | |||
|
5223 | /usr/include/qt5/QtCore/qlogging.h \ | |||
|
5224 | /usr/include/qt5/QtCore/qflags.h \ | |||
|
5225 | /usr/include/qt5/QtCore/qtypeinfo.h \ | |||
|
5226 | /usr/include/qt5/QtCore/qtypetraits.h \ | |||
|
5227 | /usr/include/qt5/QtCore/qsysinfo.h \ | |||
|
5228 | /usr/include/qt5/QtCore/qobjectdefs.h \ | |||
|
5229 | /usr/include/qt5/QtCore/qnamespace.h \ | |||
|
5230 | /usr/include/qt5/QtCore/qobjectdefs_impl.h \ | |||
|
5231 | /usr/include/qt5/QtGui/qwindowdefs_win.h \ | |||
|
5232 | /usr/include/qt5/QtCore/qobject.h \ | |||
|
5233 | /usr/include/qt5/QtCore/qstring.h \ | |||
|
5234 | /usr/include/qt5/QtCore/qchar.h \ | |||
|
5235 | /usr/include/qt5/QtCore/qbytearray.h \ | |||
|
5236 | /usr/include/qt5/QtCore/qrefcount.h \ | |||
|
5237 | /usr/include/qt5/QtCore/qarraydata.h \ | |||
|
5238 | /usr/include/qt5/QtCore/qstringbuilder.h \ | |||
|
5239 | /usr/include/qt5/QtCore/qlist.h \ | |||
|
5240 | /usr/include/qt5/QtCore/qalgorithms.h \ | |||
|
5241 | /usr/include/qt5/QtCore/qiterator.h \ | |||
|
5242 | /usr/include/qt5/QtCore/qcoreevent.h \ | |||
|
5243 | /usr/include/qt5/QtCore/qscopedpointer.h \ | |||
|
5244 | /usr/include/qt5/QtCore/qmetatype.h \ | |||
|
5245 | /usr/include/qt5/QtCore/qvarlengtharray.h \ | |||
|
5246 | /usr/include/qt5/QtCore/qcontainerfwd.h \ | |||
|
5247 | /usr/include/qt5/QtCore/qisenum.h \ | |||
|
5248 | /usr/include/qt5/QtCore/qobject_impl.h \ | |||
|
5249 | /usr/include/qt5/QtCore/qmargins.h \ | |||
|
5250 | /usr/include/qt5/QtCore/qrect.h \ | |||
|
5251 | /usr/include/qt5/QtCore/qsize.h \ | |||
|
5252 | /usr/include/qt5/QtCore/qpoint.h \ | |||
|
5253 | /usr/include/qt5/QtGui/qpaintdevice.h \ | |||
|
5254 | /usr/include/qt5/QtGui/qpalette.h \ | |||
|
5255 | /usr/include/qt5/QtGui/qcolor.h \ | |||
|
5256 | /usr/include/qt5/QtGui/qrgb.h \ | |||
|
5257 | /usr/include/qt5/QtCore/qstringlist.h \ | |||
|
5258 | /usr/include/qt5/QtCore/qdatastream.h \ | |||
|
5259 | /usr/include/qt5/QtCore/qiodevice.h \ | |||
|
5260 | /usr/include/qt5/QtCore/qpair.h \ | |||
|
5261 | /usr/include/qt5/QtCore/qregexp.h \ | |||
|
5262 | /usr/include/qt5/QtCore/qstringmatcher.h \ | |||
|
5263 | /usr/include/qt5/QtGui/qbrush.h \ | |||
|
5264 | /usr/include/qt5/QtCore/qvector.h \ | |||
|
5265 | /usr/include/qt5/QtGui/qmatrix.h \ | |||
|
5266 | /usr/include/qt5/QtGui/qpolygon.h \ | |||
|
5267 | /usr/include/qt5/QtGui/qregion.h \ | |||
|
5268 | /usr/include/qt5/QtCore/qline.h \ | |||
|
5269 | /usr/include/qt5/QtGui/qtransform.h \ | |||
|
5270 | /usr/include/qt5/QtGui/qpainterpath.h \ | |||
|
5271 | /usr/include/qt5/QtGui/qimage.h \ | |||
|
5272 | /usr/include/qt5/QtGui/qpixmap.h \ | |||
|
5273 | /usr/include/qt5/QtCore/qsharedpointer.h \ | |||
|
5274 | /usr/include/qt5/QtCore/qshareddata.h \ | |||
|
5275 | /usr/include/qt5/QtCore/qsharedpointer_impl.h \ | |||
|
5276 | /usr/include/qt5/QtCore/qhash.h \ | |||
|
5277 | /usr/include/qt5/QtGui/qfont.h \ | |||
|
5278 | /usr/include/qt5/QtGui/qfontmetrics.h \ | |||
|
5279 | /usr/include/qt5/QtGui/qfontinfo.h \ | |||
|
5280 | /usr/include/qt5/QtWidgets/qsizepolicy.h \ | |||
|
5281 | /usr/include/qt5/QtGui/qcursor.h \ | |||
|
5282 | /usr/include/qt5/QtGui/qkeysequence.h \ | |||
|
5283 | /usr/include/qt5/QtGui/qevent.h \ | |||
|
5284 | /usr/include/qt5/QtCore/qvariant.h \ | |||
|
5285 | /usr/include/qt5/QtCore/qmap.h \ | |||
|
5286 | /usr/include/qt5/QtCore/qdebug.h \ | |||
|
5287 | /usr/include/qt5/QtCore/qtextstream.h \ | |||
|
5288 | /usr/include/qt5/QtCore/qlocale.h \ | |||
|
5289 | /usr/include/qt5/QtCore/qset.h \ | |||
|
5290 | /usr/include/qt5/QtCore/qcontiguouscache.h \ | |||
|
5291 | /usr/include/qt5/QtCore/qurl.h \ | |||
|
5292 | /usr/include/qt5/QtCore/qurlquery.h \ | |||
|
5293 | /usr/include/qt5/QtCore/qfile.h \ | |||
|
5294 | /usr/include/qt5/QtCore/qfiledevice.h \ | |||
|
5295 | /usr/include/qt5/QtGui/qvector2d.h \ | |||
|
5296 | /usr/include/qt5/QtGui/qtouchdevice.h \ | |||
|
5297 | /usr/include/qt5/QtWidgets/QRadioButton \ | |||
|
5298 | /usr/include/qt5/QtWidgets/qradiobutton.h \ | |||
|
5299 | /usr/include/qt5/QtWidgets/qabstractbutton.h \ | |||
|
5300 | /usr/include/qt5/QtGui/qicon.h \ | |||
|
5301 | /usr/include/qt5/QtWidgets/QGroupBox \ | |||
|
5302 | /usr/include/qt5/QtWidgets/qgroupbox.h \ | |||
|
5303 | /usr/include/qt5/QtWidgets/qframe.h \ | |||
|
5304 | /usr/include/qt5/QtWidgets/QVBoxLayout \ | |||
|
5305 | /usr/include/qt5/QtWidgets/qboxlayout.h \ | |||
|
5306 | /usr/include/qt5/QtWidgets/qlayout.h \ | |||
|
5307 | /usr/include/qt5/QtWidgets/qlayoutitem.h \ | |||
|
5308 | /usr/include/qt5/QtWidgets/qgridlayout.h \ | |||
|
5309 | /usr/include/qt5/QtWidgets/QGridLayout \ | |||
|
5310 | /usr/include/qt5/QtWidgets/QLabel \ | |||
|
5311 | /usr/include/qt5/QtWidgets/qlabel.h \ | |||
|
5312 | /usr/include/qt5/QtWidgets/QPushButton \ | |||
|
5313 | /usr/include/qt5/QtWidgets/qpushbutton.h \ | |||
|
5314 | /usr/include/qt5/QtCore/QSettings \ | |||
|
5315 | /usr/include/qt5/QtCore/qsettings.h \ | |||
|
5316 | /usr/include/qt5/QtWidgets/QFileDialog \ | |||
|
5317 | /usr/include/qt5/QtWidgets/qfiledialog.h \ | |||
|
5318 | /usr/include/qt5/QtCore/qdir.h \ | |||
|
5319 | /usr/include/qt5/QtCore/qfileinfo.h \ | |||
|
5320 | /usr/include/qt5/QtWidgets/qdialog.h \ | |||
|
5321 | /usr/include/qt5/QtGui/QCloseEvent | |||
|
5322 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o recordpage.o recordpage.cpp | |||
|
5323 | ||||
5019 | moc_mainwindow.o: moc_mainwindow.cpp |
|
5324 | moc_mainwindow.o: moc_mainwindow.cpp | |
5020 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp |
|
5325 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp | |
5021 |
|
5326 | |||
@@ -5049,6 +5354,9 moc_hkdisplay.o: moc_hkdisplay.cpp | |||||
5049 | moc_lfrxmlparser.o: moc_lfrxmlparser.cpp |
|
5354 | moc_lfrxmlparser.o: moc_lfrxmlparser.cpp | |
5050 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlparser.o moc_lfrxmlparser.cpp |
|
5355 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlparser.o moc_lfrxmlparser.cpp | |
5051 |
|
5356 | |||
|
5357 | moc_recordpage.o: moc_recordpage.cpp | |||
|
5358 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_recordpage.o moc_recordpage.cpp | |||
|
5359 | ||||
5052 | ####### Install |
|
5360 | ####### Install | |
5053 |
|
5361 | |||
5054 | install: FORCE |
|
5362 | install: FORCE |
@@ -41,7 +41,8 SOURCES += main.cpp\ | |||||
41 | ../rmapplugin/spectrapacket.cpp \ |
|
41 | ../rmapplugin/spectrapacket.cpp \ | |
42 | ../common_PLE/qipdialogbox.cpp \ |
|
42 | ../common_PLE/qipdialogbox.cpp \ | |
43 | ../common_PLE/hkdisplay.cpp \ |
|
43 | ../common_PLE/hkdisplay.cpp \ | |
44 | lfrxmlparser.cpp |
|
44 | lfrxmlparser.cpp \ | |
|
45 | recordpage.cpp | |||
45 |
|
46 | |||
46 | HEADERS += mainwindow.h \ |
|
47 | HEADERS += mainwindow.h \ | |
47 | mainwindowui.h \ |
|
48 | mainwindowui.h \ | |
@@ -56,7 +57,9 HEADERS += mainwindow.h \ | |||||
56 | ../rmapplugin/params.h \ |
|
57 | ../rmapplugin/params.h \ | |
57 | ../../DEV_PLE/header/TC_types.h \ |
|
58 | ../../DEV_PLE/header/TC_types.h \ | |
58 | ../../DEV_PLE/header/ccsds_types.h \ |
|
59 | ../../DEV_PLE/header/ccsds_types.h \ | |
59 | lfrxmlparser.h |
|
60 | ../../DEV_PLE/header/fsw_params.h \ | |
|
61 | lfrxmlparser.h \ | |||
|
62 | recordpage.h | |||
60 |
|
63 | |||
61 |
|
64 | |||
62 |
|
65 |
@@ -1,6 +1,6 | |||||
1 | <?xml version="1.0" encoding="UTF-8"?> |
|
1 | <?xml version="1.0" encoding="UTF-8"?> | |
2 | <!DOCTYPE QtCreatorProject> |
|
2 | <!DOCTYPE QtCreatorProject> | |
3 |
<!-- Written by QtCreator 3.0.0, 2014-0 |
|
3 | <!-- Written by QtCreator 3.0.0, 2014-02-06T15:45:50. --> | |
4 | <qtcreator> |
|
4 | <qtcreator> | |
5 | <data> |
|
5 | <data> | |
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
|
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
1 | NO CONTENT: modified file, binary diff hidden |
|
NO CONTENT: modified file, binary diff hidden |
@@ -11,6 +11,16 MainWindow::MainWindow(QWidget *parent) | |||||
11 |
|
11 | |||
12 | spectraPacketNormalSpectrumF0 = new SpectraPacket(this, 128); |
|
12 | spectraPacketNormalSpectrumF0 = new SpectraPacket(this, 128); | |
13 |
|
13 | |||
|
14 | //********* | |||
|
15 | // wfPacket | |||
|
16 | wfPacketNormal[0] = new WFPacket(0, 2048); | |||
|
17 | wfPacketNormal[1] = new WFPacket(0, 2048); | |||
|
18 | wfPacketNormal[2] = new WFPacket(0, 2048); | |||
|
19 | wfPacketNormal[3] = new WFPacket(0, 2372); | |||
|
20 | wfPacketBurst = new WFPacket(0, 2372); | |||
|
21 | wfPacketSBM1 = new WFPacket(0, 2372); | |||
|
22 | wfPacketSBM2 = new WFPacket(0, 2372); | |||
|
23 | ||||
14 | //**** |
|
24 | //**** | |
15 | // XML |
|
25 | // XML | |
16 | // xml handlers |
|
26 | // xml handlers | |
@@ -79,7 +89,13 MainWindow::MainWindow(QWidget *parent) | |||||
79 |
|
89 | |||
80 | MainWindow::~MainWindow() |
|
90 | MainWindow::~MainWindow() | |
81 | { |
|
91 | { | |
82 |
|
92 | delete wfPacketNormal[0]; | ||
|
93 | delete wfPacketNormal[1]; | |||
|
94 | delete wfPacketNormal[2]; | |||
|
95 | delete wfPacketNormal[3]; | |||
|
96 | delete wfPacketBurst; | |||
|
97 | delete wfPacketSBM1; | |||
|
98 | delete wfPacketSBM2; | |||
83 | } |
|
99 | } | |
84 |
|
100 | |||
85 | void MainWindow::displayNetworkInterfaces() |
|
101 | void MainWindow::displayNetworkInterfaces() | |
@@ -244,19 +260,48 void MainWindow::socket_TMEcho_ServerHas | |||||
244 | this->displayOnConsole("TM Echo Socket socket *** " + socketStates.at(socketEchoServer->state()) ); |
|
260 | this->displayOnConsole("TM Echo Socket socket *** " + socketStates.at(socketEchoServer->state()) ); | |
245 | } |
|
261 | } | |
246 |
|
262 | |||
247 | void MainWindow::buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page) |
|
263 | void MainWindow::buildWFAndDisplay_SWF(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page) | |
248 | { |
|
264 | { | |
249 | unsigned int i = 0; |
|
265 | unsigned int i = 0; | |
250 | unsigned int j = 0; |
|
266 | unsigned int j = 0; | |
251 | unsigned char *data; |
|
267 | unsigned char *data; | |
252 |
unsigned char pkt_nr |
|
268 | unsigned char pa_lfr_pkt_nr; | |
253 | unsigned int blk_nr = 0; |
|
269 | unsigned int pa_lfr_swf_blk_nr = 0; | |
|
270 | static unsigned int coarseTime = 0; | |||
|
271 | static unsigned int fineTime = 0; | |||
|
272 | float deltaT; | |||
|
273 | unsigned int nbData; | |||
254 |
|
274 | |||
255 | pkt_nr = packet->Value[23]; // PKT_NR |
|
275 | switch(num_page) | |
256 | blk_nr = packet->Value[30] * 256 + packet->Value[31]; |
|
276 | { | |
|
277 | case 0: // F0 | |||
|
278 | deltaT = 1. / 24576; | |||
|
279 | break; | |||
|
280 | case 1: // F1 | |||
|
281 | deltaT = 1. / 4096; | |||
|
282 | break; | |||
|
283 | case 2: // F2 | |||
|
284 | deltaT = 1. / 256; | |||
|
285 | break; | |||
|
286 | default: | |||
|
287 | deltaT = 0; | |||
|
288 | break; | |||
|
289 | } | |||
|
290 | pa_lfr_pkt_nr = packet->Value[23]; // PA_LFR_PKT_NR | |||
|
291 | pa_lfr_swf_blk_nr = packet->Value[30] * 256 + packet->Value[31]; // PA_LFR_SWF_BLK_NR | |||
257 | data = &packet->Value[32]; // start of the first data block; |
|
292 | data = &packet->Value[32]; // start of the first data block; | |
258 | j = (pkt_nr-1) * 340; |
|
293 | ||
259 | for ( i=0; i<blk_nr; i++ ){ |
|
294 | if (pa_lfr_pkt_nr == 1) // the acquisition time of the first packet of the snapshot is taken as starting time | |
|
295 | { | |||
|
296 | coarseTime = ((packet->Value[24] & 0x7f) << 24) | |||
|
297 | + (packet->Value[25] << 16) | |||
|
298 | + (packet->Value[26] << 8) | |||
|
299 | + packet->Value[27]; | |||
|
300 | fineTime = (packet->Value[28] << 8) + packet->Value[29]; | |||
|
301 | } | |||
|
302 | ||||
|
303 | j = (pa_lfr_pkt_nr-1) * BLK_NR_304; | |||
|
304 | for ( i=0; i<pa_lfr_swf_blk_nr; i++ ){ | |||
260 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); |
|
305 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); | |
261 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); |
|
306 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); | |
262 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); |
|
307 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); | |
@@ -264,28 +309,38 void MainWindow::buildWFAndDisplay(TMPac | |||||
264 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); |
|
309 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); | |
265 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); |
|
310 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); | |
266 | } |
|
311 | } | |
267 | if (pkt_nr == 7) |
|
312 | if (pa_lfr_pkt_nr == 7) | |
268 | { |
|
313 | { | |
269 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0); |
|
314 | nbData = j + pa_lfr_swf_blk_nr; | |
270 |
this->UI->wfDisplay->displayOnPlot(wfPacket->wf_ |
|
315 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0, coarseTime, fineTime, deltaT, nbData); | |
271 |
this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e |
|
316 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1, coarseTime, fineTime, deltaT, nbData); | |
272 |
this->UI->wfDisplay->displayOnPlot(wfPacket->wf_ |
|
317 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2, coarseTime, fineTime, deltaT, nbData); | |
273 |
this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b |
|
318 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3, coarseTime, fineTime, deltaT, nbData); | |
274 |
this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b |
|
319 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4, coarseTime, fineTime, deltaT, nbData); | |
|
320 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5, coarseTime, fineTime, deltaT, nbData); | |||
275 | } |
|
321 | } | |
276 | } |
|
322 | } | |
277 |
|
323 | |||
278 | void MainWindow::buildWFAndDisplay_CWF_F3(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page) |
|
324 | void MainWindow::buildWFAndDisplay_CWF_LONG_F3(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page) | |
279 | { |
|
325 | { | |
280 | unsigned int i = 0; |
|
326 | unsigned int i = 0; | |
281 | unsigned int j = 0; |
|
327 | unsigned int j = 0; | |
282 | unsigned char *data; |
|
328 | unsigned char *data; | |
283 | static unsigned char pkt_nr = 1; |
|
329 | static unsigned char pkt_nr = 1; | |
284 | unsigned int blk_nr = 0; |
|
330 | unsigned int blk_nr = 0; | |
|
331 | unsigned int coarseTime; | |||
|
332 | unsigned int fineTime; | |||
|
333 | float deltaT; | |||
|
334 | unsigned int nbData; | |||
285 |
|
335 | |||
286 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; |
|
336 | deltaT = 1 / 16; | |
|
337 | ||||
|
338 | coarseTime = ((packet->Value[22] & 0x7f) << 24) + (packet->Value[23] << 16) + (packet->Value[24] << 8) + packet->Value[25]; | |||
|
339 | fineTime = (packet->Value[26] << 8) + packet->Value[27]; | |||
|
340 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; // PA_LFR_CWFL3_BLK_NR | |||
287 | data = &packet->Value[30]; // start of the first data block; |
|
341 | data = &packet->Value[30]; // start of the first data block; | |
288 | j = (pkt_nr-1) * 340; |
|
342 | ||
|
343 | j = (pkt_nr-1) * BLK_NR_CWF; | |||
289 | for ( i=0; i<blk_nr; i++ ){ |
|
344 | for ( i=0; i<blk_nr; i++ ){ | |
290 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); |
|
345 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); | |
291 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); |
|
346 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); | |
@@ -295,14 +350,15 void MainWindow::buildWFAndDisplay_CWF_F | |||||
295 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); |
|
350 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); | |
296 | } |
|
351 | } | |
297 | pkt_nr = pkt_nr + 1; |
|
352 | pkt_nr = pkt_nr + 1; | |
298 |
if ( |
|
353 | if (pkt_nr == 8) | |
299 | { |
|
354 | { | |
300 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0); |
|
355 | nbData = j + blk_nr; | |
301 |
this->UI->wfDisplay->displayOnPlot(wfPacket->wf_ |
|
356 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0, coarseTime, fineTime, deltaT, nbData); | |
302 |
this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e |
|
357 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1, coarseTime, fineTime, deltaT, nbData); | |
303 |
this->UI->wfDisplay->displayOnPlot(wfPacket->wf_ |
|
358 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2, coarseTime, fineTime, deltaT, nbData); | |
304 |
this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b |
|
359 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3, coarseTime, fineTime, deltaT, nbData); | |
305 |
this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b |
|
360 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4, coarseTime, fineTime, deltaT, nbData); | |
|
361 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5, coarseTime, fineTime, deltaT, nbData); | |||
306 | pkt_nr = 1; |
|
362 | pkt_nr = 1; | |
307 | } |
|
363 | } | |
308 | } |
|
364 | } | |
@@ -314,10 +370,19 void MainWindow::buildWFAndDisplay_CWF_F | |||||
314 | unsigned char *data; |
|
370 | unsigned char *data; | |
315 | static unsigned char pkt_nr = 1; |
|
371 | static unsigned char pkt_nr = 1; | |
316 | unsigned int blk_nr = 0; |
|
372 | unsigned int blk_nr = 0; | |
|
373 | unsigned int coarseTime; | |||
|
374 | unsigned int fineTime; | |||
|
375 | float deltaT; | |||
|
376 | unsigned int nbData; | |||
317 |
|
377 | |||
318 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; |
|
378 | deltaT = 1 / 16; | |
|
379 | ||||
|
380 | coarseTime = ((packet->Value[22] & 0x7f) << 24) + (packet->Value[23] << 16) + (packet->Value[24] << 8) + packet->Value[25]; | |||
|
381 | fineTime = (packet->Value[26] << 8) + packet->Value[27]; | |||
|
382 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; // PA_LFR_CWF3_BLK_NR | |||
319 | data = &packet->Value[30]; // start of the first data block; |
|
383 | data = &packet->Value[30]; // start of the first data block; | |
320 | j = (pkt_nr-1) * 340; |
|
384 | ||
|
385 | j = (pkt_nr-1) * BLK_NR_CWF_SHORT_F3; | |||
321 | for ( i=0; i<blk_nr; i++ ){ |
|
386 | for ( i=0; i<blk_nr; i++ ){ | |
322 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE_CWF3_LIGHT) ] << 8) + (data[ (i*BLK_SIZE_CWF3_LIGHT) + 1]) ); |
|
387 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE_CWF3_LIGHT) ] << 8) + (data[ (i*BLK_SIZE_CWF3_LIGHT) + 1]) ); | |
323 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE_CWF3_LIGHT) + 2] << 8) + (data[ (i*BLK_SIZE_CWF3_LIGHT) + 3]) ); |
|
388 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE_CWF3_LIGHT) + 2] << 8) + (data[ (i*BLK_SIZE_CWF3_LIGHT) + 3]) ); | |
@@ -327,51 +392,20 void MainWindow::buildWFAndDisplay_CWF_F | |||||
327 | wfPacket->wf_b3[j + i] = 0; |
|
392 | wfPacket->wf_b3[j + i] = 0; | |
328 | } |
|
393 | } | |
329 | pkt_nr = pkt_nr + 1; |
|
394 | pkt_nr = pkt_nr + 1; | |
330 |
if ( |
|
395 | if (pkt_nr == 4) | |
331 | { |
|
396 | { | |
332 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0); |
|
397 | nbData = j + blk_nr; | |
333 |
this->UI->wfDisplay->displayOnPlot(wfPacket->wf_ |
|
398 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0, coarseTime, fineTime, deltaT, nbData); | |
334 |
this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e |
|
399 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1, coarseTime, fineTime, deltaT, nbData); | |
335 |
this->UI->wfDisplay->displayOnPlot(wfPacket->wf_ |
|
400 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2, coarseTime, fineTime, deltaT, nbData); | |
336 |
this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b |
|
401 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3, coarseTime, fineTime, deltaT, nbData); | |
337 |
this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b |
|
402 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4, coarseTime, fineTime, deltaT, nbData); | |
|
403 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5, coarseTime, fineTime, deltaT, nbData); | |||
338 | pkt_nr = 1; |
|
404 | pkt_nr = 1; | |
339 | } |
|
405 | } | |
340 | } |
|
406 | } | |
341 |
|
407 | |||
342 |
void MainWindow::buildWFAndDisplay |
|
408 | void MainWindow::buildWFAndDisplay_CWF_F1(TMPacketToRead *packet, WFPacket *wfPacket) | |
343 | { |
|
|||
344 | unsigned int i = 0; |
|
|||
345 | unsigned int j = 0; |
|
|||
346 | unsigned char *data; |
|
|||
347 | static unsigned char pkt_nr = 1; |
|
|||
348 | unsigned int blk_nr = 0; |
|
|||
349 |
|
||||
350 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; |
|
|||
351 | data = &packet->Value[30]; // start of the first data block; |
|
|||
352 | j = (pkt_nr-1) * 340; |
|
|||
353 | for ( i=0; i<blk_nr; i++ ){ |
|
|||
354 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); |
|
|||
355 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); |
|
|||
356 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); |
|
|||
357 | wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) ); |
|
|||
358 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); |
|
|||
359 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); |
|
|||
360 | } |
|
|||
361 | pkt_nr = pkt_nr + 1; |
|
|||
362 | if (blk_nr == 8) |
|
|||
363 | { |
|
|||
364 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_v, 0); |
|
|||
365 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_e1, 1); |
|
|||
366 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_e2, 2); |
|
|||
367 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b1, 3); |
|
|||
368 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b2, 4); |
|
|||
369 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b3, 5); |
|
|||
370 | pkt_nr = 1; |
|
|||
371 | } |
|
|||
372 | } |
|
|||
373 |
|
||||
374 | void MainWindow::buildWFAndDisplaySBM1(TMPacketToRead *packet, WFPacket *wfPacket) |
|
|||
375 | { |
|
409 | { | |
376 | unsigned int i = 0; |
|
410 | unsigned int i = 0; | |
377 | unsigned int j = 0; |
|
411 | unsigned int j = 0; | |
@@ -379,10 +413,19 void MainWindow::buildWFAndDisplaySBM1(T | |||||
379 | unsigned char *pData; |
|
413 | unsigned char *pData; | |
380 | static unsigned char pkt_nr = 1; |
|
414 | static unsigned char pkt_nr = 1; | |
381 | unsigned int blk_nr = 0; |
|
415 | unsigned int blk_nr = 0; | |
|
416 | unsigned int coarseTime; | |||
|
417 | unsigned int fineTime; | |||
|
418 | float deltaT; | |||
|
419 | unsigned int nbData; | |||
382 |
|
420 | |||
383 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; |
|
421 | deltaT = 1 / 4096; | |
|
422 | ||||
|
423 | coarseTime = ((packet->Value[22] & 0x7f) << 24) + (packet->Value[23] << 16) + (packet->Value[24] << 8) + packet->Value[25]; | |||
|
424 | fineTime = (packet->Value[26] << 8) + packet->Value[27]; | |||
|
425 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; // PA_LFR_CWF3_BLK_NR | |||
384 | data = &packet->Value[30]; // start of the first data block; |
|
426 | data = &packet->Value[30]; // start of the first data block; | |
385 | j = (pkt_nr-1) * 340; |
|
427 | ||
|
428 | j = (pkt_nr-1) * BLK_NR_CWF; | |||
386 | for ( i=0; i<blk_nr; i++ ){ |
|
429 | for ( i=0; i<blk_nr; i++ ){ | |
387 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); |
|
430 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); | |
388 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); |
|
431 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); | |
@@ -395,71 +438,39 void MainWindow::buildWFAndDisplaySBM1(T | |||||
395 | pData[1] = data[ (i*BLK_SIZE) + 10]; |
|
438 | pData[1] = data[ (i*BLK_SIZE) + 10]; | |
396 | } |
|
439 | } | |
397 | pkt_nr = pkt_nr + 1; |
|
440 | pkt_nr = pkt_nr + 1; | |
398 |
if ( |
|
441 | if (pkt_nr == 8) | |
399 | { |
|
442 | { | |
400 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_v, 0); |
|
443 | nbData = j + blk_nr; | |
401 |
this->UI->wfPage |
|
444 | this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_v, 0, coarseTime, fineTime, deltaT, nbData); | |
402 |
this->UI->wfPage |
|
445 | this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_e1, 1, coarseTime, fineTime, deltaT, nbData); | |
403 |
this->UI->wfPage |
|
446 | this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_e2, 2, coarseTime, fineTime, deltaT, nbData); | |
404 |
this->UI->wfPage |
|
447 | this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_b1, 3, coarseTime, fineTime, deltaT, nbData); | |
405 |
this->UI->wfPage |
|
448 | this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_b2, 4, coarseTime, fineTime, deltaT, nbData); | |
|
449 | this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_b3, 5, coarseTime, fineTime, deltaT, nbData); | |||
406 | pkt_nr = 1; |
|
450 | pkt_nr = 1; | |
407 | } |
|
451 | } | |
408 | } |
|
452 | } | |
409 |
|
453 | |||
410 |
void MainWindow::buildWFAndDisplay |
|
454 | void MainWindow::buildWFAndDisplay_CWF_F2(TMPacketToRead *packet, WFPacket *wfPacket) | |
411 | { |
|
|||
412 | unsigned int i = 0; |
|
|||
413 | unsigned int j = 0; |
|
|||
414 | unsigned char segmentationGroupingFlag; |
|
|||
415 | unsigned char *data; |
|
|||
416 | static unsigned char pkt_nr = 1; |
|
|||
417 | unsigned int blk_nr = 0; |
|
|||
418 |
|
||||
419 | segmentationGroupingFlag = this->UI->tmStatistics->getSegmentationGroupingFlag( packet ); |
|
|||
420 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; |
|
|||
421 | data = &packet->Value[30]; // start of the first data block; |
|
|||
422 |
|
||||
423 | if (segmentationGroupingFlag == 1) // first packet of the sequence |
|
|||
424 | { |
|
|||
425 | pkt_nr = 1; |
|
|||
426 | } |
|
|||
427 | else // continuation packet or last packet |
|
|||
428 | { |
|
|||
429 | pkt_nr = pkt_nr + 1; |
|
|||
430 | } |
|
|||
431 | j = (pkt_nr-1) * 340; |
|
|||
432 | for ( i=0; i<blk_nr; i++ ){ |
|
|||
433 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); |
|
|||
434 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); |
|
|||
435 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); |
|
|||
436 | wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) ); |
|
|||
437 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); |
|
|||
438 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); |
|
|||
439 | } |
|
|||
440 | if (segmentationGroupingFlag == 2) // last packet of the sequence |
|
|||
441 | { |
|
|||
442 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_v, 0); |
|
|||
443 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_e1, 1); |
|
|||
444 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_e2, 2); |
|
|||
445 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b1, 3); |
|
|||
446 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b2, 4); |
|
|||
447 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b3, 5); |
|
|||
448 | pkt_nr = 1; |
|
|||
449 | } |
|
|||
450 | } |
|
|||
451 |
|
||||
452 | void MainWindow::buildWFAndDisplaySBM2(TMPacketToRead *packet, WFPacket *wfPacket) |
|
|||
453 | { |
|
455 | { | |
454 | unsigned int i = 0; |
|
456 | unsigned int i = 0; | |
455 | unsigned int j = 0; |
|
457 | unsigned int j = 0; | |
456 | unsigned char *data; |
|
458 | unsigned char *data; | |
457 | static unsigned char pkt_nr = 1; |
|
459 | static unsigned char pkt_nr = 1; | |
458 | unsigned int blk_nr = 0; |
|
460 | unsigned int blk_nr = 0; | |
|
461 | unsigned int coarseTime; | |||
|
462 | unsigned int fineTime; | |||
|
463 | float deltaT; | |||
|
464 | unsigned int nbData; | |||
459 |
|
465 | |||
460 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; |
|
466 | deltaT = 1 / 256; | |
|
467 | ||||
|
468 | coarseTime = ((packet->Value[22] & 0x7f) << 24) + (packet->Value[23] << 16) + (packet->Value[24] << 8) + packet->Value[25]; | |||
|
469 | fineTime = (packet->Value[26] << 8) + packet->Value[27]; | |||
|
470 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; // PA_LFR_CWF3_BLK_NR | |||
461 | data = &packet->Value[30]; // start of the first data block; |
|
471 | data = &packet->Value[30]; // start of the first data block; | |
462 | j = (pkt_nr-1) * 340; |
|
472 | ||
|
473 | j = (pkt_nr-1) * BLK_NR_CWF; | |||
463 | for ( i=0; i<blk_nr; i++ ){ |
|
474 | for ( i=0; i<blk_nr; i++ ){ | |
464 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); |
|
475 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); | |
465 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); |
|
476 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); | |
@@ -469,14 +480,15 void MainWindow::buildWFAndDisplaySBM2(T | |||||
469 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); |
|
480 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); | |
470 | } |
|
481 | } | |
471 | pkt_nr = pkt_nr + 1; |
|
482 | pkt_nr = pkt_nr + 1; | |
472 |
if ( |
|
483 | if (pkt_nr == 8) | |
473 | { |
|
484 | { | |
474 | this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_v, 0); |
|
485 | nbData = j + blk_nr; | |
475 |
this->UI->wfPage |
|
486 | this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_v, 0, coarseTime, fineTime, deltaT, nbData); | |
476 |
this->UI->wfPage |
|
487 | this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_e1, 1, coarseTime, fineTime, deltaT, nbData); | |
477 |
this->UI->wfPage |
|
488 | this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_e2, 2, coarseTime, fineTime, deltaT, nbData); | |
478 |
this->UI->wfPage |
|
489 | this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_b1, 3, coarseTime, fineTime, deltaT, nbData); | |
479 |
this->UI->wfPage |
|
490 | this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_b2, 4, coarseTime, fineTime, deltaT, nbData); | |
|
491 | this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_b3, 5, coarseTime, fineTime, deltaT, nbData); | |||
480 | pkt_nr = 1; |
|
492 | pkt_nr = 1; | |
481 | } |
|
493 | } | |
482 | } |
|
494 | } | |
@@ -607,26 +619,28 void MainWindow::preProcessPacket(TMPack | |||||
607 | //sid = packet->Value[20]; // SID |
|
619 | //sid = packet->Value[20]; // SID | |
608 | switch (sid){ |
|
620 | switch (sid){ | |
609 | case SID_NORMAL_SWF_F0: |
|
621 | case SID_NORMAL_SWF_F0: | |
610 |
buildWFAndDisplay(packet, |
|
622 | buildWFAndDisplay_SWF(packet, wfPacketNormal[0], 0); | |
611 | break; |
|
623 | break; | |
612 | case SID_NORMAL_SWF_F1: |
|
624 | case SID_NORMAL_SWF_F1: | |
613 |
buildWFAndDisplay(packet, |
|
625 | buildWFAndDisplay_SWF(packet, wfPacketNormal[1], 1); | |
614 | break; |
|
626 | break; | |
615 | case SID_NORMAL_SWF_F2: |
|
627 | case SID_NORMAL_SWF_F2: | |
616 |
buildWFAndDisplay(packet, |
|
628 | buildWFAndDisplay_SWF(packet, wfPacketNormal[2], 2); | |
617 | break; |
|
629 | break; | |
618 | case SID_NORMAL_CWF_F3: |
|
630 | case SID_NORMAL_CWF_F3: | |
619 |
|
|
631 | buildWFAndDisplay_CWF_F3_light(packet, wfPacketNormal[3], 3); | |
620 | buildWFAndDisplay_CWF_F3_light(packet, &wfPacketNormal[3], 3); |
|
632 | break; | |
|
633 | case SID_NORMAL_CWF_LONG_F3: | |||
|
634 | buildWFAndDisplay_CWF_LONG_F3(packet, wfPacketNormal[3], 3); | |||
621 | break; |
|
635 | break; | |
622 | case SID_BURST_CWF_F2: |
|
636 | case SID_BURST_CWF_F2: | |
623 |
buildWFAndDisplay |
|
637 | buildWFAndDisplay_CWF_F2(packet, wfPacketBurst); | |
624 | break; |
|
638 | break; | |
625 | case SID_SBM1_CWF_F1: |
|
639 | case SID_SBM1_CWF_F1: | |
626 |
buildWFAndDisplay |
|
640 | buildWFAndDisplay_CWF_F1(packet, wfPacketSBM1); | |
627 | break; |
|
641 | break; | |
628 | case SID_SBM2_CWF_F2: |
|
642 | case SID_SBM2_CWF_F2: | |
629 |
buildWFAndDisplay |
|
643 | buildWFAndDisplay_CWF_F2(packet, wfPacketSBM2); | |
630 | break; |
|
644 | break; | |
631 | case SID_NORMAL_ASM_F0: |
|
645 | case SID_NORMAL_ASM_F0: | |
632 | buildSpectrumAndDisplayNORM_F0(packet, spectraPacketNormalSpectrumF0); |
|
646 | buildSpectrumAndDisplayNORM_F0(packet, spectraPacketNormalSpectrumF0); |
@@ -36,13 +36,12 public: | |||||
36 | unsigned int getFineTime(TMPacketToRead *packet); |
|
36 | unsigned int getFineTime(TMPacketToRead *packet); | |
37 | unsigned int getSID(TMPacketToRead *packet, unsigned char pid, unsigned char cat, unsigned char typ, unsigned char sub); |
|
37 | unsigned int getSID(TMPacketToRead *packet, unsigned char pid, unsigned char cat, unsigned char typ, unsigned char sub); | |
38 | // |
|
38 | // | |
39 | void buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page); |
|
39 | void buildWFAndDisplay_SWF(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page); | |
40 | void buildWFAndDisplay_CWF_F3(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page); |
|
40 | void buildWFAndDisplay_CWF_LONG_F3(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page); | |
41 | void buildWFAndDisplay_CWF_F3_light(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page); |
|
41 | void buildWFAndDisplay_CWF_F3_light(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page); | |
42 | void buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket); |
|
42 | void buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket); | |
43 |
void buildWFAndDisplay |
|
43 | void buildWFAndDisplay_CWF_F1(TMPacketToRead *packet, WFPacket *wfPacket); | |
44 |
void buildWFAndDisplay |
|
44 | void buildWFAndDisplay_CWF_F2(TMPacketToRead *packet, WFPacket *wfPacket); | |
45 | void buildWFAndDisplaySBM2(TMPacketToRead *packet, WFPacket *wfPacket); |
|
|||
46 | void buildSpectrumAndDisplayNORM_F0(TMPacketToRead *packet, SpectraPacket *spectraPacket); |
|
45 | void buildSpectrumAndDisplayNORM_F0(TMPacketToRead *packet, SpectraPacket *spectraPacket); | |
47 |
|
46 | |||
48 | protected: |
|
47 | protected: | |
@@ -82,10 +81,10 private: | |||||
82 |
|
81 | |||
83 | LFRXmlWriter *lfrXmlWriter; |
|
82 | LFRXmlWriter *lfrXmlWriter; | |
84 |
|
83 | |||
85 | WFPacket wfPacketNormal[4]; |
|
84 | WFPacket *wfPacketNormal[4]; | |
86 | WFPacket wfPacketBurst; |
|
85 | WFPacket *wfPacketBurst; | |
87 | WFPacket wfPacketSBM1; |
|
86 | WFPacket *wfPacketSBM1; | |
88 | WFPacket wfPacketSBM2; |
|
87 | WFPacket *wfPacketSBM2; | |
89 | SpectraPacket *spectraPacketNormalSpectrumF0; |
|
88 | SpectraPacket *spectraPacketNormalSpectrumF0; | |
90 |
|
89 | |||
91 | bool parsingContinue; |
|
90 | bool parsingContinue; |
@@ -19,23 +19,20 MainWindowUI::MainWindowUI(QWidget *pare | |||||
19 | spwTabWidgetPage1 = new QWidget(); |
|
19 | spwTabWidgetPage1 = new QWidget(); | |
20 | spwTabWidgetPage2 = new QWidget(); |
|
20 | spwTabWidgetPage2 = new QWidget(); | |
21 | spwTabWidgetPage3 = new QWidget(); |
|
21 | spwTabWidgetPage3 = new QWidget(); | |
22 | spwTabWidgetPage4 = new QWidget(); |
|
|||
23 | spwTabWidgetPage5 = new QWidget(); // WFRM BURST |
|
|||
24 | spwTabWidgetPage6 = new QWidget(); // WFRM SBM1 |
|
|||
25 | spwTabWidgetPage7 = new QWidget(); // WFRM SBM2 |
|
|||
26 |
|
22 | |||
27 | tmStatistics = new TMStatistics; |
|
23 | tmStatistics = new TMStatistics; | |
28 |
|
24 | |||
29 | wfDisplay = new WFDisplay(); |
|
25 | wfDisplay = new WFDisplay(0, 2048, 2048, 15000); | |
30 | wfPageBurst = new WFPage(); |
|
26 | // wfPageBurst = new WFPage(0, 7 * BLK_NR_CWF, 7 * BLK_NR_CWF, 15000); | |
31 | wfPageSBM1 = new WFPage(); |
|
27 | wfPage_CWF_F1 = new WFPage(0, 7 * BLK_NR_CWF, 7 * BLK_NR_CWF, 15000); | |
32 | wfPageSBM2 = new WFPage(); |
|
28 | wfPage_CWF_F2 = new WFPage(0, 7 * BLK_NR_CWF, 7 * BLK_NR_CWF, 15000); | |
33 | pageSpectraNORM = new PageSpectra(); |
|
29 | pageSpectraNORM = new PageSpectra(); | |
34 | wfPageBurst->pageTitle = "BURST_CWF_F2"; |
|
30 | // wfPageBurst->pageTitle = "BURST_CWF_F2"; | |
35 |
wfPage |
|
31 | wfPage_CWF_F1->pageTitle = "SBM1_CWF_F1"; | |
36 |
wfPage |
|
32 | wfPage_CWF_F2->pageTitle = "SBM2_CWF_F2"; | |
37 | pageSpectraNORM->pageTitle = "ASM f0"; |
|
33 | pageSpectraNORM->pageTitle = "ASM f0"; | |
38 | hkDisplay = new HKDisplay(); |
|
34 | hkDisplay = new HKDisplay(); | |
|
35 | recordPage = new RecordPage; | |||
39 |
|
36 | |||
40 | spinbox_TMServerPort = new QSpinBox(); |
|
37 | spinbox_TMServerPort = new QSpinBox(); | |
41 | spinbox_TCServerPort = new QSpinBox(); |
|
38 | spinbox_TCServerPort = new QSpinBox(); | |
@@ -103,27 +100,55 MainWindowUI::MainWindowUI(QWidget *pare | |||||
103 | spwTabWidget->addTab(spwTabWidgetPage1, tr("TM Statistics")); |
|
100 | spwTabWidget->addTab(spwTabWidgetPage1, tr("TM Statistics")); | |
104 | spwTabWidget->addTab(spwTabWidgetPage3, tr("HK")); |
|
101 | spwTabWidget->addTab(spwTabWidgetPage3, tr("HK")); | |
105 | spwTabWidget->addTab(parameterDump, tr("DUMP")); |
|
102 | spwTabWidget->addTab(parameterDump, tr("DUMP")); | |
|
103 | spwTabWidget->addTab(recordPage, tr("REC")); | |||
106 | spwTabWidget->addTab(spwTabWidgetPage2, tr("WFRM NORM")); |
|
104 | spwTabWidget->addTab(spwTabWidgetPage2, tr("WFRM NORM")); | |
|
105 | spwTabWidget->addTab( wfPage_CWF_F1, tr("CWF_F1")); | |||
|
106 | spwTabWidget->addTab( wfPage_CWF_F2, tr("CWF_F2")); | |||
107 | spwTabWidget->addTab(pageSpectraNORM, tr("ASM f0")); |
|
107 | spwTabWidget->addTab(pageSpectraNORM, tr("ASM f0")); | |
108 | spwTabWidget->addTab((QWidget *) wfPageBurst, tr("WFRM BURST")); |
|
|||
109 | spwTabWidget->addTab((QWidget *) wfPageSBM1, tr("WFRM SBM1")); |
|
|||
110 | spwTabWidget->addTab((QWidget *) wfPageSBM2, tr("WFRM SBM2")); |
|
|||
111 | //spwTabWidget->addTab(spwTabWidgetPage4, tr("Spectrograms")); |
|
|||
112 |
|
108 | |||
113 | spwTabWidgetPage0->setLayout(mainLayout); |
|
109 | spwTabWidgetPage0->setLayout(mainLayout); | |
114 | spwTabWidgetPage1->setLayout(tmStatistics->layout()); |
|
110 | spwTabWidgetPage1->setLayout(tmStatistics->layout()); | |
115 | spwTabWidgetPage2->setLayout(wfDisplay->layout()); |
|
111 | spwTabWidgetPage2->setLayout(wfDisplay->layout()); | |
116 | spwTabWidgetPage3->setLayout(hkDisplay->layout()); |
|
112 | spwTabWidgetPage3->setLayout(hkDisplay->layout()); | |
117 | //spwTabWidgetPage4->setLayout(lfrSpectrogam->layout()); |
|
|||
118 | //spwTabWidgetPage5->setLayout(wfPageBurst->layout()); |
|
|||
119 | //spwTabWidgetPage6->setLayout(wfPageSBM1->layout()); |
|
|||
120 | //spwTabWidgetPage7->setLayout(wfPageSBM2->layout()); |
|
|||
121 |
|
113 | |||
122 | layout_overallLayout->addWidget(spwTabWidget); |
|
114 | layout_overallLayout->addWidget(spwTabWidget); | |
123 |
|
115 | |||
124 | this->setLayout(layout_overallLayout); |
|
116 | this->setLayout(layout_overallLayout); | |
125 |
|
117 | |||
126 | connect(this->button_clearConsole, SIGNAL(clicked()), this, SLOT(clearConsole())); |
|
118 | connect(this->button_clearConsole, SIGNAL(clicked()), this, SLOT(clearConsole())); | |
|
119 | ||||
|
120 | // SWF_F0 | |||
|
121 | connect(this->recordPage, SIGNAL(signal_store_swf_f0()), | |||
|
122 | this->wfDisplay->page_f0, SLOT(storeWfrm())); | |||
|
123 | connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)), | |||
|
124 | this->wfDisplay->page_f0, SLOT(setDefaultStorageDirectory(QString))); | |||
|
125 | // SWF_F1 | |||
|
126 | connect(this->recordPage, SIGNAL(signal_store_swf_f1()), | |||
|
127 | this->wfDisplay->page_f1, SLOT(storeWfrm())); | |||
|
128 | connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)), | |||
|
129 | this->wfDisplay->page_f1, SLOT(setDefaultStorageDirectory(QString))); | |||
|
130 | // SWF_F2 | |||
|
131 | connect(this->recordPage, SIGNAL(signal_store_swf_f2()), | |||
|
132 | this->wfDisplay->page_f2, SLOT(storeWfrm())); | |||
|
133 | connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)), | |||
|
134 | this->wfDisplay->page_f2, SLOT(setDefaultStorageDirectory(QString))); | |||
|
135 | // CWF_F3 | |||
|
136 | connect(this->recordPage, SIGNAL(signal_store_cwf_f3()), | |||
|
137 | this->wfDisplay->page_f3, SLOT(storeWfrm())); | |||
|
138 | connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)), | |||
|
139 | this->wfDisplay->page_f3, SLOT(setDefaultStorageDirectory(QString))); | |||
|
140 | // CWF_F1 | |||
|
141 | connect(this->recordPage, SIGNAL(signal_store_cwf_f1()), | |||
|
142 | this->wfPage_CWF_F1, SLOT(storeWfrm())); | |||
|
143 | connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)), | |||
|
144 | this->wfPage_CWF_F1, SLOT(setDefaultStorageDirectory(QString))); | |||
|
145 | // CWF_F2 | |||
|
146 | connect(this->recordPage, SIGNAL(signal_store_cwf_f2()), | |||
|
147 | this->wfPage_CWF_F2, SLOT(storeWfrm())); | |||
|
148 | connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)), | |||
|
149 | this->wfPage_CWF_F2, SLOT(setDefaultStorageDirectory(QString))); | |||
|
150 | ||||
|
151 | emit this->recordPage->signal_defaultStorageDirectoryUpdated(this->recordPage->defaultStorageDirectory); | |||
127 | } |
|
152 | } | |
128 |
|
153 | |||
129 | QString MainWindowUI::getTMEchoServerAddress() |
|
154 | QString MainWindowUI::getTMEchoServerAddress() |
@@ -18,6 +18,7 | |||||
18 |
|
18 | |||
19 | #include "tmstatistics.h" |
|
19 | #include "tmstatistics.h" | |
20 | #include "hkdisplay.h" |
|
20 | #include "hkdisplay.h" | |
|
21 | #include "recordpage.h" | |||
21 |
|
22 | |||
22 | class MainWindowUI : public QWidget |
|
23 | class MainWindowUI : public QWidget | |
23 | { |
|
24 | { | |
@@ -36,19 +37,16 public: | |||||
36 | QWidget* spwTabWidgetPage1; |
|
37 | QWidget* spwTabWidgetPage1; | |
37 | QWidget* spwTabWidgetPage2; |
|
38 | QWidget* spwTabWidgetPage2; | |
38 | QWidget* spwTabWidgetPage3; |
|
39 | QWidget* spwTabWidgetPage3; | |
39 | QWidget* spwTabWidgetPage4; |
|
|||
40 | QWidget* spwTabWidgetPage5; |
|
|||
41 | QWidget* spwTabWidgetPage6; |
|
|||
42 | QWidget* spwTabWidgetPage7; |
|
|||
43 |
|
40 | |||
44 | TMStatistics* tmStatistics; |
|
41 | TMStatistics* tmStatistics; | |
45 |
|
42 | |||
46 | WFDisplay* wfDisplay; |
|
43 | WFDisplay* wfDisplay; | |
47 | WFPage* wfPageBurst; |
|
44 | // WFPage* wfPageBurst; | |
48 |
WFPage* wfPage |
|
45 | WFPage* wfPage_CWF_F1; | |
49 |
WFPage* wfPage |
|
46 | WFPage* wfPage_CWF_F2; | |
50 | PageSpectra* pageSpectraNORM; |
|
47 | PageSpectra* pageSpectraNORM; | |
51 | HKDisplay* hkDisplay; |
|
48 | HKDisplay* hkDisplay; | |
|
49 | RecordPage* recordPage; | |||
52 |
|
50 | |||
53 | QWidget* widget_spectrogram; |
|
51 | QWidget* widget_spectrogram; | |
54 |
|
52 |
@@ -96,12 +96,14 void ParameterDump::buildNORM() | |||||
96 | sy_lfr_n_asm_p = new QLabel("sy_lfr_n_asm_p "); |
|
96 | sy_lfr_n_asm_p = new QLabel("sy_lfr_n_asm_p "); | |
97 | sy_lfr_n_bp_p0 = new QLabel("sy_lfr_n_bp_p0 "); |
|
97 | sy_lfr_n_bp_p0 = new QLabel("sy_lfr_n_bp_p0 "); | |
98 | sy_lfr_n_bp_p1 = new QLabel("sy_lfr_n_bp_p1 "); |
|
98 | sy_lfr_n_bp_p1 = new QLabel("sy_lfr_n_bp_p1 "); | |
|
99 | sy_lfr_n_cwf_long_f3 = new QLabel("sy_lfr_n_cwf_long_f3 "); | |||
99 |
|
100 | |||
100 | spinbox_sy_lfr_n_swf_l = new QSpinBox(); |
|
101 | spinbox_sy_lfr_n_swf_l = new QSpinBox(); | |
101 | spinbox_sy_lfr_n_swf_p = new QSpinBox(); |
|
102 | spinbox_sy_lfr_n_swf_p = new QSpinBox(); | |
102 | spinbox_sy_lfr_n_asm_p = new QSpinBox(); |
|
103 | spinbox_sy_lfr_n_asm_p = new QSpinBox(); | |
103 | spinbox_sy_lfr_n_bp_p0 = new QSpinBox(); |
|
104 | spinbox_sy_lfr_n_bp_p0 = new QSpinBox(); | |
104 | spinbox_sy_lfr_n_bp_p1 = new QSpinBox(); |
|
105 | spinbox_sy_lfr_n_bp_p1 = new QSpinBox(); | |
|
106 | spinbox_sy_lfr_n_cwf_long_f3 = new QSpinBox(); | |||
105 |
|
107 | |||
106 | button_loadNormal = new QPushButton(tr("LOAD_NORM")); |
|
108 | button_loadNormal = new QPushButton(tr("LOAD_NORM")); | |
107 |
|
109 | |||
@@ -112,12 +114,14 void ParameterDump::buildNORM() | |||||
112 | spinbox_sy_lfr_n_asm_p->setRange(2, 65535); |
|
114 | spinbox_sy_lfr_n_asm_p->setRange(2, 65535); | |
113 | spinbox_sy_lfr_n_bp_p0->setRange(4, 255); |
|
115 | spinbox_sy_lfr_n_bp_p0->setRange(4, 255); | |
114 | spinbox_sy_lfr_n_bp_p1->setRange(20, 255); |
|
116 | spinbox_sy_lfr_n_bp_p1->setRange(20, 255); | |
|
117 | spinbox_sy_lfr_n_cwf_long_f3->setRange(0, 1); | |||
115 |
|
118 | |||
116 | spinbox_sy_lfr_n_swf_l->setValue(2048); |
|
119 | spinbox_sy_lfr_n_swf_l->setValue(2048); | |
117 | spinbox_sy_lfr_n_swf_p->setValue(300); |
|
120 | spinbox_sy_lfr_n_swf_p->setValue(300); | |
118 | spinbox_sy_lfr_n_asm_p->setValue(3600); |
|
121 | spinbox_sy_lfr_n_asm_p->setValue(3600); | |
119 | spinbox_sy_lfr_n_bp_p0->setValue(4); |
|
122 | spinbox_sy_lfr_n_bp_p0->setValue(4); | |
120 | spinbox_sy_lfr_n_bp_p1->setValue(20); |
|
123 | spinbox_sy_lfr_n_bp_p1->setValue(20); | |
|
124 | spinbox_sy_lfr_n_cwf_long_f3->setValue(0); | |||
121 |
|
125 | |||
122 | layout_NORM->addWidget(button_loadNormal, 0, 0, 1, 2); |
|
126 | layout_NORM->addWidget(button_loadNormal, 0, 0, 1, 2); | |
123 | layout_NORM->addWidget(sy_lfr_n_swf_l, 1, 0, 1, 1); |
|
127 | layout_NORM->addWidget(sy_lfr_n_swf_l, 1, 0, 1, 1); | |
@@ -125,15 +129,17 void ParameterDump::buildNORM() | |||||
125 | layout_NORM->addWidget(sy_lfr_n_asm_p, 3, 0, 1, 1); |
|
129 | layout_NORM->addWidget(sy_lfr_n_asm_p, 3, 0, 1, 1); | |
126 | layout_NORM->addWidget(sy_lfr_n_bp_p0, 4, 0, 1, 1); |
|
130 | layout_NORM->addWidget(sy_lfr_n_bp_p0, 4, 0, 1, 1); | |
127 | layout_NORM->addWidget(sy_lfr_n_bp_p1, 5, 0, 1, 1); |
|
131 | layout_NORM->addWidget(sy_lfr_n_bp_p1, 5, 0, 1, 1); | |
|
132 | layout_NORM->addWidget(sy_lfr_n_cwf_long_f3, 6, 0, 1, 1); | |||
128 |
|
133 | |||
129 | layout_NORM->addWidget(spinbox_sy_lfr_n_swf_l, 1, 1, 1, 1); |
|
134 | layout_NORM->addWidget(spinbox_sy_lfr_n_swf_l, 1, 1, 1, 1); | |
130 | layout_NORM->addWidget(spinbox_sy_lfr_n_swf_p, 2, 1, 1, 1); |
|
135 | layout_NORM->addWidget(spinbox_sy_lfr_n_swf_p, 2, 1, 1, 1); | |
131 | layout_NORM->addWidget(spinbox_sy_lfr_n_asm_p, 3, 1, 1, 1); |
|
136 | layout_NORM->addWidget(spinbox_sy_lfr_n_asm_p, 3, 1, 1, 1); | |
132 | layout_NORM->addWidget(spinbox_sy_lfr_n_bp_p0, 4, 1, 1, 1); |
|
137 | layout_NORM->addWidget(spinbox_sy_lfr_n_bp_p0, 4, 1, 1, 1); | |
133 | layout_NORM->addWidget(spinbox_sy_lfr_n_bp_p1, 5, 1, 1, 1); |
|
138 | layout_NORM->addWidget(spinbox_sy_lfr_n_bp_p1, 5, 1, 1, 1); | |
|
139 | layout_NORM->addWidget(spinbox_sy_lfr_n_cwf_long_f3, 6, 1, 1, 1); | |||
134 |
|
140 | |||
135 | layout_NORM->setColumnStretch(2, 1); |
|
141 | layout_NORM->setColumnStretch(2, 1); | |
136 |
layout_NORM->setRowStretch( |
|
142 | layout_NORM->setRowStretch(7, 1); | |
137 |
|
143 | |||
138 | groupbox_NORM->setLayout(layout_NORM); |
|
144 | groupbox_NORM->setLayout(layout_NORM); | |
139 |
|
145 | |||
@@ -274,6 +280,7 void ParameterDump::updateParameterDump( | |||||
274 | + parameterPacket->sy_lfr_n_asm_p[1]); |
|
280 | + parameterPacket->sy_lfr_n_asm_p[1]); | |
275 | spinbox_sy_lfr_n_bp_p0->setValue(parameterPacket->sy_lfr_n_bp_p0); |
|
281 | spinbox_sy_lfr_n_bp_p0->setValue(parameterPacket->sy_lfr_n_bp_p0); | |
276 | spinbox_sy_lfr_n_bp_p1->setValue(parameterPacket->sy_lfr_n_bp_p1); |
|
282 | spinbox_sy_lfr_n_bp_p1->setValue(parameterPacket->sy_lfr_n_bp_p1); | |
|
283 | spinbox_sy_lfr_n_cwf_long_f3->setValue(parameterPacket->sy_lfr_n_cwf_long_f3); | |||
277 |
|
284 | |||
278 | // BURST |
|
285 | // BURST | |
279 | spinbox_sy_lfr_b_bp_p0->setValue(parameterPacket->sy_lfr_b_bp_p0); |
|
286 | spinbox_sy_lfr_b_bp_p0->setValue(parameterPacket->sy_lfr_b_bp_p0); | |
@@ -362,14 +369,16 void ParameterDump::sendLoadNormal() | |||||
362 | packet.serviceType = TC_TYPE_DEFAULT; |
|
369 | packet.serviceType = TC_TYPE_DEFAULT; | |
363 | packet.serviceSubType = TC_SUBTYPE_LOAD_NORMAL_PAR; |
|
370 | packet.serviceSubType = TC_SUBTYPE_LOAD_NORMAL_PAR; | |
364 | packet.sourceID = SID_TC_GROUND; |
|
371 | packet.sourceID = SID_TC_GROUND; | |
365 | packet.sy_lfr_n_swf_l[0] = (unsigned char) (spinbox_sy_lfr_n_swf_l->value() >> 8); |
|
372 | packet.sy_lfr_n_swf_l[0] = (unsigned char) (spinbox_sy_lfr_n_swf_l->value() >> 8 ); | |
366 | packet.sy_lfr_n_swf_l[1] = (unsigned char) (spinbox_sy_lfr_n_swf_l->value() ); |
|
373 | packet.sy_lfr_n_swf_l[1] = (unsigned char) (spinbox_sy_lfr_n_swf_l->value() ); | |
367 | packet.sy_lfr_n_swf_p[0] = (unsigned char) (spinbox_sy_lfr_n_swf_p->value() >> 8); |
|
374 | packet.sy_lfr_n_swf_p[0] = (unsigned char) (spinbox_sy_lfr_n_swf_p->value() >> 8 ); | |
368 | packet.sy_lfr_n_swf_p[1] = (unsigned char) (spinbox_sy_lfr_n_swf_p->value() ); |
|
375 | packet.sy_lfr_n_swf_p[1] = (unsigned char) (spinbox_sy_lfr_n_swf_p->value() ); | |
369 | packet.sy_lfr_n_asm_p[0] = (unsigned char) (spinbox_sy_lfr_n_asm_p->value() >> 8); |
|
376 | packet.sy_lfr_n_asm_p[0] = (unsigned char) (spinbox_sy_lfr_n_asm_p->value() >> 8 ); | |
370 | packet.sy_lfr_n_asm_p[1] = (unsigned char) (spinbox_sy_lfr_n_asm_p->value() ); |
|
377 | packet.sy_lfr_n_asm_p[1] = (unsigned char) (spinbox_sy_lfr_n_asm_p->value() ); | |
371 | packet.sy_lfr_n_bp_p0 = (unsigned char) (spinbox_sy_lfr_n_bp_p0->value() ); |
|
378 | packet.sy_lfr_n_bp_p0 = (unsigned char) (spinbox_sy_lfr_n_bp_p0->value() ); | |
372 | packet.sy_lfr_n_bp_p1 = (unsigned char) (spinbox_sy_lfr_n_bp_p1->value() ); |
|
379 | packet.sy_lfr_n_bp_p1 = (unsigned char) (spinbox_sy_lfr_n_bp_p1->value() ); | |
|
380 | packet.sy_lfr_n_cwf_long_f3 = (unsigned char) (spinbox_sy_lfr_n_cwf_long_f3->value() ); | |||
|
381 | packet.lfr_normal_parameters_spare = 0x00; | |||
373 |
|
382 | |||
374 | packetToSend->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, |
|
383 | packetToSend->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, | |
375 | PACKET_LENGTH_TC_LFR_LOAD_NORMAL_PAR + CCSDS_TC_TM_PACKET_OFFSET - 2); |
|
384 | PACKET_LENGTH_TC_LFR_LOAD_NORMAL_PAR + CCSDS_TC_TM_PACKET_OFFSET - 2); |
@@ -64,6 +64,7 public: | |||||
64 | QLabel* sy_lfr_n_asm_p; |
|
64 | QLabel* sy_lfr_n_asm_p; | |
65 | QLabel* sy_lfr_n_bp_p0; |
|
65 | QLabel* sy_lfr_n_bp_p0; | |
66 | QLabel* sy_lfr_n_bp_p1; |
|
66 | QLabel* sy_lfr_n_bp_p1; | |
|
67 | QLabel* sy_lfr_n_cwf_long_f3; | |||
67 | // |
|
68 | // | |
68 | QLabel* sy_lfr_b_bp_p0; |
|
69 | QLabel* sy_lfr_b_bp_p0; | |
69 | QLabel* sy_lfr_b_bp_p1; |
|
70 | QLabel* sy_lfr_b_bp_p1; | |
@@ -85,6 +86,7 public: | |||||
85 | QSpinBox* spinbox_sy_lfr_n_asm_p; |
|
86 | QSpinBox* spinbox_sy_lfr_n_asm_p; | |
86 | QSpinBox* spinbox_sy_lfr_n_bp_p0; |
|
87 | QSpinBox* spinbox_sy_lfr_n_bp_p0; | |
87 | QSpinBox* spinbox_sy_lfr_n_bp_p1; |
|
88 | QSpinBox* spinbox_sy_lfr_n_bp_p1; | |
|
89 | QSpinBox* spinbox_sy_lfr_n_cwf_long_f3; | |||
88 | // |
|
90 | // | |
89 | QSpinBox* spinbox_sy_lfr_b_bp_p0; |
|
91 | QSpinBox* spinbox_sy_lfr_b_bp_p0; | |
90 | QSpinBox* spinbox_sy_lfr_b_bp_p1; |
|
92 | QSpinBox* spinbox_sy_lfr_b_bp_p1; |
@@ -15,10 +15,10 CXX = g++ | |||||
15 | DEFINES = -DPLUGIN=rmapplugin -DPLUGINHEADER="\"rmapplugin.h\"" -Ddriver_Name="\"RMAPPlugin\"" -Ddriver_Author="\"Paul Leroy paul.leroy@lpp.polytechnique.fr\"" -Ddriver_Version="\"1.1.2\"" -Ddriver_Description="\"AHB bus controler, works with Gaisler's AHB plugn' play bus.\"" -Ddriver_can_be_root=1 -Ddriver_can_be_child=0 -Ddriver_VID=0 -Ddriver_PID=0 -DUNIX -DUNIXTRANSLATIONPATH -DLPPMON_TRANSLATION_PATH="\"/etc/lppmon/translations\"" -DLPPMONPLUGIN_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB |
|
15 | DEFINES = -DPLUGIN=rmapplugin -DPLUGINHEADER="\"rmapplugin.h\"" -Ddriver_Name="\"RMAPPlugin\"" -Ddriver_Author="\"Paul Leroy paul.leroy@lpp.polytechnique.fr\"" -Ddriver_Version="\"1.1.2\"" -Ddriver_Description="\"AHB bus controler, works with Gaisler's AHB plugn' play bus.\"" -Ddriver_can_be_root=1 -Ddriver_can_be_child=0 -Ddriver_VID=0 -Ddriver_PID=0 -DUNIX -DUNIXTRANSLATIONPATH -DLPPMON_TRANSLATION_PATH="\"/etc/lppmon/translations\"" -DLPPMONPLUGIN_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB | |
16 | CFLAGS = -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) |
|
16 | CFLAGS = -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) | |
17 | CXXFLAGS = -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -I/usr/include/python2.7 -I/usr/include/python2.7 -Wall -W -D_REENTRANT -fPIC $(DEFINES) |
|
17 | CXXFLAGS = -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -I/usr/include/python2.7 -I/usr/include/python2.7 -Wall -W -D_REENTRANT -fPIC $(DEFINES) | |
18 |
INCPATH = -I/usr/lib64/qt5/mkspecs/linux-g++-64 -I. -I. -I../common_PLE -I../../DEV_PLE/header -I |
|
18 | INCPATH = -I/usr/lib64/qt5/mkspecs/linux-g++-64 -I. -I. -I../common_PLE -I../../DEV_PLE/header -I/home/spacewire/usb/spw_usb_driver_v2.68/inc -I/usr/include/qt5/lppmon/common -I/usr/include/qt5/lppmon/wfdisplay -I/usr/include/qt5/lppmon/parameterdump -I/usr/include/qt5/lppmon/paulcommon -I/usr/include/qt5/lppmon/common -I/usr/include/qt5/lppmon -I/usr/include/qt5/lppmon/pluginsInterface -I/usr/include/qt5/PythonQt -I/usr/include/qt5/PythonQt -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtSvg -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Imoc | |
19 | LINK = g++ |
|
19 | LINK = g++ | |
20 | LFLAGS = -m64 -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,librmapplugin.so.1 |
|
20 | LFLAGS = -m64 -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,librmapplugin.so.1 | |
21 |
LIBS = $(SUBLIBS) -L/usr/X11R6/lib64 |
|
21 | LIBS = $(SUBLIBS) -L/usr/X11R6/lib64 /home/spacewire/usb/spw_usb_driver_v2.68/lib/x86_64/libSpaceWireUSBAPI.so /home/spacewire/usb/spw_usb_driver_v2.68/lib/x86_64/libConfigLibraryUSB.so -lwfdisplay -lparameterdump -llppmonengine -llppmoncommon -ldl -lutil -lm -lpython2.7 -lPythonQt_QtAll -lPythonQt -lQt5PrintSupport -lQt5Svg -lQt5Widgets -lQt5Network -lQt5Xml -lQt5Gui -lQt5Core -lGL -lpthread | |
22 | AR = ar cqs |
|
22 | AR = ar cqs | |
23 | RANLIB = |
|
23 | RANLIB = | |
24 | QMAKE = /bin/qmake-qt5 |
|
24 | QMAKE = /bin/qmake-qt5 | |
@@ -119,13 +119,12 DIST = /usr/lib64/qt5/mkspecs/f | |||||
119 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ |
|
119 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ | |
120 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ |
|
120 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ | |
121 | /usr/lib64/qt5/mkspecs/qconfig.pri \ |
|
121 | /usr/lib64/qt5/mkspecs/qconfig.pri \ | |
122 | /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri \ |
|
|||
123 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ |
|
122 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ | |
124 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ |
|
123 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ | |
125 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ |
|
124 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ | |
|
125 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri \ | |||
126 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ |
|
126 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ | |
127 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ |
|
127 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ | |
128 | /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri \ |
|
|||
129 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ |
|
128 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ | |
130 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ |
|
129 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ | |
131 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ |
|
130 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ | |
@@ -277,13 +276,12 Makefile: rmapplugin.pro /usr/lib64/qt5/ | |||||
277 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ |
|
276 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ | |
278 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ |
|
277 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ | |
279 | /usr/lib64/qt5/mkspecs/qconfig.pri \ |
|
278 | /usr/lib64/qt5/mkspecs/qconfig.pri \ | |
280 | /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri \ |
|
|||
281 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ |
|
279 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ | |
282 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ |
|
280 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ | |
283 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ |
|
281 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ | |
|
282 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri \ | |||
284 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ |
|
283 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ | |
285 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ |
|
284 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ | |
286 | /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri \ |
|
|||
287 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ |
|
285 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ | |
288 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ |
|
286 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ | |
289 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ |
|
287 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ | |
@@ -383,13 +381,12 Makefile: rmapplugin.pro /usr/lib64/qt5/ | |||||
383 | /usr/lib64/qt5/mkspecs/common/g++-base.conf: |
|
381 | /usr/lib64/qt5/mkspecs/common/g++-base.conf: | |
384 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf: |
|
382 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf: | |
385 | /usr/lib64/qt5/mkspecs/qconfig.pri: |
|
383 | /usr/lib64/qt5/mkspecs/qconfig.pri: | |
386 | /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri: |
|
|||
387 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri: |
|
384 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri: | |
388 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri: |
|
385 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri: | |
389 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri: |
|
386 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri: | |
|
387 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri: | |||
390 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri: |
|
388 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri: | |
391 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri: |
|
389 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri: | |
392 | /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri: |
|
|||
393 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri: |
|
390 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri: | |
394 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri: |
|
391 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri: | |
395 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri: |
|
392 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri: | |
@@ -486,7 +483,7 qmake_all: FORCE | |||||
486 |
|
483 | |||
487 | dist: |
|
484 | dist: | |
488 | @test -d obj/rmapplugin1.0.0 || mkdir -p obj/rmapplugin1.0.0 |
|
485 | @test -d obj/rmapplugin1.0.0 || mkdir -p obj/rmapplugin1.0.0 | |
489 |
$(COPY_FILE) --parents $(SOURCES) $(DIST) obj/rmapplugin1.0.0/ && $(COPY_FILE) --parents ../../DEV_PLE/header/ccsds_types.h rmappluginui.h rmapplugin.h rmapoperations.h ccsds.h ../common_PLE/qipdialogbox.h ../common_PLE/gresbstatusenquiry.h rmappluginpythonwrapper.h stardundee.h |
|
486 | $(COPY_FILE) --parents $(SOURCES) $(DIST) obj/rmapplugin1.0.0/ && $(COPY_FILE) --parents ../../DEV_PLE/header/ccsds_types.h rmappluginui.h rmapplugin.h rmapoperations.h ccsds.h ../common_PLE/qipdialogbox.h ../common_PLE/gresbstatusenquiry.h rmappluginpythonwrapper.h stardundee.h gresb.h tcpackettosend.h tmpackettoread.h tmstatistics.h wfpacket.h params.h tmechobridge.h entermode.h lfractions.h /usr/include/qt5/lppmon/genericPySysdriver.h /usr/include/qt5/lppmon/lppmonplugin.h obj/rmapplugin1.0.0/ && $(COPY_FILE) --parents rmapplugin.cpp rmappluginui.cpp rmapoperations.cpp ccsds.cpp ../common_PLE/qipdialogbox.cpp ../common_PLE/gresbstatusenquiry.cpp rmappluginpythonwrapper.cpp stardundee.cpp gresb.cpp tcpackettosend.cpp tmpackettoread.cpp tmstatistics.cpp wfpacket.cpp tmechobridge.cpp entermode.cpp lfractions.cpp /usr/include/qt5/lppmon/pluginsInterface/lppmonplugininterface.cpp obj/rmapplugin1.0.0/ && (cd `dirname obj/rmapplugin1.0.0` && $(TAR) rmapplugin1.0.0.tar rmapplugin1.0.0 && $(COMPRESS) rmapplugin1.0.0.tar) && $(MOVE) `dirname obj/rmapplugin1.0.0`/rmapplugin1.0.0.tar.gz . && $(DEL_FILE) -r obj/rmapplugin1.0.0 | |
490 |
|
487 | |||
491 |
|
488 | |||
492 | clean:compiler_clean |
|
489 | clean:compiler_clean | |
@@ -692,10 +689,10 moc/moc_rmappluginui.cpp: /usr/include/q | |||||
692 | /usr/include/qt5/QtCore/QTimer \ |
|
689 | /usr/include/qt5/QtCore/QTimer \ | |
693 | /usr/include/qt5/QtCore/qtimer.h \ |
|
690 | /usr/include/qt5/QtCore/qtimer.h \ | |
694 | /usr/include/qt5/QtCore/qbasictimer.h \ |
|
691 | /usr/include/qt5/QtCore/qbasictimer.h \ | |
695 |
|
|
692 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spw_usb_api.h \ | |
696 |
|
|
693 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spacewire_usb.h \ | |
697 |
|
|
694 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/star_dundee_types.h \ | |
698 |
|
|
695 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spw_config_library.h \ | |
699 | ccsds.h \ |
|
696 | ccsds.h \ | |
700 | tmpackettoread.h \ |
|
697 | tmpackettoread.h \ | |
701 | /usr/include/qt5/QtCore/QObject \ |
|
698 | /usr/include/qt5/QtCore/QObject \ | |
@@ -1228,10 +1225,10 moc/moc_rmapplugin.cpp: rmappluginui.h \ | |||||
1228 | /usr/include/qt5/QtCore/QTimer \ |
|
1225 | /usr/include/qt5/QtCore/QTimer \ | |
1229 | /usr/include/qt5/QtCore/qtimer.h \ |
|
1226 | /usr/include/qt5/QtCore/qtimer.h \ | |
1230 | /usr/include/qt5/QtCore/qbasictimer.h \ |
|
1227 | /usr/include/qt5/QtCore/qbasictimer.h \ | |
1231 |
|
|
1228 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spw_usb_api.h \ | |
1232 |
|
|
1229 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spacewire_usb.h \ | |
1233 |
|
|
1230 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/star_dundee_types.h \ | |
1234 |
|
|
1231 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spw_config_library.h \ | |
1235 | ccsds.h \ |
|
1232 | ccsds.h \ | |
1236 | tmpackettoread.h \ |
|
1233 | tmpackettoread.h \ | |
1237 | /usr/include/qt5/QtCore/QObject \ |
|
1234 | /usr/include/qt5/QtCore/QObject \ | |
@@ -1585,10 +1582,14 moc/moc_rmapplugin.cpp: rmappluginui.h \ | |||||
1585 | /usr/include/qt5/QtWidgets/QMenu \ |
|
1582 | /usr/include/qt5/QtWidgets/QMenu \ | |
1586 | /usr/include/qt5/QtWidgets/QAction \ |
|
1583 | /usr/include/qt5/QtWidgets/QAction \ | |
1587 | wfpacket.h \ |
|
1584 | wfpacket.h \ | |
|
1585 | ../../DEV_PLE/header/fsw_params.h \ | |||
|
1586 | ../../DEV_PLE/header/grlib_regs.h \ | |||
|
1587 | ../../DEV_PLE/header/fsw_params_processing.h \ | |||
|
1588 | ../../DEV_PLE/header/tm_byte_positions.h \ | |||
1588 | /usr/include/qt5/lppmon/lppmonplugin.h \ |
|
1589 | /usr/include/qt5/lppmon/lppmonplugin.h \ | |
|
1590 | /usr/include/qt5/lppmon/common/lppmon.h \ | |||
|
1591 | /usr/include/qt5/QtCore/QVariantList \ | |||
1589 | /usr/include/qt5/lppmon/genericPySysdriver.h \ |
|
1592 | /usr/include/qt5/lppmon/genericPySysdriver.h \ | |
1590 | /usr/include/qt5/QtCore/QVariantList \ |
|
|||
1591 | /usr/include/qt5/lppmon/common/lppmon.h \ |
|
|||
1592 | rmapplugin.h |
|
1593 | rmapplugin.h | |
1593 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include rmapplugin.h -o moc/moc_rmapplugin.cpp |
|
1594 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include rmapplugin.h -o moc/moc_rmapplugin.cpp | |
1594 |
|
1595 | |||
@@ -2130,10 +2131,10 moc/moc_stardundee.cpp: /usr/include/qt5 | |||||
2130 | /usr/include/qt5/QtCore/QString \ |
|
2131 | /usr/include/qt5/QtCore/QString \ | |
2131 | /usr/include/qt5/QtGui/QValidator \ |
|
2132 | /usr/include/qt5/QtGui/QValidator \ | |
2132 | params.h \ |
|
2133 | params.h \ | |
2133 |
|
|
2134 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spw_usb_api.h \ | |
2134 |
|
|
2135 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spacewire_usb.h \ | |
2135 |
|
|
2136 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/star_dundee_types.h \ | |
2136 |
|
|
2137 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spw_config_library.h \ | |
2137 | ccsds.h \ |
|
2138 | ccsds.h \ | |
2138 | tmpackettoread.h \ |
|
2139 | tmpackettoread.h \ | |
2139 | /usr/include/qt5/QtCore/QObject \ |
|
2140 | /usr/include/qt5/QtCore/QObject \ | |
@@ -2619,7 +2620,11 moc/moc_wfpacket.cpp: /usr/include/qt5/Q | |||||
2619 | /usr/include/qt5/QtCore/qcontainerfwd.h \ |
|
2620 | /usr/include/qt5/QtCore/qcontainerfwd.h \ | |
2620 | /usr/include/qt5/QtCore/qisenum.h \ |
|
2621 | /usr/include/qt5/QtCore/qisenum.h \ | |
2621 | /usr/include/qt5/QtCore/qobject_impl.h \ |
|
2622 | /usr/include/qt5/QtCore/qobject_impl.h \ | |
2622 | params.h \ |
|
2623 | ../../DEV_PLE/header/fsw_params.h \ | |
|
2624 | ../../DEV_PLE/header/grlib_regs.h \ | |||
|
2625 | ../../DEV_PLE/header/fsw_params_processing.h \ | |||
|
2626 | ../../DEV_PLE/header/tm_byte_positions.h \ | |||
|
2627 | ../../DEV_PLE/header/ccsds_types.h \ | |||
2623 | wfpacket.h |
|
2628 | wfpacket.h | |
2624 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include wfpacket.h -o moc/moc_wfpacket.cpp |
|
2629 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include wfpacket.h -o moc/moc_wfpacket.cpp | |
2625 |
|
2630 | |||
@@ -3260,13 +3265,13 moc/moc_lppmonplugin.cpp: /usr/include/q | |||||
3260 | /usr/include/qt5/QtCore/QList \ |
|
3265 | /usr/include/qt5/QtCore/QList \ | |
3261 | /usr/include/qt5/QtWidgets/QMenu \ |
|
3266 | /usr/include/qt5/QtWidgets/QMenu \ | |
3262 | /usr/include/qt5/QtWidgets/qmenu.h \ |
|
3267 | /usr/include/qt5/QtWidgets/qmenu.h \ | |
3263 |
/usr/include/qt5/lppmon/ |
|
3268 | /usr/include/qt5/lppmon/common/lppmon.h \ | |
3264 | /usr/include/qt5/QtCore/QObject \ |
|
3269 | /usr/include/qt5/QtCore/QObject \ | |
3265 | /usr/include/qt5/QtCore/QVariant \ |
|
3270 | /usr/include/qt5/QtCore/QVariant \ | |
3266 | /usr/include/qt5/QtCore/QVariantList \ |
|
3271 | /usr/include/qt5/QtCore/QVariantList \ | |
3267 | /usr/include/qt5/QtCore/QFile \ |
|
3272 | /usr/include/qt5/QtCore/QFile \ | |
3268 | /usr/include/qt5/QtCore/QTextStream \ |
|
3273 | /usr/include/qt5/QtCore/QTextStream \ | |
3269 |
/usr/include/qt5/lppmon/ |
|
3274 | /usr/include/qt5/lppmon/genericPySysdriver.h \ | |
3270 | /usr/include/qt5/lppmon/lppmonplugin.h |
|
3275 | /usr/include/qt5/lppmon/lppmonplugin.h | |
3271 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include /usr/include/qt5/lppmon/lppmonplugin.h -o moc/moc_lppmonplugin.cpp |
|
3276 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include /usr/include/qt5/lppmon/lppmonplugin.h -o moc/moc_lppmonplugin.cpp | |
3272 |
|
3277 | |||
@@ -3465,10 +3470,10 obj/rmapplugin.o: rmapplugin.cpp rmapplu | |||||
3465 | /usr/include/qt5/QtCore/QTimer \ |
|
3470 | /usr/include/qt5/QtCore/QTimer \ | |
3466 | /usr/include/qt5/QtCore/qtimer.h \ |
|
3471 | /usr/include/qt5/QtCore/qtimer.h \ | |
3467 | /usr/include/qt5/QtCore/qbasictimer.h \ |
|
3472 | /usr/include/qt5/QtCore/qbasictimer.h \ | |
3468 |
|
|
3473 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spw_usb_api.h \ | |
3469 |
|
|
3474 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spacewire_usb.h \ | |
3470 |
|
|
3475 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/star_dundee_types.h \ | |
3471 |
|
|
3476 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spw_config_library.h \ | |
3472 | ccsds.h \ |
|
3477 | ccsds.h \ | |
3473 | tmpackettoread.h \ |
|
3478 | tmpackettoread.h \ | |
3474 | /usr/include/qt5/QtCore/QObject \ |
|
3479 | /usr/include/qt5/QtCore/QObject \ | |
@@ -3822,10 +3827,14 obj/rmapplugin.o: rmapplugin.cpp rmapplu | |||||
3822 | /usr/include/qt5/QtWidgets/QMenu \ |
|
3827 | /usr/include/qt5/QtWidgets/QMenu \ | |
3823 | /usr/include/qt5/QtWidgets/QAction \ |
|
3828 | /usr/include/qt5/QtWidgets/QAction \ | |
3824 | wfpacket.h \ |
|
3829 | wfpacket.h \ | |
|
3830 | ../../DEV_PLE/header/fsw_params.h \ | |||
|
3831 | ../../DEV_PLE/header/grlib_regs.h \ | |||
|
3832 | ../../DEV_PLE/header/fsw_params_processing.h \ | |||
|
3833 | ../../DEV_PLE/header/tm_byte_positions.h \ | |||
3825 | /usr/include/qt5/lppmon/lppmonplugin.h \ |
|
3834 | /usr/include/qt5/lppmon/lppmonplugin.h \ | |
|
3835 | /usr/include/qt5/lppmon/common/lppmon.h \ | |||
|
3836 | /usr/include/qt5/QtCore/QVariantList \ | |||
3826 | /usr/include/qt5/lppmon/genericPySysdriver.h \ |
|
3837 | /usr/include/qt5/lppmon/genericPySysdriver.h \ | |
3827 | /usr/include/qt5/QtCore/QVariantList \ |
|
|||
3828 | /usr/include/qt5/lppmon/common/lppmon.h \ |
|
|||
3829 | /usr/include/qt5/QtNetwork/QHostAddress \ |
|
3838 | /usr/include/qt5/QtNetwork/QHostAddress \ | |
3830 | /usr/include/qt5/QtCore/QIODevice \ |
|
3839 | /usr/include/qt5/QtCore/QIODevice \ | |
3831 | /usr/include/qt5/QtWidgets/QApplication \ |
|
3840 | /usr/include/qt5/QtWidgets/QApplication \ | |
@@ -4031,10 +4040,10 obj/rmappluginui.o: rmappluginui.cpp rma | |||||
4031 | /usr/include/qt5/QtCore/QTimer \ |
|
4040 | /usr/include/qt5/QtCore/QTimer \ | |
4032 | /usr/include/qt5/QtCore/qtimer.h \ |
|
4041 | /usr/include/qt5/QtCore/qtimer.h \ | |
4033 | /usr/include/qt5/QtCore/qbasictimer.h \ |
|
4042 | /usr/include/qt5/QtCore/qbasictimer.h \ | |
4034 |
|
|
4043 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spw_usb_api.h \ | |
4035 |
|
|
4044 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spacewire_usb.h \ | |
4036 |
|
|
4045 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/star_dundee_types.h \ | |
4037 |
|
|
4046 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spw_config_library.h \ | |
4038 | ccsds.h \ |
|
4047 | ccsds.h \ | |
4039 | tmpackettoread.h \ |
|
4048 | tmpackettoread.h \ | |
4040 | /usr/include/qt5/QtCore/QObject \ |
|
4049 | /usr/include/qt5/QtCore/QObject \ | |
@@ -4388,10 +4397,14 obj/rmappluginui.o: rmappluginui.cpp rma | |||||
4388 | /usr/include/qt5/QtWidgets/QMenu \ |
|
4397 | /usr/include/qt5/QtWidgets/QMenu \ | |
4389 | /usr/include/qt5/QtWidgets/QAction \ |
|
4398 | /usr/include/qt5/QtWidgets/QAction \ | |
4390 | wfpacket.h \ |
|
4399 | wfpacket.h \ | |
|
4400 | ../../DEV_PLE/header/fsw_params.h \ | |||
|
4401 | ../../DEV_PLE/header/grlib_regs.h \ | |||
|
4402 | ../../DEV_PLE/header/fsw_params_processing.h \ | |||
|
4403 | ../../DEV_PLE/header/tm_byte_positions.h \ | |||
4391 | /usr/include/qt5/lppmon/lppmonplugin.h \ |
|
4404 | /usr/include/qt5/lppmon/lppmonplugin.h \ | |
4392 |
/usr/include/qt5/lppmon/ |
|
4405 | /usr/include/qt5/lppmon/common/lppmon.h \ | |
4393 | /usr/include/qt5/QtCore/QVariantList \ |
|
4406 | /usr/include/qt5/QtCore/QVariantList \ | |
4394 |
/usr/include/qt5/lppmon/ |
|
4407 | /usr/include/qt5/lppmon/genericPySysdriver.h | |
4395 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/rmappluginui.o rmappluginui.cpp |
|
4408 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/rmappluginui.o rmappluginui.cpp | |
4396 |
|
4409 | |||
4397 | obj/rmapoperations.o: rmapoperations.cpp rmapoperations.h \ |
|
4410 | obj/rmapoperations.o: rmapoperations.cpp rmapoperations.h \ | |
@@ -5072,10 +5085,10 obj/stardundee.o: stardundee.cpp stardun | |||||
5072 | /usr/include/qt5/QtCore/QString \ |
|
5085 | /usr/include/qt5/QtCore/QString \ | |
5073 | /usr/include/qt5/QtGui/QValidator \ |
|
5086 | /usr/include/qt5/QtGui/QValidator \ | |
5074 | params.h \ |
|
5087 | params.h \ | |
5075 |
|
|
5088 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spw_usb_api.h \ | |
5076 |
|
|
5089 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spacewire_usb.h \ | |
5077 |
|
|
5090 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/star_dundee_types.h \ | |
5078 |
|
|
5091 | /home/spacewire/usb/spw_usb_driver_v2.68/inc/spw_config_library.h \ | |
5079 | ccsds.h \ |
|
5092 | ccsds.h \ | |
5080 | tmpackettoread.h \ |
|
5093 | tmpackettoread.h \ | |
5081 | /usr/include/qt5/QtCore/QObject \ |
|
5094 | /usr/include/qt5/QtCore/QObject \ | |
@@ -5408,9 +5421,9 obj/stardundee.o: stardundee.cpp stardun | |||||
5408 | /usr/include/qt5/QtWidgets/QDockWidget \ |
|
5421 | /usr/include/qt5/QtWidgets/QDockWidget \ | |
5409 | /usr/include/qt5/QtWidgets/QMainWindow \ |
|
5422 | /usr/include/qt5/QtWidgets/QMainWindow \ | |
5410 | /usr/include/qt5/QtWidgets/QMenu \ |
|
5423 | /usr/include/qt5/QtWidgets/QMenu \ | |
5411 |
/usr/include/qt5/lppmon/ |
|
5424 | /usr/include/qt5/lppmon/common/lppmon.h \ | |
5412 | /usr/include/qt5/QtCore/QVariantList \ |
|
5425 | /usr/include/qt5/QtCore/QVariantList \ | |
5413 |
/usr/include/qt5/lppmon/ |
|
5426 | /usr/include/qt5/lppmon/genericPySysdriver.h \ | |
5414 | /usr/include/qt5/lppmon/socmodel.h \ |
|
5427 | /usr/include/qt5/lppmon/socmodel.h \ | |
5415 | /usr/include/qt5/lppmon/registerdata.h \ |
|
5428 | /usr/include/qt5/lppmon/registerdata.h \ | |
5416 | /usr/include/qt5/lppmon/socclk.h \ |
|
5429 | /usr/include/qt5/lppmon/socclk.h \ | |
@@ -5587,8 +5600,338 obj/gresb.o: gresb.cpp gresb.h \ | |||||
5587 | ccsds.h \ |
|
5600 | ccsds.h \ | |
5588 | tmpackettoread.h \ |
|
5601 | tmpackettoread.h \ | |
5589 | /usr/include/qt5/QtCore/QObject \ |
|
5602 | /usr/include/qt5/QtCore/QObject \ | |
|
5603 | /usr/include/qt5/QtWidgets/QProgressBar \ | |||
|
5604 | /usr/include/qt5/QtWidgets/qprogressbar.h \ | |||
|
5605 | /usr/include/qt5/lppmon/lppmonengine.h \ | |||
|
5606 | /usr/include/qt5/QtWidgets/QtWidgets \ | |||
|
5607 | /usr/include/qt5/QtWidgets/QtWidgetsDepends \ | |||
|
5608 | /usr/include/qt5/QtCore/QtCore \ | |||
|
5609 | /usr/include/qt5/QtCore/QtCoreDepends \ | |||
|
5610 | /usr/include/qt5/QtCore/qabstractanimation.h \ | |||
|
5611 | /usr/include/qt5/QtCore/qanimationgroup.h \ | |||
|
5612 | /usr/include/qt5/QtCore/qparallelanimationgroup.h \ | |||
|
5613 | /usr/include/qt5/QtCore/qpauseanimation.h \ | |||
|
5614 | /usr/include/qt5/QtCore/qpropertyanimation.h \ | |||
|
5615 | /usr/include/qt5/QtCore/qvariantanimation.h \ | |||
|
5616 | /usr/include/qt5/QtCore/qeasingcurve.h \ | |||
|
5617 | /usr/include/qt5/QtCore/qsequentialanimationgroup.h \ | |||
|
5618 | /usr/include/qt5/QtCore/qtextcodec.h \ | |||
|
5619 | /usr/include/qt5/QtCore/qendian.h \ | |||
|
5620 | /usr/include/qt5/QtCore/qlibraryinfo.h \ | |||
|
5621 | /usr/include/qt5/QtCore/qdatetime.h \ | |||
|
5622 | /usr/include/qt5/QtCore/qnumeric.h \ | |||
|
5623 | /usr/include/qt5/QtCore/qbuffer.h \ | |||
|
5624 | /usr/include/qt5/QtCore/qdir.h \ | |||
|
5625 | /usr/include/qt5/QtCore/qfileinfo.h \ | |||
|
5626 | /usr/include/qt5/QtCore/qdiriterator.h \ | |||
|
5627 | /usr/include/qt5/QtCore/qfileselector.h \ | |||
|
5628 | /usr/include/qt5/QtCore/QStringList \ | |||
|
5629 | /usr/include/qt5/QtCore/qfilesystemwatcher.h \ | |||
|
5630 | /usr/include/qt5/QtCore/qlockfile.h \ | |||
|
5631 | /usr/include/qt5/QtCore/qloggingcategory.h \ | |||
|
5632 | /usr/include/qt5/QtCore/qprocess.h \ | |||
|
5633 | /usr/include/qt5/QtCore/qresource.h \ | |||
|
5634 | /usr/include/qt5/QtCore/qsavefile.h \ | |||
|
5635 | /usr/include/qt5/QtCore/qstandardpaths.h \ | |||
|
5636 | /usr/include/qt5/QtCore/qtemporarydir.h \ | |||
|
5637 | /usr/include/qt5/QtCore/QScopedPointer \ | |||
|
5638 | /usr/include/qt5/QtCore/qtemporaryfile.h \ | |||
|
5639 | /usr/include/qt5/QtCore/qabstractproxymodel.h \ | |||
|
5640 | /usr/include/qt5/QtCore/qidentityproxymodel.h \ | |||
|
5641 | /usr/include/qt5/QtCore/qsortfilterproxymodel.h \ | |||
|
5642 | /usr/include/qt5/QtCore/qstringlistmodel.h \ | |||
|
5643 | /usr/include/qt5/QtCore/qjsonarray.h \ | |||
|
5644 | /usr/include/qt5/QtCore/qjsonvalue.h \ | |||
|
5645 | /usr/include/qt5/QtCore/qjsondocument.h \ | |||
|
5646 | /usr/include/qt5/QtCore/qjsonobject.h \ | |||
|
5647 | /usr/include/qt5/QtCore/qabstracteventdispatcher.h \ | |||
|
5648 | /usr/include/qt5/QtCore/qeventloop.h \ | |||
|
5649 | /usr/include/qt5/QtCore/qabstractnativeeventfilter.h \ | |||
|
5650 | /usr/include/qt5/QtCore/qbasictimer.h \ | |||
|
5651 | /usr/include/qt5/QtCore/qcoreapplication.h \ | |||
|
5652 | /usr/include/qt5/QtCore/qmath.h \ | |||
|
5653 | /usr/include/qt5/QtCore/qmetaobject.h \ | |||
|
5654 | /usr/include/qt5/QtCore/qmimedata.h \ | |||
|
5655 | /usr/include/qt5/QtCore/qobjectcleanuphandler.h \ | |||
|
5656 | /usr/include/qt5/QtCore/qpointer.h \ | |||
|
5657 | /usr/include/qt5/QtCore/qsharedmemory.h \ | |||
|
5658 | /usr/include/qt5/QtCore/qsignalmapper.h \ | |||
|
5659 | /usr/include/qt5/QtCore/qsocketnotifier.h \ | |||
|
5660 | /usr/include/qt5/QtCore/qsystemsemaphore.h \ | |||
|
5661 | /usr/include/qt5/QtCore/qtimer.h \ | |||
|
5662 | /usr/include/qt5/QtCore/qtranslator.h \ | |||
|
5663 | /usr/include/qt5/QtCore/qwineventnotifier.h \ | |||
|
5664 | /usr/include/qt5/QtCore/qmimedatabase.h \ | |||
|
5665 | /usr/include/qt5/QtCore/qmimetype.h \ | |||
|
5666 | /usr/include/qt5/QtCore/qfactoryinterface.h \ | |||
|
5667 | /usr/include/qt5/QtCore/qlibrary.h \ | |||
|
5668 | /usr/include/qt5/QtCore/qplugin.h \ | |||
|
5669 | /usr/include/qt5/QtCore/qpluginloader.h \ | |||
|
5670 | /usr/include/qt5/QtCore/quuid.h \ | |||
|
5671 | /usr/include/qt5/QtCore/qabstractstate.h \ | |||
|
5672 | /usr/include/qt5/QtCore/qabstracttransition.h \ | |||
|
5673 | /usr/include/qt5/QtCore/qeventtransition.h \ | |||
|
5674 | /usr/include/qt5/QtCore/qfinalstate.h \ | |||
|
5675 | /usr/include/qt5/QtCore/qhistorystate.h \ | |||
|
5676 | /usr/include/qt5/QtCore/qsignaltransition.h \ | |||
|
5677 | /usr/include/qt5/QtCore/qstate.h \ | |||
|
5678 | /usr/include/qt5/QtCore/qstatemachine.h \ | |||
|
5679 | /usr/include/qt5/QtCore/qexception.h \ | |||
|
5680 | /usr/include/qt5/QtCore/qfuture.h \ | |||
|
5681 | /usr/include/qt5/QtCore/qfutureinterface.h \ | |||
|
5682 | /usr/include/qt5/QtCore/qrunnable.h \ | |||
|
5683 | /usr/include/qt5/QtCore/qresultstore.h \ | |||
|
5684 | /usr/include/qt5/QtCore/qfuturesynchronizer.h \ | |||
|
5685 | /usr/include/qt5/QtCore/qfuturewatcher.h \ | |||
|
5686 | /usr/include/qt5/QtCore/qreadwritelock.h \ | |||
|
5687 | /usr/include/qt5/QtCore/qthread.h \ | |||
|
5688 | /usr/include/qt5/QtCore/qthreadpool.h \ | |||
|
5689 | /usr/include/qt5/QtCore/qthreadstorage.h \ | |||
|
5690 | /usr/include/qt5/QtCore/qwaitcondition.h \ | |||
|
5691 | /usr/include/qt5/QtCore/qarraydataops.h \ | |||
|
5692 | /usr/include/qt5/QtCore/qarraydatapointer.h \ | |||
|
5693 | /usr/include/qt5/QtCore/qbitarray.h \ | |||
|
5694 | /usr/include/qt5/QtCore/qbytearraymatcher.h \ | |||
|
5695 | /usr/include/qt5/QtCore/qcache.h \ | |||
|
5696 | /usr/include/qt5/QtCore/qcollator.h \ | |||
|
5697 | /usr/include/qt5/QtCore/qcommandlineoption.h \ | |||
|
5698 | /usr/include/qt5/QtCore/qcommandlineparser.h \ | |||
|
5699 | /usr/include/qt5/QtCore/qcryptographichash.h \ | |||
|
5700 | /usr/include/qt5/QtCore/qelapsedtimer.h \ | |||
|
5701 | /usr/include/qt5/QtCore/qlinkedlist.h \ | |||
|
5702 | /usr/include/qt5/QtCore/qmessageauthenticationcode.h \ | |||
|
5703 | /usr/include/qt5/QtCore/qqueue.h \ | |||
|
5704 | /usr/include/qt5/QtCore/qscopedvaluerollback.h \ | |||
|
5705 | /usr/include/qt5/QtCore/qstack.h \ | |||
|
5706 | /usr/include/qt5/QtCore/qtextboundaryfinder.h \ | |||
|
5707 | /usr/include/qt5/QtCore/qtimeline.h \ | |||
|
5708 | /usr/include/qt5/QtCore/qtimezone.h \ | |||
|
5709 | /usr/include/qt5/QtCore/qxmlstream.h \ | |||
|
5710 | /usr/include/qt5/QtCore/qtcoreversion.h \ | |||
|
5711 | /usr/include/qt5/QtGui/QtGui \ | |||
|
5712 | /usr/include/qt5/QtGui/QtGuiDepends \ | |||
|
5713 | /usr/include/qt5/QtGui/qaccessible.h \ | |||
|
5714 | /usr/include/qt5/QtGui/qaccessiblebridge.h \ | |||
|
5715 | /usr/include/qt5/QtGui/qaccessibleobject.h \ | |||
|
5716 | /usr/include/qt5/QtGui/qaccessibleplugin.h \ | |||
|
5717 | /usr/include/qt5/QtGui/qbitmap.h \ | |||
|
5718 | /usr/include/qt5/QtGui/qiconengine.h \ | |||
|
5719 | /usr/include/qt5/QtGui/qiconengineplugin.h \ | |||
|
5720 | /usr/include/qt5/QtGui/qimageiohandler.h \ | |||
|
5721 | /usr/include/qt5/QtGui/qimagereader.h \ | |||
|
5722 | /usr/include/qt5/QtGui/qimagewriter.h \ | |||
|
5723 | /usr/include/qt5/QtGui/qmovie.h \ | |||
|
5724 | /usr/include/qt5/QtGui/qpicture.h \ | |||
|
5725 | /usr/include/qt5/QtGui/qpictureformatplugin.h \ | |||
|
5726 | /usr/include/qt5/QtGui/qpixmapcache.h \ | |||
|
5727 | /usr/include/qt5/QtGui/qstandarditemmodel.h \ | |||
|
5728 | /usr/include/qt5/QtGui/qclipboard.h \ | |||
|
5729 | /usr/include/qt5/QtGui/qdrag.h \ | |||
|
5730 | /usr/include/qt5/QtGui/qgenericplugin.h \ | |||
|
5731 | /usr/include/qt5/QtGui/qgenericpluginfactory.h \ | |||
|
5732 | /usr/include/qt5/QtGui/qguiapplication.h \ | |||
|
5733 | /usr/include/qt5/QtGui/qinputmethod.h \ | |||
|
5734 | /usr/include/qt5/QtGui/qoffscreensurface.h \ | |||
|
5735 | /usr/include/qt5/QtGui/qsurface.h \ | |||
|
5736 | /usr/include/qt5/QtGui/qsurfaceformat.h \ | |||
|
5737 | /usr/include/qt5/QtGui/qopenglcontext.h \ | |||
|
5738 | /usr/include/qt5/QtGui/QSurfaceFormat \ | |||
|
5739 | /usr/include/qt5/QtGui/qopengl.h \ | |||
|
5740 | /usr/include/qt5/QtCore/qt_windows.h \ | |||
|
5741 | /usr/include/qt5/QtGui/qopengles2ext.h \ | |||
|
5742 | /usr/include/qt5/QtGui/qopenglext.h \ | |||
|
5743 | /usr/include/qt5/QtGui/qopenglversionfunctions.h \ | |||
|
5744 | /usr/include/qt5/QtGui/qscreen.h \ | |||
|
5745 | /usr/include/qt5/QtCore/QList \ | |||
|
5746 | /usr/include/qt5/QtCore/QRect \ | |||
|
5747 | /usr/include/qt5/QtCore/QSize \ | |||
|
5748 | /usr/include/qt5/QtCore/QSizeF \ | |||
|
5749 | /usr/include/qt5/QtGui/QTransform \ | |||
|
5750 | /usr/include/qt5/QtGui/qsessionmanager.h \ | |||
|
5751 | /usr/include/qt5/QtGui/qstylehints.h \ | |||
|
5752 | /usr/include/qt5/QtGui/qwindow.h \ | |||
|
5753 | /usr/include/qt5/QtCore/QEvent \ | |||
|
5754 | /usr/include/qt5/QtCore/QMargins \ | |||
|
5755 | /usr/include/qt5/QtGui/qgenericmatrix.h \ | |||
|
5756 | /usr/include/qt5/QtGui/qmatrix4x4.h \ | |||
|
5757 | /usr/include/qt5/QtGui/qvector3d.h \ | |||
|
5758 | /usr/include/qt5/QtGui/qvector4d.h \ | |||
|
5759 | /usr/include/qt5/QtGui/qquaternion.h \ | |||
|
5760 | /usr/include/qt5/QtGui/qopenglbuffer.h \ | |||
|
5761 | /usr/include/qt5/QtGui/qopengldebug.h \ | |||
|
5762 | /usr/include/qt5/QtGui/qopenglframebufferobject.h \ | |||
|
5763 | /usr/include/qt5/QtGui/qopenglfunctions.h \ | |||
|
5764 | /usr/include/qt5/QtGui/qopenglpaintdevice.h \ | |||
|
5765 | /usr/include/qt5/QtGui/qopenglpixeltransferoptions.h \ | |||
|
5766 | /usr/include/qt5/QtCore/QSharedDataPointer \ | |||
|
5767 | /usr/include/qt5/QtGui/qopenglshaderprogram.h \ | |||
|
5768 | /usr/include/qt5/QtGui/qopengltexture.h \ | |||
|
5769 | /usr/include/qt5/QtGui/qopengltimerquery.h \ | |||
|
5770 | /usr/include/qt5/QtGui/qopenglvertexarrayobject.h \ | |||
|
5771 | /usr/include/qt5/QtGui/qbackingstore.h \ | |||
|
5772 | /usr/include/qt5/QtGui/qpagedpaintdevice.h \ | |||
|
5773 | /usr/include/qt5/QtGui/qpaintengine.h \ | |||
|
5774 | /usr/include/qt5/QtGui/qpainter.h \ | |||
|
5775 | /usr/include/qt5/QtGui/qtextoption.h \ | |||
|
5776 | /usr/include/qt5/QtGui/qpen.h \ | |||
|
5777 | /usr/include/qt5/QtGui/qpdfwriter.h \ | |||
|
5778 | /usr/include/qt5/QtGui/qabstracttextdocumentlayout.h \ | |||
|
5779 | /usr/include/qt5/QtGui/qtextlayout.h \ | |||
|
5780 | /usr/include/qt5/QtGui/qtextformat.h \ | |||
|
5781 | /usr/include/qt5/QtGui/qglyphrun.h \ | |||
|
5782 | /usr/include/qt5/QtGui/qrawfont.h \ | |||
|
5783 | /usr/include/qt5/QtGui/qfontdatabase.h \ | |||
|
5784 | /usr/include/qt5/QtGui/qtextcursor.h \ | |||
|
5785 | /usr/include/qt5/QtGui/qtextdocument.h \ | |||
|
5786 | /usr/include/qt5/QtGui/qstatictext.h \ | |||
|
5787 | /usr/include/qt5/QtGui/qsyntaxhighlighter.h \ | |||
|
5788 | /usr/include/qt5/QtGui/qtextobject.h \ | |||
|
5789 | /usr/include/qt5/QtGui/qtextdocumentfragment.h \ | |||
|
5790 | /usr/include/qt5/QtGui/qtextdocumentwriter.h \ | |||
|
5791 | /usr/include/qt5/QtGui/qtextlist.h \ | |||
|
5792 | /usr/include/qt5/QtGui/qtexttable.h \ | |||
|
5793 | /usr/include/qt5/QtGui/qdesktopservices.h \ | |||
|
5794 | /usr/include/qt5/QtGui/qtguiversion.h \ | |||
|
5795 | /usr/include/qt5/QtWidgets/qaccessiblewidget.h \ | |||
|
5796 | /usr/include/qt5/QtWidgets/qcolordialog.h \ | |||
|
5797 | /usr/include/qt5/QtWidgets/qerrormessage.h \ | |||
|
5798 | /usr/include/qt5/QtWidgets/qfiledialog.h \ | |||
|
5799 | /usr/include/qt5/QtWidgets/qfilesystemmodel.h \ | |||
|
5800 | /usr/include/qt5/QtWidgets/qfontdialog.h \ | |||
|
5801 | /usr/include/qt5/QtWidgets/qinputdialog.h \ | |||
|
5802 | /usr/include/qt5/QtWidgets/qlineedit.h \ | |||
|
5803 | /usr/include/qt5/QtWidgets/qmessagebox.h \ | |||
|
5804 | /usr/include/qt5/QtWidgets/qprogressdialog.h \ | |||
|
5805 | /usr/include/qt5/QtWidgets/qwizard.h \ | |||
|
5806 | /usr/include/qt5/QtWidgets/qgraphicseffect.h \ | |||
|
5807 | /usr/include/qt5/QtWidgets/qgraphicsanchorlayout.h \ | |||
|
5808 | /usr/include/qt5/QtWidgets/qgraphicsitem.h \ | |||
|
5809 | /usr/include/qt5/QtWidgets/qgraphicslayout.h \ | |||
|
5810 | /usr/include/qt5/QtWidgets/qgraphicslayoutitem.h \ | |||
|
5811 | /usr/include/qt5/QtWidgets/qgraphicsgridlayout.h \ | |||
|
5812 | /usr/include/qt5/QtWidgets/qgraphicsitemanimation.h \ | |||
|
5813 | /usr/include/qt5/QtWidgets/qgraphicslinearlayout.h \ | |||
|
5814 | /usr/include/qt5/QtWidgets/qgraphicsproxywidget.h \ | |||
|
5815 | /usr/include/qt5/QtWidgets/qgraphicswidget.h \ | |||
|
5816 | /usr/include/qt5/QtWidgets/qgraphicsscene.h \ | |||
|
5817 | /usr/include/qt5/QtWidgets/qgraphicssceneevent.h \ | |||
|
5818 | /usr/include/qt5/QtWidgets/qgraphicstransform.h \ | |||
|
5819 | /usr/include/qt5/QtGui/QVector3D \ | |||
|
5820 | /usr/include/qt5/QtGui/QMatrix4x4 \ | |||
|
5821 | /usr/include/qt5/QtWidgets/qgraphicsview.h \ | |||
|
5822 | /usr/include/qt5/QtWidgets/qscrollarea.h \ | |||
|
5823 | /usr/include/qt5/QtWidgets/qcolumnview.h \ | |||
|
5824 | /usr/include/qt5/QtWidgets/qdatawidgetmapper.h \ | |||
|
5825 | /usr/include/qt5/QtWidgets/qdirmodel.h \ | |||
|
5826 | /usr/include/qt5/QtWidgets/qfileiconprovider.h \ | |||
|
5827 | /usr/include/qt5/QtWidgets/qheaderview.h \ | |||
|
5828 | /usr/include/qt5/QtWidgets/qitemdelegate.h \ | |||
|
5829 | /usr/include/qt5/QtWidgets/qitemeditorfactory.h \ | |||
|
5830 | /usr/include/qt5/QtWidgets/qlistview.h \ | |||
|
5831 | /usr/include/qt5/QtWidgets/qlistwidget.h \ | |||
|
5832 | /usr/include/qt5/QtWidgets/qstyleditemdelegate.h \ | |||
|
5833 | /usr/include/qt5/QtWidgets/qtreeview.h \ | |||
|
5834 | /usr/include/qt5/QtWidgets/qtreewidget.h \ | |||
|
5835 | /usr/include/qt5/QtWidgets/qtreewidgetitemiterator.h \ | |||
|
5836 | /usr/include/qt5/QtWidgets/qaction.h \ | |||
|
5837 | /usr/include/qt5/QtWidgets/qactiongroup.h \ | |||
|
5838 | /usr/include/qt5/QtWidgets/qapplication.h \ | |||
|
5839 | /usr/include/qt5/QtWidgets/qdesktopwidget.h \ | |||
|
5840 | /usr/include/qt5/QtWidgets/qformlayout.h \ | |||
|
5841 | /usr/include/qt5/QtWidgets/QLayout \ | |||
|
5842 | /usr/include/qt5/QtWidgets/qgesture.h \ | |||
|
5843 | /usr/include/qt5/QtWidgets/qgesturerecognizer.h \ | |||
|
5844 | /usr/include/qt5/QtWidgets/qshortcut.h \ | |||
|
5845 | /usr/include/qt5/QtWidgets/qstackedlayout.h \ | |||
|
5846 | /usr/include/qt5/QtWidgets/qtooltip.h \ | |||
|
5847 | /usr/include/qt5/QtWidgets/qwhatsthis.h \ | |||
|
5848 | /usr/include/qt5/QtWidgets/qwidgetaction.h \ | |||
|
5849 | /usr/include/qt5/QtWidgets/qkeyeventtransition.h \ | |||
|
5850 | /usr/include/qt5/QtWidgets/qmouseeventtransition.h \ | |||
|
5851 | /usr/include/qt5/QtWidgets/qcommonstyle.h \ | |||
|
5852 | /usr/include/qt5/QtWidgets/qdrawutil.h \ | |||
|
5853 | /usr/include/qt5/QtWidgets/qproxystyle.h \ | |||
|
5854 | /usr/include/qt5/QtWidgets/QCommonStyle \ | |||
|
5855 | /usr/include/qt5/QtWidgets/qstylefactory.h \ | |||
|
5856 | /usr/include/qt5/QtWidgets/qstylepainter.h \ | |||
|
5857 | /usr/include/qt5/QtWidgets/qstyleplugin.h \ | |||
|
5858 | /usr/include/qt5/QtWidgets/qcolormap.h \ | |||
|
5859 | /usr/include/qt5/QtWidgets/qcompleter.h \ | |||
|
5860 | /usr/include/qt5/QtWidgets/qscroller.h \ | |||
|
5861 | /usr/include/qt5/QtCore/QPointF \ | |||
|
5862 | /usr/include/qt5/QtWidgets/QScrollerProperties \ | |||
|
5863 | /usr/include/qt5/QtWidgets/qscrollerproperties.h \ | |||
|
5864 | /usr/include/qt5/QtCore/QMetaType \ | |||
|
5865 | /usr/include/qt5/QtCore/QVariant \ | |||
|
5866 | /usr/include/qt5/QtWidgets/qsystemtrayicon.h \ | |||
|
5867 | /usr/include/qt5/QtWidgets/qundogroup.h \ | |||
|
5868 | /usr/include/qt5/QtWidgets/qundostack.h \ | |||
|
5869 | /usr/include/qt5/QtWidgets/qundoview.h \ | |||
|
5870 | /usr/include/qt5/QtWidgets/qbuttongroup.h \ | |||
|
5871 | /usr/include/qt5/QtWidgets/qcalendarwidget.h \ | |||
|
5872 | /usr/include/qt5/QtWidgets/qcheckbox.h \ | |||
|
5873 | /usr/include/qt5/QtWidgets/qcombobox.h \ | |||
|
5874 | /usr/include/qt5/QtWidgets/qcommandlinkbutton.h \ | |||
|
5875 | /usr/include/qt5/QtWidgets/qdatetimeedit.h \ | |||
|
5876 | /usr/include/qt5/QtWidgets/qdial.h \ | |||
|
5877 | /usr/include/qt5/QtWidgets/qdialogbuttonbox.h \ | |||
|
5878 | /usr/include/qt5/QtWidgets/qdockwidget.h \ | |||
|
5879 | /usr/include/qt5/QtWidgets/qfocusframe.h \ | |||
|
5880 | /usr/include/qt5/QtWidgets/qfontcombobox.h \ | |||
|
5881 | /usr/include/qt5/QtWidgets/qgroupbox.h \ | |||
|
5882 | /usr/include/qt5/QtWidgets/qkeysequenceedit.h \ | |||
|
5883 | /usr/include/qt5/QtWidgets/qlcdnumber.h \ | |||
|
5884 | /usr/include/qt5/QtWidgets/qmainwindow.h \ | |||
|
5885 | /usr/include/qt5/QtWidgets/qmdiarea.h \ | |||
|
5886 | /usr/include/qt5/QtWidgets/qmdisubwindow.h \ | |||
|
5887 | /usr/include/qt5/QtWidgets/qmenu.h \ | |||
|
5888 | /usr/include/qt5/QtWidgets/qmenubar.h \ | |||
|
5889 | /usr/include/qt5/QtWidgets/qplaintextedit.h \ | |||
|
5890 | /usr/include/qt5/QtWidgets/qtextedit.h \ | |||
|
5891 | /usr/include/qt5/QtWidgets/qradiobutton.h \ | |||
|
5892 | /usr/include/qt5/QtWidgets/qscrollbar.h \ | |||
|
5893 | /usr/include/qt5/QtWidgets/qsizegrip.h \ | |||
|
5894 | /usr/include/qt5/QtWidgets/qsplashscreen.h \ | |||
|
5895 | /usr/include/qt5/QtWidgets/qsplitter.h \ | |||
|
5896 | /usr/include/qt5/QtWidgets/qstackedwidget.h \ | |||
|
5897 | /usr/include/qt5/QtWidgets/qstatusbar.h \ | |||
|
5898 | /usr/include/qt5/QtWidgets/qtextbrowser.h \ | |||
|
5899 | /usr/include/qt5/QtWidgets/qtoolbar.h \ | |||
|
5900 | /usr/include/qt5/QtWidgets/qtoolbox.h \ | |||
|
5901 | /usr/include/qt5/QtWidgets/qtoolbutton.h \ | |||
|
5902 | /usr/include/qt5/QtWidgets/qtwidgetsversion.h \ | |||
|
5903 | /usr/include/qt5/QtXml/QDomDocument \ | |||
|
5904 | /usr/include/qt5/QtXml/qdom.h \ | |||
|
5905 | /usr/include/qt5/QtXml/qtxmlglobal.h \ | |||
|
5906 | /usr/include/qt5/QtXml/QDomElement \ | |||
|
5907 | /usr/include/qt5/QtXml/QDomNodeList \ | |||
|
5908 | /usr/include/qt5/QtCore/QFile \ | |||
|
5909 | /usr/include/qt5/QtCore/QTextStream \ | |||
|
5910 | /usr/include/qt5/QtCore/QDir \ | |||
|
5911 | /usr/include/qt5/QtWidgets/QApplication \ | |||
|
5912 | /usr/include/qt5/QtWidgets/QFileDialog \ | |||
|
5913 | /usr/include/qt5/lppmon/lppmonxmlfile.h \ | |||
|
5914 | /usr/include/qt5/lppmon/lppmonenumdevice.h \ | |||
|
5915 | /usr/include/qt5/lppmon/lppmonplugin.h \ | |||
|
5916 | /usr/include/qt5/QtWidgets/QAction \ | |||
|
5917 | /usr/include/qt5/QtWidgets/QDockWidget \ | |||
|
5918 | /usr/include/qt5/QtWidgets/QMainWindow \ | |||
|
5919 | /usr/include/qt5/QtWidgets/QMenu \ | |||
|
5920 | /usr/include/qt5/lppmon/common/lppmon.h \ | |||
|
5921 | /usr/include/qt5/QtCore/QVariantList \ | |||
|
5922 | /usr/include/qt5/lppmon/genericPySysdriver.h \ | |||
|
5923 | /usr/include/qt5/lppmon/socmodel.h \ | |||
|
5924 | /usr/include/qt5/lppmon/registerdata.h \ | |||
|
5925 | /usr/include/qt5/lppmon/socclk.h \ | |||
|
5926 | /usr/include/qt5/lppmon/XMLmodel.h \ | |||
|
5927 | /usr/include/qt5/lppmon/XMLdata.h \ | |||
|
5928 | /usr/include/qt5/lppmon/xmldriver.h \ | |||
|
5929 | /usr/include/qt5/lppmon/peripheralwidget.h \ | |||
|
5930 | /usr/include/qt5/QtWidgets/QGroupBox \ | |||
|
5931 | /usr/include/qt5/QtWidgets/QVBoxLayout \ | |||
|
5932 | /usr/include/qt5/QtCore/QTimer \ | |||
|
5933 | /usr/include/qt5/lppmon/registerwidget.h \ | |||
5590 | /usr/include/qt5/QtCore/QTime \ |
|
5934 | /usr/include/qt5/QtCore/QTime \ | |
5591 | /usr/include/qt5/QtCore/qdatetime.h \ |
|
|||
5592 | /usr/include/qt5/QtNetwork/QHostAddress \ |
|
5935 | /usr/include/qt5/QtNetwork/QHostAddress \ | |
5593 | /usr/include/qt5/QtNetwork/qhostaddress.h |
|
5936 | /usr/include/qt5/QtNetwork/qhostaddress.h | |
5594 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/gresb.o gresb.cpp |
|
5937 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/gresb.o gresb.cpp | |
@@ -6231,7 +6574,11 obj/wfpacket.o: wfpacket.cpp wfpacket.h | |||||
6231 | /usr/include/qt5/QtCore/qcontainerfwd.h \ |
|
6574 | /usr/include/qt5/QtCore/qcontainerfwd.h \ | |
6232 | /usr/include/qt5/QtCore/qisenum.h \ |
|
6575 | /usr/include/qt5/QtCore/qisenum.h \ | |
6233 | /usr/include/qt5/QtCore/qobject_impl.h \ |
|
6576 | /usr/include/qt5/QtCore/qobject_impl.h \ | |
6234 | params.h |
|
6577 | ../../DEV_PLE/header/fsw_params.h \ | |
|
6578 | ../../DEV_PLE/header/grlib_regs.h \ | |||
|
6579 | ../../DEV_PLE/header/fsw_params_processing.h \ | |||
|
6580 | ../../DEV_PLE/header/tm_byte_positions.h \ | |||
|
6581 | ../../DEV_PLE/header/ccsds_types.h | |||
6235 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/wfpacket.o wfpacket.cpp |
|
6582 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/wfpacket.o wfpacket.cpp | |
6236 |
|
6583 | |||
6237 | obj/tmechobridge.o: tmechobridge.cpp tmechobridge.h \ |
|
6584 | obj/tmechobridge.o: tmechobridge.cpp tmechobridge.h \ |
@@ -1,10 +1,7 | |||||
1 | #ifndef PARAMS_H |
|
1 | #ifndef PARAMS_H | |
2 | #define PARAMS_H |
|
2 | #define PARAMS_H | |
3 |
|
3 | |||
4 | #define XMAX 2048 |
|
|||
5 | #define YMAX 35000 |
|
|||
6 | #define FONT_SIZE_WAVEFORM_TITLE 10 |
|
4 | #define FONT_SIZE_WAVEFORM_TITLE 10 | |
7 | #define DEFAULT_SIZE 2048 |
|
|||
8 | #define BLK_SIZE 12 |
|
5 | #define BLK_SIZE 12 | |
9 | #define BLK_SIZE_CWF3_LIGHT 6 |
|
6 | #define BLK_SIZE_CWF3_LIGHT 6 | |
10 |
|
7 | |||
@@ -23,6 +20,7 | |||||
23 | #define SID_NORMAL_BP2_F0 19 |
|
20 | #define SID_NORMAL_BP2_F0 19 | |
24 | #define SID_NORMAL_BP2_F1 20 |
|
21 | #define SID_NORMAL_BP2_F1 20 | |
25 | #define SID_NORMAL_BP2_F2 21 |
|
22 | #define SID_NORMAL_BP2_F2 21 | |
|
23 | #define SID_NORMAL_CWF_LONG_F3 34 | |||
26 | // |
|
24 | // | |
27 | #define SID_BURST_CWF_F2 2 |
|
25 | #define SID_BURST_CWF_F2 2 | |
28 | #define SID_BURST_BP1_F0 17 |
|
26 | #define SID_BURST_BP1_F0 17 |
@@ -309,37 +309,6 void rmapplugin::nbPacketHasChanged(int | |||||
309 | this->UI->nbPacketInStore->setText("nb packets in store: " + QString::number(nb)); |
|
309 | this->UI->nbPacketInStore->setText("nb packets in store: " + QString::number(nb)); | |
310 | } |
|
310 | } | |
311 |
|
311 | |||
312 | void rmapplugin::buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page) |
|
|||
313 | { |
|
|||
314 | unsigned int i = 0; |
|
|||
315 | unsigned int j = 0; |
|
|||
316 | unsigned char *data; |
|
|||
317 | unsigned char pkt_nr = 0; |
|
|||
318 | unsigned int blk_nr = 0; |
|
|||
319 |
|
||||
320 | pkt_nr = packet->Value[23]; // PKT_NR |
|
|||
321 | blk_nr = packet->Value[24] * 256 + packet->Value[25]; |
|
|||
322 | data = &packet->Value[26]; // start of the first data block; |
|
|||
323 | j = (pkt_nr-1) * 340; |
|
|||
324 | for ( i=0; i<blk_nr; i++ ){ |
|
|||
325 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); |
|
|||
326 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); |
|
|||
327 | wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); |
|
|||
328 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) ); |
|
|||
329 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); |
|
|||
330 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); |
|
|||
331 | } |
|
|||
332 | if (pkt_nr == 7) |
|
|||
333 | { |
|
|||
334 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0); |
|
|||
335 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1); |
|
|||
336 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2); |
|
|||
337 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3); |
|
|||
338 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4); |
|
|||
339 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5); |
|
|||
340 | } |
|
|||
341 | } |
|
|||
342 |
|
||||
343 | ///////////////////// |
|
312 | ///////////////////// | |
344 | // INTERNAL FUNCTIONS |
|
313 | // INTERNAL FUNCTIONS | |
345 |
|
314 |
@@ -55,7 +55,6 public: | |||||
55 | QList<TMPacketToRead*> generalCCSDSPacketStore; |
|
55 | QList<TMPacketToRead*> generalCCSDSPacketStore; | |
56 | void preProcessPacket(TMPacketToRead *packet); |
|
56 | void preProcessPacket(TMPacketToRead *packet); | |
57 | WFPacket wfPacketNormal[4]; |
|
57 | WFPacket wfPacketNormal[4]; | |
58 | void buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page); |
|
|||
59 |
|
58 | |||
60 | public slots: |
|
59 | public slots: | |
61 | unsigned int Write(unsigned int *Value,unsigned int count,unsigned int address=0); |
|
60 | unsigned int Write(unsigned int *Value,unsigned int count,unsigned int address=0); |
@@ -36,16 +36,17 DEFINES += driver_can_be_child=0 | |||||
36 | DEFINES += driver_VID=0 |
|
36 | DEFINES += driver_VID=0 | |
37 | DEFINES += driver_PID=0 |
|
37 | DEFINES += driver_PID=0 | |
38 |
|
38 | |||
|
39 | STAR_DUNDEE_PATH = /home/spacewire/usb/spw_usb_driver_v2.68 | |||
39 |
|
40 | |||
40 |
LIBS += |
|
41 | LIBS += $$STAR_DUNDEE_PATH/lib/x86_64/libSpaceWireUSBAPI.so \ | |
41 |
|
|
42 | $$STAR_DUNDEE_PATH/lib/x86_64/libConfigLibraryUSB.so | |
42 |
|
43 | |||
43 |
|
44 | |||
44 | INCLUDEPATH += \ |
|
45 | INCLUDEPATH += \ | |
45 | $${PWD} \ |
|
46 | $${PWD} \ | |
46 | ../common_PLE \ |
|
47 | ../common_PLE \ | |
47 | ../../DEV_PLE/header \ |
|
48 | ../../DEV_PLE/header \ | |
48 | ../spw_usb_driver_v2.68/inc \ |
|
49 | $$STAR_DUNDEE_PATH/inc \ | |
49 | $${QT_INSTALL_HEADER} \ |
|
50 | $${QT_INSTALL_HEADER} \ | |
50 | $$[QT_INSTALL_HEADERS]/lppmon/common \ |
|
51 | $$[QT_INSTALL_HEADERS]/lppmon/common \ | |
51 | $$[QT_INSTALL_HEADERS]/lppmon/wfdisplay \ |
|
52 | $$[QT_INSTALL_HEADERS]/lppmon/wfdisplay \ | |
@@ -65,8 +66,6 HEADERS += \ | |||||
65 | ../common_PLE/gresbstatusenquiry.h \ |
|
66 | ../common_PLE/gresbstatusenquiry.h \ | |
66 | rmappluginpythonwrapper.h \ |
|
67 | rmappluginpythonwrapper.h \ | |
67 | stardundee.h \ |
|
68 | stardundee.h \ | |
68 | ../spw_usb_driver_v2.68/inc/spw_usb_api.h \ |
|
|||
69 | ../spw_usb_driver_v2.68/inc/spw_config_library.h \ |
|
|||
70 | gresb.h \ |
|
69 | gresb.h \ | |
71 | tcpackettosend.h \ |
|
70 | tcpackettosend.h \ | |
72 | tmpackettoread.h \ |
|
71 | tmpackettoread.h \ |
@@ -2,7 +2,7 | |||||
2 | #include <math.h> |
|
2 | #include <math.h> | |
3 | #include <QApplication> |
|
3 | #include <QApplication> | |
4 |
|
4 | |||
5 |
rmappluginPythonWrapper::rmappluginPythonWrapper( |
|
5 | rmappluginPythonWrapper::rmappluginPythonWrapper(lppmonplugin *parent) : | |
6 | genericPySysdriver(parent) |
|
6 | genericPySysdriver(parent) | |
7 | { |
|
7 | { | |
8 | timer = new QTimer; |
|
8 | timer = new QTimer; |
@@ -16,7 +16,7 class rmappluginPythonWrapper : public g | |||||
16 | { |
|
16 | { | |
17 | Q_OBJECT |
|
17 | Q_OBJECT | |
18 | public: |
|
18 | public: | |
19 |
explicit rmappluginPythonWrapper( |
|
19 | explicit rmappluginPythonWrapper(lppmonplugin *parent = 0); | |
20 |
|
20 | |||
21 | QList<TMPacketToRead*> *ccsdsPacketStore; |
|
21 | QList<TMPacketToRead*> *ccsdsPacketStore; | |
22 | void processPacketStore(); |
|
22 | void processPacketStore(); |
@@ -49,6 +49,7 TMStatistics::TMStatistics(QWidget *pare | |||||
49 | label_NORM_SWF_F1 = new QLabel("SWF_F1"); |
|
49 | label_NORM_SWF_F1 = new QLabel("SWF_F1"); | |
50 | label_NORM_SWF_F2 = new QLabel("SWF_F2"); |
|
50 | label_NORM_SWF_F2 = new QLabel("SWF_F2"); | |
51 | label_NORM_CWF_F3 = new QLabel("CWF_F3"); |
|
51 | label_NORM_CWF_F3 = new QLabel("CWF_F3"); | |
|
52 | label_NORM_CWF_LONG_F3 = new QLabel("LONG_F3"); | |||
52 | label_NORM_ASM_F0 = new QLabel("ASM_F0"); |
|
53 | label_NORM_ASM_F0 = new QLabel("ASM_F0"); | |
53 | label_NORM_ASM_F1 = new QLabel("ASM_F1"); |
|
54 | label_NORM_ASM_F1 = new QLabel("ASM_F1"); | |
54 | label_NORM_ASM_F2 = new QLabel("ASM_F2"); |
|
55 | label_NORM_ASM_F2 = new QLabel("ASM_F2"); | |
@@ -63,6 +64,7 TMStatistics::TMStatistics(QWidget *pare | |||||
63 | label_NORM_SWF_F1_nb = new QLabel("-"); |
|
64 | label_NORM_SWF_F1_nb = new QLabel("-"); | |
64 | label_NORM_SWF_F2_nb = new QLabel("-"); |
|
65 | label_NORM_SWF_F2_nb = new QLabel("-"); | |
65 | label_NORM_CWF_F3_nb = new QLabel("-"); |
|
66 | label_NORM_CWF_F3_nb = new QLabel("-"); | |
|
67 | label_NORM_CWF_LONG_F3_nb = new QLabel("-"); | |||
66 | label_NORM_ASM_F0_nb = new QLabel("-"); |
|
68 | label_NORM_ASM_F0_nb = new QLabel("-"); | |
67 | label_NORM_ASM_F1_nb = new QLabel("-"); |
|
69 | label_NORM_ASM_F1_nb = new QLabel("-"); | |
68 | label_NORM_ASM_F2_nb = new QLabel("-"); |
|
70 | label_NORM_ASM_F2_nb = new QLabel("-"); | |
@@ -153,7 +155,7 TMStatistics::TMStatistics(QWidget *pare | |||||
153 | groupbox_last = new QGroupBox("Last TM received"); |
|
155 | groupbox_last = new QGroupBox("Last TM received"); | |
154 | groupbox_record = new QGroupBox("Packet recording"); |
|
156 | groupbox_record = new QGroupBox("Packet recording"); | |
155 |
|
157 | |||
156 | readSettings(); |
|
158 | this->readSettings(); | |
157 | logFile = new QFile(); |
|
159 | logFile = new QFile(); | |
158 | packetLogFile = new QFile(); |
|
160 | packetLogFile = new QFile(); | |
159 | csvPacketRecordFile = new QFile(); |
|
161 | csvPacketRecordFile = new QFile(); | |
@@ -188,6 +190,11 TMStatistics::TMStatistics(QWidget *pare | |||||
188 | this, SLOT(storeCSVPackets(int))); |
|
190 | this, SLOT(storeCSVPackets(int))); | |
189 | } |
|
191 | } | |
190 |
|
192 | |||
|
193 | TMStatistics::~TMStatistics() | |||
|
194 | { | |||
|
195 | this->writeSettings(); | |||
|
196 | } | |||
|
197 | ||||
191 | void TMStatistics::initConstants() |
|
198 | void TMStatistics::initConstants() | |
192 | { |
|
199 | { | |
193 | UNKNOWN_nb = 0; |
|
200 | UNKNOWN_nb = 0; | |
@@ -207,6 +214,7 void TMStatistics::initConstants() | |||||
207 | NORM_SWF_F1_nb = 0; |
|
214 | NORM_SWF_F1_nb = 0; | |
208 | NORM_SWF_F2_nb = 0; |
|
215 | NORM_SWF_F2_nb = 0; | |
209 | NORM_CWF_F3_nb = 0; |
|
216 | NORM_CWF_F3_nb = 0; | |
|
217 | NORM_CWF_LONG_F3_nb = 0; | |||
210 | NORM_ASM_F0_nb = 0; |
|
218 | NORM_ASM_F0_nb = 0; | |
211 | NORM_ASM_F1_nb = 0; |
|
219 | NORM_ASM_F1_nb = 0; | |
212 | NORM_ASM_F2_nb = 0; |
|
220 | NORM_ASM_F2_nb = 0; | |
@@ -255,16 +263,18 void TMStatistics::buildMonitor_NORM() | |||||
255 | layout_NORM->addWidget(label_NORM_BP1_F0, 0, 2, 1, 1); |
|
263 | layout_NORM->addWidget(label_NORM_BP1_F0, 0, 2, 1, 1); | |
256 | layout_NORM->addWidget(label_NORM_BP1_F1, 1, 2, 1, 1); |
|
264 | layout_NORM->addWidget(label_NORM_BP1_F1, 1, 2, 1, 1); | |
257 | layout_NORM->addWidget(label_NORM_BP1_F2, 2, 2, 1, 1); |
|
265 | layout_NORM->addWidget(label_NORM_BP1_F2, 2, 2, 1, 1); | |
258 |
layout_NORM->addWidget(label_NORM_ |
|
266 | layout_NORM->addWidget(label_NORM_CWF_LONG_F3, 3, 2, 1, 1); | |
259 |
layout_NORM->addWidget(label_NORM_BP2_F |
|
267 | layout_NORM->addWidget(label_NORM_BP2_F0, 4, 2, 1, 1); | |
260 |
layout_NORM->addWidget(label_NORM_BP2_F |
|
268 | layout_NORM->addWidget(label_NORM_BP2_F1, 5, 2, 1, 1); | |
|
269 | layout_NORM->addWidget(label_NORM_BP2_F2, 6, 2, 1, 1); | |||
261 | // |
|
270 | // | |
262 | layout_NORM->addWidget(label_NORM_BP1_F0_nb, 0, 3, 1, 1); |
|
271 | layout_NORM->addWidget(label_NORM_BP1_F0_nb, 0, 3, 1, 1); | |
263 | layout_NORM->addWidget(label_NORM_BP1_F1_nb, 1, 3, 1, 1); |
|
272 | layout_NORM->addWidget(label_NORM_BP1_F1_nb, 1, 3, 1, 1); | |
264 | layout_NORM->addWidget(label_NORM_BP1_F2_nb, 2, 3, 1, 1); |
|
273 | layout_NORM->addWidget(label_NORM_BP1_F2_nb, 2, 3, 1, 1); | |
265 |
layout_NORM->addWidget(label_NORM_ |
|
274 | layout_NORM->addWidget(label_NORM_CWF_LONG_F3_nb, 3, 3, 1, 1); | |
266 |
layout_NORM->addWidget(label_NORM_BP2_F |
|
275 | layout_NORM->addWidget(label_NORM_BP2_F0_nb, 4, 3, 1, 1); | |
267 |
layout_NORM->addWidget(label_NORM_BP2_F |
|
276 | layout_NORM->addWidget(label_NORM_BP2_F1_nb, 5, 3, 1, 1); | |
|
277 | layout_NORM->addWidget(label_NORM_BP2_F2_nb, 6, 3, 1, 1); | |||
268 | } |
|
278 | } | |
269 |
|
279 | |||
270 | void TMStatistics::buildMonitor_BURST() |
|
280 | void TMStatistics::buildMonitor_BURST() | |
@@ -412,6 +422,7 void TMStatistics::resetStatistics() | |||||
412 | label_NORM_SWF_F1_nb->setText("-"); |
|
422 | label_NORM_SWF_F1_nb->setText("-"); | |
413 | label_NORM_SWF_F2_nb->setText("-"); |
|
423 | label_NORM_SWF_F2_nb->setText("-"); | |
414 | label_NORM_CWF_F3_nb->setText("-"); |
|
424 | label_NORM_CWF_F3_nb->setText("-"); | |
|
425 | label_NORM_CWF_LONG_F3_nb->setText("-"); | |||
415 | label_NORM_ASM_F0_nb->setText("-"); |
|
426 | label_NORM_ASM_F0_nb->setText("-"); | |
416 | // |
|
427 | // | |
417 | label_BURST_CWF_F2_nb->setText("-"); |
|
428 | label_BURST_CWF_F2_nb->setText("-"); | |
@@ -538,6 +549,11 void TMStatistics::updateStatistics(unsi | |||||
538 | NORM_CWF_F3_nb = NORM_CWF_F3_nb + 1; |
|
549 | NORM_CWF_F3_nb = NORM_CWF_F3_nb + 1; | |
539 | label_NORM_CWF_F3_nb->setText(QString::number(NORM_CWF_F3_nb)); |
|
550 | label_NORM_CWF_F3_nb->setText(QString::number(NORM_CWF_F3_nb)); | |
540 | } |
|
551 | } | |
|
552 | if (sid == SID_NORM_CWF_LONG_F3) | |||
|
553 | { | |||
|
554 | NORM_CWF_LONG_F3_nb = NORM_CWF_LONG_F3_nb + 1; | |||
|
555 | label_NORM_CWF_LONG_F3_nb->setText(QString::number(NORM_CWF_LONG_F3_nb)); | |||
|
556 | } | |||
541 | else if (sid == SID_BURST_CWF_F2) |
|
557 | else if (sid == SID_BURST_CWF_F2) | |
542 | { |
|
558 | { | |
543 | BURST_CWF_F2_nb = BURST_CWF_F2_nb + 1; |
|
559 | BURST_CWF_F2_nb = BURST_CWF_F2_nb + 1; | |
@@ -891,7 +907,6 void TMStatistics::closeEvent(QCloseEven | |||||
891 | this->logFile->waitForBytesWritten(3000); |
|
907 | this->logFile->waitForBytesWritten(3000); | |
892 | this->logFile->close(); |
|
908 | this->logFile->close(); | |
893 | } |
|
909 | } | |
894 | writeSettings(); |
|
|||
895 | event->accept(); |
|
910 | event->accept(); | |
896 | } |
|
911 | } | |
897 |
|
912 | |||
@@ -957,7 +972,7 QString TMStatistics::getPacketName(unsi | |||||
957 | void TMStatistics::readSettings() |
|
972 | void TMStatistics::readSettings() | |
958 | { |
|
973 | { | |
959 | QSettings settings("lpp", "lfrsgse"); |
|
974 | QSettings settings("lpp", "lfrsgse"); | |
960 | defaultStorageDirectory = settings.value("defaultStorageDirectory", QDir::homePath()).toString(); |
|
975 | defaultStorageDirectory = settings.value( "defaultStorageDirectory", QDir::homePath() ).toString(); | |
961 | label_currentDir->setText(defaultStorageDirectory); |
|
976 | label_currentDir->setText(defaultStorageDirectory); | |
962 | } |
|
977 | } | |
963 |
|
978 |
@@ -22,6 +22,7 class TMStatistics : public QWidget | |||||
22 | public: |
|
22 | public: | |
23 |
|
23 | |||
24 | explicit TMStatistics(QWidget *parent = 0); |
|
24 | explicit TMStatistics(QWidget *parent = 0); | |
|
25 | ~TMStatistics(); | |||
25 | void initConstants(); |
|
26 | void initConstants(); | |
26 | void buildMonitor_BURST(); |
|
27 | void buildMonitor_BURST(); | |
27 | void buildMonitor_SBM1(); |
|
28 | void buildMonitor_SBM1(); | |
@@ -56,6 +57,7 public: | |||||
56 | unsigned int NORM_SWF_F1_nb; |
|
57 | unsigned int NORM_SWF_F1_nb; | |
57 | unsigned int NORM_SWF_F2_nb; |
|
58 | unsigned int NORM_SWF_F2_nb; | |
58 | unsigned int NORM_CWF_F3_nb; |
|
59 | unsigned int NORM_CWF_F3_nb; | |
|
60 | unsigned int NORM_CWF_LONG_F3_nb; | |||
59 | unsigned int NORM_ASM_F0_nb; |
|
61 | unsigned int NORM_ASM_F0_nb; | |
60 | unsigned int NORM_ASM_F1_nb; |
|
62 | unsigned int NORM_ASM_F1_nb; | |
61 | unsigned int NORM_ASM_F2_nb; |
|
63 | unsigned int NORM_ASM_F2_nb; | |
@@ -112,6 +114,7 public: | |||||
112 | QLabel *label_NORM_SWF_F1; |
|
114 | QLabel *label_NORM_SWF_F1; | |
113 | QLabel *label_NORM_SWF_F2; |
|
115 | QLabel *label_NORM_SWF_F2; | |
114 | QLabel *label_NORM_CWF_F3; |
|
116 | QLabel *label_NORM_CWF_F3; | |
|
117 | QLabel *label_NORM_CWF_LONG_F3; | |||
115 | QLabel *label_NORM_ASM_F0; |
|
118 | QLabel *label_NORM_ASM_F0; | |
116 | QLabel *label_NORM_ASM_F1; |
|
119 | QLabel *label_NORM_ASM_F1; | |
117 | QLabel *label_NORM_ASM_F2; |
|
120 | QLabel *label_NORM_ASM_F2; | |
@@ -126,6 +129,7 public: | |||||
126 | QLabel *label_NORM_SWF_F1_nb; |
|
129 | QLabel *label_NORM_SWF_F1_nb; | |
127 | QLabel *label_NORM_SWF_F2_nb; |
|
130 | QLabel *label_NORM_SWF_F2_nb; | |
128 | QLabel *label_NORM_CWF_F3_nb; |
|
131 | QLabel *label_NORM_CWF_F3_nb; | |
|
132 | QLabel *label_NORM_CWF_LONG_F3_nb; | |||
129 | QLabel *label_NORM_ASM_F0_nb; |
|
133 | QLabel *label_NORM_ASM_F0_nb; | |
130 | QLabel *label_NORM_ASM_F1_nb; |
|
134 | QLabel *label_NORM_ASM_F1_nb; | |
131 | QLabel *label_NORM_ASM_F2_nb; |
|
135 | QLabel *label_NORM_ASM_F2_nb; |
@@ -1,16 +1,16 | |||||
1 | #include "wfpacket.h" |
|
1 | #include "wfpacket.h" | |
2 |
|
2 | |||
3 | WFPacket::WFPacket(QObject *parent) : |
|
3 | WFPacket::WFPacket(QObject *parent, unsigned int nbData) : | |
4 | QObject(parent) |
|
4 | QObject(parent) | |
5 | { |
|
5 | { | |
6 |
this->nbSamples = |
|
6 | this->nbSamples = nbData; | |
7 | // |
|
7 | // | |
8 |
wf_v = (short*) malloc(2* |
|
8 | wf_v = (short*) malloc(2*nbData); | |
9 |
wf_e1 = (short*) malloc(2* |
|
9 | wf_e1 = (short*) malloc(2*nbData); | |
10 |
wf_e2 = (short*) malloc(2* |
|
10 | wf_e2 = (short*) malloc(2*nbData); | |
11 |
wf_b1 = (short*) malloc(2* |
|
11 | wf_b1 = (short*) malloc(2*nbData); | |
12 |
wf_b2 = (short*) malloc(2* |
|
12 | wf_b2 = (short*) malloc(2*nbData); | |
13 |
wf_b3 = (short*) malloc(2* |
|
13 | wf_b3 = (short*) malloc(2*nbData); | |
14 | } |
|
14 | } | |
15 |
|
15 | |||
16 | WFPacket::~WFPacket() |
|
16 | WFPacket::~WFPacket() |
@@ -2,13 +2,13 | |||||
2 | #define WFPACKET_H |
|
2 | #define WFPACKET_H | |
3 |
|
3 | |||
4 | #include <QObject> |
|
4 | #include <QObject> | |
5 |
#include |
|
5 | #include "fsw_params.h" | |
6 |
|
6 | |||
7 | class WFPacket : public QObject |
|
7 | class WFPacket : public QObject | |
8 | { |
|
8 | { | |
9 | Q_OBJECT |
|
9 | Q_OBJECT | |
10 | public: |
|
10 | public: | |
11 | explicit WFPacket(QObject *parent = 0); |
|
11 | explicit WFPacket(QObject *parent = 0, unsigned int nbData = 0); | |
12 | ~WFPacket(); |
|
12 | ~WFPacket(); | |
13 | unsigned int nbSamples; |
|
13 | unsigned int nbSamples; | |
14 | short *wf_v; |
|
14 | short *wf_v; |
@@ -3,7 +3,7 | |||||
3 | # Generated by qmake (3.0) (Qt 5.2.0) |
|
3 | # Generated by qmake (3.0) (Qt 5.2.0) | |
4 | # Project: wfdisplay.pro |
|
4 | # Project: wfdisplay.pro | |
5 | # Template: lib |
|
5 | # Template: lib | |
6 |
# Command: / |
|
6 | # Command: /bin/qmake-qt5 -spec linux-g++-64 -o Makefile wfdisplay.pro | |
7 | ############################################################################# |
|
7 | ############################################################################# | |
8 |
|
8 | |||
9 | MAKEFILE = Makefile |
|
9 | MAKEFILE = Makefile | |
@@ -21,7 +21,7 LFLAGS = -m64 -Wl,-O1 -Wl,-z,relr | |||||
21 | LIBS = $(SUBLIBS) -L/usr/X11R6/lib64 -llppmoncommon -lQt5PrintSupport -lQt5Svg -lQt5Widgets -lQt5Network -lQt5Xml -lQt5Gui -lQt5Core -lGL -lpthread |
|
21 | LIBS = $(SUBLIBS) -L/usr/X11R6/lib64 -llppmoncommon -lQt5PrintSupport -lQt5Svg -lQt5Widgets -lQt5Network -lQt5Xml -lQt5Gui -lQt5Core -lGL -lpthread | |
22 | AR = ar cqs |
|
22 | AR = ar cqs | |
23 | RANLIB = |
|
23 | RANLIB = | |
24 |
QMAKE = |
|
24 | QMAKE = /bin/qmake-qt5 | |
25 | TAR = tar -cf |
|
25 | TAR = tar -cf | |
26 | COMPRESS = gzip -9f |
|
26 | COMPRESS = gzip -9f | |
27 | COPY = cp -f |
|
27 | COPY = cp -f | |
@@ -69,13 +69,12 DIST = /usr/lib64/qt5/mkspecs/f | |||||
69 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ |
|
69 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ | |
70 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ |
|
70 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ | |
71 | /usr/lib64/qt5/mkspecs/qconfig.pri \ |
|
71 | /usr/lib64/qt5/mkspecs/qconfig.pri \ | |
72 | /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri \ |
|
|||
73 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ |
|
72 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ | |
74 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ |
|
73 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ | |
75 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ |
|
74 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ | |
|
75 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri \ | |||
76 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ |
|
76 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ | |
77 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ |
|
77 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ | |
78 | /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri \ |
|
|||
79 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ |
|
78 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ | |
80 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ |
|
79 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ | |
81 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ |
|
80 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ | |
@@ -215,13 +214,12 Makefile: wfdisplay.pro /usr/lib64/qt5/m | |||||
215 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ |
|
214 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ | |
216 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ |
|
215 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ | |
217 | /usr/lib64/qt5/mkspecs/qconfig.pri \ |
|
216 | /usr/lib64/qt5/mkspecs/qconfig.pri \ | |
218 | /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri \ |
|
|||
219 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ |
|
217 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ | |
220 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ |
|
218 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ | |
221 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ |
|
219 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ | |
|
220 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri \ | |||
222 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ |
|
221 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ | |
223 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ |
|
222 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ | |
224 | /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri \ |
|
|||
225 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ |
|
223 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ | |
226 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ |
|
224 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ | |
227 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ |
|
225 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ | |
@@ -309,7 +307,7 Makefile: wfdisplay.pro /usr/lib64/qt5/m | |||||
309 | /lib64/libQt5Xml.prl \ |
|
307 | /lib64/libQt5Xml.prl \ | |
310 | /lib64/libQt5Gui.prl \ |
|
308 | /lib64/libQt5Gui.prl \ | |
311 | /lib64/libQt5Core.prl |
|
309 | /lib64/libQt5Core.prl | |
312 | $(QMAKE) -o Makefile wfdisplay.pro |
|
310 | $(QMAKE) -spec linux-g++-64 -o Makefile wfdisplay.pro | |
313 | /usr/lib64/qt5/mkspecs/features/spec_pre.prf: |
|
311 | /usr/lib64/qt5/mkspecs/features/spec_pre.prf: | |
314 | /usr/lib64/qt5/mkspecs/common/shell-unix.conf: |
|
312 | /usr/lib64/qt5/mkspecs/common/shell-unix.conf: | |
315 | /usr/lib64/qt5/mkspecs/common/unix.conf: |
|
313 | /usr/lib64/qt5/mkspecs/common/unix.conf: | |
@@ -319,13 +317,12 Makefile: wfdisplay.pro /usr/lib64/qt5/m | |||||
319 | /usr/lib64/qt5/mkspecs/common/g++-base.conf: |
|
317 | /usr/lib64/qt5/mkspecs/common/g++-base.conf: | |
320 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf: |
|
318 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf: | |
321 | /usr/lib64/qt5/mkspecs/qconfig.pri: |
|
319 | /usr/lib64/qt5/mkspecs/qconfig.pri: | |
322 | /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri: |
|
|||
323 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri: |
|
320 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri: | |
324 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri: |
|
321 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri: | |
325 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri: |
|
322 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri: | |
|
323 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri: | |||
326 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri: |
|
324 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri: | |
327 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri: |
|
325 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri: | |
328 | /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri: |
|
|||
329 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri: |
|
326 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri: | |
330 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri: |
|
327 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri: | |
331 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri: |
|
328 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri: | |
@@ -414,7 +411,7 wfdisplay.pro: | |||||
414 | /lib64/libQt5Gui.prl: |
|
411 | /lib64/libQt5Gui.prl: | |
415 | /lib64/libQt5Core.prl: |
|
412 | /lib64/libQt5Core.prl: | |
416 | qmake: FORCE |
|
413 | qmake: FORCE | |
417 | @$(QMAKE) -o Makefile wfdisplay.pro |
|
414 | @$(QMAKE) -spec linux-g++-64 -o Makefile wfdisplay.pro | |
418 |
|
415 | |||
419 | qmake_all: FORCE |
|
416 | qmake_all: FORCE | |
420 |
|
417 |
@@ -17,7 +17,7 | |||||
17 | #include <wfplot.h> |
|
17 | #include <wfplot.h> | |
18 | #include <wfdisplay_params.h> |
|
18 | #include <wfdisplay_params.h> | |
19 |
|
19 | |||
20 |
class |
|
20 | class PageSpectra : public QMainWindow | |
21 | { |
|
21 | { | |
22 | Q_OBJECT |
|
22 | Q_OBJECT | |
23 | public: |
|
23 | public: |
@@ -1,17 +1,17 | |||||
1 | #include "wfdisplay.h" |
|
1 | #include "wfdisplay.h" | |
2 |
|
2 | |||
3 |
|
3 | |||
4 | WFDisplay::WFDisplay(QWidget *parent) : |
|
4 | WFDisplay::WFDisplay(QWidget *parent, unsigned int bufferSize, unsigned int xMAX, unsigned int yMAX) : | |
5 | QWidget(parent) |
|
5 | QWidget(parent) | |
6 | { |
|
6 | { | |
7 | waveforms_LAYOUT = new QVBoxLayout; |
|
7 | waveforms_LAYOUT = new QVBoxLayout; | |
8 |
|
8 | |||
9 | spwTabWidget = new QTabWidget; |
|
9 | spwTabWidget = new QTabWidget; | |
10 |
|
10 | |||
11 | page_f0 = new WFPage(); |
|
11 | page_f0 = new WFPage( 0, bufferSize, xMAX, yMAX ); | |
12 | page_f1 = new WFPage(); |
|
12 | page_f1 = new WFPage( 0, bufferSize, xMAX, yMAX ); | |
13 | page_f2 = new WFPage(); |
|
13 | page_f2 = new WFPage( 0, bufferSize, xMAX, yMAX ); | |
14 | page_f3 = new WFPage(); |
|
14 | page_f3 = new WFPage( 0, bufferSize, xMAX, yMAX ); | |
15 |
|
15 | |||
16 | page_f0->pageTitle = "NORM_SWF_F0"; |
|
16 | page_f0->pageTitle = "NORM_SWF_F0"; | |
17 | page_f1->pageTitle = "NORM_SWF_F1"; |
|
17 | page_f1->pageTitle = "NORM_SWF_F1"; | |
@@ -29,27 +29,28 WFDisplay::WFDisplay(QWidget *parent) : | |||||
29 |
|
29 | |||
30 | } |
|
30 | } | |
31 |
|
31 | |||
32 |
void WFDisplay::displayOnPlot(short *data, unsigned char num_page, unsigned char num |
|
32 | void WFDisplay::displayOnPlot(short *data, unsigned char num_page, unsigned char num, | |
|
33 | unsigned int coarseTime, unsigned int fineTime, float deltaT, unsigned int nbData) | |||
33 | { |
|
34 | { | |
34 |
QVector<double> x( |
|
35 | QVector<double> x(nbData), y(nbData); | |
35 |
|
36 | |||
36 |
for (int i=0; i< |
|
37 | for (unsigned int i=0; i<nbData; ++i) | |
37 | { |
|
38 | { | |
38 | x[i] = i; |
|
39 | x[i] = i; | |
39 | y[i] = (double) data[i]; |
|
40 | y[i] = (double) data[i]; | |
40 | } |
|
41 | } | |
41 | switch(num_page){ |
|
42 | switch(num_page){ | |
42 | case 0: |
|
43 | case 0: | |
43 | page_f0->displayOnPlot(data, num); |
|
44 | page_f0->displayOnPlot(data, num, coarseTime, fineTime, deltaT, nbData); | |
44 | break; |
|
45 | break; | |
45 | case 1: |
|
46 | case 1: | |
46 | page_f1->displayOnPlot(data, num); |
|
47 | page_f1->displayOnPlot(data, num, coarseTime, fineTime, deltaT, nbData); | |
47 | break; |
|
48 | break; | |
48 | case 2: |
|
49 | case 2: | |
49 | page_f2->displayOnPlot(data, num); |
|
50 | page_f2->displayOnPlot(data, num, coarseTime, fineTime, deltaT, nbData); | |
50 | break; |
|
51 | break; | |
51 | case 3: |
|
52 | case 3: | |
52 | page_f3->displayOnPlot(data, num); |
|
53 | page_f3->displayOnPlot(data, num, coarseTime, fineTime, deltaT, nbData); | |
53 | break; |
|
54 | break; | |
54 | } |
|
55 | } | |
55 |
|
56 |
@@ -9,13 +9,11 | |||||
9 | #include <QTabWidget> |
|
9 | #include <QTabWidget> | |
10 | #include <wfpage.h> |
|
10 | #include <wfpage.h> | |
11 |
|
11 | |||
12 | #define XMAX 2048 |
|
12 | class WFDisplay : public QWidget | |
13 |
|
||||
14 | class WFDISPLAYSHARED_EXPORT WFDisplay : public QWidget |
|
|||
15 | { |
|
13 | { | |
16 | Q_OBJECT |
|
14 | Q_OBJECT | |
17 | public: |
|
15 | public: | |
18 | explicit WFDisplay(QWidget *parent = 0); |
|
16 | explicit WFDisplay(QWidget *parent = 0, unsigned int bufferSize = 0, unsigned int xMAX = 0, unsigned int yMAX = 0); | |
19 |
|
17 | |||
20 | WFPage * page_f0; |
|
18 | WFPage * page_f0; | |
21 | WFPage * page_f1; |
|
19 | WFPage * page_f1; | |
@@ -26,7 +24,8 public: | |||||
26 |
|
24 | |||
27 | QVBoxLayout *waveforms_LAYOUT; |
|
25 | QVBoxLayout *waveforms_LAYOUT; | |
28 |
|
26 | |||
29 |
void displayOnPlot(short *data, unsigned char num_page, unsigned char num |
|
27 | void displayOnPlot(short *data, unsigned char num_page, unsigned char num, | |
|
28 | unsigned int coarseTime, unsigned int fineTime, float deltaT, unsigned int nbData); | |||
30 |
|
29 | |||
31 |
|
30 | |||
32 | signals: |
|
31 | signals: |
@@ -1,6 +1,6 | |||||
1 | <?xml version="1.0" encoding="UTF-8"?> |
|
1 | <?xml version="1.0" encoding="UTF-8"?> | |
2 | <!DOCTYPE QtCreatorProject> |
|
2 | <!DOCTYPE QtCreatorProject> | |
3 |
<!-- Written by QtCreator 3.0.0, 2014-0 |
|
3 | <!-- Written by QtCreator 3.0.0, 2014-02-06T07:20:08. --> | |
4 | <qtcreator> |
|
4 | <qtcreator> | |
5 | <data> |
|
5 | <data> | |
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
|
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
@@ -3,10 +3,4 | |||||
3 |
|
3 | |||
4 | #include <QtCore/qglobal.h> |
|
4 | #include <QtCore/qglobal.h> | |
5 |
|
5 | |||
6 | #if defined(WFDISPLAY_LIBRARY) |
|
|||
7 | # define WFDISPLAYSHARED_EXPORT Q_DECL_EXPORT |
|
|||
8 | #else |
|
|||
9 | # define WFDISPLAYSHARED_EXPORT Q_DECL_IMPORT |
|
|||
10 | #endif |
|
|||
11 |
|
||||
12 | #endif // WFDISPLAY_GLOBAL_H |
|
6 | #endif // WFDISPLAY_GLOBAL_H |
@@ -1,17 +1,25 | |||||
1 | #include "wfpage.h" |
|
1 | #include "wfpage.h" | |
2 | #include <stdio.h> |
|
2 | #include <stdio.h> | |
3 |
|
3 | |||
4 | WFPage::WFPage(QWidget *parent) : |
|
4 | WFPage::WFPage(QWidget *parent, unsigned int bufferSize, unsigned int xMAX, unsigned int yMAX) : | |
5 | QMainWindow(parent) |
|
5 | QMainWindow(parent) | |
6 | { |
|
6 | { | |
|
7 | unsigned int i; | |||
|
8 | localBufferSize = bufferSize; | |||
|
9 | // memory allocation of the data buffer | |||
|
10 | dataBuffer = (QByteArray**) malloc( localBufferSize * sizeof(QByteArray*) ); | |||
|
11 | for (i=0; i<localBufferSize; i++) | |||
|
12 | { | |||
|
13 | dataBuffer[i] = new QByteArray; | |||
|
14 | } | |||
7 |
|
15 | |||
8 | pageTitle = "default"; |
|
16 | pageTitle = "default"; | |
9 |
wfPlot_v = new WFPlot(this, |
|
17 | wfPlot_v = new WFPlot(this, xMAX, yMAX); | |
10 |
wfPlot_e1 = new WFPlot(this, |
|
18 | wfPlot_e1 = new WFPlot(this, xMAX, yMAX); | |
11 |
wfPlot_e2 = new WFPlot(this, |
|
19 | wfPlot_e2 = new WFPlot(this, xMAX, yMAX); | |
12 |
wfPlot_b1 = new WFPlot(this, |
|
20 | wfPlot_b1 = new WFPlot(this, xMAX, yMAX); | |
13 |
wfPlot_b2 = new WFPlot(this, |
|
21 | wfPlot_b2 = new WFPlot(this, xMAX, yMAX); | |
14 |
wfPlot_b3 = new WFPlot(this, |
|
22 | wfPlot_b3 = new WFPlot(this, xMAX, yMAX); | |
15 | // |
|
23 | // | |
16 | wfPlot_v->customPlot->setTitle("v"); |
|
24 | wfPlot_v->customPlot->setTitle("v"); | |
17 | wfPlot_e1->customPlot->setTitle("e1"); |
|
25 | wfPlot_e1->customPlot->setTitle("e1"); | |
@@ -55,57 +63,75 WFPage::WFPage(QWidget *parent) : | |||||
55 | readSettings(); |
|
63 | readSettings(); | |
56 | } |
|
64 | } | |
57 |
|
65 | |||
58 | void WFPage::displayOnPlot(short *data, unsigned char num) |
|
66 | WFPage::~WFPage() | |
59 | { |
|
67 | { | |
60 | fillDataBuffer( data, num ); |
|
68 | unsigned int i; | |
|
69 | // deallocation of the data buffer | |||
|
70 | for (i=0; i<localBufferSize; i++) | |||
|
71 | { | |||
|
72 | delete dataBuffer[i]; | |||
|
73 | } | |||
|
74 | free(dataBuffer); | |||
|
75 | } | |||
|
76 | ||||
|
77 | void WFPage::displayOnPlot(short *data, unsigned char num, unsigned int coarseTime, unsigned int fineTime, float deltaT, unsigned int nbData) | |||
|
78 | { | |||
|
79 | fillDataBuffer( data, num, coarseTime, fineTime, deltaT, nbData ); | |||
61 |
|
80 | |||
62 | switch(num){ |
|
81 | switch(num){ | |
63 | case 0: |
|
82 | case 0: | |
64 |
wfPlot_v->displayOnPlot(data, |
|
83 | wfPlot_v->displayOnPlot(data, nbData); | |
65 | break; |
|
84 | break; | |
66 |
|
85 | |||
67 | case 1: |
|
86 | case 1: | |
68 |
wfPlot_e1->displayOnPlot(data, |
|
87 | wfPlot_e1->displayOnPlot(data, nbData); | |
69 | break; |
|
88 | break; | |
70 |
|
89 | |||
71 | case 2: |
|
90 | case 2: | |
72 |
wfPlot_e2->displayOnPlot(data, |
|
91 | wfPlot_e2->displayOnPlot(data, nbData); | |
73 | break; |
|
92 | break; | |
74 |
|
93 | |||
75 | case 3: |
|
94 | case 3: | |
76 |
wfPlot_b1->displayOnPlot(data, |
|
95 | wfPlot_b1->displayOnPlot(data, nbData); | |
77 | break; |
|
96 | break; | |
78 |
|
97 | |||
79 | case 4: |
|
98 | case 4: | |
80 |
wfPlot_b2->displayOnPlot(data, |
|
99 | wfPlot_b2->displayOnPlot(data, nbData); | |
81 | break; |
|
100 | break; | |
82 |
|
101 | |||
83 | case 5: |
|
102 | case 5: | |
84 |
wfPlot_b3->displayOnPlot(data, |
|
103 | wfPlot_b3->displayOnPlot(data, nbData); | |
85 | break; |
|
104 | break; | |
86 | } |
|
105 | } | |
87 | } |
|
106 | } | |
88 |
|
107 | |||
89 | void WFPage::initDataBuffer() |
|
108 | void WFPage::initDataBuffer() | |
90 | { |
|
109 | { | |
91 |
for (unsigned int i = 0; i < |
|
110 | for (unsigned int i = 0; i < localBufferSize; i++) | |
92 | { |
|
111 | { | |
93 |
dataBuffer[i] |
|
112 | dataBuffer[i]->clear(); | |
94 | } |
|
113 | } | |
95 | } |
|
114 | } | |
96 |
|
115 | |||
97 | void WFPage::fillDataBuffer(short *data, unsigned char num) |
|
116 | void WFPage::fillDataBuffer(short *data, unsigned char num, unsigned int coarseTime, unsigned int fineTime, float deltaT, unsigned int nbData) | |
98 | { |
|
117 | { | |
|
118 | double sampleTime; | |||
|
119 | QByteArray sampleTimeQByteArray; | |||
|
120 | ||||
99 | if ( (storageEnabled == true) | (allowDataStorage==true) ) // store data in buffers |
|
121 | if ( (storageEnabled == true) | (allowDataStorage==true) ) // store data in buffers | |
100 | { |
|
122 | { | |
101 | switch(num) { |
|
123 | switch(num) { | |
102 |
|
124 | |||
103 | case 0 : |
|
125 | case 0 : | |
104 | initDataBuffer(); |
|
126 | initDataBuffer(); | |
105 | for (unsigned int i=0; i<DEFAULT_SIZE; i++) |
|
127 | sampleTime = 0; | |
|
128 | for (unsigned int i=0; i<nbData; i++) | |||
106 | { |
|
129 | { | |
107 | dataBuffer[i].append(QByteArray::number(data[i])); |
|
130 | sampleTime = (double) (coarseTime) | |
108 | dataBuffer[i].append(' '); |
|
131 | + ((double) (fineTime)) * 1. / 65535 | |
|
132 | + deltaT * ((double) i); | |||
|
133 | sampleTimeQByteArray.setNum( sampleTime, 'f', 10 ); | |||
|
134 | dataBuffer[i]->append( sampleTimeQByteArray + ' ' + QByteArray::number(data[i]) ); | |||
109 | } |
|
135 | } | |
110 | allowDataStorage = true; |
|
136 | allowDataStorage = true; | |
111 | break; |
|
137 | break; | |
@@ -115,20 +141,18 void WFPage::fillDataBuffer(short *data, | |||||
115 | case 3 : |
|
141 | case 3 : | |
116 | case 4 : |
|
142 | case 4 : | |
117 | if (allowDataStorage==true) { |
|
143 | if (allowDataStorage==true) { | |
118 |
for (unsigned int i=0; i< |
|
144 | for (unsigned int i=0; i<nbData; i++) | |
119 | { |
|
145 | { | |
120 |
dataBuffer[i] |
|
146 | dataBuffer[i]->append( ' ' + QByteArray::number(data[i]) ); | |
121 | dataBuffer[i].append(' '); |
|
|||
122 | } |
|
147 | } | |
123 | } |
|
148 | } | |
124 | break; |
|
149 | break; | |
125 |
|
150 | |||
126 | case 5 : |
|
151 | case 5 : | |
127 | if (allowDataStorage==true) { |
|
152 | if (allowDataStorage==true) { | |
128 |
for (unsigned int i=0; i< |
|
153 | for (unsigned int i=0; i<nbData; i++) | |
129 | { |
|
154 | { | |
130 |
dataBuffer[i] |
|
155 | dataBuffer[i]->append( ' ' + QByteArray::number(data[i]) ); | |
131 | dataBuffer[i].append(' '); |
|
|||
132 | } |
|
156 | } | |
133 | storeDataBuffer(); |
|
157 | storeDataBuffer(); | |
134 | allowDataStorage = false; |
|
158 | allowDataStorage = false; | |
@@ -146,7 +170,7 void WFPage::storeDataBuffer() | |||||
146 | { |
|
170 | { | |
147 | for (int i = 0; i < DEFAULT_SIZE; i++ ) |
|
171 | for (int i = 0; i < DEFAULT_SIZE; i++ ) | |
148 | { |
|
172 | { | |
149 |
*(this->logFileStrm) << |
|
173 | *(this->logFileStrm) << *dataBuffer[i] << endl; | |
150 | } |
|
174 | } | |
151 | indexOffset = indexOffset + DEFAULT_SIZE; |
|
175 | indexOffset = indexOffset + DEFAULT_SIZE; | |
152 | if (storageEnabled == false){ |
|
176 | if (storageEnabled == false){ | |
@@ -175,8 +199,8 void WFPage::createToolBar() | |||||
175 | radio_tabify->setAutoExclusive(false); |
|
199 | radio_tabify->setAutoExclusive(false); | |
176 |
|
200 | |||
177 | button_selectAll = new QPushButton(tr("select all")); |
|
201 | button_selectAll = new QPushButton(tr("select all")); | |
178 | button_storeWfrm = new QPushButton(tr("REC")); |
|
202 | ||
179 | button_chooseDir = new QPushButton(tr("choose dir")); |
|
203 | label_storeWfrm = new QLabel("-"); | |
180 |
|
204 | |||
181 | myToolBar = new QToolBar("select"); |
|
205 | myToolBar = new QToolBar("select"); | |
182 |
|
206 | |||
@@ -190,8 +214,7 void WFPage::createToolBar() | |||||
190 | myToolBar->addWidget(button_selectAll); |
|
214 | myToolBar->addWidget(button_selectAll); | |
191 | myToolBar->addWidget(radio_tabify); |
|
215 | myToolBar->addWidget(radio_tabify); | |
192 | myToolBar->addSeparator(); |
|
216 | myToolBar->addSeparator(); | |
193 |
myToolBar->addWidget( |
|
217 | myToolBar->addWidget(label_storeWfrm); | |
194 | myToolBar->addWidget(button_chooseDir); |
|
|||
195 |
|
218 | |||
196 | addToolBar(Qt::LeftToolBarArea, myToolBar); |
|
219 | addToolBar(Qt::LeftToolBarArea, myToolBar); | |
197 |
|
220 | |||
@@ -205,8 +228,6 void WFPage::createToolBar() | |||||
205 | connect(this->radio_b3, SIGNAL(clicked(bool)), this, SLOT(actionRadioB3(bool))); |
|
228 | connect(this->radio_b3, SIGNAL(clicked(bool)), this, SLOT(actionRadioB3(bool))); | |
206 | connect(this->button_selectAll, SIGNAL(clicked()), this, SLOT(selectAll())); |
|
229 | connect(this->button_selectAll, SIGNAL(clicked()), this, SLOT(selectAll())); | |
207 | connect(this->radio_tabify, SIGNAL(clicked(bool)), this, SLOT(organizeDocks())); |
|
230 | connect(this->radio_tabify, SIGNAL(clicked(bool)), this, SLOT(organizeDocks())); | |
208 | connect(this->button_storeWfrm, SIGNAL(clicked()), this, SLOT(storeWfrm())); |
|
|||
209 | connect(this->button_chooseDir, SIGNAL(clicked()), this, SLOT(chooseDir())); |
|
|||
210 | } |
|
231 | } | |
211 |
|
232 | |||
212 | void WFPage::actionRadioV(bool state) |
|
233 | void WFPage::actionRadioV(bool state) | |
@@ -522,14 +543,14 void WFPage::storeWfrm() | |||||
522 | { |
|
543 | { | |
523 | buildFileName(); |
|
544 | buildFileName(); | |
524 | indexOffset = 0; |
|
545 | indexOffset = 0; | |
525 |
|
|
546 | label_storeWfrm->setText("Recording..."); | |
526 | logFileEn = true; |
|
547 | logFileEn = true; | |
527 | } |
|
548 | } | |
528 | else |
|
549 | else | |
529 | { |
|
550 | { | |
530 | // disable storage |
|
551 | // disable storage | |
531 | storageEnabled = false; |
|
552 | storageEnabled = false; | |
532 |
|
|
553 | label_storeWfrm->setText("-"); | |
533 | logFileEn = false; |
|
554 | logFileEn = false; | |
534 | } |
|
555 | } | |
535 | } |
|
556 | } | |
@@ -557,7 +578,7 void WFPage::buildFileName() | |||||
557 | this->logFile->setFileName( prefix + ".data"); |
|
578 | this->logFile->setFileName( prefix + ".data"); | |
558 | if(this->logFile->open(QIODevice::WriteOnly)) this->logFileStrm = new QTextStream(this->logFile); |
|
579 | if(this->logFile->open(QIODevice::WriteOnly)) this->logFileStrm = new QTextStream(this->logFile); | |
559 |
|
580 | |||
560 |
*(this->logFileStrm) << "time V E1 E2 B1 B2 B3 |
|
581 | *(this->logFileStrm) << "time V E1 E2 B1 B2 B3" << endl; | |
561 |
|
582 | |||
562 | storageEnabled = true; |
|
583 | storageEnabled = true; | |
563 |
|
584 | |||
@@ -600,3 +621,8 void WFPage::chooseDir() | |||||
600 | QDir::homePath(), |
|
621 | QDir::homePath(), | |
601 | QFileDialog::ShowDirsOnly); |
|
622 | QFileDialog::ShowDirsOnly); | |
602 | } |
|
623 | } | |
|
624 | ||||
|
625 | void WFPage::setDefaultStorageDirectory(QString nameOfTheDirectory) | |||
|
626 | { | |||
|
627 | defaultStorageDirectory = nameOfTheDirectory; | |||
|
628 | } |
@@ -17,11 +17,12 | |||||
17 | #include <wfplot.h> |
|
17 | #include <wfplot.h> | |
18 | #include <wfdisplay_params.h> |
|
18 | #include <wfdisplay_params.h> | |
19 |
|
19 | |||
20 |
class |
|
20 | class WFPage : public QMainWindow | |
21 | { |
|
21 | { | |
22 | Q_OBJECT |
|
22 | Q_OBJECT | |
23 | public: |
|
23 | public: | |
24 | explicit WFPage(QWidget *parent = 0); |
|
24 | explicit WFPage(QWidget *parent = 0, unsigned int bufferSize = 0, unsigned int xMAX = 0, unsigned int yMAX = 0); | |
|
25 | ~WFPage(); | |||
25 |
|
26 | |||
26 | void createToolBar(); |
|
27 | void createToolBar(); | |
27 | void buildDockList(); |
|
28 | void buildDockList(); | |
@@ -37,6 +38,7 public: | |||||
37 | bool storageEnabled; |
|
38 | bool storageEnabled; | |
38 |
|
39 | |||
39 | QLabel *logFileName; |
|
40 | QLabel *logFileName; | |
|
41 | QLabel *label_storeWfrm; | |||
40 |
|
42 | |||
41 | QWidget *titleWidgetV; |
|
43 | QWidget *titleWidgetV; | |
42 | QWidget *titleWidgetE1; |
|
44 | QWidget *titleWidgetE1; | |
@@ -45,7 +47,9 public: | |||||
45 | QWidget *titleWidgetB2; |
|
47 | QWidget *titleWidgetB2; | |
46 | QWidget *titleWidgetB3; |
|
48 | QWidget *titleWidgetB3; | |
47 |
|
49 | |||
48 | QByteArray dataBuffer[DEFAULT_SIZE]; |
|
50 | // QByteArray dataBuffer[DEFAULT_SIZE]; | |
|
51 | unsigned int localBufferSize; | |||
|
52 | QByteArray **dataBuffer; | |||
49 |
|
53 | |||
50 | QList<QDockWidget*> dockList; |
|
54 | QList<QDockWidget*> dockList; | |
51 |
|
55 | |||
@@ -66,7 +70,6 public: | |||||
66 |
|
70 | |||
67 | QPushButton *button_selectAll; |
|
71 | QPushButton *button_selectAll; | |
68 | QPushButton *button_storeWfrm; |
|
72 | QPushButton *button_storeWfrm; | |
69 | QPushButton *button_chooseDir; |
|
|||
70 |
|
73 | |||
71 | QToolBar *myToolBar; |
|
74 | QToolBar *myToolBar; | |
72 |
|
75 | |||
@@ -88,9 +91,9 public: | |||||
88 |
|
91 | |||
89 | //QGridLayout *mainLayout; |
|
92 | //QGridLayout *mainLayout; | |
90 |
|
93 | |||
91 | void displayOnPlot(short *data, unsigned char num); |
|
94 | void displayOnPlot(short *data, unsigned char num, unsigned int coarseTime, unsigned int fineTime, float deltaT, unsigned int nbData); | |
92 | void initDataBuffer(); |
|
95 | void initDataBuffer(); | |
93 | void fillDataBuffer(short *data, unsigned char num); |
|
96 | void fillDataBuffer(short *data, unsigned char num, unsigned int coarseTime, unsigned int fineTime, float deltaT, unsigned int nbData); | |
94 | void storeDataBuffer(); |
|
97 | void storeDataBuffer(); | |
95 |
|
98 | |||
96 | bool allowDataStorage; |
|
99 | bool allowDataStorage; | |
@@ -109,6 +112,7 public slots: | |||||
109 | void storeWfrm(); |
|
112 | void storeWfrm(); | |
110 | void logFileEnDisable(bool state); |
|
113 | void logFileEnDisable(bool state); | |
111 | void chooseDir(); |
|
114 | void chooseDir(); | |
|
115 | void setDefaultStorageDirectory(QString nameOfTheDirectory); | |||
112 |
|
116 | |||
113 | }; |
|
117 | }; | |
114 |
|
118 |
General Comments 0
You need to be logged in to leave comments.
Login now