omron — Play

Appendix: Built-in Scripting Language Multimedia functions These functions are used to play external audio and video files. Play Plays a specified WAV audio file. Note: For this function to work on a Thin Client, the target WAV file must be located in the same file path on the remote station. Description Plays a specified WAV audio file. Syntax Play( strFileName { | , optNumSynchronous } ) strFileName The file path and name of the WAV file to play. optNumSynchronous A numeric flag specifying whether the function executes synchronously or asynchronously: This is an optional paramter; if no value is specified, then the default is 0 . Returned value This function does not return any value.

Examples Page 548 InduSoft Web Studio Function Group Execution Windows Embedded Thin Client Play Multimedia Asynchronous Supported Supported Supported Value Description 0 Asynchronous (i.e., the project continues without waiting for the function to return) 1 Synchronous (i.e., the project pauses while it waits for the function to return) Tag Name Expression Play( "C:\Sounds\Wav\alarm.wav" )