DIAdem Help

Object: ProcessedChannel

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

Object: ProcessedChannel

The ProcessedChannel object provides a channel, which combines values from other channels (ChannelsToProcess), and the associated properties.

The following example generates a new channel MyChannel in the Measurements channel group. The channel contains the values, which are added rowwise, of the 64-bit Real type DirectAccess channels from the Measurements channel group.

Dim ChannelGroup: Set ChannelGroup = Root.ChannelGroups.Add("Measurements")
Dim ProcessedChn: Set ProcessedChn = ChannelGroup.Channels.AddProcessedChannel("MyChannel",eR64,eAddProcessor)
Dim Channel
For Each Channel in Channelgroup.Channels
  If Channel.IsKindOf(eDirectAccess) and (Channel.DataType = eR64) then
    Call ProcessedChn.Channels.Add(Channel)
  End If
Next

Log in to get a better experience