DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

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
ObjectCalculationChannel <Data>
Object with this property
oPropertiesProperties <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:

VBScriptPython

 

Dim oMyCalculationChn
Set oMyCalculationChn = Data.Root.ChannelGroups(1).Channels.AddCalculationChannel("Result", "=Speed * 2", "m/s" 1)
Call oMyCalculationChn.Properties.Add("MyOwnProp","PropValue",DataTypeString)
In This Section
Was this information helpful?