Property: OperationalFlags for CalculationChannel <Data>
- Updated2024-09-12
- 1 minute(s) read
Internal Data > Properties > Property: OperationalFlags for CalculationChannel <Data>
Property: OperationalFlags for CalculationChannel <Data>
Specifies whether DIAdem assigns a flag to the value of a calculation channel in the script interface for internal data.
Object.OperationalFlags(Index)
Object | CalculationChannel <Data> Object with this property |
Index | LongInteger Specifies the position of the channel value to which DIAdem assigns the flag. |
Object.OperationalFlags | Boolean with read and write access |
The following example generates a calculation channel from a formula with the unit “m/s” and assigns a flag to the first value of this calculation channel:
VBScript | Python |
Dim oMyCalculationChn Set oMyCalculationChn = Data.Root.ChannelGroups(1).Channels.AddCalculationChannel("Result", "=Speed * 2", "m/s", 1) oMyCalculationChn.OperationalFlags(1) = TRUE