DIAdem Help

Content Type
Programming Language
Current manual

Object: Channel <DataPlugin>

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
Was this information helpful?