DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Method: IsKindOf for ImplicitChannel <Data>

Method: IsKindOf for ImplicitChannel <Data>

Checks the type of an implicit channel in the script interface for internal data.

bIsKindOf = Object.IsKindOf(Type)
ObjectImplicitChannel <Data>
Object with this method
TypeString
Specifies the type of the element to be checked.
Enumeration with the following selection terms:
eDataRoot Root type object
eDataChannelGroup ChannelGroup type object
eDataChannel Channel type object
eDataChannelWF Waveform channel type object
eDataAssignmentChannel Assignment channel type object
eDataImplicitChannel Implicit channel type object
eDataChannelPair XY-channel type object
eDataCalculationChannel Calculation channel type object
eDataCalculationChannelFormula Calculation channel type object of Formula type
eDataCalculationChannelReference Calculation channel type object of Calculation Manager calculations type.
eDataVideoChannel Video channel type object
eDataComplexChannel Complex channel type object
bIsKindOfBoolean
The value is TRUE if the object is the specified type.

The following example checks whether the first channel of the first channel group is an implicit channel:

VBScriptPython

 

Dim oMyChannel
Set oMyChannel = Data.Root.ChannelGroups(1).Channels(1)
If oMyChannel.IsKindOf(eDataImplicitChannel) Then
  Call MsgBoxDisp("Implicit Channel")
Else
  Call MsgBoxDisp("No Implicit Channel")
End If
In This Section
Was this information helpful?