LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sound input read multiple soundcards

Solved!
Go to solution

Heey everybody,

 

I have a problem. I want to read two different signals at the same time from 2 different soundcards. 1 internal soundcard from my laptop, and 1 usb soundcard. 

So i used the Acquire Sound VI.

 

Knipsel.PNG

Reading both signals at the same time is not a problem until i set the measuring time to about more that 30 seconds. It gets a buffer overflow.

 

Knipsel2.PNG

 

So i tried to do the following:

 

Knipsel3.PNG

 

I first made this with 1 signal first, and it worked perfectly, every second it got updated.

But, when i added the second signal it only wanted to read the first second of the first signal and then it got stuck, and i had to stop the software by closing it. And then killing labview with the taskmanagement thingey from windows.

Anyone have any idea what the problem is?

 

Greetings,

 

Jory 

0 Kudos
Message 1 of 3
(2,950 Views)
Solution
Accepted by topic author Carneoleon

Ok, never mind, i've solved it. I made the buffers larger (at the sound input configure block) and now it works like a charm 🙂

Message 2 of 3
(2,934 Views)

edit:

 

ok it is just needs to make longer the data aquisition in the number of samples to aquire.

 

This message is quite old but let's try... I can't find the buffer size on the configura audio input.

 

can you please explain it? regards.

0 Kudos
Message 3 of 3
(1,883 Views)