LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write Tx Data and Sampling

Solved!
Go to solution

Hello all,

 

I was curious about what if any sampling is done by the Write Tx Data block. In the example code niUSRP EX Tx Continuous Async.vi Two sine waveforms are combined to make a complex exponential. This complex exponential is passed into the Write Tx Data block. My question becomes this: does the Write Tx Data block sample its input data? And if so, how should that sampling rate compare to the sampling rate of the input data?

 

Thank you for the assistance!

0 Kudos
Message 1 of 4
(2,564 Views)
Solution
Accepted by topic author krmills

@krmills wrote:

This complex exponential is passed into the Write Tx Data block. My question becomes this: does the Write Tx Data block sample its input data? And if so, how should that sampling rate compare to the sampling rate of the input data?


The two sine's are combined to form an IQ signal. Not sure where the term "complex exponential" comes from. 

 

The data is fed to the DDS at the programmed IQ rate. The DDS converts it up to the desired output frequency. Since your providing IQ data, the provided frequencies can be positive or negative. That's why the output frequency is the center, and you get your IQ data around that center.

 

So the data should be provided at the rate expected. If you make a 1 MHz sine, and you want the IQ rate to be 10 MHz, you need to create a 1MHz sine at 10 MHz. The output frequency is no factor in this.

 

Also see: Google How a DDS Works, What is IQ data and highly recommended I/Q Data for Dummies (because it's good, not calling you a dummy, I've read it).

Message 2 of 4
(2,520 Views)

Thank you for the response! That really helps clarify things for me.

 

To clarify something for you, by "complex exponential" I was referring  to Euler's formula. That is, exp(jx) = cos(x) + jsin(x).

0 Kudos
Message 3 of 4
(2,500 Views)

@krmills wrote:

Thank you for the response! That really helps clarify things for me.

 

To clarify something for you, by "complex exponential" I was referring  to Euler's formula. That is, exp(jx) = cos(x) + jsin(x).


Ah, yes of course.  you're right, complex exponential like e(iwt) is a sine wave.

0 Kudos
Message 4 of 4
(2,494 Views)