|
From: | Jay Gaona |
Subject: | [Discuss-gnuradio] Adding dual usrp sink block to benchmark_tx.py |
Date: | Sat, 26 Feb 2011 05:17:54 -0500 |
Hello everyone, I've added a dual usrp sink block and duplicated the tx flow graphs in benchmark_tx.py example. However, I am unable to transmit packets when I set the following in the flow graph: self.packet_transmitter = \ blks2.mod_pkts(modulator, access_code=None, msgq_limit=4, pad_for_usrp=True) self.packet_transmitter_2 = \ blks2.mod_pkts(modulator_2, access_code=None, msgq_limit=4, pad_for_usrp=True) self.connect(self.packet_transmitter, self.amp, (self, 0)) self.connect(self.packet_transmitter_2, self.amp_2, (self, 1)) I have tried the following 2 codes and were able to transmit packets from the first flow graph, and then the packets from the second flow graph: self.connect(self.packet_transmitter, self.amp, (self, 0)) self.connect(self.null_source, self.amp_2, (self, 1)) self.connect(self.null_source, self.amp, (self, 0)) self.connect(self.packet_transmitter_2, self.amp_2, (self, 1)) Any idea why I am unable to simultaneously transmit packets from both flow graphs? Thanks in advance! |
[Prev in Thread] | Current Thread | [Next in Thread] |