LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Continous sound

Hey,

I'm trying to achieve a continous sound in LabVIEW. So when variable is true the sound should start and when it is false the sound should stop. Until now I just found the beep functions (kernel an VI) which require a duration as input. Is there a function in kernel or somewhere else which allows me to do what I'm trying to achieve?

Thanks in advance and kind regards,
mark

0 Kudos
Message 1 of 3
(2,398 Views)

Hi Mark,

 

did you try to play with those sound output functions in the "audio and graphics" function palette?

Best regards,
GerdW


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

mark,

 

ya, as mentioned, you can use the "sound output configure" to setup any audio stream, then write to it with "sound output write" vi.  They work great, I'm doing a project myself right now with various output rates, playback options and real time streaming from cRIO for remote wireless playback of the audio.  give em a go, I think there is an example for it as well.

0 Kudos
Message 3 of 3
(2,362 Views)