Property: ReservedSize for Channel <DataPlugin>
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Properties > Property: ReservedSize for Channel <DataPlugin>
Property: ReservedSize for Channel <DataPlugin>
Specifies the number of values that are reserved for a channel.
The ReservedSize property improves performance for channel access.
Object.ReservedSize
Object | Channel <DataPlugin> Object with this property |
Object.ReservedSize | LongInteger with read and write access |
The following example reads a channel description from a text file and generates the channel accordingly:
File.Formatter.Delimiters = ";" File.Formatter.TimeFormat = "DD.MM.YYYY hh:mm:ss" Dim ChannelName : ChannelName = File.GetNextStringValue(eString)
"ext">Dim ChannelType : ChannelType = File.GetNextStringValue(eString)
"ext">Dim ChannelSize : ChannelSize = File.GetNextStringValue(eString) Dim oBlock : Set oBlock = File.GetStringBlock()
"ext">Dim oMyChn : Set oMyChn = oBlock.Channels.Add(ChannelName, ChannelType) oMyChn.ReservedSize = ChannelSize