LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

indication of alarming condition

 

Hi everyone,

 

i have made a panel in which there are certain LEDs, these LEDs are used to indicate the
alarming conditions. Basically, i want to play a specific " .mp3 " or " .wav " sound files
as one of the ALARM occurs ( the LED glows) .

 

How can i play the ".mp3" or " .wav " file as one of the LED glows in order to show the alarming conditions using CVI 8.5?


Any help will be greatly appreciated.

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

One possibility is to use Win32 PlaySound () function. I am attaching an old sample I made back in CVI7.1 days that plays a system sound and let you trim the master volume.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 2
(2,953 Views)