Skip to content

Commit

Permalink
Merge pull request #503 from analogdevicesinc/tfcollins/ex-fix
Browse files Browse the repository at this point in the history
Fix incorrect use of tx_enabled_channels
  • Loading branch information
tfcollins committed Nov 30, 2023
2 parents 0e7c0de + 0d8c403 commit ca88175
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/QuadMxFE_dual_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def adjust_gain(x, skip=None):
dev.tx_main_nco_frequencies = [3000000000] * NM_TX

dev.rx_enabled_channels = RX_CHAN_EN
dev.tx_enabled_channels = [1] * N_TX
dev.tx_enabled_channels = [*range(N_TX)]
dev.rx_nyquist_zone = ["even"] * NM_TX

dev.rx_buffer_size = 2 ** 12
Expand Down
2 changes: 1 addition & 1 deletion examples/QuadMxFE_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def measure_and_adjust_phase_offset(chan0, chan1, phase_correction):
dev.tx_main_nco_frequencies = [3000000000] * NM_TX

dev.rx_enabled_channels = RX_CHAN_EN
dev.tx_enabled_channels = [1] * N_TX
dev.tx_enabled_channels = [*range(N_TX)]
dev.rx_nyquist_zone = ["even"] * NM_TX

dev.rx_buffer_size = 2 ** 12
Expand Down
2 changes: 1 addition & 1 deletion examples/QuadMxFE_ffh_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def measure_and_adjust_phase_offset(chan0, chan1, phase_correction):

dev._rxadc.set_kernel_buffers_count(1)
dev.rx_enabled_channels = RX_CHAN_EN
dev.tx_enabled_channels = [1] * N_TX
dev.tx_enabled_channels = [*range(N_TX)]
dev.rx_nyquist_zone = ["even"] * NM_TX

dev.rx_buffer_size = 2 ** 12
Expand Down
2 changes: 1 addition & 1 deletion examples/Triton_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def measure_and_adjust_phase_offset(chan0, chan1, phase_correction):
dev.tx_main_nco_frequencies = [3000000000] * NM_TX

dev.rx_enabled_channels = RX_CHAN_EN
dev.tx_enabled_channels = [1] * N_TX
dev.tx_enabled_channels = [*range(N_TX)]
dev.rx_nyquist_zone = ["even"] * NM_TX

dev.rx_buffer_size = 2 ** 12
Expand Down

0 comments on commit ca88175

Please sign in to comment.