Introduction

UaNode functions are deprecated and replaced by Ua functions starting with atvise 3.6. The functions can still be used to provide backward compatibility, however, it may result in errors and/or undefined behavior in conjunction with access control.

Ua functions

The following table shows how the respective function (and parameters if necessary) must be replaced.

Functions and parameters

UaNode (deprecated)

Ua.Node (new)

UaNode.exists

Ua.findNode

UaNode.create

  • nodeclass

  • typedefinition

  • modellingrule

  • browsename

  • displayname

  • datatype

  • valuerank

  • eventnotifier

Ua.createNode

  • nodeClass

  • typeDefinition

  • modellingRule

  • browseName

  • displayName

  • dataType

  • valueRank

  • eventNotifier

UaNode.remove

Ua.<Class>.remove

UaNode.browse

  • subtype

  • nodeclass

  • maxresult

  • typedefinition

Ua.<Class>.browse

  • subType

  • nodeClass

  • maxResult

  • typeDefinition

UaNode.addreference

Ua.<Class>.addReference

UaNode.deletereference

Ua.<Class>.deleteReference

UaNode.assign

  • sourcetime

Ua.Variable.assign

  • sourceTime

UaNode.datahistory

  • starttime

  • endtime

  • numvalues

  • returnbounds

  • continuationpoint

  • samplinginterval

Ua.Variable.dataHistory

  • startTime

  • endTime

  • numValues

  • returnBounds

  • continuationPoint

  • samplingInterval

UaNode.datahistoryRelease

  • continuationpoint

Ua.Variable.dataHistoryRelease

  • continuationPoint

UaNode.equal

Ua.<Class>.equal

UaNode.call

Ua.Method.call

UaNode.good/bad/uncertain

Ua.Status.good/bad/uncertain

UaNode.toString

UaNode.statusToString

Ua.Node.nodeclassToString

Ua.<Class>.toString

Constants

The following table shows how to replace the respective constants:

Constants

Constants (old)

Constants (new)

UaNode.<datatype_constant>

Ua.DataType.<constant>

UaNode.<nodeclass_constant>

Ua.NodeClass.<constant>

UaNode.<valuerank_constant>

Ua.ValueRank.<constant>

UaNode.<modellingrule_constant>

Ua.ModellingRule.<constant>

UaNode.<typedefinition_constant>

Ua.VariableType.<constant> resp.

Ua.ObjectType.<constant>

UaNode.<eventnotifier_constant>

Ua.EventNotifier.<constant>

UaNode.<browsedirection_constant>

Ua.Node.<constant>

UaNode.<reference_constant>

Ua.Reference.<constant>