From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-06-2021 12:06 AM
I want to both hear and save my fm data but i am unable to properly save it.I am acquiring the data comntinuously from usrp 2920.Actually the .wav file is created but it does not play.
My Block Diagram
Solved! Go to Solution.
06-29-2021 11:07 PM
Hi Gerd Appreciate that you reply and willing to help.
Sir along this issue i am facing another issue in my VI ,that i cant record audio even tat i am able to hear fm radio but the recorded file in .wav format does not play.Attached is a snip of my VI.
I can hear the radio but i am unable to record fm radio.
Kindly suggest what may be the problem
Regards
07-06-2021 01:59 AM
Hi umairpak,
@umairpak wrote:
Actually the .wav file is created but it does not play.
According to the error message this is not a problem of your LabVIEW code.
Check your computer…
07-07-2021 02:52 AM
Hi Gerd unfortunately that is not the case!
My pc is fine, something is wrong with my code.I have attached my VI project Kindly check it. When i give a path to the sound record file it creates a path but does not save sound because it of only few kbs.
Have a productive day Thank you
07-07-2021 03:55 AM
Hi umairpak,
@umairpak wrote:
I have attached my VI project Kindly check it.
Even though you named that archive "LV2012" the VIs are saved with LV2020, so I cannot open them right now…
@umairpak wrote:
My pc is fine, something is wrong with my code.
The error message shown in your image is not a LabVIEW error message (AFAIK), but a message of your Windows OS…
07-07-2021 04:43 AM
Sir this is the 2012 program.Kindly have a look.
Note:Change the dequeue timeout to -1(default) and the multi-channel fm will work fine.
Kindly have a look when you have time.Refer to the problem
Regards Umair
07-07-2021 05:30 AM - edited 07-07-2021 05:31 AM
Hi umairpak,
@umairpak wrote:
Sir this is the 2012 program.Kindly have a look.
Now I could open the VIs.
As I don't have the USRP package installed I reduced your main VI to the bare minimum of playing the waveform sound:
I can run that minimum code without getting an error on my laptop…
Again: the error message you have shown in the image above is not a LabVIEW message. It's a message from your (Windows) OS: so I suspect it's a WindowsOS problem…
07-09-2021 01:56 AM
Hi Gerd!!!!
1.I said that i cant properly record fm radio .wav files, i did not asked about play. I can successfully play fm radio.
2.My host computer does not have a problem since i can play other .wav files on it.
3.When i try to save my fm radio broadcast it creates the .wav file but does not save any data to it.
Note: please refer to the above posts for problem snips.Gerd as you dont have the usrp soo how come you will solve the problem.
Regards have a productive day.
07-09-2021 02:55 AM
Hi umairpak,
@umairpak wrote:
1.I said that i cant properly record fm radio .wav files, i did not asked about play. I can successfully play fm radio.
3.When i try to save my fm radio broadcast it creates the .wav file but does not save any data to it.
Gerd as you dont have the usrp soo how come you will solve the problem.
From your first message (with an error message claiming "Can't play!"):
@umairpak wrote:
Actually the .wav file is created but it does not play.
1. You wrote you can create wave files, but you can't play them…
3. Attach a VI with the waveform data you want to save in a WAV file: this way we can try to debug your problem. Without your data it's hard to guess! (This also answer the point on trying to help without USRP hardware: the problem seems to be just the saving of a waveform into a WAV file! No need for USRP hardware to tackle that problem…)
07-09-2021 07:56 AM
Hi Gerd!
Actually the problem is not in writing .wav file because i can simply call any .wav file in my labview and save it again by just simple read and write commands and it works fine.
But when I try save fm broadcast the problem occurs that it is unable to properly save the .wav file(i mean it just creates a file). When i tried to save fm Broadcast from LabVIEW Modulation toolkit examples "niUSRP EX FM Demod Sound Card (Shift Reg)" it saves the .wav file but for 2s only.I guess i need to change something or add something I am very confused.
Please guide me through this usrp query.
Regards!!!