Re: 2 SDRs – Parallel Programming

2024-01-07 Thread Adrian Musceac
On Monday, 8 January 2024 07:52:04 EET Oğuzhan Gedikli wrote: > Hello Jim, > I am sending the code you see above that I wrote before as an example. If > you enable the time.sleep(2) commands, you will see that the 'Total Switch > Time' takes about 2.2 seconds (this is what I observed). This brings

RE: 2 SDRs – Parallel Programming

2024-01-07 Thread Oğuzhan Gedikli
def switch_source(usrp_source, freq, lo_offset): start_souce = time.perf_counter() # time.sleep(2) usrp_source.set_center_freq(uhd.tune_request(freq, rf_freq=freq - lo_offset, rf_freq_policy=uhd.tune_request.POLICY_MANUAL), 0) end_so

Re: Passing a list via message

2024-01-07 Thread vitt...@pm.me
Well, it looks like I have to award myself the first nOOb medal in 2024 The last two simple lines provide the explanation: sat_list = list(sats.keys()) print (sat_list[:5]) tag = pmt.string_to_symbol("sats") value = pmt.to_pmt(sat_list) sats_msg = pmt.cons(tag, value) self.message_port_pub(pmt.

Re: 2 SDRs – Parallel Programming

2024-01-07 Thread Marcus Müller
Hi, I explicitly mentioned the time stamps you need to set. You're not setting these, so it doesn't use timed commands. Best, Marcus On 05.01.24 13:38, Oğuzhan Gedikli wrote: Hello Marcus, The boards  I have are b200 and b210. I want to change the frequency of 2 SDRs at the same time. Eve