Alert.playSound()

ICE Data Services -

Alert.playSound()
Previous  Top  Next

Alert.playSound( wavfile )
This function generates an audio alert using the sound file passed as a parameter.

Note:

you can view/change the location of the Sound Files folder from within the eSignal program.

Click on Tools-->EFS-->Settings to pull up the Formula Engine Settings window.



Parameters

wavfile
file name of the WAV soundfile to play


Usage

var  bCondition  =  false;

function  main() {

	   ...   ...   
	if ( bCondition == true ) 	{         
		Alert.playSound( "Warning.wav" );  
		...   
	}
}