DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Property: Properties for DirectAccessChannel

Property: Properties for DirectAccessChannel

Contains the Properties collection associated with a DirectAccess channel.

Set oProperties = Object.Properties
ObjectDirectAccessChannel
Object with this property
oPropertiesProperties <DataPlugin>
Returned object

The following example reads the values of a channel from a binary file, generates a channel property, and inserts this channel into the new channel group MyChannelGroup.

Dim oBlock : Set oBlock = File.GetBinaryBlock()
Dim oMyChn : Set oMyChn = oBlock.Channels.Add("Channel1", eI32)
oBlock.BlockWidth = 16
Call oMyChn.Properties.Add("BlockWidth",16)
Dim oChannelGroup : Set oChannelGroup = Root.ChannelGroups.Add("MyChannelGroup")
Call oChannelGroup.Channels.AddDirectAccessChannel(oMyChn)
In This Section
Was this information helpful?