Difference between revisions of "Using OpcCmd Utility as OPC A&E Client"

From OPC Labs Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:
 
</pre>
 
</pre>
  
Using OPC NET API implementation:
+
= 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:
 
<pre>
 
<pre>
 
OpcCmd -i
 
OpcCmd -i

Revision as of 18:43, 18 January 2021

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

Commands, Arguments and Options

Command: aeClient subscribeEvents

OpcCmd -i
aeclient
subscribeEvents subscribeEvents OPCLabs.KitEventServer.2

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
aeclient --!property Target.InstanceParameters.EnableNativeClient=[Boolean]false
subscribeEvents subscribeEvents OPCLabs.KitEventServer.2