Difference between revisions of "Using OpcCmd Utility as OPC DA Client"

From OPC Labs Knowledge Base
Jump to navigation Jump to search
Line 15: Line 15:
 
<pre>
 
<pre>
 
OpcCmd -i
 
OpcCmd -i
daclient --!property Target.InstanceParameters.EnableNativeClient=[Boolean]false
+
daClient --!property Target.InstanceParameters.EnableNativeClient=[Boolean]false
 
subscribeItem OPCLabs.KitServer.2 Demo.Ramp 200
 
subscribeItem OPCLabs.KitServer.2 Demo.Ramp 200
 
</pre>
 
</pre>

Revision as of 12:26, 17 December 2020

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:

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