11-09-2014 03:37 AM
Hello, I am using NI-USB-DAQ-6009 and four microphones connected to analog input channels of DAQ.I want to save microphone data as .wav file using Labview 2013.Can anybody please help how to save the data through multiple channels as separate .wav files ?
11-10-2014 07:54 AM
Acquire the data simultaneously. This will produce a 1-D array of 4 waveforms (or a 2-D array of numbers, depending how you do it). Then split the data into 4 separate channels prior to passing it into the Sound File Write Simple vi. You can do this by putting the vi in a four loop, and allowing the data to be indexed as it enters. If you need more than a simple finite acquisition, you should use the Sound File Open/Write/Close vis so you can write continously to the channel specific files as long as you are still recording. This is a little more complicated, but not difficult.
Chris
11-12-2014 12:41 AM
I saw an example which was saving the data from all channels combined into a single .wav file ,I don't know how to split that data into four channels ?
11-12-2014 08:10 AM
Either use Index Array or allow it to auto-index as it enters a for (four? ha!) loop to divide the data up by channels. It would be easier to provide suggestions if you posted a picture of your code.