Property: Increment for ImplicitChannel
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Properties > Property: Increment for ImplicitChannel
Property: Increment for ImplicitChannel
Specifies the step width for generating the data of an implicit channel.
Object.Increment
| Object | ImplicitChannel Object with this property |
| Object.Increment | Variant with read and write access |
The following example reads in the generation instruction of an implicit channel and then generates this channel within the channel group MyChnGroup:
Dim ChannelName: ChannelName = File.GetNextStringValue(eString) Dim StartValue : StartValue = File.GetNextStringValue(eString) Dim Increment : Increment = File.GetNextStringValue(eString) Dim ChannelSize: ChannelSize = File.GetNextStringValue(eString) Dim ChannelGroup : Set ChannelGroup = Root.ChannelGroupsAdd("MyChnGroup") Call ChannelGroup.Channels.AddImplicitChannel(ChannelName, StartValue, Increment, ChannelSize, eI32)