Exemple #1
0
    def __init__(self, uri=""):

        context_manager.__init__(self, uri, self._device_name)

        self._txdac = self._ctx.find_device("axi-ad9144-hpc")

        tx.__init__(self)
Exemple #2
0
    def __init__(self, uri="", username="******", password="******"):

        context_manager.__init__(self, uri, self._device_name)

        self._txdac = self._ctx.find_device("axi-ad9136-tx-hpc")
        self._jesd = jesd(uri, username='******', password=None)

        tx.__init__(self)
Exemple #3
0
    def __init__(self, uri=""):

        context_manager.__init__(self, uri, self._device_name)

        self._txdac = self._ctx.find_device("axi-ad9172-hpc")
        if not self._txdac:
            raise RuntimeError("Could not find axi-ad9172-hpc")

        for chan in self._txdac.channels:
            if (hasattr(chan, "scan_element") and chan.scan_element
                    and chan.id not in self._tx_channel_names):
                self._tx_channel_names.append(chan.id)

        self._tx_channel_names = _sortconv(self._tx_channel_names)

        tx.__init__(self)
Exemple #4
0
 def __init__(self, ctx, obs_dev, channel_names, complex_data=True):
     self._ctx = ctx
     self._txdac = obs_dev
     self._tx_channel_names = channel_names
     self._complex_data = complex_data
     tx.__init__(self)
Exemple #5
0
 def __init__(self, uri=""):
     context_manager.__init__(self, uri, self._device_name)
     self._txdac = self._ctx.find_device("ad5627")
     tx.__init__(self)