@@ -1,342 +1,342 | |||
|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|
2 | 2 | <!DOCTYPE QtCreatorProject> |
|
3 |
<!-- Written by Qt Creator 2.4.1, 2013-0 |
|
|
3 | <!-- Written by Qt Creator 2.4.1, 2013-05-21T07:15:43. --> | |
|
4 | 4 | <qtcreator> |
|
5 | 5 | <data> |
|
6 | 6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
|
7 | 7 | <value type="int">0</value> |
|
8 | 8 | </data> |
|
9 | 9 | <data> |
|
10 | 10 | <variable>ProjectExplorer.Project.EditorSettings</variable> |
|
11 | 11 | <valuemap type="QVariantMap"> |
|
12 | 12 | <value type="bool" key="EditorConfiguration.AutoIndent">true</value> |
|
13 | 13 | <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> |
|
14 | 14 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> |
|
15 | 15 | <value type="QString" key="language">Cpp</value> |
|
16 | 16 | <valuemap type="QVariantMap" key="value"> |
|
17 | 17 | <value type="QString" key="CurrentPreferences">CppGlobal</value> |
|
18 | 18 | </valuemap> |
|
19 | 19 | </valuemap> |
|
20 | 20 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> |
|
21 | 21 | <value type="QString" key="language">QmlJS</value> |
|
22 | 22 | <valuemap type="QVariantMap" key="value"> |
|
23 | 23 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> |
|
24 | 24 | </valuemap> |
|
25 | 25 | </valuemap> |
|
26 | 26 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> |
|
27 | 27 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> |
|
28 | 28 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> |
|
29 | 29 | <value type="int" key="EditorConfiguration.IndentSize">4</value> |
|
30 | 30 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> |
|
31 | 31 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> |
|
32 | 32 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> |
|
33 | 33 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> |
|
34 | 34 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> |
|
35 | 35 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> |
|
36 | 36 | <value type="int" key="EditorConfiguration.TabSize">8</value> |
|
37 | 37 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> |
|
38 | 38 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> |
|
39 | 39 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> |
|
40 | 40 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> |
|
41 | 41 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> |
|
42 | 42 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> |
|
43 | 43 | </valuemap> |
|
44 | 44 | </data> |
|
45 | 45 | <data> |
|
46 | 46 | <variable>ProjectExplorer.Project.PluginSettings</variable> |
|
47 | 47 | <valuemap type="QVariantMap"/> |
|
48 | 48 | </data> |
|
49 | 49 | <data> |
|
50 | 50 | <variable>ProjectExplorer.Project.Target.0</variable> |
|
51 | 51 | <valuemap type="QVariantMap"> |
|
52 | 52 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value> |
|
53 | 53 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value> |
|
54 | 54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value> |
|
55 | 55 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> |
|
56 | 56 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> |
|
57 | 57 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> |
|
58 | 58 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> |
|
59 | 59 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> |
|
60 | 60 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
61 | 61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
62 | 62 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
63 | 63 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
64 | 64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
65 | 65 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
66 | 66 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> |
|
67 | 67 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
68 | 68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
69 | 69 | </valuemap> |
|
70 | 70 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
71 | 71 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
72 | 72 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
73 | 73 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
74 | 74 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
75 | 75 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> |
|
76 | 76 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
77 | 77 | </valuemap> |
|
78 | 78 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
79 | 79 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
80 | 80 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
81 | 81 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
82 | 82 | </valuemap> |
|
83 | 83 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
84 | 84 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
85 | 85 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
86 | 86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
87 | 87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
88 | 88 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
89 | 89 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> |
|
90 | 90 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
91 | 91 | </valuemap> |
|
92 | 92 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
93 | 93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
94 | 94 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
95 | 95 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
96 | 96 | </valuemap> |
|
97 | 97 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
98 | 98 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
99 | 99 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
100 | 100 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value> |
|
101 | 101 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
102 | 102 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
103 | 103 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> |
|
104 | 104 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value> |
|
105 | 105 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> |
|
106 | 106 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
107 | 107 | </valuemap> |
|
108 | 108 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> |
|
109 | 109 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> |
|
110 | 110 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
111 | 111 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
112 | 112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
113 | 113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
114 | 114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
115 | 115 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
116 | 116 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> |
|
117 | 117 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
118 | 118 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
119 | 119 | </valuemap> |
|
120 | 120 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
121 | 121 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
122 | 122 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
123 | 123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
124 | 124 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
125 | 125 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> |
|
126 | 126 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
127 | 127 | </valuemap> |
|
128 | 128 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
129 | 129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
130 | 130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
131 | 131 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
132 | 132 | </valuemap> |
|
133 | 133 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
134 | 134 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
135 | 135 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
136 | 136 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
137 | 137 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
138 | 138 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
139 | 139 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> |
|
140 | 140 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
141 | 141 | </valuemap> |
|
142 | 142 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
143 | 143 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
144 | 144 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
145 | 145 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
146 | 146 | </valuemap> |
|
147 | 147 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
148 | 148 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
149 | 149 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
150 | 150 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Debug</value> |
|
151 | 151 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
152 | 152 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
153 | 153 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> |
|
154 | 154 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value> |
|
155 | 155 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> |
|
156 | 156 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
157 | 157 | </valuemap> |
|
158 | 158 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value> |
|
159 | 159 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> |
|
160 | 160 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
161 | 161 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> |
|
162 | 162 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> |
|
163 | 163 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
164 | 164 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> |
|
165 | 165 | </valuemap> |
|
166 | 166 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> |
|
167 | 167 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> |
|
168 | 168 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
169 | 169 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> |
|
170 | 170 | </valuemap> |
|
171 | 171 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> |
|
172 | 172 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> |
|
173 | 173 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
174 | 174 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
175 | 175 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
176 | 176 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
177 | 177 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
178 | 178 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
179 | 179 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
180 | 180 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
181 | 181 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
182 | 182 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
183 | 183 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
184 | 184 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
185 | 185 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
186 | 186 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
187 | 187 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
188 | 188 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
189 | 189 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
190 | 190 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
191 | 191 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
192 | 192 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
193 | 193 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
194 | 194 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
195 | 195 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
196 | 196 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
197 | 197 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
198 | 198 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
199 | 199 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
200 | 200 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
201 | 201 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
202 | 202 | <value type="int">0</value> |
|
203 | 203 | <value type="int">1</value> |
|
204 | 204 | <value type="int">2</value> |
|
205 | 205 | <value type="int">3</value> |
|
206 | 206 | <value type="int">4</value> |
|
207 | 207 | <value type="int">5</value> |
|
208 | 208 | <value type="int">6</value> |
|
209 | 209 | <value type="int">7</value> |
|
210 | 210 | <value type="int">8</value> |
|
211 | 211 | <value type="int">9</value> |
|
212 | 212 | <value type="int">10</value> |
|
213 | 213 | <value type="int">11</value> |
|
214 | 214 | <value type="int">12</value> |
|
215 | 215 | <value type="int">13</value> |
|
216 | 216 | <value type="int">14</value> |
|
217 | 217 | </valuelist> |
|
218 | 218 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
219 | 219 | <value type="int">0</value> |
|
220 | 220 | <value type="int">1</value> |
|
221 | 221 | <value type="int">2</value> |
|
222 | 222 | <value type="int">3</value> |
|
223 | 223 | <value type="int">4</value> |
|
224 | 224 | <value type="int">5</value> |
|
225 | 225 | <value type="int">6</value> |
|
226 | 226 | <value type="int">7</value> |
|
227 | 227 | <value type="int">8</value> |
|
228 | 228 | <value type="int">9</value> |
|
229 | 229 | <value type="int">10</value> |
|
230 | 230 | <value type="int">11</value> |
|
231 | 231 | <value type="int">12</value> |
|
232 | 232 | <value type="int">13</value> |
|
233 | 233 | <value type="int">14</value> |
|
234 | 234 | </valuelist> |
|
235 | 235 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value> |
|
236 | 236 | <value type="int" key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase">2</value> |
|
237 | 237 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable">lppmon</value> |
|
238 | 238 | <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value> |
|
239 | 239 | <valuelist type="QVariantList" key="ProjectExplorer.CustomExecutableRunConfiguration.UserEnvironmentChanges"/> |
|
240 | 240 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value> |
|
241 | 241 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Run lppmon</value> |
|
242 | 242 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
243 | 243 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value> |
|
244 | 244 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
245 | 245 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
246 | 246 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
247 | 247 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> |
|
248 | 248 | </valuemap> |
|
249 | 249 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.1"> |
|
250 | 250 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
251 | 251 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
252 | 252 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
253 | 253 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
254 | 254 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
255 | 255 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
256 | 256 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
257 | 257 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
258 | 258 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
259 | 259 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
260 | 260 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
261 | 261 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
262 | 262 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
263 | 263 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
264 | 264 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
265 | 265 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
266 | 266 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
267 | 267 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
268 | 268 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
269 | 269 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
270 | 270 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
271 | 271 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
272 | 272 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
273 | 273 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
274 | 274 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
275 | 275 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
276 | 276 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
277 | 277 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
278 | 278 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
279 | 279 | <value type="int">0</value> |
|
280 | 280 | <value type="int">1</value> |
|
281 | 281 | <value type="int">2</value> |
|
282 | 282 | <value type="int">3</value> |
|
283 | 283 | <value type="int">4</value> |
|
284 | 284 | <value type="int">5</value> |
|
285 | 285 | <value type="int">6</value> |
|
286 | 286 | <value type="int">7</value> |
|
287 | 287 | <value type="int">8</value> |
|
288 | 288 | <value type="int">9</value> |
|
289 | 289 | <value type="int">10</value> |
|
290 | 290 | <value type="int">11</value> |
|
291 | 291 | <value type="int">12</value> |
|
292 | 292 | <value type="int">13</value> |
|
293 | 293 | <value type="int">14</value> |
|
294 | 294 | </valuelist> |
|
295 | 295 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
296 | 296 | <value type="int">0</value> |
|
297 | 297 | <value type="int">1</value> |
|
298 | 298 | <value type="int">2</value> |
|
299 | 299 | <value type="int">3</value> |
|
300 | 300 | <value type="int">4</value> |
|
301 | 301 | <value type="int">5</value> |
|
302 | 302 | <value type="int">6</value> |
|
303 | 303 | <value type="int">7</value> |
|
304 | 304 | <value type="int">8</value> |
|
305 | 305 | <value type="int">9</value> |
|
306 | 306 | <value type="int">10</value> |
|
307 | 307 | <value type="int">11</value> |
|
308 | 308 | <value type="int">12</value> |
|
309 | 309 | <value type="int">13</value> |
|
310 | 310 | <value type="int">14</value> |
|
311 | 311 | </valuelist> |
|
312 | 312 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">spwtimegenerator</value> |
|
313 | 313 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
314 | 314 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value> |
|
315 | 315 | <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value> |
|
316 | 316 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> |
|
317 | 317 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">spwtimegenerator/spwtimegenerator/spwtimegenerator.pro</value> |
|
318 | 318 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> |
|
319 | 319 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value> |
|
320 | 320 | <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/> |
|
321 | 321 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> |
|
322 | 322 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
323 | 323 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
324 | 324 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
325 | 325 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> |
|
326 | 326 | </valuemap> |
|
327 | 327 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">2</value> |
|
328 | 328 | </valuemap> |
|
329 | 329 | </data> |
|
330 | 330 | <data> |
|
331 | 331 | <variable>ProjectExplorer.Project.TargetCount</variable> |
|
332 | 332 | <value type="int">1</value> |
|
333 | 333 | </data> |
|
334 | 334 | <data> |
|
335 | 335 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> |
|
336 | 336 | <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value> |
|
337 | 337 | </data> |
|
338 | 338 | <data> |
|
339 | 339 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> |
|
340 | 340 | <value type="int">10</value> |
|
341 | 341 | </data> |
|
342 | 342 | </qtcreator> |
@@ -1,44 +1,44 | |||
|
1 | 1 | #ifndef PARAMS_H |
|
2 | 2 | #define PARAMS_H |
|
3 | 3 | |
|
4 | 4 | #define XMAX 2048 |
|
5 |
#define YMAX |
|
|
5 | #define YMAX 35000 | |
|
6 | 6 | #define FONT_SIZE_WAVEFORM_TITLE 10 |
|
7 | 7 | #define DEFAULT_SIZE 2048 |
|
8 | 8 | #define BLK_SIZE 12 |
|
9 | 9 | |
|
10 | 10 | //**************** |
|
11 | 11 | // TM packets SIDs |
|
12 | 12 | #define SID_NORMAL_SWF_F0 3 |
|
13 | 13 | #define SID_NORMAL_SWF_F1 4 |
|
14 | 14 | #define SID_NORMAL_SWF_F2 5 |
|
15 | 15 | #define SID_NORMAL_CWF_F3 1 |
|
16 | 16 | #define SID_NORMAL_ASM_F0 11 |
|
17 | 17 | #define SID_NORMAL_ASM_F1 12 |
|
18 | 18 | #define SID_NORMAL_ASM_F2 13 |
|
19 | 19 | #define SID_NORMAL_BP1_F0 14 |
|
20 | 20 | #define SID_NORMAL_BP1_F1 15 |
|
21 | 21 | #define SID_NORMAL_BP1_F2 16 |
|
22 | 22 | #define SID_NORMAL_BP2_F0 19 |
|
23 | 23 | #define SID_NORMAL_BP2_F1 20 |
|
24 | 24 | #define SID_NORMAL_BP2_F2 21 |
|
25 | 25 | // |
|
26 | 26 | #define SID_BURST_CWF_F2 2 |
|
27 | 27 | #define SID_BURST_BP1_F0 17 |
|
28 | 28 | #define SID_BURST_BP2_F0 22 |
|
29 | 29 | #define SID_BURST_BP1_F1 18 |
|
30 | 30 | #define SID_BURST_BP2_F1 23 |
|
31 | 31 | // |
|
32 | 32 | #define SID_SBM1_CWF_F1 24 |
|
33 | 33 | #define SID_SBM1_BP1_F0 28 |
|
34 | 34 | #define SID_SBM1_BP2_F0 31 |
|
35 | 35 | // |
|
36 | 36 | #define SID_SBM2_CWF_F2 25 |
|
37 | 37 | #define SID_SBM2_BP1_F0 29 |
|
38 | 38 | #define SID_SBM2_BP2_F0 32 |
|
39 | 39 | #define SID_SBM2_BP1_F1 30 |
|
40 | 40 | #define SID_SBM2_BP2_F1 33 |
|
41 | 41 | |
|
42 | 42 | #define RMAP_DEFAULT_SOURCE_ADDRESS 1 |
|
43 | 43 | |
|
44 | 44 | #endif // PARAMS_H |
@@ -1,400 +1,399 | |||
|
1 | 1 | /*------------------------------------------------------------------------------ |
|
2 | 2 | -- This file is a part of the LPPMON Software |
|
3 | 3 | -- Copyright (C) 2012, Laboratory of Plasma Physics - CNRS |
|
4 | 4 | -- |
|
5 | 5 | -- This program is free software; you can redistribute it and/or modify |
|
6 | 6 | -- it under the terms of the GNU General Public License as published by |
|
7 | 7 | -- the Free Software Foundation; either version 3 of the License, or |
|
8 | 8 | -- (at your option) any later version. |
|
9 | 9 | -- |
|
10 | 10 | -- This program is distributed in the hope that it will be useful, |
|
11 | 11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | 12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | 13 | -- GNU General Public License for more details. |
|
14 | 14 | -- |
|
15 | 15 | -- You should have received a copy of the GNU General Public License |
|
16 | 16 | -- along with this program; if not, write to the Free Software |
|
17 | 17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
18 | 18 | -------------------------------------------------------------------------------*/ |
|
19 | 19 | /*-- Author : Paul LEROY |
|
20 | 20 | -- Mail : paul.leroy@lpp.polytechnique.fr |
|
21 | 21 | ----------------------------------------------------------------------------*/ |
|
22 | 22 | #include "rmapplugin.h" |
|
23 | 23 | #include <QHostAddress> |
|
24 | 24 | #include <QIODevice> |
|
25 | 25 | #include <QApplication> |
|
26 | 26 | #include <rmappluginpythonwrapper.h> |
|
27 | 27 | #include <PythonQt.h> |
|
28 | 28 | #include <QTimer> |
|
29 | 29 | |
|
30 | 30 | rmapplugin::rmapplugin(QWidget *parent) |
|
31 | 31 | :lppmonplugin(parent,false) |
|
32 | 32 | { |
|
33 | 33 | this->UI = new rmapPluginUI(); |
|
34 | 34 | this->setWindowTitle(tr("RMAP and SPW Communication")); |
|
35 | 35 | this->setWidget((QWidget*)this->UI); |
|
36 | 36 | |
|
37 | 37 | timeCode = 0; |
|
38 | 38 | time_COARSE = 0; |
|
39 | 39 | time_FINE = 0; |
|
40 | 40 | currentBridge = selectedBridgeIsUnknown; |
|
41 | 41 | |
|
42 | 42 | //************** |
|
43 | 43 | //Python wrapper |
|
44 | 44 | this->pyObject = new rmappluginPythonWrapper(); |
|
45 | 45 | connect(this->pyObject,SIGNAL(ReadSig(uint*,uint,uint)),this,SLOT(Read(uint*,uint,uint))); |
|
46 | 46 | connect(this->pyObject,SIGNAL(WriteSig(uint*,uint,uint)),this,SLOT(Write(uint*,uint,uint))); |
|
47 | 47 | //** |
|
48 | 48 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL( WriteSPWSig(char*,uint,char,char) ), |
|
49 | 49 | this, SLOT( WriteSPW(char*,uint,char,char)), Qt::DirectConnection ); |
|
50 | 50 | //** |
|
51 | 51 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL( updateTargetAddress(unsigned char) ), |
|
52 | 52 | this, SLOT( setValueTargetAddress(unsigned char)) ); |
|
53 | 53 | //** |
|
54 | 54 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL( updateSourceAddress(unsigned char) ), |
|
55 | 55 | this, SLOT( setValueSourceAddress(unsigned char)) ); |
|
56 | 56 | //** |
|
57 | 57 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL(sendMessage(QString)), |
|
58 | 58 | this, SLOT(displayOnConsole(QString)) ); |
|
59 | 59 | //** |
|
60 | 60 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL(fetchPacketSig()), |
|
61 | 61 | this, SLOT(fetchPacket()), Qt::DirectConnection ); |
|
62 | 62 | //*** |
|
63 | 63 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL(nbPacketHasChanged(int)), |
|
64 | 64 | this, SLOT(nbPacketHasChanged(int))); |
|
65 | 65 | //************** |
|
66 | 66 | |
|
67 | 67 | //************** |
|
68 | 68 | // get a smart pointer to the __main__ module of the Python interpreter |
|
69 | 69 | PythonQtObjectPtr context = PythonQt::self()->getMainModule(); |
|
70 | 70 | // add a QObject as variable of name "BUTTON_rmapOpenCommunication" to the namespace of the __main__ module |
|
71 | 71 | context.addObject("BUTTON_rmapOpenCommunication", UI->rmapOpenCommunicationButton); |
|
72 | 72 | context.addObject("BUTTON_rmapCloseCommunication", UI->rmapCloseCommunicationButton); |
|
73 | 73 | context.addObject("BUTTON_selectStarDundee", UI->selectStarDundee_BUTTON); |
|
74 | 74 | context.addObject("BUTTON_selectGRESB", UI->selectGRESB_BUTTON); |
|
75 | 75 | context.addObject("GRESB_Bridge", UI->gresbBridge); |
|
76 | 76 | //************** |
|
77 | 77 | |
|
78 | 78 | connect(UI->rmapOpenCommunicationButton, SIGNAL(clicked()), this, SLOT(openBridge())); |
|
79 | 79 | connect(UI->rmapCloseCommunicationButton, SIGNAL(clicked()), this, SLOT(closeBridge())); |
|
80 | 80 | connect(this, SIGNAL( |
|
81 | 81 | updateStatistics(unsigned char,unsigned char,unsigned char,unsigned char,uint,uint,uint,uint) |
|
82 | 82 | ), |
|
83 | 83 | this->UI->tmStatistics, SLOT( |
|
84 | 84 | updateStatistics(unsigned char,unsigned char,unsigned char,unsigned char,uint,uint,uint,uint) |
|
85 | 85 | )); |
|
86 | 86 | |
|
87 | 87 | //****** |
|
88 | 88 | // GRESB |
|
89 | 89 | connect(this->UI->gresbBridge, SIGNAL(sendMessage(QString)), this, SLOT(displayOnConsole(QString))); |
|
90 | 90 | connect(this->UI->gresbBridge, SIGNAL(isOpen(bool)), this, SLOT(activatePlugin(bool))); |
|
91 | 91 | connect(this->UI->gresbBridge, SIGNAL(RMAP_write_reply_setText(QString)), this, SLOT(RMAP_write_reply_setText(QString))); |
|
92 | 92 | connect(this->UI->gresbBridge, SIGNAL(appendToLog(QString)), this, SLOT(appendToLog(QString))); |
|
93 | 93 | connect(this, SIGNAL(ccsdsPacketIsProcessed()), this->UI->gresbBridge, SLOT(ccsdsPacketIsProcessed())); |
|
94 | 94 | connect(this->UI->rmapTargetLogicalAddressSpinBox, SIGNAL(valueChanged(int)), |
|
95 | 95 | this->UI->gresbBridge, SLOT(targetHasChanged(int))); |
|
96 | 96 | connect(this->UI->rmapSourceLogicalAddressSpinBox, SIGNAL(valueChanged(int)), |
|
97 | 97 | this->UI->gresbBridge, SLOT(sourceHasChanged(int))); |
|
98 | 98 | connect(this->UI->gresbBridge, SIGNAL(sendPacket(TMPacketToRead*)), |
|
99 | this, SLOT(receivePacketFromBridge(TMPacketToRead*))); | |
|
99 | this, SLOT(receivePacketFromBridge(TMPacketToRead*)), Qt::DirectConnection); | |
|
100 | 100 | |
|
101 | 101 | //************ |
|
102 | 102 | // Star Dundee |
|
103 | 103 | connect(this->UI->starDundee, SIGNAL(sendMessage(QString)), this, SLOT(displayOnConsole(QString))); |
|
104 | 104 | connect(this->UI->starDundee, SIGNAL(isOpen(bool)), this, SLOT(activatePlugin(bool))); |
|
105 | 105 | connect(this->UI->starDundee, SIGNAL(RMAP_write_reply_setText(QString)), this, SLOT(RMAP_write_reply_setText(QString))); |
|
106 | 106 | connect(this->UI->starDundee, SIGNAL(appendToLog(QString)), this, SLOT(appendToLog(QString))); |
|
107 | 107 | connect(this, SIGNAL(ccsdsPacketIsProcessed()), this->UI->starDundee, SLOT(ccsdsPacketIsProcessed())); |
|
108 | 108 | connect(this->UI->rmapTargetLogicalAddressSpinBox, SIGNAL(valueChanged(int)), |
|
109 | 109 | this->UI->starDundee, SLOT(targetHasChanged(int))); |
|
110 | 110 | connect(this->UI->rmapSourceLogicalAddressSpinBox, SIGNAL(valueChanged(int)), |
|
111 | 111 | this->UI->starDundee, SLOT(sourceHasChanged(int))); |
|
112 | 112 | connect(this->UI->starDundee, SIGNAL(sendPacket(TMPacketToRead*)), |
|
113 | this, SLOT(receivePacketFromBridge(TMPacketToRead*))); | |
|
113 | this, SLOT(receivePacketFromBridge(TMPacketToRead*)), Qt::DirectConnection); | |
|
114 | 114 | |
|
115 | 115 | connect(this->UI, SIGNAL(bridgeHasChanged(selectedBridge)), this, SLOT(bridgeHasChanged(selectedBridge))); |
|
116 | 116 | |
|
117 | 117 | ((rmappluginPythonWrapper*)this->pyObject)->ccsdsPacketStore = &(this->generalCCSDSPacketStore); |
|
118 | 118 | } |
|
119 | 119 | |
|
120 | 120 | rmapplugin::~rmapplugin() |
|
121 | 121 | { |
|
122 | 122 | switch(currentBridge) |
|
123 | 123 | { |
|
124 | 124 | case selectedBridgeIsGRESB : |
|
125 | 125 | if (RMAPSend_SOCKET->isOpen()) RMAPSend_SOCKET->disconnectFromHost(); |
|
126 | 126 | if (RMAPReceive_SOCKET->isOpen()) RMAPReceive_SOCKET->disconnectFromHost(); |
|
127 | 127 | if (GRESBStatusQuery_SOCKET->isOpen()) GRESBStatusQuery_SOCKET->disconnectFromHost(); |
|
128 | 128 | break; |
|
129 | 129 | case selectedBridgeIsStarDundee : |
|
130 | 130 | break; |
|
131 | 131 | default: |
|
132 | 132 | break; |
|
133 | 133 | } |
|
134 | 134 | } |
|
135 | 135 | |
|
136 | 136 | unsigned int rmapplugin::Write(unsigned int *Value, unsigned int count, unsigned int address) |
|
137 | 137 | { |
|
138 | 138 | unsigned int result; |
|
139 | 139 | switch(currentBridge) |
|
140 | 140 | { |
|
141 | 141 | case selectedBridgeIsGRESB : |
|
142 | 142 | result = UI->gresbBridge->Write(Value, count, address); |
|
143 | 143 | break; |
|
144 | 144 | case selectedBridgeIsStarDundee : |
|
145 | 145 | result = UI->starDundee->Write(Value, count, address); |
|
146 | 146 | break; |
|
147 | 147 | default: |
|
148 | 148 | result = 1; |
|
149 | 149 | break; |
|
150 | 150 | } |
|
151 | 151 | return result; |
|
152 | 152 | } |
|
153 | 153 | |
|
154 | 154 | unsigned int rmapplugin::Read(unsigned int *Value, unsigned int count, unsigned int address) |
|
155 | 155 | { |
|
156 | 156 | unsigned int result; |
|
157 | 157 | switch(currentBridge) |
|
158 | 158 | { |
|
159 | 159 | case selectedBridgeIsGRESB : |
|
160 | 160 | result = UI->gresbBridge->Read(Value, count, address); |
|
161 | 161 | break; |
|
162 | 162 | case selectedBridgeIsStarDundee : |
|
163 | 163 | result = UI->starDundee->Read(Value, count, address); |
|
164 | 164 | break; |
|
165 | 165 | default: |
|
166 | 166 | result = 1; |
|
167 | 167 | break; |
|
168 | 168 | } |
|
169 | 169 | return result; |
|
170 | 170 | } |
|
171 | 171 | |
|
172 | 172 | //////// |
|
173 | 173 | // SLOTS |
|
174 | 174 | |
|
175 | 175 | unsigned int rmapplugin::WriteSPW(char *Value, unsigned int count, char targetLogicalAddress, char userApplication) // SLOT |
|
176 | 176 | { |
|
177 | 177 | unsigned int result; |
|
178 | 178 | switch(currentBridge) |
|
179 | 179 | { |
|
180 | 180 | case selectedBridgeIsGRESB : |
|
181 | 181 | result = UI->gresbBridge->WriteSPW(Value, count, targetLogicalAddress, userApplication); |
|
182 | 182 | break; |
|
183 | 183 | case selectedBridgeIsStarDundee : |
|
184 | 184 | result = UI->starDundee->WriteSPW(Value, count, targetLogicalAddress, userApplication); |
|
185 | 185 | break; |
|
186 | 186 | default: |
|
187 | 187 | result = 1; |
|
188 | 188 | break; |
|
189 | 189 | } |
|
190 | 190 | return result; |
|
191 | 191 | } |
|
192 | 192 | |
|
193 | 193 | void rmapplugin::openBridge() |
|
194 | 194 | { |
|
195 | 195 | switch(currentBridge) |
|
196 | 196 | { |
|
197 | 197 | case selectedBridgeIsGRESB : |
|
198 | 198 | this->UI->gresbBridge->Open(); |
|
199 | 199 | break; |
|
200 | 200 | case selectedBridgeIsStarDundee : |
|
201 | 201 | this->UI->starDundee->Open(); |
|
202 | 202 | break; |
|
203 | 203 | default: |
|
204 | 204 | break; |
|
205 | 205 | } |
|
206 | 206 | } |
|
207 | 207 | |
|
208 | 208 | void rmapplugin::closeBridge() |
|
209 | 209 | { |
|
210 | 210 | switch(currentBridge) |
|
211 | 211 | { |
|
212 | 212 | case selectedBridgeIsGRESB : |
|
213 | 213 | this->UI->gresbBridge->Close(); |
|
214 | 214 | break; |
|
215 | 215 | case selectedBridgeIsStarDundee : |
|
216 | 216 | this->UI->starDundee->Close(); |
|
217 | 217 | break; |
|
218 | 218 | default: |
|
219 | 219 | break; |
|
220 | 220 | } |
|
221 | 221 | } |
|
222 | 222 | |
|
223 | 223 | void rmapplugin::RMAP_write_reply_setText(QString text) |
|
224 | 224 | { |
|
225 | 225 | this->UI->RMAP_write_reply->setText(text); |
|
226 | 226 | } |
|
227 | 227 | |
|
228 | 228 | void rmapplugin::appendToLog(QString text) |
|
229 | 229 | { |
|
230 | 230 | APPENDTOLOG(text); |
|
231 | 231 | } |
|
232 | 232 | |
|
233 | 233 | void rmapplugin::setValueTargetAddress(unsigned char newAddress) |
|
234 | 234 | { |
|
235 | 235 | this->UI->rmapTargetLogicalAddressSpinBox->setValue(newAddress); |
|
236 | 236 | } |
|
237 | 237 | |
|
238 | 238 | void rmapplugin::setValueSourceAddress(unsigned char newAddress) |
|
239 | 239 | { |
|
240 | 240 | this->UI->rmapSourceLogicalAddressSpinBox->setValue(newAddress); |
|
241 | 241 | } |
|
242 | 242 | |
|
243 | 243 | void rmapplugin::receivePacketFromBridge(TMPacketToRead *packet) |
|
244 | 244 | { |
|
245 | 245 | preProcessPacket(packet); |
|
246 | 246 | this->generalCCSDSPacketStore.append(packet); |
|
247 | 247 | this->UI->nbPacketInStore->setText("nb packets in store: " + QString::number(generalCCSDSPacketStore.size())); |
|
248 | 248 | processPacketStore(); |
|
249 | 249 | } |
|
250 | 250 | |
|
251 | 251 | void rmapplugin::preProcessPacket(TMPacketToRead *packet) |
|
252 | 252 | { |
|
253 | 253 | unsigned char pid = 0; |
|
254 | 254 | unsigned char cat = 0; |
|
255 | 255 | unsigned char typ = 0; |
|
256 | 256 | unsigned char sub = 0; |
|
257 | 257 | unsigned int sid = 0; |
|
258 | 258 | unsigned int length = 0; |
|
259 | 259 | unsigned int coarse_t = 0; |
|
260 | 260 | unsigned int fine_t = 0; |
|
261 | 261 | |
|
262 | 262 | //********************************* |
|
263 | 263 | // get the parameters of the packet |
|
264 | 264 | pid = ((packet->Value[4] & 0x07) << 4) + ((packet->Value[5] & 0xf0) >> 4); |
|
265 | 265 | cat = packet->Value[5] & 0x0f; |
|
266 | 266 | typ = packet->Value[11]; // TYPE |
|
267 | 267 | sub = packet->Value[12]; // SUBTYPE |
|
268 | 268 | sid = 0; |
|
269 | 269 | length = packet->Value[8] * 256 + packet->Value[9]; |
|
270 | 270 | coarse_t = packet->Value[14] * pow(2, 24) + packet->Value[15] * pow(2, 16) |
|
271 | 271 | + packet->Value[16] * pow(2, 8) + packet->Value[17]; |
|
272 | 272 | fine_t = packet->Value[18] * pow(2, 8) + packet->Value[19]; |
|
273 | 273 | |
|
274 | 274 | if ((pid == 76) & (cat == 1) & (typ == 1) & (sub == 8)) |
|
275 | 275 | sid = packet->Value[20] * 256 + packet->Value[21]; |
|
276 | 276 | else if ((pid == 76) & (cat == 12) & (typ == 21) & (sub == 3)) |
|
277 | 277 | sid = packet->Value[20]; |
|
278 | 278 | else if ((pid == 76) & (cat == 4) & (typ == 3) & (sub == 25)) |
|
279 | 279 | sid = 1; |
|
280 | 280 | |
|
281 | 281 | emit updateStatistics(pid, cat, typ, sub, sid, length, coarse_t, fine_t); |
|
282 | 282 | |
|
283 | 283 | |
|
284 | 284 | //**************************************** |
|
285 | 285 | // if the packet is a waveform, display it |
|
286 | 286 | if ( (typ == 21) & (sub == 3) ) |
|
287 | 287 | { |
|
288 | 288 | sid = packet->Value[20]; // SID |
|
289 | 289 | switch (sid){ |
|
290 | 290 | case SID_NORMAL_SWF_F0: |
|
291 | 291 | buildWFAndDisplay(packet, &wfPacketNormal[0], 0); |
|
292 | 292 | break; |
|
293 | 293 | case SID_NORMAL_SWF_F1: |
|
294 | 294 | buildWFAndDisplay(packet, &wfPacketNormal[1], 1); |
|
295 | 295 | break; |
|
296 | 296 | case SID_NORMAL_SWF_F2: |
|
297 | 297 | buildWFAndDisplay(packet, &wfPacketNormal[2], 2); |
|
298 | 298 | break; |
|
299 | 299 | case SID_NORMAL_CWF_F3: |
|
300 | 300 | buildWFAndDisplay(packet, &wfPacketNormal[3], 3); |
|
301 | 301 | break; |
|
302 | 302 | } |
|
303 | 303 | } |
|
304 | 304 | } |
|
305 | 305 | |
|
306 | 306 | void rmapplugin::nbPacketHasChanged(int nb) |
|
307 | 307 | { |
|
308 | 308 | this->UI->nbPacketInStore->setText("nb packets in store: " + QString::number(nb)); |
|
309 | 309 | } |
|
310 | 310 | |
|
311 | 311 | void rmapplugin::buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page) |
|
312 | 312 | { |
|
313 | 313 | unsigned int i = 0; |
|
314 | 314 | unsigned int j = 0; |
|
315 | 315 | unsigned char *data; |
|
316 | 316 | unsigned char pkt_nr = 0; |
|
317 | 317 | unsigned int blk_nr = 0; |
|
318 | 318 | |
|
319 | 319 | pkt_nr = packet->Value[23]; // PKT_NR |
|
320 | 320 | blk_nr = packet->Value[24] * 256 + packet->Value[25]; |
|
321 | 321 | data = &packet->Value[26]; // start of the first data block; |
|
322 | 322 | j = (pkt_nr-1) * 340; |
|
323 | 323 | for ( i=0; i<blk_nr; i++ ){ |
|
324 |
wfPacket->wf_ |
|
|
325 |
wfPacket->wf_ |
|
|
326 |
wfPacket->wf_ |
|
|
327 |
wfPacket->wf_ |
|
|
328 |
wfPacket->wf_b |
|
|
329 |
wfPacket->wf_b |
|
|
324 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); | |
|
325 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); | |
|
326 | wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); | |
|
327 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) ); | |
|
328 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); | |
|
329 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); | |
|
330 | 330 | } |
|
331 | 331 | if (pkt_nr == 7) |
|
332 | 332 | { |
|
333 | emit displayOnConsole("all packets received, display waveform f" + QString::number(num_page)); | |
|
334 | 333 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0); |
|
335 | 334 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1); |
|
336 | 335 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2); |
|
337 | 336 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3); |
|
338 | 337 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4); |
|
339 | 338 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5); |
|
340 | 339 | } |
|
341 | 340 | } |
|
342 | 341 | |
|
343 | 342 | ///////////////////// |
|
344 | 343 | // INTERNAL FUNCTIONS |
|
345 | 344 | |
|
346 | 345 | void rmapplugin::processCCSDSPacket(unsigned char *ccsdsPacket, unsigned int size) // SLOT |
|
347 | 346 | { |
|
348 | 347 | QString message; |
|
349 | 348 | unsigned int fine_time_value = 0; |
|
350 | 349 | fine_time_value = ((unsigned int) ccsdsPacket[7]<<24) |
|
351 | 350 | + ((unsigned int) ccsdsPacket[6]<<16) |
|
352 | 351 | + ((unsigned int) ccsdsPacket[5]<<8) |
|
353 | 352 | + ((unsigned int) ccsdsPacket[4]); |
|
354 | 353 | message.append(QTime::currentTime().toString() +":" + QString::number(QTime::currentTime().msec()) + ": "); |
|
355 | 354 | message.append("size " |
|
356 | 355 | + QString::number(size) |
|
357 | 356 | +" *** header " |
|
358 | 357 | + QString::number(ccsdsPacket[0], 16) |
|
359 | 358 | + " " |
|
360 | 359 | + QString::number(ccsdsPacket[1], 16) |
|
361 | 360 | + " " |
|
362 | 361 | + QString::number(ccsdsPacket[2], 16) |
|
363 | 362 | + " " |
|
364 | 363 | + QString::number(ccsdsPacket[3], 16) |
|
365 | 364 | + " *** coarse time " |
|
366 | 365 | + QString::number(fine_time_value)); |
|
367 | 366 | //+ QString::number(ccsdsPacket[4], 16) |
|
368 | 367 | //+" " |
|
369 | 368 | //+ QString::number(ccsdsPacket[5], 16) |
|
370 | 369 | //+" " |
|
371 | 370 | //+ QString::number(ccsdsPacket[6], 16) |
|
372 | 371 | //+" " |
|
373 | 372 | //+ QString::number(ccsdsPacket[7], 16)); |
|
374 | 373 | displayOnConsole(message); |
|
375 | 374 | //((rmappluginPythonWrapper*)this->pyObject)->storeCCSDSPacket(ccsdsPacket, size); |
|
376 | 375 | emit ccsdsPacketIsProcessed(); |
|
377 | 376 | } |
|
378 | 377 | |
|
379 | 378 | void rmapplugin::processPacketStore() |
|
380 | 379 | { |
|
381 | 380 | ((rmappluginPythonWrapper*)this->pyObject)->processPacketStore(); |
|
382 | 381 | } |
|
383 | 382 | |
|
384 | 383 | int rmapplugin::fetchPacket() |
|
385 | 384 | { |
|
386 | 385 | int ret = 0; |
|
387 | 386 | |
|
388 | 387 | switch(currentBridge) |
|
389 | 388 | { |
|
390 | 389 | case selectedBridgeIsGRESB : |
|
391 | 390 | break; |
|
392 | 391 | case selectedBridgeIsStarDundee : |
|
393 | 392 | ret = this->UI->starDundee->receiveSPWPacketLoop(); |
|
394 | 393 | break; |
|
395 | 394 | default: |
|
396 | 395 | break; |
|
397 | 396 | } |
|
398 | 397 | |
|
399 | 398 | return ret; |
|
400 | 399 | } |
@@ -1,117 +1,47 | |||
|
1 | 1 | #include "wfplot.h" |
|
2 | 2 | #include <QFontInfo> |
|
3 | 3 | |
|
4 | 4 | WFPlot::WFPlot(QWidget *parent) : |
|
5 | 5 | QWidget(parent) |
|
6 | 6 | { |
|
7 | 7 | // Create Fonts |
|
8 | 8 | QFont font; |
|
9 | 9 | font = QFont(this->fontInfo().family(), FONT_SIZE_WAVEFORM_TITLE, QFont::Light); |
|
10 |
customPlot = new |
|
|
10 | customPlot = new LppMonPlot(); | |
|
11 | 11 | mainLayout = new QVBoxLayout(); |
|
12 | 12 | |
|
13 | customPlot->setInteractions(QCustomPlot::iRangeDrag | QCustomPlot::iRangeZoom | QCustomPlot::iSelectAxes | | |
|
14 | QCustomPlot::iSelectLegend | QCustomPlot::iSelectPlottables | QCustomPlot::iSelectTitle); | |
|
15 | customPlot->setRangeDrag(Qt::Horizontal|Qt::Vertical); | |
|
16 | customPlot->setRangeZoom(Qt::Horizontal|Qt::Vertical); | |
|
17 | customPlot->xAxis->setRange(0, XMAX); | |
|
18 | customPlot->yAxis->setRange(-YMAX, YMAX); | |
|
19 | customPlot->setTitleFont(font); | |
|
20 | //customPlot->setupFullAxesBox(); | |
|
13 | customPlot->setXaxisRange(0, XMAX); | |
|
14 | customPlot->setYaxisRange(-YMAX, YMAX); | |
|
15 | //customPlot->setTitleFont(font); | |
|
21 | 16 | |
|
22 | 17 | customPlot->addGraph(); |
|
23 | 18 | |
|
24 | 19 | mainLayout->addWidget(customPlot); |
|
25 | 20 | |
|
26 | 21 | this->setLayout(mainLayout); |
|
27 | ||
|
28 | // connect slot that ties some axis selections together (especially opposite axes): | |
|
29 | connect(customPlot, SIGNAL(selectionChangedByUser()), this, SLOT(selectionChanged())); | |
|
30 | // connect slots that takes care that when an axis is selected, only that direction can be dragged and zoomed: | |
|
31 | connect(customPlot, SIGNAL(mousePress(QMouseEvent*)), this, SLOT(mousePress())); | |
|
32 | connect(customPlot, SIGNAL(mouseWheel(QWheelEvent*)), this, SLOT(mouseWheel())); | |
|
33 | } | |
|
34 | ||
|
35 | void WFPlot::selectionChanged() | |
|
36 | { | |
|
37 | /* | |
|
38 | normally, axis base line, axis tick labels and axis labels are selectable separately, but we want | |
|
39 | the user only to be able to select the axis as a whole, so we tie the selected states of the tick labels | |
|
40 | and the axis base line together. However, the axis label shall be selectable individually. | |
|
41 | ||
|
42 | The selection state of the left and right axes shall be synchronized as well as the state of the | |
|
43 | bottom and top axes. | |
|
44 | ||
|
45 | Further, we want to synchronize the selection of the graphs with the selection state of the respective | |
|
46 | legend item belonging to that graph. So the user can select a graph by either clicking on the graph itself | |
|
47 | or on its legend item. | |
|
48 | */ | |
|
49 | ||
|
50 | // make top and bottom axes be selected synchronously, and handle axis and tick labels as one selectable object: | |
|
51 | if (customPlot->xAxis->selected().testFlag(QCPAxis::spAxis) || customPlot->xAxis->selected().testFlag(QCPAxis::spTickLabels) || | |
|
52 | customPlot->xAxis2->selected().testFlag(QCPAxis::spAxis) || customPlot->xAxis2->selected().testFlag(QCPAxis::spTickLabels)) | |
|
53 | { | |
|
54 | customPlot->xAxis2->setSelected(QCPAxis::spAxis|QCPAxis::spTickLabels); | |
|
55 | customPlot->xAxis->setSelected(QCPAxis::spAxis|QCPAxis::spTickLabels); | |
|
56 | } | |
|
57 | // make left and right axes be selected synchronously, and handle axis and tick labels as one selectable object: | |
|
58 | if (customPlot->yAxis->selected().testFlag(QCPAxis::spAxis) || customPlot->yAxis->selected().testFlag(QCPAxis::spTickLabels) || | |
|
59 | customPlot->yAxis2->selected().testFlag(QCPAxis::spAxis) || customPlot->yAxis2->selected().testFlag(QCPAxis::spTickLabels)) | |
|
60 | { | |
|
61 | customPlot->yAxis2->setSelected(QCPAxis::spAxis|QCPAxis::spTickLabels); | |
|
62 | customPlot->yAxis->setSelected(QCPAxis::spAxis|QCPAxis::spTickLabels); | |
|
63 | 22 | } |
|
64 | 23 | |
|
65 | // synchronize selection of graphs with selection of corresponding legend items: | |
|
66 | for (int i=0; i<customPlot->graphCount(); ++i) | |
|
67 | { | |
|
68 | QCPGraph *graph = customPlot->graph(i); | |
|
69 | QCPPlottableLegendItem *item = customPlot->legend->itemWithPlottable(graph); | |
|
70 | if (item->selected() || graph->selected()) | |
|
71 | { | |
|
72 | item->setSelected(true); | |
|
73 | graph->setSelected(true); | |
|
74 | } | |
|
75 | } | |
|
76 | } | |
|
77 | 24 | |
|
78 | void WFPlot::mousePress() | |
|
79 | { | |
|
80 | // if an axis is selected, only allow the direction of that axis to be dragged | |
|
81 | // if no axis is selected, both directions may be dragged | |
|
82 | ||
|
83 | if (customPlot->xAxis->selected().testFlag(QCPAxis::spAxis)) | |
|
84 | customPlot->setRangeDrag(customPlot->xAxis->orientation()); | |
|
85 | else if (customPlot->yAxis->selected().testFlag(QCPAxis::spAxis)) | |
|
86 | customPlot->setRangeDrag(customPlot->yAxis->orientation()); | |
|
87 | else | |
|
88 | customPlot->setRangeDrag(Qt::Horizontal|Qt::Vertical); | |
|
89 | } | |
|
90 | ||
|
91 | void WFPlot::mouseWheel() | |
|
92 | { | |
|
93 | // if an axis is selected, only allow the direction of that axis to be zoomed | |
|
94 | // if no axis is selected, both directions may be zoomed | |
|
95 | ||
|
96 | if (customPlot->xAxis->selected().testFlag(QCPAxis::spAxis)) | |
|
97 | customPlot->setRangeZoom(customPlot->xAxis->orientation()); | |
|
98 | else if (customPlot->yAxis->selected().testFlag(QCPAxis::spAxis)) | |
|
99 | customPlot->setRangeZoom(customPlot->yAxis->orientation()); | |
|
100 | else | |
|
101 | customPlot->setRangeZoom(Qt::Horizontal|Qt::Vertical); | |
|
102 | } | |
|
103 | 25 | |
|
104 | 26 | void WFPlot::displayOnPlot(short *data, unsigned int size) |
|
105 | 27 | { |
|
106 | QVector<double> x(size), y(size); | |
|
28 | QList<QVariant> qListX; | |
|
29 | QList<QVariant> qListY; | |
|
30 | qListX.clear(); | |
|
31 | qListY.clear(); | |
|
107 | 32 | |
|
108 | 33 | for (unsigned int i=0; i<size; ++i) |
|
109 | 34 | { |
|
110 | x[i] = i; | |
|
111 |
|
|
|
35 | qListX.append(i); | |
|
36 | qListY.append( (double) data[i] ); | |
|
112 | 37 | } |
|
113 | 38 | |
|
114 |
customPlot-> |
|
|
115 |
customPlot->re |
|
|
39 | customPlot->setGraphData(0, qListX, qListY); | |
|
40 | customPlot->rescaleAxis(); | |
|
41 | } | |
|
42 | ||
|
116 | 43 | |
|
117 | } | |
|
44 | ||
|
45 | ||
|
46 | ||
|
47 |
@@ -1,28 +1,26 | |||
|
1 | 1 | #ifndef WFPLOT_H |
|
2 | 2 | #define WFPLOT_H |
|
3 | 3 | |
|
4 | 4 | #include <QWidget> |
|
5 | #include <qcustomplot.h> | |
|
6 | 5 | #include <QVBoxLayout> |
|
7 | 6 | #include <params.h> |
|
7 | #include <lppmonplot.h> | |
|
8 | 8 | |
|
9 | 9 | class WFPlot : public QWidget |
|
10 | 10 | { |
|
11 | 11 | Q_OBJECT |
|
12 | 12 | public: |
|
13 | 13 | explicit WFPlot(QWidget *parent = 0); |
|
14 | 14 | |
|
15 | QCustomPlot * customPlot; | |
|
16 | 15 | void displayOnPlot(short *data, unsigned int size); |
|
16 | ||
|
17 | LppMonPlot *customPlot; | |
|
17 | 18 | QVBoxLayout *mainLayout; |
|
18 | 19 | |
|
19 | 20 | signals: |
|
20 | 21 | |
|
21 | 22 | public slots: |
|
22 | void selectionChanged(); | |
|
23 | void mousePress(); | |
|
24 | void mouseWheel(); | |
|
25 | 23 | |
|
26 | 24 | }; |
|
27 | 25 | |
|
28 | 26 | #endif // WFPLOT_H |
@@ -1,181 +1,193 | |||
|
1 | 1 | #include "mainwindow.h" |
|
2 | 2 | |
|
3 | 3 | MainWindow::MainWindow(QWidget *parent) : |
|
4 | 4 | QWidget(parent) |
|
5 | 5 | { |
|
6 | 6 | hDevice = NULL; |
|
7 | 7 | UI = new mainwindowui(); |
|
8 | 8 | time = new QTimer(); |
|
9 | 9 | |
|
10 | 10 | connect(UI->starDundeeStatusQueryRetryButton, SIGNAL(clicked()), this, SLOT(reTestSPWLink())); |
|
11 | 11 | connect(UI->startTimeButton, SIGNAL(clicked()), this, SLOT(startSpacewireTime())); |
|
12 | 12 | connect(UI->sendTimecodeButton, SIGNAL(clicked()), this, SLOT(sendOneTimecode())); |
|
13 | 13 | connect(UI->sendPacketAndTimecodeButton, SIGNAL(clicked()), this, SLOT(sendOnePacketAndOneTimecode())); |
|
14 | 14 | connect(this, SIGNAL(sendMessage(QString)), this->UI, SLOT(displayMessage(QString))); |
|
15 | 15 | |
|
16 | 16 | this->setLayout(UI->layout()); |
|
17 | 17 | |
|
18 | 18 | } |
|
19 | 19 | |
|
20 | 20 | MainWindow::~MainWindow() |
|
21 | 21 | { |
|
22 | 22 | |
|
23 | 23 | } |
|
24 | 24 | |
|
25 | 25 | void MainWindow::startSpacewireTime() |
|
26 | 26 | { |
|
27 | 27 | unsigned int result; |
|
28 | 28 | if (hDevice==NULL) |
|
29 | 29 | { |
|
30 | 30 | result = Open(); |
|
31 | 31 | } |
|
32 | 32 | if (getLinkStatus(UI->linkNumber_SPINBOX->value())) |
|
33 | 33 | { |
|
34 | 34 | emit sendMessage("OK *** in Start *** start sending packet periodically"); |
|
35 | 35 | return; |
|
36 | 36 | } |
|
37 | 37 | else |
|
38 | 38 | { |
|
39 | 39 | emit sendMessage("ERR *** in Start *** "); |
|
40 | 40 | return; |
|
41 | 41 | } |
|
42 | 42 | } |
|
43 | 43 | |
|
44 | 44 | void MainWindow::sendOneTimecode() |
|
45 | 45 | { |
|
46 | 46 | unsigned int result; |
|
47 | 47 | U32 timecodeReg, val; |
|
48 | 48 | |
|
49 | 49 | if (hDevice==NULL) |
|
50 | 50 | { |
|
51 | 51 | result = Open(); |
|
52 | 52 | } |
|
53 | 53 | if (getLinkStatus(UI->linkNumber_SPINBOX->value())) |
|
54 | 54 | { |
|
55 | 55 | emit sendMessage("OK *** in sendOneTimecode *** stardundee brick running"); |
|
56 | 56 | } |
|
57 | 57 | else |
|
58 | 58 | { |
|
59 | 59 | emit sendMessage("ERR *** in sendOneTimecode *** stardundee brick not running"); |
|
60 | 60 | } |
|
61 | 61 | if(!USBSpaceWire_TC_EnableExternalTimecodeSelection(hDevice,0)) |
|
62 | 62 | { |
|
63 | 63 | emit sendMessage("ERR *** disable external timecode selection"); |
|
64 | 64 | return; |
|
65 | 65 | } |
|
66 | 66 | emit sendMessage("OK *** in sendOneTimecode *** next valid tick will be performed"); |
|
67 | 67 | if(!USBSpaceWire_TC_PerformTickIn(hDevice, 0)) |
|
68 | 68 | { |
|
69 | 69 | emit sendMessage("ERR *** in sendOneTimecode *** perform TickIn"); |
|
70 | 70 | return; |
|
71 | 71 | } |
|
72 | 72 | emit sendMessage("OK *** in sendOneTimecode *** tick performed"); |
|
73 | 73 | // Read the timecode register |
|
74 | 74 | if (CFGSpaceWire_GetTimecodeRegister(hDevice, &timecodeReg) != CFG_TRANSFER_SUCCESS) |
|
75 | 75 | { |
|
76 | 76 | emit sendMessage("Could not read the timecode register"); |
|
77 | 77 | } |
|
78 | 78 | else |
|
79 | 79 | { |
|
80 | 80 | CFGSpaceWire_TCGetValue(timecodeReg, &val); |
|
81 | 81 | emit sendMessage("The timecode value is currently: " + QString::number(val)); |
|
82 | 82 | CFGSpaceWire_TCGetFlags(timecodeReg, &val); |
|
83 | 83 | emit sendMessage("The timecode flag value is currently: " + QString::number(val)); |
|
84 | 84 | } |
|
85 | 85 | |
|
86 | 86 | } |
|
87 | 87 | |
|
88 | 88 | void MainWindow::sendOnePacketAndOneTimecode() |
|
89 | 89 | { |
|
90 | 90 | |
|
91 | 91 | } |
|
92 | 92 | |
|
93 | 93 | unsigned int MainWindow::Open() |
|
94 | 94 | { |
|
95 | U32 dwTickEnableStatus; | |
|
96 | ||
|
95 | 97 | if (!USBSpaceWire_Open(&hDevice, UI->usbDeviceNumber_SPINBOX->value())) // Open the USB device |
|
96 | 98 | { |
|
97 | 99 | emit sendMessage("ERR *** in Open *** USBSpaceWire_Open(&hDevice, 0))"); |
|
98 | 100 | return 0; |
|
99 | 101 | } |
|
100 | 102 | emit sendMessage("OK *** in Open *** USBSpaceWire_Open successful, device number: " |
|
101 | 103 | + QString::number(UI->usbDeviceNumber_SPINBOX->value())); |
|
102 | 104 | |
|
103 | 105 | USBSpaceWire_EnableNetworkMode(hDevice, 0); // deactivate the network mode |
|
104 | 106 | CFGSpaceWire_EnableRMAP(1); // Enable the use of RMAP for the StarDundee brick configuration |
|
105 | 107 | CFGSpaceWire_SetRMAPDestinationKey(0x20); // Set the destination key expected by STAR-Dundee devices |
|
106 | 108 | |
|
107 | 109 | // Set the path and return path to the device |
|
108 | 110 | CFGSpaceWire_StackClear(); |
|
109 | 111 | CFGSpaceWire_AddrStackPush(0); |
|
110 | 112 | CFGSpaceWire_AddrStackPush(254); |
|
111 | 113 | CFGSpaceWire_RetAddrStackPush(254); |
|
112 | 114 | |
|
113 | 115 | if (getLinkStatus(UI->linkNumber_SPINBOX->value())==0) |
|
114 | 116 | { |
|
115 | 117 | return UI->starDundeeStatusQueryDialog->exec(); |
|
116 | 118 | } |
|
117 | 119 | if (!USBSpaceWire_TC_Reset(hDevice)) |
|
118 | 120 | { |
|
119 | 121 | emit sendMessage("ERR *** in Open *** Could not reset timecodes\n"); |
|
120 | 122 | } |
|
121 | 123 | emit sendMessage("OK *** in Open *** reset timecodes"); |
|
124 | ||
|
125 | // Clear the tick enable register | |
|
126 | if (CFGSpaceWire_SetTickEnableStatus(hDevice, 6) != CFG_TRANSFER_SUCCESS) | |
|
127 | emit sendMessage("Could not clear the tick enable register"); | |
|
128 | else | |
|
129 | emit sendMessage("Cleared the tick enable register"); | |
|
130 | ||
|
131 | CFGSpaceWire_GetTickEnableStatus(hDevice, &dwTickEnableStatus); | |
|
132 | emit sendMessage("OK *** in Open *** CFGSpaceWire_GetTickEnableStatus, code is " + QString::number(dwTickEnableStatus, 2)); | |
|
133 | ||
|
122 | 134 | } |
|
123 | 135 | |
|
124 | 136 | unsigned int MainWindow::getLinkStatus(unsigned char link) |
|
125 | 137 | { |
|
126 | 138 | U32 statusControl = 0, errorStatus = 0, portType = 0; |
|
127 | 139 | U32 linkStatus = 0, operatingSpeed = 0, outputPortConnection = 0; |
|
128 | 140 | char isLinkRunning = 0, isAutoStart = 0, isStart = 0, isDisabled = 0, isTristate = 0; |
|
129 | 141 | |
|
130 | 142 | // Read the link status control register |
|
131 | 143 | if (CFGSpaceWire_GetLinkStatusControl(hDevice, 1, &statusControl) != CFG_TRANSFER_SUCCESS) |
|
132 | 144 | { |
|
133 | 145 | emit sendMessage("Could not read link status control for link" + QString::number(link)); |
|
134 | 146 | } |
|
135 | 147 | else |
|
136 | 148 | { |
|
137 | 149 | // Display the link status control register properties |
|
138 | 150 | CFGSpaceWire_LSPortType(statusControl, &portType); |
|
139 | 151 | if (portType == CFG_CONFIGURATION_PORT) |
|
140 | 152 | { |
|
141 | 153 | CFGSpaceWire_LSConfigErrorStatus(statusControl, &errorStatus); |
|
142 | 154 | //emit appendToLog("Configuration port error status = " + QString::number(errorStatus)); |
|
143 | 155 | } |
|
144 | 156 | else if (portType == CFG_SPACEWIRE_EXTERNAL_PORT) |
|
145 | 157 | { |
|
146 | 158 | CFGSpaceWire_LSExternalErrorStatus(statusControl, &errorStatus); |
|
147 | 159 | //emit appendToLog("External port error status = " + QString::number(errorStatus)); |
|
148 | 160 | } |
|
149 | 161 | else |
|
150 | 162 | { |
|
151 | 163 | CFGSpaceWire_LSErrorStatus(statusControl, &errorStatus); |
|
152 | 164 | //emit appendToLog("SpaceWire link error status = " + QString::number(errorStatus)); |
|
153 | 165 | } |
|
154 | 166 | CFGSpaceWire_LSLinkState(statusControl, &linkStatus); |
|
155 | 167 | CFGSpaceWire_LSIsLinkRunning(statusControl, &isLinkRunning); |
|
156 | 168 | CFGSpaceWire_LSIsAutoStart(statusControl, &isAutoStart); |
|
157 | 169 | CFGSpaceWire_LSIsStart(statusControl, &isStart); |
|
158 | 170 | CFGSpaceWire_LSIsDisabled(statusControl, &isDisabled); |
|
159 | 171 | CFGSpaceWire_LSIsTristate(statusControl, &isTristate); |
|
160 | 172 | CFGSpaceWire_LSOperatingSpeed(statusControl, &operatingSpeed); |
|
161 | 173 | CFGSpaceWire_LSOutputPortConnection(statusControl, &outputPortConnection); |
|
162 | 174 | //emit appendToLog("The link state is = " + QString::number(linkStatus)); |
|
163 | 175 | //emit appendToLog("The link is running = " + QString::number(isLinkRunning)); |
|
164 | 176 | //emit appendToLog("The autostart bit is enabled = " + QString::number(isAutoStart)); |
|
165 | 177 | //emit appendToLog("The start bit is enabled = " + QString::number(isStart)); |
|
166 | 178 | //emit appendToLog("The link is disabled = " + QString::number(isDisabled)); |
|
167 | 179 | //emit appendToLog("The tri-state bit is enabled = " + QString::number(isAutoStart)); |
|
168 | 180 | //emit appendToLog("The operating speed is = " + QString::number(operatingSpeed)); |
|
169 | 181 | //emit appendToLog("This port is currently connected to output port = " + QString::number(outputPortConnection)); |
|
170 | 182 | } |
|
171 | 183 | if (linkStatus == 5) return 1; |
|
172 | 184 | else return 0; |
|
173 | 185 | } |
|
174 | 186 | |
|
175 | 187 | void MainWindow::reTestSPWLink() // SLOT |
|
176 | 188 | { |
|
177 | 189 | if (getLinkStatus(UI->linkNumber_SPINBOX->value())) |
|
178 | 190 | { |
|
179 | 191 | UI->starDundeeStatusQueryDialog->accept(); |
|
180 | 192 | } |
|
181 | 193 | } |
|
1 | NO CONTENT: modified file, binary diff hidden |
@@ -1,265 +1,265 | |||
|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|
2 | 2 | <!DOCTYPE QtCreatorProject> |
|
3 |
<!-- Written by Qt Creator 2.4.1, 2013-0 |
|
|
3 | <!-- Written by Qt Creator 2.4.1, 2013-05-03T15:28:00. --> | |
|
4 | 4 | <qtcreator> |
|
5 | 5 | <data> |
|
6 | 6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
|
7 | 7 | <value type="int">0</value> |
|
8 | 8 | </data> |
|
9 | 9 | <data> |
|
10 | 10 | <variable>ProjectExplorer.Project.EditorSettings</variable> |
|
11 | 11 | <valuemap type="QVariantMap"> |
|
12 | 12 | <value type="bool" key="EditorConfiguration.AutoIndent">true</value> |
|
13 | 13 | <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> |
|
14 | 14 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> |
|
15 | 15 | <value type="QString" key="language">Cpp</value> |
|
16 | 16 | <valuemap type="QVariantMap" key="value"> |
|
17 | 17 | <value type="QString" key="CurrentPreferences">CppGlobal</value> |
|
18 | 18 | </valuemap> |
|
19 | 19 | </valuemap> |
|
20 | 20 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> |
|
21 | 21 | <value type="QString" key="language">QmlJS</value> |
|
22 | 22 | <valuemap type="QVariantMap" key="value"> |
|
23 | 23 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> |
|
24 | 24 | </valuemap> |
|
25 | 25 | </valuemap> |
|
26 | 26 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> |
|
27 | 27 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> |
|
28 | 28 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> |
|
29 | 29 | <value type="int" key="EditorConfiguration.IndentSize">4</value> |
|
30 | 30 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> |
|
31 | 31 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> |
|
32 | 32 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> |
|
33 | 33 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> |
|
34 | 34 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> |
|
35 | 35 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> |
|
36 | 36 | <value type="int" key="EditorConfiguration.TabSize">8</value> |
|
37 | 37 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> |
|
38 | 38 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> |
|
39 | 39 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> |
|
40 | 40 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> |
|
41 | 41 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> |
|
42 | 42 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> |
|
43 | 43 | </valuemap> |
|
44 | 44 | </data> |
|
45 | 45 | <data> |
|
46 | 46 | <variable>ProjectExplorer.Project.PluginSettings</variable> |
|
47 | 47 | <valuemap type="QVariantMap"/> |
|
48 | 48 | </data> |
|
49 | 49 | <data> |
|
50 | 50 | <variable>ProjectExplorer.Project.Target.0</variable> |
|
51 | 51 | <valuemap type="QVariantMap"> |
|
52 | 52 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value> |
|
53 | 53 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value> |
|
54 | 54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value> |
|
55 | 55 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> |
|
56 | 56 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> |
|
57 | 57 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> |
|
58 | 58 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> |
|
59 | 59 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> |
|
60 | 60 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
61 | 61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
62 | 62 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
63 | 63 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
64 | 64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
65 | 65 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
66 | 66 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> |
|
67 | 67 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
68 | 68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
69 | 69 | </valuemap> |
|
70 | 70 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
71 | 71 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
72 | 72 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
73 | 73 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
74 | 74 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
75 | 75 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> |
|
76 | 76 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
77 | 77 | </valuemap> |
|
78 | 78 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
79 | 79 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
80 | 80 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
81 | 81 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
82 | 82 | </valuemap> |
|
83 | 83 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
84 | 84 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
85 | 85 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
86 | 86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
87 | 87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
88 | 88 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
89 | 89 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> |
|
90 | 90 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
91 | 91 | </valuemap> |
|
92 | 92 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
93 | 93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
94 | 94 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
95 | 95 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
96 | 96 | </valuemap> |
|
97 | 97 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
98 | 98 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
99 | 99 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
100 | 100 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value> |
|
101 | 101 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
102 | 102 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
103 | 103 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> |
|
104 | 104 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/spwtimegenerator</value> |
|
105 | 105 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> |
|
106 | 106 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
107 | 107 | </valuemap> |
|
108 | 108 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> |
|
109 | 109 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> |
|
110 | 110 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
111 | 111 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
112 | 112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
113 | 113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
114 | 114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
115 | 115 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
116 | 116 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> |
|
117 | 117 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
118 | 118 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
119 | 119 | </valuemap> |
|
120 | 120 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
121 | 121 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
122 | 122 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
123 | 123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
124 | 124 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
125 | 125 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> |
|
126 | 126 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
127 | 127 | </valuemap> |
|
128 | 128 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
129 | 129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
130 | 130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
131 | 131 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
132 | 132 | </valuemap> |
|
133 | 133 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
134 | 134 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
135 | 135 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
136 | 136 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
137 | 137 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
138 | 138 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
139 | 139 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> |
|
140 | 140 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
141 | 141 | </valuemap> |
|
142 | 142 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
143 | 143 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
144 | 144 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
145 | 145 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
146 | 146 | </valuemap> |
|
147 | 147 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
148 | 148 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
149 | 149 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
150 | 150 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Debug</value> |
|
151 | 151 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
152 | 152 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
153 | 153 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> |
|
154 | 154 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/spwtimegenerator</value> |
|
155 | 155 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> |
|
156 | 156 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
157 | 157 | </valuemap> |
|
158 | 158 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value> |
|
159 | 159 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> |
|
160 | 160 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
161 | 161 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> |
|
162 | 162 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> |
|
163 | 163 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
164 | 164 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> |
|
165 | 165 | </valuemap> |
|
166 | 166 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> |
|
167 | 167 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> |
|
168 | 168 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
169 | 169 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> |
|
170 | 170 | </valuemap> |
|
171 | 171 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> |
|
172 | 172 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> |
|
173 | 173 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
174 | 174 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
175 | 175 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
176 | 176 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
177 | 177 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
178 | 178 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
179 | 179 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
180 | 180 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
181 | 181 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
182 | 182 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
183 | 183 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
184 | 184 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
185 | 185 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
186 | 186 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
187 | 187 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
188 | 188 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
189 | 189 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
190 | 190 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
191 | 191 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
192 | 192 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
193 | 193 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
194 | 194 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
195 | 195 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
196 | 196 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
197 | 197 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
198 | 198 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
199 | 199 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
200 | 200 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
201 | 201 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
202 | 202 | <value type="int">0</value> |
|
203 | 203 | <value type="int">1</value> |
|
204 | 204 | <value type="int">2</value> |
|
205 | 205 | <value type="int">3</value> |
|
206 | 206 | <value type="int">4</value> |
|
207 | 207 | <value type="int">5</value> |
|
208 | 208 | <value type="int">6</value> |
|
209 | 209 | <value type="int">7</value> |
|
210 | 210 | <value type="int">8</value> |
|
211 | 211 | <value type="int">9</value> |
|
212 | 212 | <value type="int">10</value> |
|
213 | 213 | <value type="int">11</value> |
|
214 | 214 | <value type="int">12</value> |
|
215 | 215 | <value type="int">13</value> |
|
216 | 216 | <value type="int">14</value> |
|
217 | 217 | </valuelist> |
|
218 | 218 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
219 | 219 | <value type="int">0</value> |
|
220 | 220 | <value type="int">1</value> |
|
221 | 221 | <value type="int">2</value> |
|
222 | 222 | <value type="int">3</value> |
|
223 | 223 | <value type="int">4</value> |
|
224 | 224 | <value type="int">5</value> |
|
225 | 225 | <value type="int">6</value> |
|
226 | 226 | <value type="int">7</value> |
|
227 | 227 | <value type="int">8</value> |
|
228 | 228 | <value type="int">9</value> |
|
229 | 229 | <value type="int">10</value> |
|
230 | 230 | <value type="int">11</value> |
|
231 | 231 | <value type="int">12</value> |
|
232 | 232 | <value type="int">13</value> |
|
233 | 233 | <value type="int">14</value> |
|
234 | 234 | </valuelist> |
|
235 | 235 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">spwtimegenerator</value> |
|
236 | 236 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
237 | 237 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value> |
|
238 | 238 | <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value> |
|
239 | 239 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> |
|
240 | 240 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">spwtimegenerator.pro</value> |
|
241 | 241 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> |
|
242 | 242 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value> |
|
243 | 243 | <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/> |
|
244 | 244 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> |
|
245 | 245 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
246 | 246 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
247 | 247 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
248 | 248 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> |
|
249 | 249 | </valuemap> |
|
250 | 250 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> |
|
251 | 251 | </valuemap> |
|
252 | 252 | </data> |
|
253 | 253 | <data> |
|
254 | 254 | <variable>ProjectExplorer.Project.TargetCount</variable> |
|
255 | 255 | <value type="int">1</value> |
|
256 | 256 | </data> |
|
257 | 257 | <data> |
|
258 | 258 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> |
|
259 | 259 | <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value> |
|
260 | 260 | </data> |
|
261 | 261 | <data> |
|
262 | 262 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> |
|
263 | 263 | <value type="int">10</value> |
|
264 | 264 | </data> |
|
265 | 265 | </qtcreator> |
General Comments 0
You need to be logged in to leave comments.
Login now