Using OpcCmd Utility as OPC DA Client

From OPC Labs Knowledge Base
Revision as of 18:43, 18 January 2021 by User (talk | contribs)

For general information about the OpcCmd tool, see Category:OpcCmd Utility.

Commands, Arguments and Options

Command: daClient subscribeItem

OpcCmd -i
daClient
subscribeItem OPCLabs.KitServer.2 Demo.Ramp 200

Using OPC NET API implementation

If you want to use the OPC NET API implementation instead of the native implementation(in OpcCmd for .NET Framework OpcCmd), you can do it interactively as in the following example:

OpcCmd -i
daClient --!property Target.InstanceParameters.EnableNativeClient=[Boolean]false
subscribeItem OPCLabs.KitServer.2 Demo.Ramp 200