Property: IsReadOnly for CalculationChannel <Data>
- Updated2024-09-12
- 1 minute(s) read
Internal Data > Properties > Property: IsReadOnly for CalculationChannel <Data>
Property: IsReadOnly for CalculationChannel <Data>
Specifies whether a calculation channel is read-only in the script interface for internal data.
Object.IsReadOnly
Object | CalculationChannel <Data> Object with this property |
Object.IsReadOnly | Boolean value with read access |
The following example generates a calculation channel from a formula with the unit “m/s” and displays whether this calculation channel is read-only:
VBScript | Python |
Dim oMyCalculationChn Set oMyCalculationChn = Data.Root.ChannelGroups(1).Channels.AddCalculationChannel("Result", "=Speed * 2", "m/s", 1) Call MsgBox(oMyCalculationChn.IsReadOnly)