Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

myDAQ audio equalizer using low level DAQmx VIs is not working well

Hi,

We are doing an project of audio equalizer using myDAQ and we can find lots of information suggesting us to use DAQ assistant. Following the instructions, we can have a working VI shown below:

 

DAQ assistant_FPDAQ assistant_FPDAQ assistant_Block diagramDAQ assistant_Block diagram

 

However, we are trying to use low level DAQmx VIs to realize the audio EQ equalizer as same as we do with DAQ assistant. It does not working well at all. The output audio is not stable and sometimes we might have error as shown below.

 

The problems still remains even if we just directly output the audio signals without passing through the filters as the code we shown below:

 

DAQmx_FPDAQmx_FPDAQmx_Block diagram1DAQmx_Block diagram1DAQmx_Block diagram2DAQmx_Block diagram2DAQmx_errorDAQmx_error

 

According to my knowledge, using the low level DAQmx VI should have better performance and we can't figure out why it become worse in our case.

 

Please let us know if there is anything wrong in our code or any suggestions. We are appreciated for your help. Our VIs are all attached.

 

Thanks.

Download All
0 Kudos
Message 1 of 1
(1,523 Views)