USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

USRP 2944R Reading Channel 0 and 1 at the same time

Solved!
Go to solution

Hi everyone,

 

I'm struggling to come up with a VI that can read both RX2s on my NI USRP 2944R. In my VI I would like to take in the data from both channels RF0 and RF1 then pass them through to TDMS streaming, which works fine for one channel. I think the problem I am having is after my "Rx Fetch data" block, I am not sure how to split the data into the two different channels so they can be written to seperate TDMS files.

In the photo I've uploaded:

1. I the "Channel list" inputs I've left empty as I believe this enables all channels as I want.

2. This is where I believe I have to split the channel data, sending channel RF 0 RX2 to the top and RF 1 RX2 to the bottom.

 

I hope this is just a trivial thing I have missed, thanks for the help in advance!

Sorry for the VI naming scheme I've done so many iterations at this point I have given up coming up with original names 😁

Download All
0 Kudos
Message 1 of 2
(1,108 Views)
Solution
Accepted by dalexander98

Hello,

 

We have already solved this issue with you in our service request, but I would just like to add the answer here as well for anyone searching for this in the future.

 

A good starting point for reading multiple USRP channels is the LabVIEW example "niUSRP EX Rx Multiple Inputs (Single Device, Multi Channel) " which can be found in Start National Instruments NI-USRP Examples.

 

Then to separate the data for each channel to write to different files, you can use the index array VI to get the two separate channels from the 2D array output of the USRP Fetch VI, the 0 index will be your channel 0, 1st index channel 1 etc.

 

Thanks,

 

Alasdair

 

 

0 Kudos
Message 2 of 2
(1,065 Views)