summaryrefslogtreecommitdiff
path: root/gr-blocks/grc/blocks_ctrlport_probe2_c.xml
blob: 708a8fdf9b3739376445c578c58381de3b2798c3 (plain)
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
<?xml version="1.0"?>

<!--
 Copyright 2012-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_c</key>
  <import>from gnuradio import blocks</import>
  <make>blocks.ctrlport_probe2_c($name, $desc, $len, $disp_mask)</make>
  <callback>set_length($len)</callback>

  <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>complex</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>