uaPLUS Reference
CreateAnalogItemNode(String,String,Type,Object,StatusCode,Byte,EUInformation,Range,Range) Method
See Also  Send Feedback
Advosol.uaPLUS Namespace > BaseNodeManager Class > CreateAnalogItemNode Method : CreateAnalogItemNode(String,String,Type,Object,StatusCode,Byte,EUInformation,Range,Range) Method

name
The name for the node ID, browse name and display name.
description
Optional vendor specific node description
dataType
The data type of the node value
initialValue
Optional initial value.
statusCode
Initial status code.
accessLevel
Access rights definition.
engineeringUnits
The engineering unit of the node value.
euRange
The EngineeringUnit Range defines the value range likely to be obtained in normal operation. It is intended for such use as automatically scaling a bar graph display. It is also needed for the PercentDeadband filter that can be used when monitoring such items in a subscription.
instrumentRange
The value range that can be returned by the instrument.

Glossary Item Box

A AnalogItemType node object is created with the specified name, data type and optional initial value.
The AnalogItemType derives from DataItemType and adds properties for EUInformation, EURange and InstrumentRange.
Additional properties of the node object can be set by the application as required after the node is created.

Syntax

Visual Basic (Declaration) 
Protected Overloads Function CreateAnalogItemNode( _
   ByVal name As String, _
   ByVal description As String, _
   ByVal dataType As Type, _
   ByVal initialValue As Object, _
   ByVal statusCode As StatusCode, _
   ByVal accessLevel As Byte, _
   ByVal engineeringUnits As EUInformation, _
   ByVal euRange As Range, _
   ByVal instrumentRange As Range _
) As AnalogItemState
C# 
protected AnalogItemState CreateAnalogItemNode( 
   string name,
   string description,
   Type dataType,
   object initialValue,
   StatusCode statusCode,
   byte accessLevel,
   EUInformation engineeringUnits,
   Range euRange,
   Range instrumentRange
)

Parameters

name
The name for the node ID, browse name and display name.
description
Optional vendor specific node description
dataType
The data type of the node value
initialValue
Optional initial value.
statusCode
Initial status code.
accessLevel
Access rights definition.
engineeringUnits
The engineering unit of the node value.
euRange
The EngineeringUnit Range defines the value range likely to be obtained in normal operation. It is intended for such use as automatically scaling a bar graph display. It is also needed for the PercentDeadband filter that can be used when monitoring such items in a subscription.
instrumentRange
The value range that can be returned by the instrument.

Return Value

The created AnalogItemState object.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family

See Also

© 2010-2018 Copyright Advosol Inc. All Rights Reserved.