Add emulate context for ADSY1100 #2766
24 fail, 1 267 skipped, 346 pass in 11m 53s
1 637 tests 346 ✅ 11m 53s ⏱️
1 suites 1 267 💤
1 files 24 ❌
Results for commit 9a63a61.
Annotations
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_str_attr[rx_nyquist_zone-val0-adi.ad9084] (test.test_ad9084) failed
results.xml [took 3s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_attribute_multiple_values = <function attribute_multiple_values at 0x7f65b19a9ab0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084', attr = 'rx_nyquist_zone'
val = ['even', 'odd']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
("rx_nyquist_zone", ["even", "odd"]),
(
"rx_test_mode",
[
"midscale_short",
"pos_fullscale",
"neg_fullscale",
"checkerboard",
"pn23",
"pn9",
"one_zero_toggle",
"user",
"pn7",
"pn15",
"pn31",
"ramp",
"off",
],
),
],
)
def test_ad9084_str_attr(test_attribute_multiple_values, iio_uri, classname, attr, val):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_ad9084.py:51:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:221: in attribute_multiple_values
assert dev_interface(uri, classname, val, attr, tol, sleep=sleep)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ad786a40>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_str_attr[rx_test_mode-val1-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_attribute_multiple_values = <function attribute_multiple_values at 0x7f65b19a9ab0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084', attr = 'rx_test_mode'
val = ['midscale_short', 'pos_fullscale', 'neg_fullscale', 'checkerboard', 'pn23', 'pn9', ...]
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
("rx_nyquist_zone", ["even", "odd"]),
(
"rx_test_mode",
[
"midscale_short",
"pos_fullscale",
"neg_fullscale",
"checkerboard",
"pn23",
"pn9",
"one_zero_toggle",
"user",
"pn7",
"pn15",
"pn31",
"ramp",
"off",
],
),
],
)
def test_ad9084_str_attr(test_attribute_multiple_values, iio_uri, classname, attr, val):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_ad9084.py:51:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:221: in attribute_multiple_values
assert dev_interface(uri, classname, val, attr, tol, sleep=sleep)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac68d210>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_attr[rx_main_nco_frequencies--2000000000-2000000000-1-3-10-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_attribute_single_value = <function attribute_single_value at 0x7f65b19a97e0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084'
attr = 'rx_main_nco_frequencies', start = -2000000000, stop = 2000000000
step = 1, tol = 3, repeats = 10
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats",
[
("rx_main_nco_frequencies", -2000000000, 2000000000, 1, 3, 10),
("tx_main_nco_frequencies", -6000000000, 6000000000, 1, 3, 10),
("rx_channel_nco_frequencies", -500000000, 500000000, 1, 3, 10),
("tx_channel_nco_frequencies", -750000000, 750000000, 1, 3, 10),
("rx_main_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_phases", -180000, 180000, 1, 1, 10),
("rx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
("tx_channel_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
],
)
def test_ad9084_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats
)
test/test_ad9084.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac6e4be0>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_attr[tx_main_nco_frequencies--6000000000-6000000000-1-3-10-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_attribute_single_value = <function attribute_single_value at 0x7f65b19a97e0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084'
attr = 'tx_main_nco_frequencies', start = -6000000000, stop = 6000000000
step = 1, tol = 3, repeats = 10
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats",
[
("rx_main_nco_frequencies", -2000000000, 2000000000, 1, 3, 10),
("tx_main_nco_frequencies", -6000000000, 6000000000, 1, 3, 10),
("rx_channel_nco_frequencies", -500000000, 500000000, 1, 3, 10),
("tx_channel_nco_frequencies", -750000000, 750000000, 1, 3, 10),
("rx_main_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_phases", -180000, 180000, 1, 1, 10),
("rx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
("tx_channel_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
],
)
def test_ad9084_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats
)
test/test_ad9084.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac58f5b0>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_attr[rx_channel_nco_frequencies--500000000-500000000-1-3-10-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_attribute_single_value = <function attribute_single_value at 0x7f65b19a97e0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084'
attr = 'rx_channel_nco_frequencies', start = -500000000, stop = 500000000
step = 1, tol = 3, repeats = 10
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats",
[
("rx_main_nco_frequencies", -2000000000, 2000000000, 1, 3, 10),
("tx_main_nco_frequencies", -6000000000, 6000000000, 1, 3, 10),
("rx_channel_nco_frequencies", -500000000, 500000000, 1, 3, 10),
("tx_channel_nco_frequencies", -750000000, 750000000, 1, 3, 10),
("rx_main_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_phases", -180000, 180000, 1, 1, 10),
("rx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
("tx_channel_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
],
)
def test_ad9084_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats
)
test/test_ad9084.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ad785a50>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_attr[tx_channel_nco_frequencies--750000000-750000000-1-3-10-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_attribute_single_value = <function attribute_single_value at 0x7f65b19a97e0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084'
attr = 'tx_channel_nco_frequencies', start = -750000000, stop = 750000000
step = 1, tol = 3, repeats = 10
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats",
[
("rx_main_nco_frequencies", -2000000000, 2000000000, 1, 3, 10),
("tx_main_nco_frequencies", -6000000000, 6000000000, 1, 3, 10),
("rx_channel_nco_frequencies", -500000000, 500000000, 1, 3, 10),
("tx_channel_nco_frequencies", -750000000, 750000000, 1, 3, 10),
("rx_main_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_phases", -180000, 180000, 1, 1, 10),
("rx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
("tx_channel_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
],
)
def test_ad9084_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats
)
test/test_ad9084.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac710eb0>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_attr[rx_main_nco_phases--180000-180000-1-1-10-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_attribute_single_value = <function attribute_single_value at 0x7f65b19a97e0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084', attr = 'rx_main_nco_phases'
start = -180000, stop = 180000, step = 1, tol = 1, repeats = 10
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats",
[
("rx_main_nco_frequencies", -2000000000, 2000000000, 1, 3, 10),
("tx_main_nco_frequencies", -6000000000, 6000000000, 1, 3, 10),
("rx_channel_nco_frequencies", -500000000, 500000000, 1, 3, 10),
("tx_channel_nco_frequencies", -750000000, 750000000, 1, 3, 10),
("rx_main_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_phases", -180000, 180000, 1, 1, 10),
("rx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
("tx_channel_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
],
)
def test_ad9084_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats
)
test/test_ad9084.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac5dc0d0>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_attr[tx_main_nco_phases--180000-180000-1-1-10-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_attribute_single_value = <function attribute_single_value at 0x7f65b19a97e0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084', attr = 'tx_main_nco_phases'
start = -180000, stop = 180000, step = 1, tol = 1, repeats = 10
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats",
[
("rx_main_nco_frequencies", -2000000000, 2000000000, 1, 3, 10),
("tx_main_nco_frequencies", -6000000000, 6000000000, 1, 3, 10),
("rx_channel_nco_frequencies", -500000000, 500000000, 1, 3, 10),
("tx_channel_nco_frequencies", -750000000, 750000000, 1, 3, 10),
("rx_main_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_phases", -180000, 180000, 1, 1, 10),
("rx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
("tx_channel_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
],
)
def test_ad9084_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats
)
test/test_ad9084.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac68e0b0>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_attr[rx_channel_nco_phases--180000-180000-1-1-10-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_attribute_single_value = <function attribute_single_value at 0x7f65b19a97e0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084'
attr = 'rx_channel_nco_phases', start = -180000, stop = 180000, step = 1
tol = 1, repeats = 10
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats",
[
("rx_main_nco_frequencies", -2000000000, 2000000000, 1, 3, 10),
("tx_main_nco_frequencies", -6000000000, 6000000000, 1, 3, 10),
("rx_channel_nco_frequencies", -500000000, 500000000, 1, 3, 10),
("tx_channel_nco_frequencies", -750000000, 750000000, 1, 3, 10),
("rx_main_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_phases", -180000, 180000, 1, 1, 10),
("rx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
("tx_channel_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
],
)
def test_ad9084_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats
)
test/test_ad9084.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac713220>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_attr[tx_channel_nco_phases--180000-180000-1-1-10-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_attribute_single_value = <function attribute_single_value at 0x7f65b19a97e0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084'
attr = 'tx_channel_nco_phases', start = -180000, stop = 180000, step = 1
tol = 1, repeats = 10
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats",
[
("rx_main_nco_frequencies", -2000000000, 2000000000, 1, 3, 10),
("tx_main_nco_frequencies", -6000000000, 6000000000, 1, 3, 10),
("rx_channel_nco_frequencies", -500000000, 500000000, 1, 3, 10),
("tx_channel_nco_frequencies", -750000000, 750000000, 1, 3, 10),
("rx_main_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_phases", -180000, 180000, 1, 1, 10),
("rx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
("tx_channel_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
],
)
def test_ad9084_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats
)
test/test_ad9084.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac650b80>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_attr[tx_main_nco_test_tone_scales-0.0-1.0-0.01-0.01-10-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_attribute_single_value = <function attribute_single_value at 0x7f65b19a97e0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084'
attr = 'tx_main_nco_test_tone_scales', start = 0.0, stop = 1.0, step = 0.01
tol = 0.01, repeats = 10
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats",
[
("rx_main_nco_frequencies", -2000000000, 2000000000, 1, 3, 10),
("tx_main_nco_frequencies", -6000000000, 6000000000, 1, 3, 10),
("rx_channel_nco_frequencies", -500000000, 500000000, 1, 3, 10),
("tx_channel_nco_frequencies", -750000000, 750000000, 1, 3, 10),
("rx_main_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_phases", -180000, 180000, 1, 1, 10),
("rx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
("tx_channel_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
],
)
def test_ad9084_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats
)
test/test_ad9084.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac635690>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_attr[tx_channel_nco_test_tone_scales-0.0-1.0-0.01-0.01-10-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_attribute_single_value = <function attribute_single_value at 0x7f65b19a97e0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084'
attr = 'tx_channel_nco_test_tone_scales', start = 0.0, stop = 1.0, step = 0.01
tol = 0.01, repeats = 10
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats",
[
("rx_main_nco_frequencies", -2000000000, 2000000000, 1, 3, 10),
("tx_main_nco_frequencies", -6000000000, 6000000000, 1, 3, 10),
("rx_channel_nco_frequencies", -500000000, 500000000, 1, 3, 10),
("tx_channel_nco_frequencies", -750000000, 750000000, 1, 3, 10),
("rx_main_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_phases", -180000, 180000, 1, 1, 10),
("rx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_channel_nco_phases", -180000, 180000, 1, 1, 10),
("tx_main_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
("tx_channel_nco_test_tone_scales", 0.0, 1.0, 0.01, 0.01, 10),
],
)
def test_ad9084_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats
)
test/test_ad9084.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:70: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac58f460>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_tx_data[0-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_dma_tx = <function dma_tx at 0x7f65b19ab400>, iio_uri = 'ip:10.1.0.81'
classname = 'adi.ad9084', channel = 0
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
def test_ad9084_tx_data(test_dma_tx, iio_uri, classname, channel):
> test_dma_tx(iio_uri, classname, channel)
test/test_ad9084.py:101:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:100: in dma_tx
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac58a830>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_tx_data[1-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_dma_tx = <function dma_tx at 0x7f65b19ab400>, iio_uri = 'ip:10.1.0.81'
classname = 'adi.ad9084', channel = 1
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
def test_ad9084_tx_data(test_dma_tx, iio_uri, classname, channel):
> test_dma_tx(iio_uri, classname, channel)
test/test_ad9084.py:101:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:100: in dma_tx
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ad7863b0>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_tx_data[2-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_dma_tx = <function dma_tx at 0x7f65b19ab400>, iio_uri = 'ip:10.1.0.81'
classname = 'adi.ad9084', channel = 2
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
def test_ad9084_tx_data(test_dma_tx, iio_uri, classname, channel):
> test_dma_tx(iio_uri, classname, channel)
test/test_ad9084.py:101:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:100: in dma_tx
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac5de860>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_tx_data[3-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_dma_tx = <function dma_tx at 0x7f65b19ab400>, iio_uri = 'ip:10.1.0.81'
classname = 'adi.ad9084', channel = 3
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
def test_ad9084_tx_data(test_dma_tx, iio_uri, classname, channel):
> test_dma_tx(iio_uri, classname, channel)
test/test_ad9084.py:101:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/dma_tests.py:100: in dma_tx
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac58b4f0>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_cyclic_buffers[param_set0-0-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_cyclic_buffer = <function cyclic_buffer at 0x7f65aee501f0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084', channel = 0
param_set = {'rx_channel_nco_frequencies': [0, 0, 0, 0], 'rx_channel_nco_phases': [0, 0, 0, 0], 'rx_main_nco_frequencies': [1000000000, 1000000000, 1000000000, 1000000000], 'rx_main_nco_phases': [0, 0, 0, 0], ...}
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"param_set",
[
dict(
rx_nyquist_zone=["odd", "odd", "odd", "odd"],
tx_channel_nco_gain_scales=[0.5, 0.5, 0.5, 0.5],
rx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
tx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
rx_channel_nco_frequencies=[0, 0, 0, 0],
tx_channel_nco_frequencies=[0, 0, 0, 0],
rx_main_nco_phases=[0, 0, 0, 0],
tx_main_nco_phases=[0, 0, 0, 0],
rx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_test_tone_en=[0, 0, 0, 0],
tx_main_nco_test_tone_en=[0, 0, 0, 0],
)
],
)
def test_ad9084_cyclic_buffers(
test_cyclic_buffer, iio_uri, classname, channel, param_set
):
> param_set = scale_field(param_set, iio_uri)
test/test_ad9084.py:130:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/test_ad9084.py:14: in scale_field
dev = adi.ad9084(uri=iio_uri)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac4cc310>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_cyclic_buffers[param_set0-1-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_cyclic_buffer = <function cyclic_buffer at 0x7f65aee501f0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084', channel = 1
param_set = {'rx_channel_nco_frequencies': [0, 0, 0, 0], 'rx_channel_nco_phases': [0, 0, 0, 0], 'rx_main_nco_frequencies': [1000000000, 1000000000, 1000000000, 1000000000], 'rx_main_nco_phases': [0, 0, 0, 0], ...}
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"param_set",
[
dict(
rx_nyquist_zone=["odd", "odd", "odd", "odd"],
tx_channel_nco_gain_scales=[0.5, 0.5, 0.5, 0.5],
rx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
tx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
rx_channel_nco_frequencies=[0, 0, 0, 0],
tx_channel_nco_frequencies=[0, 0, 0, 0],
rx_main_nco_phases=[0, 0, 0, 0],
tx_main_nco_phases=[0, 0, 0, 0],
rx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_test_tone_en=[0, 0, 0, 0],
tx_main_nco_test_tone_en=[0, 0, 0, 0],
)
],
)
def test_ad9084_cyclic_buffers(
test_cyclic_buffer, iio_uri, classname, channel, param_set
):
> param_set = scale_field(param_set, iio_uri)
test/test_ad9084.py:130:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/test_ad9084.py:14: in scale_field
dev = adi.ad9084(uri=iio_uri)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac660730>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_cyclic_buffers[param_set0-2-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_cyclic_buffer = <function cyclic_buffer at 0x7f65aee501f0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084', channel = 2
param_set = {'rx_channel_nco_frequencies': [0, 0, 0, 0], 'rx_channel_nco_phases': [0, 0, 0, 0], 'rx_main_nco_frequencies': [1000000000, 1000000000, 1000000000, 1000000000], 'rx_main_nco_phases': [0, 0, 0, 0], ...}
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"param_set",
[
dict(
rx_nyquist_zone=["odd", "odd", "odd", "odd"],
tx_channel_nco_gain_scales=[0.5, 0.5, 0.5, 0.5],
rx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
tx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
rx_channel_nco_frequencies=[0, 0, 0, 0],
tx_channel_nco_frequencies=[0, 0, 0, 0],
rx_main_nco_phases=[0, 0, 0, 0],
tx_main_nco_phases=[0, 0, 0, 0],
rx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_test_tone_en=[0, 0, 0, 0],
tx_main_nco_test_tone_en=[0, 0, 0, 0],
)
],
)
def test_ad9084_cyclic_buffers(
test_cyclic_buffer, iio_uri, classname, channel, param_set
):
> param_set = scale_field(param_set, iio_uri)
test/test_ad9084.py:130:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/test_ad9084.py:14: in scale_field
dev = adi.ad9084(uri=iio_uri)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac4e70d0>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_cyclic_buffers[param_set0-3-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_cyclic_buffer = <function cyclic_buffer at 0x7f65aee501f0>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084', channel = 3
param_set = {'rx_channel_nco_frequencies': [0, 0, 0, 0], 'rx_channel_nco_phases': [0, 0, 0, 0], 'rx_main_nco_frequencies': [1000000000, 1000000000, 1000000000, 1000000000], 'rx_main_nco_phases': [0, 0, 0, 0], ...}
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"param_set",
[
dict(
rx_nyquist_zone=["odd", "odd", "odd", "odd"],
tx_channel_nco_gain_scales=[0.5, 0.5, 0.5, 0.5],
rx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
tx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
rx_channel_nco_frequencies=[0, 0, 0, 0],
tx_channel_nco_frequencies=[0, 0, 0, 0],
rx_main_nco_phases=[0, 0, 0, 0],
tx_main_nco_phases=[0, 0, 0, 0],
rx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_test_tone_en=[0, 0, 0, 0],
tx_main_nco_test_tone_en=[0, 0, 0, 0],
)
],
)
def test_ad9084_cyclic_buffers(
test_cyclic_buffer, iio_uri, classname, channel, param_set
):
> param_set = scale_field(param_set, iio_uri)
test/test_ad9084.py:130:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/test_ad9084.py:14: in scale_field
dev = adi.ad9084(uri=iio_uri)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac5bca60>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_cyclic_buffers_exception[param_set0-0-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_cyclic_buffer_exception = <function cyclic_buffer_exception at 0x7f65aee50280>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084', channel = 0
param_set = {'rx_channel_nco_frequencies': [0, 0, 0, 0], 'rx_channel_nco_phases': [0, 0, 0, 0], 'rx_main_nco_frequencies': [1000000000, 1000000000, 1000000000, 1000000000], 'rx_main_nco_phases': [0, 0, 0, 0], ...}
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"param_set",
[
dict(
rx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
tx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
rx_channel_nco_frequencies=[0, 0, 0, 0],
tx_channel_nco_frequencies=[0, 0, 0, 0],
rx_main_nco_phases=[0, 0, 0, 0],
tx_main_nco_phases=[0, 0, 0, 0],
rx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_test_tone_en=[0, 0, 0, 0],
tx_main_nco_test_tone_en=[0, 0, 0, 0],
)
],
)
def test_ad9084_cyclic_buffers_exception(
test_cyclic_buffer_exception, iio_uri, classname, channel, param_set
):
> param_set = scale_field(param_set, iio_uri)
test/test_ad9084.py:158:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/test_ad9084.py:14: in scale_field
dev = adi.ad9084(uri=iio_uri)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac5efbe0>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_cyclic_buffers_exception[param_set0-1-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_cyclic_buffer_exception = <function cyclic_buffer_exception at 0x7f65aee50280>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084', channel = 1
param_set = {'rx_channel_nco_frequencies': [0, 0, 0, 0], 'rx_channel_nco_phases': [0, 0, 0, 0], 'rx_main_nco_frequencies': [1000000000, 1000000000, 1000000000, 1000000000], 'rx_main_nco_phases': [0, 0, 0, 0], ...}
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"param_set",
[
dict(
rx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
tx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
rx_channel_nco_frequencies=[0, 0, 0, 0],
tx_channel_nco_frequencies=[0, 0, 0, 0],
rx_main_nco_phases=[0, 0, 0, 0],
tx_main_nco_phases=[0, 0, 0, 0],
rx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_test_tone_en=[0, 0, 0, 0],
tx_main_nco_test_tone_en=[0, 0, 0, 0],
)
],
)
def test_ad9084_cyclic_buffers_exception(
test_cyclic_buffer_exception, iio_uri, classname, channel, param_set
):
> param_set = scale_field(param_set, iio_uri)
test/test_ad9084.py:158:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/test_ad9084.py:14: in scale_field
dev = adi.ad9084(uri=iio_uri)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac603310>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_cyclic_buffers_exception[param_set0-2-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_cyclic_buffer_exception = <function cyclic_buffer_exception at 0x7f65aee50280>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084', channel = 2
param_set = {'rx_channel_nco_frequencies': [0, 0, 0, 0], 'rx_channel_nco_phases': [0, 0, 0, 0], 'rx_main_nco_frequencies': [1000000000, 1000000000, 1000000000, 1000000000], 'rx_main_nco_phases': [0, 0, 0, 0], ...}
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"param_set",
[
dict(
rx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
tx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
rx_channel_nco_frequencies=[0, 0, 0, 0],
tx_channel_nco_frequencies=[0, 0, 0, 0],
rx_main_nco_phases=[0, 0, 0, 0],
tx_main_nco_phases=[0, 0, 0, 0],
rx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_test_tone_en=[0, 0, 0, 0],
tx_main_nco_test_tone_en=[0, 0, 0, 0],
)
],
)
def test_ad9084_cyclic_buffers_exception(
test_cyclic_buffer_exception, iio_uri, classname, channel, param_set
):
> param_set = scale_field(param_set, iio_uri)
test/test_ad9084.py:158:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/test_ad9084.py:14: in scale_field
dev = adi.ad9084(uri=iio_uri)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ad8d5750>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception
Check warning on line 0 in test.test_ad9084
github-actions / Test Results
test_ad9084_cyclic_buffers_exception[param_set0-3-adi.ad9084] (test.test_ad9084) failed
results.xml [took 0s]
Raw output
Exception: No device found with name axi-ad9084b-rx-b
test_cyclic_buffer_exception = <function cyclic_buffer_exception at 0x7f65aee50280>
iio_uri = 'ip:10.1.0.81', classname = 'adi.ad9084', channel = 3
param_set = {'rx_channel_nco_frequencies': [0, 0, 0, 0], 'rx_channel_nco_phases': [0, 0, 0, 0], 'rx_main_nco_frequencies': [1000000000, 1000000000, 1000000000, 1000000000], 'rx_main_nco_phases': [0, 0, 0, 0], ...}
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"param_set",
[
dict(
rx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
tx_main_nco_frequencies=[1000000000, 1000000000, 1000000000, 1000000000],
rx_channel_nco_frequencies=[0, 0, 0, 0],
tx_channel_nco_frequencies=[0, 0, 0, 0],
rx_main_nco_phases=[0, 0, 0, 0],
tx_main_nco_phases=[0, 0, 0, 0],
rx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_phases=[0, 0, 0, 0],
tx_channel_nco_test_tone_en=[0, 0, 0, 0],
tx_main_nco_test_tone_en=[0, 0, 0, 0],
)
],
)
def test_ad9084_cyclic_buffers_exception(
test_cyclic_buffer_exception, iio_uri, classname, channel, param_set
):
> param_set = scale_field(param_set, iio_uri)
test/test_ad9084.py:158:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/test_ad9084.py:14: in scale_field
dev = adi.ad9084(uri=iio_uri)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9084.ad9084 object at 0x7f65ac662e30>, uri = 'ip:10.1.0.81'
rx1_device_name = 'axi-ad9084-rx-hpc', rx2_device_name = 'axi-ad9084b-rx-b'
tx1_device_name = 'axi-ad9084-tx-hpc', tx2_device_name = 'axi-ad9084-tx-b'
def __init__(
self,
uri="",
rx1_device_name="axi-ad9084-rx-hpc",
rx2_device_name="axi-ad9084b-rx-b",
tx1_device_name="axi-ad9084-tx-hpc",
tx2_device_name="axi-ad9084-tx-b",
):
"""Create a new instance of the AD9084 MxFE
rx1_device_name is used as the name for the control device and RX1/TX1 data device
Args:
uri: URI of device
rx1_device_name: Name of RX1 device driver. Default is 'axi-ad9084-rx-hpc'
rx2_device_name: Name of RX2 device driver. Default is 'axi-ad9084b-rx-b'
tx1_device_name: Name of TX1 device driver. Default is 'axi-ad9084-tx-hpc'
tx2_device_name: Name of TX2 device driver. Default is 'axi-ad9084-tx-b'
"""
# Reset default channel lists
self._rx_channel_names = []
self._tx_channel_names = []
self._tx_control_channel_names = []
self._rx_coarse_ddc_channel_names = []
self._tx_coarse_duc_channel_names = []
self._rx_fine_ddc_channel_names = []
self._tx_fine_duc_channel_names = []
self._dds_channel_names = []
context_manager.__init__(self, uri, self._device_name)
# Default device for attribute writes
self._ctrl = self._ctx.find_device(rx1_device_name)
# Devices with buffers
self._rxadc = self._ctx.find_device(rx1_device_name)
self._txdac = self._ctx.find_device(tx1_device_name)
self._rxadc2 = self._ctx.find_device(rx2_device_name)
self._txdac2 = self._ctx.find_device(tx2_device_name)
# Checks
for dev, name in zip(
[self._rxadc, self._txdac, self._rxadc2, self._txdac2],
[rx1_device_name, tx1_device_name, rx2_device_name, tx2_device_name],
):
if dev is None:
> raise Exception(f"No device found with name {name}")
E Exception: No device found with name axi-ad9084b-rx-b
adi/ad9084.py:121: Exception