Object: Channel <Data>
- Updated2024-09-12
- 1 minute(s) read
(AssignmentChannel | CalculationChannel | Channel | Channels | ComplexChannel | Data | ElementList | ImplicitChannel | Property ) > Object: Channel <Data>
Object: Channel <Data>
The Channel object provides a channel and the associated Properties in the script interface for internal data. The Channel object is an element of the Channels collection.
The following example creates a new channel group, inserts a channel into the channel group, and fills this channel with values:
VBScript | Python |
Dim oMyGrp, oMyChn, i Set oMyGrp = Data.Root.ChannelGroups.Add("MyChannelGroup") Set oMyChn = oMyGrp.Channels.Add("MyChannel",DataTypeFloat64) For i = 1 to 100 oMyChn(i) = CDbl(i/100000) Next
Properties
ChannelGroup | DataType | IsReadOnly | Maximum | Minimum | Name | NoValues | OperationalFlags | Properties | ReservedSize | Size | UnitSymbol | Values
Methods
GetReference | GetValuesBlock | IsKindOf | RemoveValues | SetValues | SetValuesBlock | XRelation
Returned From
AssignmentChannel <Data>.XRelation | CalculationChannel <Data>.XRelation | Channel <Data>.XRelation | Channels <Data>.Add | Channels <Data>.AddChannel | Channels <Data>.Item | ComplexChannel <Data>.XRelation | Data.GetChannel | ElementList <Data>.Add | ElementList <Data>.Item | ImplicitChannel <Data>.XRelation | Property <Data>.Element