diff --git a/examples/QuadMxFE_dual_example.py b/examples/QuadMxFE_dual_example.py index 51caae2ed..70ec60136 100644 --- a/examples/QuadMxFE_dual_example.py +++ b/examples/QuadMxFE_dual_example.py @@ -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 diff --git a/examples/QuadMxFE_example.py b/examples/QuadMxFE_example.py index 46932e108..a46905c58 100644 --- a/examples/QuadMxFE_example.py +++ b/examples/QuadMxFE_example.py @@ -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 diff --git a/examples/QuadMxFE_ffh_example.py b/examples/QuadMxFE_ffh_example.py index e6071b130..be534739d 100644 --- a/examples/QuadMxFE_ffh_example.py +++ b/examples/QuadMxFE_ffh_example.py @@ -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 diff --git a/examples/Triton_example.py b/examples/Triton_example.py index be2788e7a..400c8578b 100644 --- a/examples/Triton_example.py +++ b/examples/Triton_example.py @@ -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