mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
examples: Fix l-band capture setup
Because X440 images now can also contain DDC/DUC we cannot direct connect the radio with the replay block anymore. Instead we have to rely on the uhd.rfnoc util connect_through_blocks function which will find a route through the statically connected DDC/DUC if they are present or connect the SEPs directly if they are not.
This commit is contained in:
parent
4caf56aa0d
commit
9e8b5b9553
@ -156,8 +156,8 @@ def main():
|
||||
radio1.set_rx_frequency(radio1_frequency, 0)
|
||||
radio1.set_rate(args.mcrs[1])
|
||||
|
||||
graph.connect(radio0.get_unique_id(), 0, replay0.get_unique_id(), 0)
|
||||
graph.connect(radio1.get_unique_id(), 0, replay1.get_unique_id(), 0)
|
||||
uhd.rfnoc.connect_through_blocks(graph, radio0.get_unique_id(), 0, replay0.get_unique_id(), 0)
|
||||
uhd.rfnoc.connect_through_blocks(graph, radio1.get_unique_id(), 0, replay1.get_unique_id(), 0)
|
||||
|
||||
throttle = args.throttle
|
||||
num_bytes0 = 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user