Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Adapter for OPC UA

Data selection EdgeCmd scripts

  • Last UpdatedNov 10, 2025
  • 2 minute read

The following EdgeCmd commands configure specific facets of the data selection:

EdgeCmd command

Description

Examples

edgecmd get DataSelection -cid <componentId> [-file <filepath>]

Get the data selection configuration for the specified component.

edgecmd get DataSelection -cid OpcUa1 -file C:\Users\TestUser\DataSelection\Configuration.json

edgecmd set DataSelection -cid <componentId> [-file <filepath>]

Import the data selection configuration for the specified component.

edgecmd set DataSelection -cid OpcUa1

edgecmd get DataSelection -cid <componentId> [-file <filepath>] -csv

Display the data selection configuration for the specified component in CSV format.

edgecmd get DataSelection -cid OpcUa1 -file C:\Users\TestUser\DataSelection\Configuration.csv -csv

edgecmd set DataSelection -cid <componentId> [-file <filepath>] -csv

Import the data selection configuration for the specified component in CSV format.

edgecmd set DataSelection -cid OpcUa1 -csv

edgecmd add DataSelection -cid <componentId> -id <itemid>] [-<adapterSpecificParameter> <value>]

Add the data selection configuration for the specified component.

edgecmd add DataSelection -cid OpcUa1 -id Custom1 -Name RandomName

edgecmd edit DataSelection -cid <componentId> [-id <itemid>] [-<adapterSpecificParameter> <value>]

Change the data selection configuration for the specified component.

edgecmd edit DataSelection -cid OpcUa1 -Selected true

edgecmd remove DataSelection -cid <componentId> [-id <itemid>] [-y]

Remove the data selection configuration for an item in the specified component.

edgecmd remove DataSelection -cid OpcUa1 -id Random1

edgecmd remove DataSelection -cid <componentId> [-y]

Remove the data selection configuration for the specified component.

edgecmd remove DataSelection -cid OpcUa1 -y

edgecmd help DataSelection -cid <componentId>

Display help output for data selection facet.

edgecmd help DataSelection -cid OpcUa1

Use EdgeCmd utility to add and remove adapter, and to configure facets of the components.

Note: The examples in this topic are using the default port number 5590. If you specified a different port number for your adapter, you need to add it in the command. For example: edgecmd -port 5591 <RestOfTheCommand>

Note: If a command contains slashes, you must add escape characters as follows:

In Windows , add a second slash. style="box-sizing: inherit;">
Example: TestUser\OilCompany becomes TestUser\\OilCompany

In Linux , add three additional slashes. style="box-sizing: inherit;">
Example: TestUser\OilCompany becomes TestUser\\\\OilCompany

TitleResults for “How to create a CRG?”Also Available in