LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to log 8 DAQmx channels into a single wav file?

please zip and post your clients wav file 😉

Message Edited by Coq Rouge on 03-23-2010 03:57 PM


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 11 of 16
(1,442 Views)

sorry did not see the note about the file.

PS it is better to use zip files than such renaming, and zip files is smaller



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 12 of 16
(1,427 Views)

Thanks for the idea about the zip file....I should have thought of that 🙂

 

Here is the wav file in attachment... 

Vincent Carpentier, Ing./Eng.
CLA, CPI
Neosoft Technologies
www.neosoft.ca
DQMH Trusted Advisor
0 Kudos
Message 13 of 16
(1,414 Views)

HI

Vincent Carpen…

I have bad news for your client. The software he/she is used is based on 16 bit numbers, and can not handle anything else than thatThe data is normalized so 2^15 equals 1000mV. If you read files that is not based on a I16 data type, the same will apply, the numbers will be converted to a I16 data type. If the number is outside the I16 range it will be truncated, no matter which data type is used. And that is causing all the problems with 24 bit wav file I guess. The software is poor designed regarding this matter.

Se my example.

Here is the .ua file type def, as it big endian based it is simpler to use in Labview http://en.wikipedia.org/wiki/Au_file_format

 



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 14 of 16
(1,395 Views)

Awesome Coq Rouge!  Great idea going with the UA file format instead of dealing with the wav.

 

It works well with your demo vi.

 

Thank you very much!

 

Vincent 

Vincent Carpentier, Ing./Eng.
CLA, CPI
Neosoft Technologies
www.neosoft.ca
DQMH Trusted Advisor
0 Kudos
Message 15 of 16
(1,368 Views)
Most audio players accept the .UA (also named .SND) file format. And the same goes for matlab. I will never use the pesky wav format again. The UA file format is very Labview friendly due to the use of Big Endian format. It is so simple that is could be done as a lesson very early in a Labview basic course.     


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 16 of 16
(1,351 Views)