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:
Lars Amsel 2026-09-07 11:25:15 +02:00 committed by mkoop-ni
parent 4caf56aa0d
commit 9e8b5b9553

View File

@ -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