DIAdem Help

Method: IsKindOf for DirectAccessChannel

  • Updated2024-09-12
  • 1 minute(s) read

Method: IsKindOf for DirectAccessChannel

Checks whether a DirectAccessChannel object is a certain type.

iIsKindOf = Object.IsKindOf(Type)
ObjectDirectAccessChannel
Object with this method
TypeString
Specifies the channel type to be checked.
eNormal Channel type object
eDirectAccess DirectAccessChannel type object
eImplicit ImplicitChannel type object
eProcessed ProcessedChannel type object
iIsKindOfLongInteger
The value is TRUE if the channel is the specified type.

The following example checks the type of each channel in the first channel group. The example creates the Offset channel property for implicit channels:

Dim oChn
For Each oChn in Root.ChannelGroups(1).Channels
  If oChn.IsKindOf(eImplicit) Then
    Call oChn.Properties.Add("Offset",-5)
  End If
Next

Log in to get a better experience