LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to get I and Q value from USRP-2955

Hi all,

 

I'm new to labview, and i'm trying to get I and Q values on the FPGA, so i can do some math (fft for example) on he FPGA (not host).

I've seen some examples about it, and got to a conclusion that i need an I/O node of RF0/RX1/I(Q), but i couldn't find it.

I'm using labview 2016 and own USRP-2955.

 

Thanks!

 

Message 1 of 9
(4,784 Views)

This is a wild guess (don't currently have USRP drivers installed):

could it be that the read VI is polymorphic? If you right click and select Visible Items, can you check "Polymorphic VI Selector"?

 

Guess 2:

The data might be interleaved. Use Decimate Array to split it into I and Q (I,Q,I,Q,I,Q,... -> I,I,I,... and Q,Q,Q,...).

0 Kudos
Message 2 of 9
(4,769 Views)

1. Do you mean VI of the FFT example i found? Or the new project?

2. Do you have any idea how can I check if this is true?

0 Kudos
Message 3 of 9
(4,751 Views)

@Idansh08 wrote:

1. Do you mean VI of the FFT example i found? Or the new project?


The read VI. Remember, it's a guess.


Idansh08 wrote:

2. Do you have any idea how can I check if this is true?


Look at the data from the read VI. If the data is interleaved it looks like two signals mixed together in one signal.

0 Kudos
Message 4 of 9
(4,748 Views)

A code snippet of what you have so far might be useful.

0 Kudos
Message 5 of 9
(4,747 Views)

Attached two files, "Streaming Xcvr(FPGA).vi" is an example I found (someone uploaded it with a question).

"Streaming 2945 2955" is just a simple LabView example for NI-USRP 2955 with the thing you said about the I and Q (on the FPGA vi).

Download All
0 Kudos
Message 6 of 9
(4,724 Views)

Well, half the code is broken since I don't have FPGA or USRP installed.

 

But the RF 0/Rx/I and RF 0/Rx/Q (just left from the to I16 to IQ vi's) seem to return the I and Q signals.

 

IQ.png

 

0 Kudos
Message 7 of 9
(4,719 Views)

That's probably correct, but when I open my own project, I don't have any  RF 0/Rx/I or  RF 0/Rx/Q, I have only as shown in the picture

Untitled1.jpg

Message 8 of 9
(4,714 Views)

Hello, I ran into the same question, using USRP-2945.  I know its been 5 years since your last post above, and hope you solved your situation at that time.  

 

As I ran into the same question as yours, I checked hardware architecture of USRP-2945 and found an article blow.   

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Y9TSAU&l=ja-JP

 

Looks like USRP-2945/2955 has heterodyne architecture which is different from other USRP-RIO devices.  What we have from IO node "RF 0/Rx/Rx1" for 2945/2955 is IF signal, while I/Q is directly provided from IO node for other USRP RIO devices.  To further downconvert the IF to get IQ, DDCs are applied right after the IO node of IF signal.  So, IQ for 2945/2955 are not provided from IO node only, but from DDC output.  

 

Best regards,

0 Kudos
Message 9 of 9
(2,523 Views)