summaryrefslogtreecommitdiff
path: root/gr-blocks/grc/blocks_ctrlport_probe2_c.block.yml
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/grc/blocks_ctrlport_probe2_c.block.yml')
-rw-r--r--gr-blocks/grc/blocks_ctrlport_probe2_c.block.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/gr-blocks/grc/blocks_ctrlport_probe2_c.block.yml b/gr-blocks/grc/blocks_ctrlport_probe2_c.block.yml
new file mode 100644
index 0000000000..2b757718a6
--- /dev/null
+++ b/gr-blocks/grc/blocks_ctrlport_probe2_c.block.yml
@@ -0,0 +1,41 @@
+id: blocks_ctrlport_probe2_c
+label: Ctrlport Probe
+
+parameters:
+- id: name
+ label: Name
+ dtype: string
+ default: samples
+- id: desc
+ label: Description
+ dtype: string
+ default: Sample Points
+- id: len
+ label: Length
+ dtype: int
+ default: '1024'
+- id: disp_mask
+ label: Display Mask
+ dtype: int
+ default: gr.DISPTIME
+ options: [gr.DISPXY | gr.DISPOPTSCATTER, gr.DISPTIME, gr.DISPPSD, gr.DISPSPEC,
+ gr.DISPRAST]
+ option_labels: [Constellation, Time, PSD, Spectrogram, Raster]
+
+inputs:
+- domain: stream
+ dtype: complex
+
+templates:
+ imports: from gnuradio import blocks
+ make: blocks.ctrlport_probe2_c(${name}, ${desc}, ${len}, ${disp_mask})
+ callbacks:
+ - set_length(${len})
+
+documentation: |-
+ 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.
+
+file_format: 1