Property: Values for ImplicitChannel
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Properties > Property: Values for ImplicitChannel
Property: Values for ImplicitChannel
Contains the single value of a channel at a specific channel position.
Object.Values(iIndex)
| Object | ImplicitChannel Object with this property |
| iIndex | LongInteger Specifies the channel position. |
| Object.Values | Variant 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