Software Defined Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

.WAV FM Modulator for USRP (req Modulation Toolkit)

This example is rewritten for the USRP and also includes large file capabilities.

This VI will prompt you for a .WAV file and will read either the entire file or chunks of the file, resample it for the correct IQ rate and then send it to the USRP to play it on the specified frequency.

For large WAV files, you should choose a value other than -1 for Number of Samples.  Be sure to transmit on a frequency for which your are licensed.

Optional Modifications:

You can add a multiply function just before the Resample Waveform VI to add a digital gain or digital attenuation to your signal.  Values less than 1 will attenuate the signal and values greater than 1 will amplify the signal.

FM transmit_FP.png

fm transmit_BD.png

Anthony F.
Staff Software Engineer
National Instruments
Comments
John_Seo
Member
Member
on

Hi. Thanks for your good example.

By the way, i would like to listen the fm signal, but there is no receiver.

How could i get the signal ?

Anthony_F
NI Employee (retired)
on

I would suggest the following example

https://decibel.ni.com/content/docs/DOC-23110

Anthony F.
Staff Software Engineer
National Instruments
Titanium
Member
Member
on

Is there an equivalent program in LabVIEW Communications? Are the Sound VIs available?

arkay_97
Member
Member
on

Hello,

Thanks for the vi, I have chosen a .wav file of size 40MB but it's popping an error message saying "not enough memory to complete this action" . Please help me.Untitled.jpg

 

Aht22
Member
Member
on

hi arkay_97 ,

For the large wav file, you can use finite number of sample instead of -1 (-1 is used for read all elements of file).

 

Contributors