StartTask
The function StartTask starts a specified run-time module that is not currently running.
Function | Group | Execution | Windows | Embedded | Thin Client | Mobile Access |
---|---|---|---|---|---|---|
StartTask | Module Activity | Asynchronous | Supported | Supported | Executed on Server | 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 (i.e., the project runtime 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 that are configured in the project. To start a specific driver, use the function WinExec.