@@ -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-03-03T15:48:45. --> | |
4 | <qtcreator> |
|
4 | <qtcreator> | |
5 | <data> |
|
5 | <data> | |
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
|
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
@@ -547,7 +547,7 void MainWindow::buildWFAndDisplay_CWF_F | |||||
547 | } |
|
547 | } | |
548 | } |
|
548 | } | |
549 |
|
549 | |||
550 |
void MainWindow::build |
|
550 | void MainWindow::build_ASM_AndDisplay_NORM_F0(TMPacketToRead *packet, SpectraPacket *spectraPacket) | |
551 | { |
|
551 | { | |
552 | unsigned int i; |
|
552 | unsigned int i; | |
553 | unsigned int j; |
|
553 | unsigned int j; | |
@@ -705,7 +705,7 void MainWindow::preProcessPacket(TMPack | |||||
705 | buildWFAndDisplay_CWF_F2(packet, wfPacketSBM2); |
|
705 | buildWFAndDisplay_CWF_F2(packet, wfPacketSBM2); | |
706 | break; |
|
706 | break; | |
707 | case SID_NORMAL_ASM_F0: |
|
707 | case SID_NORMAL_ASM_F0: | |
708 |
build |
|
708 | build_ASM_AndDisplay_NORM_F0(packet, spectraPacketNormalSpectrumF0); | |
709 | break; |
|
709 | break; | |
710 | } |
|
710 | } | |
711 | } |
|
711 | } |
@@ -42,7 +42,7 public: | |||||
42 | void buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket); |
|
42 | void buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket); | |
43 | void buildWFAndDisplay_CWF_F1(TMPacketToRead *packet, WFPacket *wfPacket); |
|
43 | void buildWFAndDisplay_CWF_F1(TMPacketToRead *packet, WFPacket *wfPacket); | |
44 | void buildWFAndDisplay_CWF_F2(TMPacketToRead *packet, WFPacket *wfPacket); |
|
44 | void buildWFAndDisplay_CWF_F2(TMPacketToRead *packet, WFPacket *wfPacket); | |
45 |
void build |
|
45 | void build_ASM_AndDisplay_NORM_F0(TMPacketToRead *packet, SpectraPacket *spectraPacket); | |
46 |
|
46 | |||
47 | protected: |
|
47 | protected: | |
48 | void closeEvent(QCloseEvent *); |
|
48 | void closeEvent(QCloseEvent *); |
@@ -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: parameterdump.pro |
|
4 | # Project: parameterdump.pro | |
5 | # Template: lib |
|
5 | # Template: lib | |
6 | # Command: /bin/qmake-qt5 -spec linux-g++-64 CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile parameterdump.pro |
|
6 | # Command: /usr/bin/qmake-qt5 -o Makefile parameterdump.pro | |
7 | ############################################################################# |
|
7 | ############################################################################# | |
8 |
|
8 | |||
9 | MAKEFILE = Makefile |
|
9 | MAKEFILE = Makefile | |
@@ -12,16 +12,16 MAKEFILE = Makefile | |||||
12 |
|
12 | |||
13 | CC = gcc |
|
13 | CC = gcc | |
14 | CXX = g++ |
|
14 | CXX = g++ | |
15 |
DEFINES = -DPARAMETERDUMP_LIBRARY -DQT_ |
|
15 | DEFINES = -DPARAMETERDUMP_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB | |
16 | CFLAGS = -m64 -pipe -g -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 -g -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 -Wall -W -D_REENTRANT -fPIC $(DEFINES) | |
18 | INCPATH = -I/usr/lib64/qt5/mkspecs/linux-g++-64 -I. -I../../DEV_PLE/header -I../rmapplugin -I. -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. |
|
18 | INCPATH = -I/usr/lib64/qt5/mkspecs/linux-g++-64 -I. -I../../DEV_PLE/header -I../rmapplugin -I. -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. | |
19 | LINK = g++ |
|
19 | LINK = g++ | |
20 | LFLAGS = -m64 -shared -Wl,-soname,libparameterdump.so.1 |
|
20 | LFLAGS = -m64 -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,libparameterdump.so.1 | |
21 | LIBS = $(SUBLIBS) -L/usr/X11R6/lib64 -lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread |
|
21 | LIBS = $(SUBLIBS) -L/usr/X11R6/lib64 -lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread | |
22 | AR = ar cqs |
|
22 | AR = ar cqs | |
23 | RANLIB = |
|
23 | RANLIB = | |
24 | QMAKE = /bin/qmake-qt5 |
|
24 | QMAKE = /usr/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 | |
@@ -65,13 +65,12 DIST = /usr/lib64/qt5/mkspecs/f | |||||
65 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ |
|
65 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ | |
66 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ |
|
66 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ | |
67 | /usr/lib64/qt5/mkspecs/qconfig.pri \ |
|
67 | /usr/lib64/qt5/mkspecs/qconfig.pri \ | |
68 | /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri \ |
|
|||
69 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ |
|
68 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ | |
70 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ |
|
69 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ | |
71 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ |
|
70 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ | |
|
71 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri \ | |||
72 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ |
|
72 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ | |
73 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ |
|
73 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ | |
74 | /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri \ |
|
|||
75 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ |
|
74 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ | |
76 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ |
|
75 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ | |
77 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ |
|
76 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ | |
@@ -139,8 +138,6 DIST = /usr/lib64/qt5/mkspecs/f | |||||
139 | /usr/lib64/qt5/mkspecs/features/default_pre.prf \ |
|
138 | /usr/lib64/qt5/mkspecs/features/default_pre.prf \ | |
140 | /usr/lib64/qt5/mkspecs/features/resolve_config.prf \ |
|
139 | /usr/lib64/qt5/mkspecs/features/resolve_config.prf \ | |
141 | /usr/lib64/qt5/mkspecs/features/default_post.prf \ |
|
140 | /usr/lib64/qt5/mkspecs/features/default_post.prf \ | |
142 | /usr/lib64/qt5/mkspecs/features/qml_debug.prf \ |
|
|||
143 | /usr/lib64/qt5/mkspecs/features/declarative_debug.prf \ |
|
|||
144 | /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
141 | /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf \ | |
145 | /usr/lib64/qt5/mkspecs/features/warn_on.prf \ |
|
142 | /usr/lib64/qt5/mkspecs/features/warn_on.prf \ | |
146 | /usr/lib64/qt5/mkspecs/features/qt.prf \ |
|
143 | /usr/lib64/qt5/mkspecs/features/qt.prf \ | |
@@ -195,7 +192,6 all: Makefile $(TARGET) | |||||
195 | -ln -s $(TARGET) $(TARGET0) |
|
192 | -ln -s $(TARGET) $(TARGET0) | |
196 | -ln -s $(TARGET) $(TARGET1) |
|
193 | -ln -s $(TARGET) $(TARGET1) | |
197 | -ln -s $(TARGET) $(TARGET2) |
|
194 | -ln -s $(TARGET) $(TARGET2) | |
198 | { test -z "$(DESTDIR)" || cd "$(DESTDIR)"; } && test $$(gdb --version | sed -e 's,[^0-9][^0-9]*\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index ." -ex quit '$(TARGET)' && test -f $(TARGET).gdb-index && objcopy --add-section '.gdb_index=$(TARGET).gdb-index' --set-section-flags '.gdb_index=readonly' '$(TARGET)' '$(TARGET)' && rm -f $(TARGET).gdb-index || true |
|
|||
199 |
|
195 | |||
200 |
|
196 | |||
201 |
|
197 | |||
@@ -214,13 +210,12 Makefile: parameterdump.pro /usr/lib64/q | |||||
214 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ |
|
210 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ | |
215 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ |
|
211 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ | |
216 | /usr/lib64/qt5/mkspecs/qconfig.pri \ |
|
212 | /usr/lib64/qt5/mkspecs/qconfig.pri \ | |
217 | /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri \ |
|
|||
218 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ |
|
213 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ | |
219 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ |
|
214 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ | |
220 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ |
|
215 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ | |
|
216 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri \ | |||
221 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ |
|
217 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ | |
222 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ |
|
218 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ | |
223 | /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri \ |
|
|||
224 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ |
|
219 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ | |
225 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ |
|
220 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ | |
226 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ |
|
221 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ | |
@@ -288,8 +283,6 Makefile: parameterdump.pro /usr/lib64/q | |||||
288 | /usr/lib64/qt5/mkspecs/features/default_pre.prf \ |
|
283 | /usr/lib64/qt5/mkspecs/features/default_pre.prf \ | |
289 | /usr/lib64/qt5/mkspecs/features/resolve_config.prf \ |
|
284 | /usr/lib64/qt5/mkspecs/features/resolve_config.prf \ | |
290 | /usr/lib64/qt5/mkspecs/features/default_post.prf \ |
|
285 | /usr/lib64/qt5/mkspecs/features/default_post.prf \ | |
291 | /usr/lib64/qt5/mkspecs/features/qml_debug.prf \ |
|
|||
292 | /usr/lib64/qt5/mkspecs/features/declarative_debug.prf \ |
|
|||
293 | /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
286 | /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf \ | |
294 | /usr/lib64/qt5/mkspecs/features/warn_on.prf \ |
|
287 | /usr/lib64/qt5/mkspecs/features/warn_on.prf \ | |
295 | /usr/lib64/qt5/mkspecs/features/qt.prf \ |
|
288 | /usr/lib64/qt5/mkspecs/features/qt.prf \ | |
@@ -307,7 +300,7 Makefile: parameterdump.pro /usr/lib64/q | |||||
307 | /lib64/libQt5Widgets.prl \ |
|
300 | /lib64/libQt5Widgets.prl \ | |
308 | /lib64/libQt5Gui.prl \ |
|
301 | /lib64/libQt5Gui.prl \ | |
309 | /lib64/libQt5Core.prl |
|
302 | /lib64/libQt5Core.prl | |
310 | $(QMAKE) -spec linux-g++-64 CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile parameterdump.pro |
|
303 | $(QMAKE) -o Makefile parameterdump.pro | |
311 | /usr/lib64/qt5/mkspecs/features/spec_pre.prf: |
|
304 | /usr/lib64/qt5/mkspecs/features/spec_pre.prf: | |
312 | /usr/lib64/qt5/mkspecs/common/shell-unix.conf: |
|
305 | /usr/lib64/qt5/mkspecs/common/shell-unix.conf: | |
313 | /usr/lib64/qt5/mkspecs/common/unix.conf: |
|
306 | /usr/lib64/qt5/mkspecs/common/unix.conf: | |
@@ -317,13 +310,12 Makefile: parameterdump.pro /usr/lib64/q | |||||
317 | /usr/lib64/qt5/mkspecs/common/g++-base.conf: |
|
310 | /usr/lib64/qt5/mkspecs/common/g++-base.conf: | |
318 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf: |
|
311 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf: | |
319 | /usr/lib64/qt5/mkspecs/qconfig.pri: |
|
312 | /usr/lib64/qt5/mkspecs/qconfig.pri: | |
320 | /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri: |
|
|||
321 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri: |
|
313 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri: | |
322 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri: |
|
314 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri: | |
323 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri: |
|
315 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri: | |
|
316 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri: | |||
324 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri: |
|
317 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri: | |
325 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri: |
|
318 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri: | |
326 | /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri: |
|
|||
327 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri: |
|
319 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri: | |
328 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri: |
|
320 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri: | |
329 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri: |
|
321 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri: | |
@@ -391,8 +383,6 Makefile: parameterdump.pro /usr/lib64/q | |||||
391 | /usr/lib64/qt5/mkspecs/features/default_pre.prf: |
|
383 | /usr/lib64/qt5/mkspecs/features/default_pre.prf: | |
392 | /usr/lib64/qt5/mkspecs/features/resolve_config.prf: |
|
384 | /usr/lib64/qt5/mkspecs/features/resolve_config.prf: | |
393 | /usr/lib64/qt5/mkspecs/features/default_post.prf: |
|
385 | /usr/lib64/qt5/mkspecs/features/default_post.prf: | |
394 | /usr/lib64/qt5/mkspecs/features/qml_debug.prf: |
|
|||
395 | /usr/lib64/qt5/mkspecs/features/declarative_debug.prf: |
|
|||
396 | /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf: |
|
386 | /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf: | |
397 | /usr/lib64/qt5/mkspecs/features/warn_on.prf: |
|
387 | /usr/lib64/qt5/mkspecs/features/warn_on.prf: | |
398 | /usr/lib64/qt5/mkspecs/features/qt.prf: |
|
388 | /usr/lib64/qt5/mkspecs/features/qt.prf: | |
@@ -411,7 +401,7 parameterdump.pro: | |||||
411 | /lib64/libQt5Gui.prl: |
|
401 | /lib64/libQt5Gui.prl: | |
412 | /lib64/libQt5Core.prl: |
|
402 | /lib64/libQt5Core.prl: | |
413 | qmake: FORCE |
|
403 | qmake: FORCE | |
414 | @$(QMAKE) -spec linux-g++-64 CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile parameterdump.pro |
|
404 | @$(QMAKE) -o Makefile parameterdump.pro | |
415 |
|
405 | |||
416 | qmake_all: FORCE |
|
406 | qmake_all: FORCE | |
417 |
|
407 | |||
@@ -576,6 +566,7 moc_parameterdump.cpp: /usr/include/qt5/ | |||||
576 | /usr/include/qt5/QtCore/QObject \ |
|
566 | /usr/include/qt5/QtCore/QObject \ | |
577 | ../../DEV_PLE/header/TC_types.h \ |
|
567 | ../../DEV_PLE/header/TC_types.h \ | |
578 | ../../DEV_PLE/header/ccsds_types.h \ |
|
568 | ../../DEV_PLE/header/ccsds_types.h \ | |
|
569 | ../../DEV_PLE/header/fsw_params_processing.h \ | |||
579 | parameterdump_global.h \ |
|
570 | parameterdump_global.h \ | |
580 | tcpackettosend.h \ |
|
571 | tcpackettosend.h \ | |
581 | parameterdump.h |
|
572 | parameterdump.h | |
@@ -642,6 +633,7 moc_tcpackettosend.cpp: /usr/include/qt5 | |||||
642 | parameterdump_global.h \ |
|
633 | parameterdump_global.h \ | |
643 | ../../DEV_PLE/header/TC_types.h \ |
|
634 | ../../DEV_PLE/header/TC_types.h \ | |
644 | ../../DEV_PLE/header/ccsds_types.h \ |
|
635 | ../../DEV_PLE/header/ccsds_types.h \ | |
|
636 | ../../DEV_PLE/header/fsw_params_processing.h \ | |||
645 | tcpackettosend.h |
|
637 | tcpackettosend.h | |
646 | /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 tcpackettosend.h -o moc_tcpackettosend.cpp |
|
638 | /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 tcpackettosend.h -o moc_tcpackettosend.cpp | |
647 |
|
639 | |||
@@ -853,6 +845,7 parameterdump.o: parameterdump.cpp param | |||||
853 | /usr/include/qt5/QtCore/QObject \ |
|
845 | /usr/include/qt5/QtCore/QObject \ | |
854 | ../../DEV_PLE/header/TC_types.h \ |
|
846 | ../../DEV_PLE/header/TC_types.h \ | |
855 | ../../DEV_PLE/header/ccsds_types.h \ |
|
847 | ../../DEV_PLE/header/ccsds_types.h \ | |
|
848 | ../../DEV_PLE/header/fsw_params_processing.h \ | |||
856 | parameterdump_global.h \ |
|
849 | parameterdump_global.h \ | |
857 | tcpackettosend.h |
|
850 | tcpackettosend.h | |
858 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o parameterdump.o parameterdump.cpp |
|
851 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o parameterdump.o parameterdump.cpp | |
@@ -918,7 +911,8 tcpackettosend.o: tcpackettosend.cpp tcp | |||||
918 | /usr/include/qt5/QtCore/qobject_impl.h \ |
|
911 | /usr/include/qt5/QtCore/qobject_impl.h \ | |
919 | parameterdump_global.h \ |
|
912 | parameterdump_global.h \ | |
920 | ../../DEV_PLE/header/TC_types.h \ |
|
913 | ../../DEV_PLE/header/TC_types.h \ | |
921 | ../../DEV_PLE/header/ccsds_types.h |
|
914 | ../../DEV_PLE/header/ccsds_types.h \ | |
|
915 | ../../DEV_PLE/header/fsw_params_processing.h | |||
922 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tcpackettosend.o tcpackettosend.cpp |
|
916 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tcpackettosend.o tcpackettosend.cpp | |
923 |
|
917 | |||
924 | tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h \ |
|
918 | tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h \ | |
@@ -1009,6 +1003,7 uninstall_header: FORCE | |||||
1009 | install_target: first FORCE |
|
1003 | install_target: first FORCE | |
1010 | @test -d $(INSTALL_ROOT)/usr/lib64 || mkdir -p $(INSTALL_ROOT)/usr/lib64 |
|
1004 | @test -d $(INSTALL_ROOT)/usr/lib64 || mkdir -p $(INSTALL_ROOT)/usr/lib64 | |
1011 | -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET)" |
|
1005 | -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET)" | |
|
1006 | -$(STRIP) --strip-unneeded "$(INSTALL_ROOT)/usr/lib64/$(TARGET)" | |||
1012 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)" |
|
1007 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)" | |
1013 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)" |
|
1008 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)" | |
1014 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)" |
|
1009 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)" |
@@ -310,7 +310,7 void ParameterDump::sendParameterDump() | |||||
310 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
310 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; | |
311 | packet.serviceType = TC_TYPE_DEFAULT; |
|
311 | packet.serviceType = TC_TYPE_DEFAULT; | |
312 | packet.serviceSubType = TC_SUBTYPE_DUMP; |
|
312 | packet.serviceSubType = TC_SUBTYPE_DUMP; | |
313 |
packet.sourceID = SID_TC_ |
|
313 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
314 |
|
314 | |||
315 | packetToSend->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, |
|
315 | packetToSend->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, | |
316 | PACKET_LENGTH_TC_LFR_DUMP_PAR + CCSDS_TC_TM_PACKET_OFFSET - 2); |
|
316 | PACKET_LENGTH_TC_LFR_DUMP_PAR + CCSDS_TC_TM_PACKET_OFFSET - 2); | |
@@ -336,7 +336,7 void ParameterDump::sendLoadCommon() | |||||
336 | packet.ccsdsSecHeaderFlag_pusVersion_ack = TC_LFR_DATA_FIELD_HEADER0; |
|
336 | packet.ccsdsSecHeaderFlag_pusVersion_ack = TC_LFR_DATA_FIELD_HEADER0; | |
337 | packet.serviceType = TC_TYPE_DEFAULT; |
|
337 | packet.serviceType = TC_TYPE_DEFAULT; | |
338 | packet.serviceSubType = TC_SUBTYPE_LOAD_COMMON_PAR; |
|
338 | packet.serviceSubType = TC_SUBTYPE_LOAD_COMMON_PAR; | |
339 |
packet.sourceID = SID_TC_ |
|
339 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
340 | packet.spare = TC_LFR_LOAD_COMMON_PAR_SPARE; |
|
340 | packet.spare = TC_LFR_LOAD_COMMON_PAR_SPARE; | |
341 | packet.bw_sp0_sp1_r0_r1 = (spinbox_sy_lfr_bw->value() << 4) |
|
341 | packet.bw_sp0_sp1_r0_r1 = (spinbox_sy_lfr_bw->value() << 4) | |
342 | + (spinbox_sy_lfr_sp0->value() << 3) |
|
342 | + (spinbox_sy_lfr_sp0->value() << 3) | |
@@ -368,7 +368,7 void ParameterDump::sendLoadNormal() | |||||
368 | packet.ccsdsSecHeaderFlag_pusVersion_ack = TC_LFR_DATA_FIELD_HEADER0; |
|
368 | packet.ccsdsSecHeaderFlag_pusVersion_ack = TC_LFR_DATA_FIELD_HEADER0; | |
369 | packet.serviceType = TC_TYPE_DEFAULT; |
|
369 | packet.serviceType = TC_TYPE_DEFAULT; | |
370 | packet.serviceSubType = TC_SUBTYPE_LOAD_NORMAL_PAR; |
|
370 | packet.serviceSubType = TC_SUBTYPE_LOAD_NORMAL_PAR; | |
371 |
packet.sourceID = SID_TC_ |
|
371 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
372 | 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 ); | |
373 | 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() ); | |
374 | 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 ); | |
@@ -404,7 +404,7 void ParameterDump::sendLoadBurst() | |||||
404 | packet.ccsdsSecHeaderFlag_pusVersion_ack = TC_LFR_DATA_FIELD_HEADER0; |
|
404 | packet.ccsdsSecHeaderFlag_pusVersion_ack = TC_LFR_DATA_FIELD_HEADER0; | |
405 | packet.serviceType = TC_TYPE_DEFAULT; |
|
405 | packet.serviceType = TC_TYPE_DEFAULT; | |
406 | packet.serviceSubType = TC_SUBTYPE_LOAD_BURST_PAR; |
|
406 | packet.serviceSubType = TC_SUBTYPE_LOAD_BURST_PAR; | |
407 |
packet.sourceID = SID_TC_ |
|
407 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
408 | packet.sy_lfr_bp_p0 = (unsigned char) (spinbox_sy_lfr_b_bp_p0->value() ); |
|
408 | packet.sy_lfr_bp_p0 = (unsigned char) (spinbox_sy_lfr_b_bp_p0->value() ); | |
409 | packet.sy_lfr_bp_p1 = (unsigned char) (spinbox_sy_lfr_b_bp_p1->value() ); |
|
409 | packet.sy_lfr_bp_p1 = (unsigned char) (spinbox_sy_lfr_b_bp_p1->value() ); | |
410 |
|
410 | |||
@@ -432,7 +432,7 void ParameterDump::sendLoadSBM1() | |||||
432 | packet.ccsdsSecHeaderFlag_pusVersion_ack = TC_LFR_DATA_FIELD_HEADER0; |
|
432 | packet.ccsdsSecHeaderFlag_pusVersion_ack = TC_LFR_DATA_FIELD_HEADER0; | |
433 | packet.serviceType = TC_TYPE_DEFAULT; |
|
433 | packet.serviceType = TC_TYPE_DEFAULT; | |
434 | packet.serviceSubType = TC_SUBTYPE_LOAD_SBM1_PAR; |
|
434 | packet.serviceSubType = TC_SUBTYPE_LOAD_SBM1_PAR; | |
435 |
packet.sourceID = SID_TC_ |
|
435 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
436 | packet.sy_lfr_bp_p0 = (unsigned char) (spinbox_sy_lfr_s1_bp_p0->value() ); |
|
436 | packet.sy_lfr_bp_p0 = (unsigned char) (spinbox_sy_lfr_s1_bp_p0->value() ); | |
437 | packet.sy_lfr_bp_p1 = (unsigned char) (spinbox_sy_lfr_s1_bp_p1->value() ); |
|
437 | packet.sy_lfr_bp_p1 = (unsigned char) (spinbox_sy_lfr_s1_bp_p1->value() ); | |
438 |
|
438 | |||
@@ -460,7 +460,7 void ParameterDump::sendLoadSBM2() | |||||
460 | packet.ccsdsSecHeaderFlag_pusVersion_ack = TC_LFR_DATA_FIELD_HEADER0; |
|
460 | packet.ccsdsSecHeaderFlag_pusVersion_ack = TC_LFR_DATA_FIELD_HEADER0; | |
461 | packet.serviceType = TC_TYPE_DEFAULT; |
|
461 | packet.serviceType = TC_TYPE_DEFAULT; | |
462 | packet.serviceSubType = TC_SUBTYPE_LOAD_SBM2_PAR; |
|
462 | packet.serviceSubType = TC_SUBTYPE_LOAD_SBM2_PAR; | |
463 |
packet.sourceID = SID_TC_ |
|
463 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
464 | packet.sy_lfr_bp_p0 = (unsigned char) (spinbox_sy_lfr_s2_bp_p0->value() ); |
|
464 | packet.sy_lfr_bp_p0 = (unsigned char) (spinbox_sy_lfr_s2_bp_p0->value() ); | |
465 | packet.sy_lfr_bp_p1 = (unsigned char) (spinbox_sy_lfr_s2_bp_p1->value() ); |
|
465 | packet.sy_lfr_bp_p1 = (unsigned char) (spinbox_sy_lfr_s2_bp_p1->value() ); | |
466 |
|
466 |
@@ -87,7 +87,7 void EnterMode::sendEnterMode( unsigned | |||||
87 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
87 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; | |
88 | packet.serviceType = TC_TYPE_DEFAULT; |
|
88 | packet.serviceType = TC_TYPE_DEFAULT; | |
89 | packet.serviceSubType = TC_SUBTYPE_ENTER_MODE; |
|
89 | packet.serviceSubType = TC_SUBTYPE_ENTER_MODE; | |
90 |
packet.sourceID = SID_TC_ |
|
90 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
91 | packet.spare = 0x00; |
|
91 | packet.spare = 0x00; | |
92 | packet.mode = mode; |
|
92 | packet.mode = mode; | |
93 | packet.enterModeTime[0] = 0x00; |
|
93 | packet.enterModeTime[0] = 0x00; | |
@@ -146,7 +146,7 void EnterMode::sendReset() | |||||
146 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
146 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; | |
147 | packet.serviceType = TC_TYPE_DEFAULT; |
|
147 | packet.serviceType = TC_TYPE_DEFAULT; | |
148 | packet.serviceSubType = TC_SUBTYPE_RESET; |
|
148 | packet.serviceSubType = TC_SUBTYPE_RESET; | |
149 |
packet.sourceID = SID_TC_ |
|
149 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
150 |
|
150 | |||
151 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, |
|
151 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, | |
152 | PACKET_LENGTH_TC_LFR_RESET + CCSDS_TC_TM_PACKET_OFFSET - 2); |
|
152 | PACKET_LENGTH_TC_LFR_RESET + CCSDS_TC_TM_PACKET_OFFSET - 2); | |
@@ -172,7 +172,7 void EnterMode::sendUpdateInfo() | |||||
172 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
172 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; | |
173 | packet.serviceType = TC_TYPE_DEFAULT; |
|
173 | packet.serviceType = TC_TYPE_DEFAULT; | |
174 | packet.serviceSubType = TC_SUBTYPE_UPDATE_INFO; |
|
174 | packet.serviceSubType = TC_SUBTYPE_UPDATE_INFO; | |
175 |
packet.sourceID = SID_TC_ |
|
175 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
176 |
|
176 | |||
177 | packet.set1 = 0x00; |
|
177 | packet.set1 = 0x00; | |
178 | packet.set2 = 0x00; |
|
178 | packet.set2 = 0x00; | |
@@ -229,7 +229,7 void EnterMode::sendEnableCalibration() | |||||
229 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
229 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; | |
230 | packet.serviceType = TC_TYPE_DEFAULT; |
|
230 | packet.serviceType = TC_TYPE_DEFAULT; | |
231 | packet.serviceSubType = TC_SUBTYPE_ENABLE_CALIBRATION; |
|
231 | packet.serviceSubType = TC_SUBTYPE_ENABLE_CALIBRATION; | |
232 |
packet.sourceID = SID_TC_ |
|
232 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
233 |
|
233 | |||
234 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, |
|
234 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, | |
235 | PACKET_LENGTH_TC_LFR_ENABLE_CALIBRATION + CCSDS_TC_TM_PACKET_OFFSET - 2); |
|
235 | PACKET_LENGTH_TC_LFR_ENABLE_CALIBRATION + CCSDS_TC_TM_PACKET_OFFSET - 2); | |
@@ -255,7 +255,7 void EnterMode::sendDisableCalibration() | |||||
255 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
255 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; | |
256 | packet.serviceType = TC_TYPE_DEFAULT; |
|
256 | packet.serviceType = TC_TYPE_DEFAULT; | |
257 | packet.serviceSubType = TC_SUBTYPE_DISABLE_CALIBRATION; |
|
257 | packet.serviceSubType = TC_SUBTYPE_DISABLE_CALIBRATION; | |
258 |
packet.sourceID = SID_TC_ |
|
258 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
259 |
|
259 | |||
260 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, |
|
260 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, | |
261 | PACKET_LENGTH_TC_LFR_DISABLE_CALIBRATION + CCSDS_TC_TM_PACKET_OFFSET - 2); |
|
261 | PACKET_LENGTH_TC_LFR_DISABLE_CALIBRATION + CCSDS_TC_TM_PACKET_OFFSET - 2); |
General Comments 0
You need to be logged in to leave comments.
Login now