OPCRemoveItem

OPCRemoveItem — removes an item based on its OPC DataHub point name.

Syntax

(OPCRemoveItem label point_name)
    

Arguments

label

The name for this connection, as displayed in the OPC option of the Properties window.

point_name

The name of an OPC DataHub point, as a string, without the data domain name.

Returns

A message indicating success or error. Please refer to Return Syntax for details.

Description

This command removes an OPC item based on its OPC DataHub point name. OPC items are mapped in a one-to-many relationship with OPC DataHub points. The command removes only the item mapping associated with the given point name. The point name must not be qualified with the data domain name. The label is the label supplied to OPCAttach or OPCAttach2.

[Note]

This command does not take effect until the OPCApply command is issued.