DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Property: Size for Channel <DataPlugin>

Property: Size for Channel <DataPlugin>

Returns the current number of values in a channel.

Object.Size
ObjectChannel <DataPlugin>
Object with this property
Object.SizeLongInteger with read access

The following example creates an implicit index channel for the MyChannel channel from the first channel group:

Dim oMyChn, bIndexChn
bIndexChn = FALSE
For Each oMyChn in Root.ChannelGroups(1).Channels
  If (oMyChn.Name="MyChannel") and not bIndexChn Then
    bIndexChn = TRUE
    Call Root.ChannelGroups(1).Channels.AddImplicitChannel("Index", 1, 1, oMyChn.Size, eI32)
  End If
Next
In This Section
Was this information helpful?