DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Variable: ChnDim

Variable: ChnDim

Valid names: ChnDim, CD

Specifies the unit of a data channel. You also can use the object-oriented interface to access internal data. You can use the Properties for Channel property with the property name "unit_string" and the UnitSymbol property to determine the unit of a data channel.

Definition ChnDim(i), String
i = 1 ... ChnNoMax

Access: Read/Write

The following example displays the name and the dimension of the channel in a label text of an axis system.

VBScriptPython

 

@@ChnName(CurrxChnNo)@@ [@@ChnDim(CurrxChnNo)@@]

The following example displays the name and the dimension of the first channel in the first channel group in a label text of an axis system.

VBScriptPython

 

@@ChnName(Data.GetChannel("[1]/[1]"))@@ [@@ChnDim(Data.GetChannel("[1]/[1]"))@@]

The following example displays the name and the dimension of the first channel in the first channel group in a label text of an axis system.

VBScriptPython

 

@@ChnName("[1]/[1]")@@ [@@ChnDim("[1]/[1]")@@]

Related Topics

Variable: CH | Variable: ChnName

Used by

Program Variables in Commands

In This Section
Was this information helpful?