Property: Name for Channel <DataPlugin>
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Properties > Property: Name for Channel <DataPlugin>
Property: Name for Channel <DataPlugin>
Receives the name of a Channel object.
Object.Name
Object | Channel <DataPlugin> Object with this property |
Object.Name | String with read and write access |
The following example searches for the Temp channel in all channels groups and creates the Sensor_Type channel property for this channel:
Dim i, oMyChn For i = 1 to Root.ChannelGroups.Count For Each oMyChn in Root.ChannelGroups(i).Channels If oMyChn.Name = "Temp" Then Call oMyChn.Properties.Add("Sensor_Type","TC-J") End If Next Next