Пример #1
0
 def send(self):
     smsg = TxSerialMsg()
     #smsg.set_counter(self.counter)
     smsg.set_crow(self.current_row)
     smsg.set_V_row(self.A[self.current_row])
     smsg.set_data(self.sym[self.current_row])
     self.mif.sendMsg(self.source, 0xFFFF, smsg.get_amType(), 0, smsg)
 def send(self):
     smsg = TxSerialMsg()
     # smsg.set_counter(self.counter)
     smsg.set_crow(self.current_row)
     smsg.set_V_row(self.A[self.current_row])
     smsg.set_data(self.sym[self.current_row])
     self.mif.sendMsg(self.source, 0xFFFF, smsg.get_amType(), 0, smsg)
	def send(self,m_i):
		smsg = TxSerialMsg()
		#smsg.set_counter(self.counter)
		smsg.set_crow(self.current_row)
		#smsg.set_V_row(self.A[self.current_row])
		smsg.set_V_row(V[m_i,:])
		smsg.set_data(self.tx_symbols[:,m_i])
		Symbol(V[self.current_row,:], self.W, self.map)	  
		smsg.set_data(self.sym[self.current_row])
		self.mif.sendMsg(self.source, 0xFFFF, smsg.get_amType(), 0, smsg)
 def send(self, m_i):
     smsg = TxSerialMsg()
     #smsg.set_counter(self.counter)
     smsg.set_crow(self.current_row)
     #smsg.set_V_row(self.A[self.current_row])
     smsg.set_V_row(V[m_i, :])
     smsg.set_data(self.tx_symbols[:, m_i])
     Symbol(V[self.current_row, :], self.W, self.map)
     smsg.set_data(self.sym[self.current_row])
     self.mif.sendMsg(self.source, 0xFFFF, smsg.get_amType(), 0, smsg)