DIAdem Help

Content Type
Programming Language
Current manual

Collection: DirectAccessChannels

Collection: DirectAccessChannels

Collection of all DirectAccess channels. You can use the DirectAccessChannels collection to delete or to add DirectAccess channels.

The following example reads a text file that contains one time channel and one real channel. The example then generates a channel group and binds the two channels.

Dim oBlock : Set oBlock = File.GetStringBlock()
Dim oChn1  : Set oChn1 = oBlock.Channels.Add("Time", eTime)
Dim oChn2  : Set oChn2 = oBlock.Channels.Add("YShift", eR64)
Dim oMyGrp : Set oMyGrp = Root.ChannelGroups.Add("MyChannelGroup")
Call oMyGrp.Channels.AddDirectAccessChannel(oChn1)
Call oMyGrp.Channels.AddDirectAccessChannel(oChn2)

Properties

Count

Methods

Add | Item | Remove | RemoveAll | Swap

Was this information helpful?