05-16-2014 04:51 AM - edited 05-16-2014 04:51 AM
From this topic : http://forums.ni.com/t5/LabWindows-CVI/I-want-Example-FM-Receiver-for-RFSP-on-CVI-please/m-p/2811486
I can demodulate the signal that came from IQ data using Modulation Toolkit and collect message data in array.
then I export message array to txt file in ASCII format using ArrayToFile function and i can play it correctly in MATLAB by using sound command.
Finally , I try to play message signal directly through soundcard without using MATLAB but i'can't .
I try to learn in example in this forum [Ex. sndplay , CVIDsound etc. ] but i can't fix it
CVIDsound is look pretty good but it is so complicate , i can't find the way to send my message array to play with Dsound.
Can you keep me the simple example to using Dsound or guide me to use it.
05-16-2014 04:55 AM
05-19-2014 02:40 PM
Hi,
Take a look at the following article as a starting point:
http://digital.ni.com/public.nsf/allkb/862567530005F09C8525643D004B34AC?OpenDocument
Specifically, notice the examples in the Related Links section.
It looks like our examples typically deal with playing WAV or other formatted audio file types from CVI. It may be that you want to convert your data into a .wav file in order to more easily use it. Otherwise, you may need to dig into the Windows SDK a little further to find lower level soundcard functions to do exactly what you want.
Regards,