omron — IsTaskRunning

Appendix: Built-in Scripting Language Returned value No returned values. Examples IsScreenOpen Verifies that a project screen is open. Syntax IsScreenOpen( strScreen { | , optNumID } ) strScreen The name of the project screen to be verified. optNumID The specific instance number of the screen. (This number is assigned when the screen is opened with the Open function.) This is an optional parameter. If no value is specified, then the default ID is 0. Returned value Examples IsTaskRunning Verifies that a background task is running. Syntax IsTaskRunning( strTask ) strTask The name of the task to be verified.

Returned value Page 506 InduSoft Web Studio Value Description 2 Shut down Tag Name Expression ExitWindows( 1 ) Function Group Execution Windows Embedded Thin Client IsScreenOpen Module Activity Asynchronous Supported Supported Not supported Note: This function cannot be used with Tasks or in the Global Procedures script. 0 Screen is not open. 1 Screen is open. Tag Name Expression Tag IsScreenOpen( "main" ) // Is "main" screen open? Tag IsScreenOpen( "main", 10 ) // Is "main" screen with ID 10 open? Function Group Execution Windows Embedded Thin Client IsTaskRunning Module Activity Synchronous Supported Supported Executed on Server 0 Task is not running. 1 Task is running.