DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Property: Name for Channel <DataPlugin>

Property: Name for Channel <DataPlugin>

Receives the name of a Channel object.

Object.Name
ObjectChannel <DataPlugin>
Object with this property
Object.NameString with read and write access

The following example searches for the Temp channel in all channels groups and creates the Sensor_Type channel property for this channel:

Dim i, oMyChn
For i = 1 to Root.ChannelGroups.Count
  For Each oMyChn in Root.ChannelGroups(i).Channels
    If oMyChn.Name = "Temp" Then
      Call oMyChn.Properties.Add("Sensor_Type","TC-J")
    End If
  Next
Next
In This Section
Was this information helpful?