Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: edits/style, syntax update param syntax
Scripting_function


Panel
titleDescription

Replaces values on the OPC-HDA server if the given item ID exists.

Panel
titleClient Permission Restrictions

Permission Type: OPC Server Management

Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when run in the Gateway scope.

Panel
titleSyntax

system.opchda.replace(serverName, itemId, value, date, quality)

  • Parameters

String serverName - The name of the defined OPC-HDA server.

String itemId - The item ID to perform the operation on.

Object value - The value to replace.

Object date - The date to replace.

intInteger quality - The quality to replace.

  • Returns

intInteger - The items quality resulting from the operation.

  • Scope

Gateway, Vision Client, Perspective Session

Panel
titleCode Examples

There are no code examples for this function.

Panel
titleKeywords

system opchda replace, opchda.replace