Esempio n. 1
0
    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)        
Esempio n. 2
0
 def _setup_tx_path(self, options):
     print "OPTIONS", options
     self.txpath = transmit_path(options)
Esempio n. 3
0
 def _setup_tx_path(self,options):
   print "OPTIONS", options
   self.txpath = transmit_path(options)