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: 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

Re: 2 SDRs – Parallel Programming

2024-01-05 Thread Marcus D. Leech
On 05/01/2024 10:33, Jim Melton wrote: This has less to do with GNU Radio and more to do with real-time programming . A system is said to be real-time if the total correctness of an operation depends not only upon its logical correctness, bu

RE: 2 SDRs – Parallel Programming

2024-01-05 Thread Jim Melton
on GNU Radio application could achieve them. Maybe my brain is frozen in the past and it is very doable now, but that hasn’t been my experience. --- Jim Melton Sent: Friday, January 5, 2024 05:39 To: marcus.muel...@ettus.com; discuss-gnuradio@gnu.org Subject: [EXTERNAL] Re: 2 SDRs – Parallel Program

Re: 2 SDRs – Parallel Programming

2024-01-05 Thread Oğuzhan Gedikli
Hello Marcus, The boards I have are b200 and b210. I want to change the frequency of 2 SDRs at the same time. Even if I write the codes in parallel, the frequency of one of the SDRs changes first, and then the frequency of the other one changes. I want 2 of them to run in parallel. I looked a

Re: 2 SDRs – Parallel Programming

2024-01-04 Thread Marcus Müller
Hello Oğuzhan, so, what radios are these? Generally, this *very* much sounds like you need to use timed commands, which trigger the tuning at a specific sample time, instead of "yeah, whenever the connection between PC and the USRP has delivered the command". You can send these commands to t