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
|
<?xml version="1.0"?>
<!--
Copyright 2013 Free Software Foundation, Inc.
This file is part of GNU Radio
GNU Radio is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
GNU Radio is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Radio; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street,
Boston, MA 02110-1301, USA.
-->
<block>
<name>Ctrlport Probe</name>
<key>blocks_ctrlport_probe2_x</key>
<import>from gnuradio import blocks</import>
<make>blocks.ctrlport_probe2_$(type.fcn)($name, $desc, $len, $disp_mask)</make>
<callback>set_length($len)</callback>
<param>
<name>Input Type</name>
<key>type</key>
<type>enum</type>
<option>
<name>Complex</name>
<key>complex</key>
<opt>fcn:c</opt>
</option>
<option>
<name>Float</name>
<key>float</key>
<opt>fcn:f</opt>
</option>
<option>
<name>Int</name>
<key>int</key>
<opt>fcn:i</opt>
</option>
<option>
<name>Short</name>
<key>short</key>
<opt>fcn:s</opt>
</option>
<option>
<name>Byte</name>
<key>byte</key>
<opt>fcn:b</opt>
</option>
</param>
<param>
<name>Name</name>
<key>name</key>
<value>samples</value>
<type>string</type>
</param>
<param>
<name>Description</name>
<key>desc</key>
<value>Sample Points</value>
<type>string</type>
</param>
<param>
<name>Length</name>
<key>len</key>
<value>1024</value>
<type>int</type>
</param>
<param>
<name>Display Mask</name>
<key>disp_mask</key>
<value>gr.DISPTIME</value>
<type>int</type>
<option>
<name>Constellation</name>
<key>gr.DISPXY | gr.DISPOPTSCATTER</key>
</option>
<option>
<name>Time</name>
<key>gr.DISPTIME</key>
</option>
<option>
<name>PSD</name>
<key>gr.DISPPSD</key>
</option>
<option>
<name>Spectrogram</name>
<key>gr.DISPSPEC</key>
</option>
<option>
<name>Raster</name>
<key>gr.DISPRAST</key>
</option>
</param>
<sink>
<name>in</name>
<type>$type</type>
</sink>
<doc>
Place this in a graph to export vectors of samples to a GRCP port probe.
* Specify the number of samples to transmit at once and the type
of default display to use.
</doc>
</block>
|