05-13-2011 07:28 AM
I need multichannel audio input for my project. I can't seem to read more than 2 channels of my audio interface.
The interface Im using is an Alesis Multimix8 USB 2 mixer and and audio interface. This supports 10 channels in and 2 out. With other software I can read all input channels simultaneously without any difficulty. When I specify the sound input configure and sound input read, to read more than 2 channels any extra channel is a blank signal. Im using Labview 8.5 here.
Solved! Go to Solution.
05-13-2011 07:48 AM
Induvidual channel has to be configured independently,
say if you have 2 devices then device id will be 0&1,
or if in that ten channels if you consider as stereo, then you will get 5 recordings. Channel 1&2 will act as 1 stereo in this case you need to have 5 config VI's.
If you are going for mono recording then you have to use 10 config VI's.
If you have only one VI which can be used as re-entrant then it makes even simpler.
05-13-2011 08:23 AM
I only have a single audio device, if I specify device ID as any number other then 0 I get a "selected device is invalid"?
Heres my block diagram for 3 mono channels:
05-13-2011 08:29 AM
This wont work if you are trying to read from different channels. You are trying to read data from one device ID 3 times, the data may be correct.
Do one thing, select the express VI named Acquire sound, The device ID there is drop down box, You can select induvidual devices, and you will come to know how many devices you have in your system. Try this, you need to give different device ID to get output from different channels.
05-13-2011 08:46 AM
Ive tried this. It gives a single device and only device ID is 0.
05-13-2011 08:52 AM
Is the device ID 0 your local computer sound card or external ? Is LabVIEW detecting your device?
05-13-2011 08:59 AM
Its an external USB sound device and labview is detecting it. I can record off it but only from the first two channels. Ive disabled local computer sound devices.
05-13-2011 09:12 AM
Try checking Sounds and Audio properties in control panel go to Audio tab and check how many devices that your operating system is detecting, if OS is detecting 1 then
LabVIEW will do the same to, check if you have any external switches to enable all channels. I also have worked on Hammerfal sound card which supported 8 channel playing and recording and all the channels was detected in LabVIEW.
05-13-2011 02:21 PM
Take a look here
http://forums.ni.com/t5/LabVIEW/Play-waveform-express-vi-list-devices-on-front-panel/td-p/1559336
05-17-2011 10:58 AM
Thanks for the replys the post linked by Coq Rouge led me to alternative sound Vis at:
http://www.zeitnitz.de/Christian/waveio?mid=103
It seems the inbuilt labview sound functions support no more than 2 channels, the alternative above supports more than 2 channels.