LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.bin to .wav

Hi,

I realize an acquisition using a NI4472 through a micro. I save datas in a diadem file (.dat)
Now, I want to convert the file in a .wav file.
I realize a short vi to do this but it doesn't work well. I use get waveform component and then I use a data array as input for the Snd write wave file.vi.
At the beginning, I realized my acquisition with a scan rate of 40 kHz then I modify with 44.1 kHz to have the same scan rate than the wave file. But it's the same. When I use the wave file player.vi, I have a scan rate of 11025 and I have nothing.
Thanks for your help.
0 Kudos
Message 1 of 3
(3,135 Views)
Hi Franc,
In the Developer Zone Example Database, there are some examples to get started with acquring data and saving in WAV. format. Maybe, they can be useful for debugging your application. Here you have the links:
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DA5956A4E034080020E74861&p_node=DZ52303&p_source=External

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=BB8742E2D29A030EE034080020E74861&p_node=200509&p_source=External

I hope this helps. Tell me if they were useful for you.

cristobalR
0 Kudos
Message 2 of 3
(3,135 Views)
Thanks for your answer,

But finally I find the answer just after to post my question.
To analyse my data, I use Diadem and it's possible to convert a .dat file into a .wav file. I've just modificate a little the configuration.
0 Kudos
Message 3 of 3
(3,135 Views)