Property: Channels for ChannelGroup <Data>
- Updated2024-09-12
- 1 minute(s) read
Internal Data > Properties > Property: Channels for ChannelGroup <Data>
Property: Channels for ChannelGroup <Data>
Contains the Channels collection associated with a ChannelGroup object in the script interface for internal data.
Set oChannels = Object.Channels
| Object | ChannelGroup <Data> Object with this property |
| oChannels | Channels <Data> Returned object |
The following example creates the channel property Sensor_Type for each channel in the first channel group:
| VBScript | Python |
Dim oMyChn For Each oMyChn in Data.Root.ChannelGroups(1).Channels Call oMyChn.Properties.Add("Sensor_Type","TC-N") Next