Property: Properties for DirectAccessChannel
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Properties > Property: Properties for DirectAccessChannel
Property: Properties for DirectAccessChannel
Contains the Properties collection associated with a DirectAccess channel.
Set oProperties = Object.Properties
Object | DirectAccessChannel Object with this property |
oProperties | Properties <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)