forked from RedhawkSDR/Documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainch5.html
633 lines (611 loc) · 29.2 KB
/
mainch5.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html >
<head><title>5 Waveforms</title>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8"">
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)">
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)">
<!-- html,2,next,javascript,charset="utf-8" -->
<meta name="src" content="main.tex">
<meta name="date" content="2013-03-12 19:46:00">
<link rel="stylesheet" type="text/css" href="main.css">
<script type="text/javascript" src="scripts/shCore.js"></script>
<script type="text/javascript" src="scripts/shBrushCpp.js"></script>
<script type="text/javascript" src="scripts/shBrushJava.js"></script>
<script type="text/javascript" src="scripts/shBrushPython.js"></script>
<script type="text/javascript" src="scripts/shBrushBash.js"></script>
<script type="text/javascript" src="scripts/shBrushXml.js"></script>
<link href="styles/shCore.css" rel="stylesheet" type="text/css" />
<link href="styles/shThemeDefault.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
SyntaxHighlighter.all()
</script>
</head><body
>
<script>
function f() {
document.getElementById('main_content_wrap').focus();
}
if (window.addEventListener) {
window.addEventListener("load", f, false);
} else if (window.attachEvent) {
window.attachEvent("onload", f);
}
</script>
<div class="header">
<ul class="navbar">
<li><a class="logo-small" href="index.html"><img src="images/RedHawk_Logo_ALT_B_121px.png"/></a></li> <li><a href="index.html">Home</a></li>
<li><a href="gettingstarted/main.html">Getting Started</a></li>
<li><a class="active" href="main.html">Documentation</a></li>
<li><a href="download.html">Download</a></li>
<li><a href="support.html">Support</a></li>
</ul>
<div class="pattern right"></div>
<a id="forkme_banner" href="https://github.com/redhawksdr">View on GitHub</a>
</div>
<!-- Custom MAIN CONTENT -->
<div id="main_content_wrap" tabindex="0" class="outer">
<section id="main_content" class="inner">
<!--l. 2--><div class="crosslinks"><p class="noindent">[<a
href="mainch6.html" >next</a>] [<a
href="mainch4.html" >prev</a>] [<a
href="mainch4.html#tailmainch4.html" >prev-tail</a>] [<a
href="#tailmainch5.html">tail</a>] [<a
href="main.html#mainch5.html" >up</a>] </p></div>
<h2 class="chapterHead"><span class="titlemark">Chapter 5</span><br /><a
id="x7-720005"></a>Waveforms</h2>
<!--l. 4--><p class="noindent" >This chapter discusses the construction and execution of <a
href="mainli2.html#glo:waveformapplication">Waveforms</a> within REDHAWK. An
<a
href="mainli2.html#glo:application">Application</a> is the running program that represents a <a
href="mainli2.html#glo:waveformapplication">Waveform</a>, which is a collection of
<a
href="mainap3.html#xml">XML</a> files describing the inter connection of and configuration of <a
href="mainli2.html#glo:component">Components</a>. It is
possible to launch <a
href="mainli2.html#glo:waveformapplication">Waveforms</a> in the Sandbox as well as in the REDHAWK <a
href="mainli2.html#glo:domain">Domain</a>. This
chapter discusses the mechanisms for launching a <a
href="mainli2.html#glo:waveformapplication">Waveform</a> as a running <a
href="mainli2.html#glo:application">Application</a> in a
<a
href="mainli2.html#glo:domain">Domain</a>.
<h3 class="sectionHead"><span class="titlemark">5.1 </span> <a
id="x7-730005.1"></a>Waveform Editor</h3>
<!--l. 12--><p class="noindent" >The following sections further describe the definition of the <a
href="mainli2.html#glo:waveformapplication">Waveform</a> as well as its creation and
manipulation within the <a
href="mainap3.html#ide">IDE</a>. Like the <a
href="mainap3.html#prf">PRF</a>, <a
href="mainap3.html#scd">SCD</a> and <a
href="mainap3.html#spd">SPD</a> <a
href="mainap3.html#xml">XML</a> files of a <a
href="mainli2.html#glo:component">Component</a>, a
<a
href="mainli2.html#glo:waveformapplication">Waveform</a> is completely represented by its <a
href="mainap3.html#sad">SAD</a> file (<span
class="cmtt-12">*.sad.xml</span>). The REDHAWK <a
href="mainap3.html#ide">IDE</a>
provides a means of modifying the <a
href="mainap3.html#xml">XML</a> files without the need to directly edit this file by
hand.
<!--l. 15--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">5.1.1 </span> <a
id="x7-740005.1.1"></a>Overview Tab</h4>
<!--l. 17--><p class="noindent" >Within the Overview tab, the name, <a
href="mainli2.html#glo:assemblycontroller">Assembly Controller</a>, and external <a
href="mainli2.html#glo:port">Ports</a> of a <a
href="mainli2.html#glo:waveformapplication">Waveform</a> are
defined.
<!--l. 19--><p class="noindent" >The <a
href="mainli2.html#glo:assemblycontroller">Assembly Controller</a> is a <a
href="mainli2.html#glo:component">Component</a> instance in the <a
href="mainli2.html#glo:waveformapplication">Waveform</a> that is designated as the
<a
href="mainli2.html#glo:component">Component</a> where the <a
href="mainli2.html#glo:waveformapplication">Waveform</a>-level <span
class="cmtt-12">start()</span>, <span
class="cmtt-12">stop()</span>, <span
class="cmtt-12">configure() </span>and <span
class="cmtt-12">query() </span>calls are
delegated. In complex <a
href="mainli2.html#glo:waveformapplication">Waveforms</a>, the <a
href="mainli2.html#glo:assemblycontroller">Assembly Controller</a> can be used to orchestrate the life cycle
of <a
href="mainli2.html#glo:component">Components</a>. In trivial <a
href="mainli2.html#glo:waveformapplication">Waveforms</a>, the identity of the <a
href="mainli2.html#glo:assemblycontroller">Assembly Controller</a> is of less
importance.
<!--l. 22--><p class="noindent" >External <a
href="mainli2.html#glo:port">Ports</a> are used to make <a
href="mainli2.html#glo:component">Component</a> <a
href="mainli2.html#glo:port">Ports</a> available to other <a
href="mainli2.html#glo:application">Applications</a>, facilitating
inter-<a
href="mainli2.html#glo:application">Application</a> connectivity.
<!--l. 24--><p class="noindent" >In this tutorial, it is assumed that the following <a
href="mainli2.html#glo:component">Components</a> are installed in <span
class="cmtt-12">$SDRROOT/dom/components</span>:
<span
class="cmtt-12">SigGen</span>, <span
class="cmtt-12">HardLimit</span>, <span
class="cmtt-12">FM</span><span
class="cmtt-12">_Demod </span>and <span
class="cmtt-12">Basic</span><span
class="cmtt-12">_AC</span>.
<!--l. 26--><p class="noindent" >The overview tab allows the developer to set the <a
href="mainli2.html#glo:assemblycontroller">Assembly Controller</a> for the <a
href="mainli2.html#glo:waveform">SCA Waveform</a> as
well as to set a description of the <a
href="mainli2.html#glo:waveform">SCA Waveform</a>.
<!--l. 28--><p class="noindent" >Below is a description of the use of the Overview Tab:
<ol class="enumerate1" >
<li
class="enumerate" id="x7-74002x1">Using the <span
class="cmbx-12">Controller </span>drop-down menu, ensure that the <span
class="cmtt-12">SigGen </span><a
href="mainli2.html#glo:component">Component</a> is operating as
the <a
href="mainli2.html#glo:assemblycontroller">Assembly Controller</a>. <div class="admonition block note block-indent"><div class="note-inner"><p class="para block block-first"> In this case, it does not matter which <a
href="mainli2.html#glo:device">Device</a> operates as the
<a
href="mainli2.html#glo:assemblycontroller">Assembly Controller</a> since there is special life cycle requirements of the <a
href="mainli2.html#glo:component">Components</a> in the
<a
href="mainli2.html#glo:waveformapplication">Waveform</a>. </p></div></div>
</li>
<li
class="enumerate" id="x7-74004x2">Provide a description for the <a
href="mainli2.html#glo:waveformapplication">Waveform</a>.</li></ol>
<!--l. 37--><p class="noindent" ><hr class="figure"><div class="figure"
><table class="figure"><tr class="figure"><td class="figure"
>
<a
id="x7-74005r1"></a>
<!--l. 40--><p class="noindent" ><img
src="images/REDHAWK_Waveform_Overview_Tab.png" alt="PIC"
>
<br /> <table class="caption"
><tr style="vertical-align:baseline;" class="caption"><td class="id">Figure 5.1: </td><td
class="content">Waveform Overview Tab</td></tr></table><!--tex4ht:label?: x7-74005r1 -->
<!--l. 42--><p class="noindent" ></td></tr></table></div><hr class="endfigure">
<h4 class="subsectionHead"><span class="titlemark">5.1.2 </span> <a
id="x7-750005.1.2"></a>Diagram Tab</h4>
<!--l. 46--><p class="noindent" >Most of the work done on <a
href="mainli2.html#glo:waveformapplication">Waveforms</a> takes place within the Diagram tab. The Diagram tab is
very similar to the Sandbox/Chalkboard. Unlike the Sandbox, only <a
href="mainli2.html#glo:component">Components</a> that
exist within the <span
class="cmtt-12">$SDRROOT </span>can be added to the <a
href="mainli2.html#glo:waveformapplication">Waveform</a>. The palette contains a list of
<a
href="mainli2.html#glo:component">Components</a> which reside within the <span
class="cmtt-12">$SDRROOT</span>. From the diagram tab, external <a
href="mainli2.html#glo:port">Ports</a> of the
<a
href="mainli2.html#glo:waveformapplication">Waveform</a> can be indicated and the role of <a
href="mainli2.html#glo:assemblycontroller">Assembly Controller</a> can be assigned to a
<a
href="mainli2.html#glo:component">Component</a>.
<!--l. 52--><p class="noindent" >From the Diagram tab, <a
href="mainli2.html#glo:property">Properties</a> of <a
href="mainli2.html#glo:component">Components</a> can be set. When these <a
href="mainli2.html#glo:property">Properties</a> are set, they
become specific to the <a
href="mainli2.html#glo:waveformapplication">Waveform</a> and are written to the <span
class="cmtt-12">*.sad.xml </span>file which describes this
<a
href="mainli2.html#glo:waveformapplication">Waveform</a>.
<!--l. 55--><p class="noindent" >
<h5 class="subsubsectionHead"><a
id="x7-760005.1.2"></a>Start Order</h5>
<!--l. 57--><p class="noindent" >Each of the <a
href="mainli2.html#glo:component">Components</a> within the <a
href="mainli2.html#glo:waveformapplication">Waveform</a> contain a number with a circle around it which
represents that <a
href="mainli2.html#glo:component">Component</a>’s “Start Order”. The Start Order represents the order in which its
<span
class="cmtt-12">start() </span>method is called by the <a
href="mainli2.html#glo:assemblycontroller">Assembly Controller</a>. The only <a
href="mainli2.html#glo:component">Component</a> that does not have a
start order is the <a
href="mainli2.html#glo:assemblycontroller">Assembly Controller</a> which will always have an assumed start order of 0. The
<a
href="mainli2.html#glo:assemblycontroller">Assembly Controller</a> is shown with a yellow border. The start order as well as the <a
href="mainli2.html#glo:assemblycontroller">Assembly
Controller</a> may be changed by right clicking on a <a
href="mainli2.html#glo:component">Component</a> and selecting the appropriate menu
item.
<!--l. 63--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">5.1.3 </span> <a
id="x7-770005.1.3"></a>SAD File Tab</h4>
<!--l. 65--><p class="noindent" >The information put into the Overview and Diagram tabs is represented within the <a
href="mainap3.html#xml">XML</a> of the
<a
href="mainap3.html#sad">SAD</a> file. The <a
href="mainap3.html#xml">XML</a> can be edited manually, but it is not recommended. Each of the <a
href="mainli2.html#glo:component">Components</a>
used within the <a
href="mainli2.html#glo:waveformapplication">Waveform</a> are referenced within the <a
href="mainap3.html#sad">SAD</a> file by pointing to the file location of the
<a
href="mainli2.html#glo:component">Component</a>’s <a
href="mainap3.html#spd">SPD</a> file.
<!--l. 69--><p class="noindent" >Instructions for inspecting the <a
href="mainap3.html#sad">SAD</a> file are below:
<!--l. 71--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x7-77002x1">Open the <span
class="cmtt-12">myWaveform.sad.xml </span>tab of the <a
href="mainli2.html#glo:waveformapplication">Waveform</a> Editor.
</li>
<li
class="enumerate" id="x7-77004x2">Look through the <a
href="mainap3.html#sad">SAD</a> file and identify:
<ol class="enumerate2" >
<li
class="enumerate" id="x7-77006x1">The location of the two <a
href="mainap3.html#spd">SPD</a> files used in this <a
href="mainli2.html#glo:waveformapplication">Waveform</a> (remember that this file
location is in reference to the <span
class="cmtt-12">$SDRROOT</span>)
</li>
<li
class="enumerate" id="x7-77008x2">The <a
href="mainli2.html#glo:assemblycontroller">Assembly Controller</a>
</li>
<li
class="enumerate" id="x7-77010x3">The connection between the two <a
href="mainli2.html#glo:component">Components</a>
</li>
<li
class="enumerate" id="x7-77012x4">The external <a
href="mainli2.html#glo:port">Port</a> is set in the Diagram Tab
</li>
<li
class="enumerate" id="x7-77014x5">The start order of each <a
href="mainli2.html#glo:component">Component</a>
</li>
<li
class="enumerate" id="x7-77016x6">The <a
href="mainli2.html#glo:property">Property</a> is changed on the <span
class="cmtt-12">SigGen </span><a
href="mainli2.html#glo:component">Component</a></li></ol>
</li>
<li
class="enumerate" id="x7-77018x3">Before continuing, return to the Diagram tab and change the dataDouble_out <a
href="mainli2.html#glo:port">Port</a> so that it
is no longer marked as an external <a
href="mainli2.html#glo:port">Port</a>.</li></ol>
<!--l. 85--><p class="noindent" >
<h3 class="sectionHead"><span class="titlemark">5.2 </span> <a
id="x7-780005.2"></a>Create and Deploy a Sample Waveform</h3>
<!--l. 87--><p class="noindent" >This section describes the process of creating a <a
href="mainli2.html#glo:waveformapplication">Waveform</a>, deploying this <a
href="mainli2.html#glo:waveformapplication">Waveform</a> to the staging
area, starting a <a
href="mainli2.html#glo:domainmanager">Domain Manager</a> and a <a
href="mainli2.html#glo:devicemanager">Device Manager</a>, creating an instance of an <a
href="mainli2.html#glo:application">Application</a>
representing this <a
href="mainli2.html#glo:waveformapplication">Waveform</a>, releasing the <a
href="mainli2.html#glo:application">Application</a>, and shutting down the <a
href="mainli2.html#glo:domainmanager">Domain Manager</a>
and <a
href="mainli2.html#glo:devicemanager">Device Manager</a>.
<!--l. 89--><p class="noindent" >It should be noted that the <a
href="mainli2.html#glo:domainmanager">Domain Manager</a> and <a
href="mainli2.html#glo:devicemanager">Device Manager</a> would normally remain up
during the creation/destruction of different <a
href="mainli2.html#glo:application">Applications</a>.
<!--l. 91--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">5.2.1 </span> <a
id="x7-790005.2.1"></a>Create a Sample Waveform</h4>
<!--l. 93--><p class="noindent" >Below is a description of how to create a <a
href="mainli2.html#glo:waveformapplication">Waveform</a>:
<!--l. 95--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x7-79002x1">Select <span
class="cmbx-12">File </span><span
class="cmmi-12">> </span><span
class="cmbx-12">New </span><span
class="cmmi-12">> </span><a
href="mainap3.html#sca"><span
class="cmbx-12">SCA</span></a> <a
href="mainli2.html#glo:waveform"><span
class="cmbx-12">SCA Waveform</span></a> <span
class="cmbx-12">Project</span>
</li>
<li
class="enumerate" id="x7-79004x2">Set the <span
class="cmbx-12">Project name </span>to <span
class="cmti-12">demo</span>
</li>
<li
class="enumerate" id="x7-79006x3">Select <span
class="cmbx-12">Finish</span></li></ol>
<!--l. 101--><p class="noindent" >This will open an editor on the demo.sad.xml file.
<!--l. 103--><p class="noindent" >To add <a
href="mainli2.html#glo:component">Components</a> to this <a
href="mainli2.html#glo:waveformapplication">Waveform</a>:
<!--l. 105--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x7-79008x1">Select the <span
class="cmbx-12">Diagram </span>tab
</li>
<li
class="enumerate" id="x7-79010x2">In the <span
class="cmbx-12">Palette</span>, drag the <span
class="cmti-12">BasicAC </span><a
href="mainli2.html#glo:component">Component</a> onto the diagram
</li>
<li
class="enumerate" id="x7-79012x3">In the <span
class="cmbx-12">Palette</span>, drag the <span
class="cmti-12">SigGen </span><a
href="mainli2.html#glo:component">Component</a> onto the diagram
</li>
<li
class="enumerate" id="x7-79014x4">In the <span
class="cmbx-12">Palette</span>, drag the <span
class="cmti-12">HardLimit </span><a
href="mainli2.html#glo:component">Component</a> onto the diagram
</li>
<li
class="enumerate" id="x7-79016x5">Drag a connection between the <span
class="cmti-12">SigGen</span><span
class="cmti-12">_1 </span><span
class="cmbx-12">out </span><a
href="mainli2.html#glo:port">Port</a> and the <span
class="cmti-12">HardLimit</span><span
class="cmti-12">_1</span>
<span
class="cmbx-12">dataDouble</span><span
class="cmbx-12">_in </span><a
href="mainli2.html#glo:port">Port</a>
</li>
<li
class="enumerate" id="x7-79018x6">Drag a connection between the <span
class="cmti-12">BasicAC</span><span
class="cmti-12">_1 </span><span
class="cmbx-12">resourceOut </span><a
href="mainli2.html#glo:port">Port</a> and the <span
class="cmti-12">SigGen</span><span
class="cmti-12">_1</span>
<span
class="cmbx-12">Resource </span><a
href="mainli2.html#glo:port">Port</a>
</li>
<li
class="enumerate" id="x7-79020x7">Drag a connection between the <span
class="cmti-12">BasicAC</span><span
class="cmti-12">_1 </span><span
class="cmbx-12">resourceOut </span><a
href="mainli2.html#glo:port">Port</a> and the <span
class="cmti-12">HardLimit</span><span
class="cmti-12">_1</span>
<span
class="cmbx-12">Resource </span><a
href="mainli2.html#glo:port">Port</a>
</li>
<li
class="enumerate" id="x7-79022x8">The <a
href="mainli2.html#glo:waveformapplication">Waveform</a> should look like <a
href="#x7-790218">Figure 8</a>: <hr class="figure"><div class="figure"
><table class="figure"><tr class="figure"><td class="figure"
><a
id="x7-79023r2"></a> <img
src="images/Demo_waveform.png" alt="PIC"
> <a
id="x7-790218"></a>
<br /> <table class="caption"
><tr style="vertical-align:baseline;" class="caption"><td class="id">Figure 5.2: </td><td
class="content">Demo Waveform</td></tr></table><!--tex4ht:label?: x7-79023r2 -->
<!--l. 119--><p class="noindent" ></td></tr></table></div><hr class="endfigure">
</li>
<li
class="enumerate" id="x7-79025x9">If <span
class="cmti-12">BasicAC</span><span
class="cmti-12">_1 </span>is not outlined with yellow, right-click on the <a
href="mainli2.html#glo:component">Component</a> and select <span
class="cmbx-12">Assign</span>
<a
href="mainli2.html#glo:assemblycontroller"><span
class="cmbx-12">Assembly Controller</span></a>
</li>
<li
class="enumerate" id="x7-79027x10">Press <span
class="cmbx-12">Ctrl-S </span>to save or select <span
class="cmbx-12">File </span><span
class="cmmi-12">> </span><span
class="cmbx-12">Save</span>
</li>
<li
class="enumerate" id="x7-79029x11">Close the <a
href="mainli2.html#glo:waveformapplication">Waveform</a> editor by selecting the <span
class="cmbx-12">X </span>or by selecting <span
class="cmbx-12">File </span><span
class="cmmi-12">> </span><span
class="cmbx-12">Close All</span></li></ol>
<!--l. 125--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">5.2.2 </span> <a
id="x7-800005.2.2"></a>Export the Waveform</h4>
<!--l. 127--><p class="noindent" >Below is a description of how to export the <a
href="mainli2.html#glo:waveformapplication">Waveform</a> in the <a
href="mainap3.html#ide">IDE</a>:
<!--l. 129--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x7-80002x1">In the <span
class="cmbx-12">Project Explorer </span>view (typically on the left-side) select the project name to
<span
class="cmti-12">demo</span>
</li>
<li
class="enumerate" id="x7-80004x2">Drag the <span
class="cmti-12">demo </span>project onto the <span
class="cmbx-12">Target </span><a
href="mainap3.html#sdr"><span
class="cmbx-12">SDR</span></a> in the <a
href="mainap3.html#sca"><span
class="cmbx-12">SCA</span></a> <span
class="cmbx-12">Explorer </span>view.</li></ol>
<!--l. 134--><p class="noindent" >This will install the <a
href="mainli2.html#glo:waveformapplication">Waveform</a> into <span
class="cmtt-12">$SDRROOT/dom/waveforms</span>. If a permissions denied error is
encountered, ensure that the <span
class="cmtt-12">$SDRROOT </span>is set up per the installation instructions in <a
href="mainch2.html#x4-150002.6">Section
2.6</a>.
<!--l. 138--><p class="noindent" >Verify that the <a
href="mainli2.html#glo:waveformapplication">Waveform</a> is installed:
<!--l. 140--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x7-80006x1">In the <a
href="mainap3.html#sca"><span
class="cmbx-12">SCA</span></a> <span
class="cmbx-12">Explorer </span>view expand the <span
class="cmbx-12">Target </span><a
href="mainap3.html#sdr"><span
class="cmbx-12">SDR</span></a> item
</li>
<li
class="enumerate" id="x7-80008x2">Expand the <span
class="cmbx-12">Waveforms </span>item
</li>
<li
class="enumerate" id="x7-80010x3">Verify that the demo <a
href="mainli2.html#glo:waveformapplication">Waveform</a> is shown</li></ol>
<!--l. 146--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">5.2.3 </span> <a
id="x7-810005.2.3"></a>Run the Waveform on the Runtime Environment</h4>
<!--l. 148--><p class="noindent" >This section provides an overview of how to launch a <a
href="mainli2.html#glo:waveformapplication">Waveform</a> as an <a
href="mainli2.html#glo:application">Application</a> and release an
<a
href="mainli2.html#glo:application">Application</a>.
<!--l. 150--><p class="noindent" >
<h5 class="subsubsectionHead"><a
id="x7-820005.2.3"></a>Launching a Domain</h5>
<!--l. 152--><p class="noindent" >Begin by starting a <a
href="mainli2.html#glo:domainmanager">Domain Manager</a> and <a
href="mainli2.html#glo:devicemanager">Device Manager</a> (see <a
href="mainch10.html#x12-15300010.1.1">Section 10.1.1</a>).
<!--l. 156--><p class="noindent" >
<h5 class="subsubsectionHead"><a
id="x7-830005.2.3"></a>Launch the Waveform</h5>
<!--l. 158--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x7-83002x1">In the <a
href="mainap3.html#sca"><span
class="cmbx-12">SCA</span></a> <span
class="cmbx-12">Explorer </span>view right-click on the <span
class="cmbx-12">REDHAWK</span><span
class="cmbx-12">_DEV </span><a
href="mainli2.html#glo:domain">Domain</a> connection
</li>
<li
class="enumerate" id="x7-83004x2">Select <span
class="cmbx-12">Launch Waveform...</span>
</li>
<li
class="enumerate" id="x7-83006x3">Select the <a
href="mainli2.html#glo:waveformapplication">Waveform</a>, then select <span
class="cmbx-12">Finish</span>
</li>
<li
class="enumerate" id="x7-83008x4">To start the <a
href="mainli2.html#glo:waveformapplication">Waveform</a>, select the green <span
class="cmbx-12">play </span>button in the toolbar</li></ol>
<!--l. 165--><p class="noindent" >This will open up the <a
href="mainli2.html#glo:waveform">SCA Waveform</a> explorer. A <a
href="mainli2.html#glo:waveformapplication">Waveform</a> should be seen in the <a
href="mainap3.html#sca"><span
class="cmbx-12">SCA</span></a>
<span
class="cmbx-12">Explorer </span>by expanding the <span
class="cmbx-12">REDHAWK</span><span
class="cmbx-12">_DEV </span><a
href="mainli2.html#glo:domain">Domain</a> connection and the <span
class="cmbx-12">Waveforms</span>
folder.
<!--l. 168--><p class="noindent" >
<h5 class="subsubsectionHead"><a
id="x7-840005.2.3"></a>Open a Plot</h5>
<!--l. 170--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x7-84002x1">In the <a
href="mainli2.html#glo:waveform">SCA Waveform</a> explorer right-click on the <span
class="cmti-12">SigGen</span><span
class="cmti-12">_1 </span><span
class="cmbx-12">out </span><a
href="mainli2.html#glo:port">Port</a>.
</li>
<li
class="enumerate" id="x7-84004x2">Select <span
class="cmbx-12">Plot </span><a
href="mainli2.html#glo:port"><span
class="cmbx-12">Port</span></a> <span
class="cmbx-12">Data</span></li></ol>
<!--l. 175--><p class="noindent" >This will open up a plot showing the plot data. To clearly see the sinusoid wave in the plot, reduce
the frequency produced by SigGen.
<!--l. 178--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x7-84006x1">Right-click the <span
class="cmti-12">SigGen</span><span
class="cmti-12">_1 </span><a
href="mainli2.html#glo:component">Component</a> and select <span
class="cmbx-12">Show properties view</span>
</li>
<li
class="enumerate" id="x7-84008x2">In the properties view select the <a
href="mainli2.html#glo:component"><span
class="cmbx-12">Component</span></a> <a
href="mainli2.html#glo:property"><span
class="cmbx-12">Properties</span></a> tab
</li>
<li
class="enumerate" id="x7-84010x3">Change the frequency <a
href="mainli2.html#glo:property">Property</a> to a value of <span
class="cmti-12">50</span></li></ol>
<!--l. 184--><p class="noindent" >
<h5 class="subsubsectionHead"><a
id="x7-850005.2.3"></a>Stop and Release the Application</h5>
<!--l. 186--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x7-85002x1">Select the <span
class="cmbx-12">Stop </span>button (looks like a stop sign) in the toolbar. The plot should stop
updating.
</li>
<li
class="enumerate" id="x7-85004x2">Select the <span
class="cmbx-12">Release </span>button (looks like a red <span
class="cmbx-12">X</span>) in the toolbar.</li></ol>
<!--l. 191--><p class="noindent" >
<h5 class="subsubsectionHead"><a
id="x7-860005.2.3"></a>Shutdown the Domain</h5>
<!--l. 193--><p class="noindent" >Finally, shutdown the <a
href="mainli2.html#glo:domainmanager">Domain Manager</a> and <a
href="mainli2.html#glo:devicemanager">Device Manager</a> (see <a
href="mainch10.html#x12-15400010.1.2">Section 10.1.2</a>).
<!--l. 1--><div class="crosslinks"><p class="noindent">[<a
href="mainch6.html" >next</a>] [<a
href="mainch4.html" >prev</a>] [<a
href="mainch4.html#tailmainch4.html" >prev-tail</a>] [<a
href="mainch5.html" >front</a>] [<a
href="main.html#mainch5.html" >up</a>] </p></div>
<!--l. 1--><p class="noindent" ><a
id="tailmainch5.html"></a>
<div class=license>
<hr>
<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/80x15.png" /></a><br /><span xmlns:dct="http:// purl.org/dc/terms/" property="dct:title">REDHAWK Documentation</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.
</div>
</body></html>