Variable: ChnDim
- Updated2024-09-12
- 1 minute(s) read
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.
VBScript | Python |
@@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.
VBScript | Python |
@@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.
VBScript | Python |
@@ChnName("[1]/[1]")@@ [@@ChnDim("[1]/[1]")@@]
Related Topics
Variable: CH | Variable: ChnName