def __init__(self, tx_cyclic_buffer=False): if self._complex_data: N = 2 else: N = 1 tx_enabled_channels = list(range(len(self._tx_channel_names) // N)) self._num_tx_channels = len(self._tx_channel_names) self.tx_enabled_channels = tx_enabled_channels self.tx_cyclic_buffer = tx_cyclic_buffer dds.__init__(self)
def __init__(self, tx_enabled_channels, tx_cyclic_buffer=False): self.tx_enabled_channels = tx_enabled_channels self.tx_cyclic_buffer = tx_cyclic_buffer dds.__init__(self)