WOLFRAM SYSTEM MODELER

constructor

Initializes the connection with the host server

Wolfram Language

In[1]:=
SystemModel["OPCClassic.ExternalFunctions.OPCServerObject.constructor"]
Out[1]:=

Information

This function is a constructor that initializes the connection with the OPC host server. Inputs are the name of the host and server, and the desired refresh rate. The function returns an OPCServerObject.

Syntax

constructor(hostName, serverName, requestedRefreshRate)

Syntax

server = constructor(hostName, serverName, requestedRefreshRate)

Inputs (3)

hostName

Type: String

Description: The name of the host where the server is located

serverName

Type: String

Description: The name or CLSID of the server on the host computer

requestedRefreshRate

Type: Real

Description: The server update rate requested by the user

Outputs (1)

server

Type: OPCServerObject

Description: The external OPC server object