Object: Channel <Data>

DIAdem 2018 Help

Edition Date: June 2018
Part Number: 370858P-01
View Product Info

DOWNLOAD (Windows Only)

DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help
DIAdem 2020 Help
DIAdem 2020 SP1 Help

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:

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)


Not Helpful