DIAdem Help

Object: Channel <DataPlugin>

  • Updated2024-09-12
  • 1 minute(s) read

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

Log in to get a better experience