Exemple #1
0
 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)
Exemple #2
0
 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)