DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Property: Properties for AbstractChannel

Property: Properties for AbstractChannel

Contains the Properties collection associated with a channel.

Set oProperties = Object.Properties
ObjectAbstractChannel
Object with this property
oPropertiesProperties <DataPlugin>
Returned object

The following example checks all channel properties of the third channel from the first channel group. The example creates the channel property Sensor_Type if this property does not exist.

Dim oMyProp, oMyChn, bFound
Set oMyChn = Root.ChannelGroups(1).Channels(3)
For Each oMyProp in oMyChn.Properties
  If oMyProp.Name = "Sensor_Type" Then
    bFound = TRUE
  End If
Next
If not bFound Then
  Call oMyChn.Properties.Add("Sensor_type","TC-N")
End If
In This Section
Was this information helpful?