LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with continuos sound input

Hi, I'm trying the continuous sound input example in labview, my problem is that whenever I try to run the VI the graphic of the sound acquired is empty, I just get a flat line with value 0. I even tried to use an external microphone but the problem persists. Does anyone have any suggestion? Thank you

0 Kudos
Message 1 of 7
(1,323 Views)

Hi depa,

 


@depa981 wrote:

whenever I try to run the VI the graphic of the sound acquired is empty, I just get a flat line with value 0. I even tried to use an external microphone but the problem persists.


Do you get any errors while acquiring sound data? (Might be a problem with sound drivers.)

Or does the VI run without any errors and just outputs waveforms consisting of just "zero" values? (Might be a problem of the mic or the sound input circuitry of your computer.)

 

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(1,301 Views)

I get no errors, the VI runs correctly but nothing is displayed on the graph, just a flat line at 0

 

0 Kudos
Message 3 of 7
(1,289 Views)

Hi depa,

 

so test the mic using other software (like e.g. Audacity).

Please also check you are using the correct sound device in case of multiple mics!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(1,278 Views)

Hi, thanks for the suggestion, I just tried with audacity and everything works fine, it seems that the problem is only with labview. I really don't know how to deal with the issue.

0 Kudos
Message 5 of 7
(1,275 Views)

Hi depa,

 


@depa981 wrote:

I really don't know how to deal with the issue.


Me neither as I cannot test with your computer...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(1,273 Views)

I tried with the 2019 version of labview and it's now working 

0 Kudos
Message 7 of 7
(1,258 Views)