summaryrefslogtreecommitdiff
path: root/gr-uhd/grc/uhd_amsg_source.block.yml
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/grc/uhd_amsg_source.block.yml')
-rw-r--r--gr-uhd/grc/uhd_amsg_source.block.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/gr-uhd/grc/uhd_amsg_source.block.yml b/gr-uhd/grc/uhd_amsg_source.block.yml
new file mode 100644
index 0000000000..b07ab77913
--- /dev/null
+++ b/gr-uhd/grc/uhd_amsg_source.block.yml
@@ -0,0 +1,18 @@
+id: uhd_amsg_source
+label: 'UHD: USRP Async Msg Source'
+
+parameters:
+- id: dev_addr
+ label: Device Addr
+ dtype: string
+ hide: ${ 'none' if dev_addr else 'part' }
+
+outputs:
+- domain: stream
+ dtype: msg
+
+templates:
+ imports: from gnuradio import uhd
+ make: uhd.amsg_source(device_addr=${dev_addr}, msgq=${id}_msgq_out)
+
+file_format: 1