DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Property: Size for ImplicitChannel

Property: Size for ImplicitChannel

Specifies the number of values of an implicit channel.

Object.Size
ObjectImplicitChannel
Object with this property
Object.SizeLongInteger with read and write access

The following example reads in the generation instruction of an implicit channel and then generates this channel within the channel group MyChnGroup:

Dim ChannelName: ChannelName = File.GetNextStringValue(eString)
Dim StartValue : StartValue  = File.GetNextStringValue(eString)
Dim Increment  : Increment   = File.GetNextStringValue(eString)
Dim ChannelSize: ChannelSize = File.GetNextStringValue(eString)
Dim ChannelType: ChannelType = File.GetNextStringValue(eString)
If ChannelType = "eI32" Then
  Dim ChannelGroup : Set ChannelGroup = Root.ChannelGroupsAdd("MyChnGroup")
  Call ChannelGroup.Channels.AddImplicitChannel(ChannelName, StartValue, Increment, ChannelSize, eI32)  
Else
  Call RaiseError("InvalidTypeString " & ChannelType)
End If
In This Section
Was this information helpful?