LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Voltage to .wav problem

Hello,

 

I try to convert a data file to a .wav file using Sound File Write Simple.vi with LV2020 but the output file is still the original .xls file. 

I am wondering about the format of the data input I shall give to .vi. 

 

Could anyone give me a hint on this ? 

 

Thanks ! 

 

 

0 Kudos
Message 1 of 2
(728 Views)

Hi Gb,

 


@Gb7384 wrote:

I try to convert a data file to a .wav file using Sound File Write Simple.vi with LV2020 but the output file is still the original .xls file. 

I am wondering about the format of the data input I shall give to .vi.  


Where do you even try to convert some data?

 

  1. When you already have a "data file" then you need to read that data first!
  2. Then you need to convert that data into waveforms.
  3. Now you can use the SoundFileWriteSimple function to actually write those waveforms into the desired *.wav file…

(When your "data file" really is a XLS file then you should use the RGT functions to read the data…)

 

SoundFileWriteSimple expects waveforms ("format of the data") - as can be read in the LabVIEW help for this function. Did you read the help?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(703 Views)