def setup_transmitter_fbmc0(self): self.tb = gr.top_block() self.txpath = transmit_path(self) self.rpc_mgr_tx = zeromq.rpc_manager() self.rpc_mgr_tx.set_reply_socket("tcp://*:6660") self.rpc_mgr_tx.start_watcher() ## Adding interfaces self.rpc_mgr_tx.add_interface("set_amplitude",self.txpath.set_rms_amplitude) self.rpc_mgr_tx.add_interface("get_tx_parameters",self.txpath.get_tx_parameters) self.rpc_mgr_tx.add_interface("set_modulation",self.txpath.allocation_src.set_allocation)
def _setup_tx_path(self, options): print "OPTIONS", options self.txpath = transmit_path(options)
def _setup_tx_path(self,options): print "OPTIONS", options self.txpath = transmit_path(options)