LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

microphone data acquisition with parallel instance of for loop

Hi,

 

I am trying to acquire 4 microphone data using the parallel instance of the for loop. The help for for loop mentions that it is able to do parallel computing for the number of logical processors in the PC. I have 4, but still not able to acquire data. I am only able to acquire 2 in parallel

 

npai_0-1586921504416.png

I am attaching my vi which I try to acquire 4 microphones in parallel.

 

0 Kudos
Message 1 of 2
(1,557 Views)

Hi Npai,

 

My immediate thoughts are that whilst you may have 4 processors on your PC how many DAQ channels are there on your audio card?  I have two mic. channels but only one AtoD converter so whilst LabVIEW may allow the loop to be run in parallel there will always be an I/O contention.

 

I ran the 'Find Parallizable Loops' tool (horrible word) on your VI too and it suggests that there are bigger issues with some of the sub-vi's that your express VI is calling.  Take a look and it may give you further insight.

 

Keep safe.

Simon

0 Kudos
Message 2 of 2
(1,517 Views)