Property: Properties for CalculationChannel <Data>
- Updated2024-09-12
- 1 minute(s) read
Internal Data > Properties > Property: Properties for CalculationChannel <Data>
Property: Properties for CalculationChannel <Data>
Returns the properties of a calculation channel in the script interface for internal data.
Set oProperties = Object.Properties
Object | CalculationChannel <Data> Object with this property |
oProperties | Properties <Data> Returned object |
The following example generates a calculation channel from a formula with the unit “m/s” and adds a custom property to this calculation channel:
VBScript | Python |
Dim oMyCalculationChn Set oMyCalculationChn = Data.Root.ChannelGroups(1).Channels.AddCalculationChannel("Result", "=Speed * 2", "m/s" 1) Call oMyCalculationChn.Properties.Add("MyOwnProp","PropValue",DataTypeString)