StartTask

Starts a project module that is not currently running.

Function Group Execution Windows Embedded Thin Client
StartTask Module Activity Asynchronous Supported Supported Executed on Server

Syntax

StartTask(strTask)
strTask
The name of the task to start (must be one of the following tasks):
Value Description
BGTask Background Tasks
Viewer Viewer
DBSpy Database Spy
LogWin LogWin
Driver Driver
UniDDECl DDE Client
UniNDDE DDE Server
UniODBC ODBC
TCPServer TCP/IP Server
TCPClient TCP/IP Client
OPCClient OPC Client

Returned value

No returned values.

Examples

Tag Name Expression
  StartTask( "Viewer" )
Note: The StartTask( "Driver" ) function starts all drivers configured in the project. To start a specific driver, you must use the WinExec() function.