DIAdem Help

Property: Values for ImplicitChannel

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

Property: Values for ImplicitChannel

Contains the single value of a channel at a specific channel position.

Object.Values(iIndex)
ObjectImplicitChannel
Object with this property
iIndexLongInteger
Specifies the channel position.
Object.ValuesVariant with read access
Note  The Size property contains the current number of values of a channel.

The following example displays the name and the first channel value of the implicit channel:

Dim oMyChn
Set oMyChn = Root.ChannelGroup(1).Channels(1)
If (oMyChn.IsKindOf(eDataImplicitChannel)) Then
  Call MsgBoxDisp("Channel name: " & oMyChn.Name & vbCrLf & "First value: " & oMyChn.Values(1))
Else 
  Call MsgBoxDisp("No implicit channel")
End If