DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

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)
ObjectCalculationChannel <Data>
Object with this property
IndexLongInteger
Specifies the position of the channel value to which DIAdem assigns the flag.
Object.OperationalFlagsBoolean 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:

VBScriptPython

 

Dim oMyCalculationChn
Set oMyCalculationChn = Data.Root.ChannelGroups(1).Channels.AddCalculationChannel("Result", "=Speed * 2", "m/s", 1)
oMyCalculationChn.OperationalFlags(1) = TRUE
In This Section
Was this information helpful?