DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

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
ObjectChannel <DataPlugin>
Object with this property
Object.ReservedSizeLongInteger 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
In This Section
Was this information helpful?