Object: Channel <DataPlugin>
- Updated2024-09-12
- 1 minute(s) read
(Channels
Object: Channel <DataPlugin>
The Channel object provides the channel values and the associated properties.
The following example creates a new channel group, inserts a channel into the channel group, and fills the channel with values.
Dim oMyGrp : Set oMyGrp = Root.ChannelGroups.Add("MyChannelGroup") Dim oMyChn : Set oMyChn = oMyGrp.Channels.Add("MyChannelNum",eR32) Dim i For i = 1 to 100 oMyChn.Values(i) = cdbl(i/100000) Next
Properties
ChannelGroup | DataType | Factor | Name | Offset | Properties | ReservedSize | Size | Values
Methods
Returned From
Channels <DataPlugin>.Add | Channels <DataPlugin>.Item | ChannelsToProcess.Add | ChannelsToProcess.Item