Command: ChnSub
- Updated2024-09-12
- 1 minute(s) read
Command: ChnSub
Command: ChnSub
Subtracts one channel from another.
Input Parameters
Y | Specifies the data channel containing minuend values. |
Y1 | Specifies the data channel containing the subtrahend values. |
ResultChannel | Specifies the result channel. |
Return Parameters
ChnResult | Contains the result channel. ElementList <Data> type return value. |
Example
The following example subtracts one channel from another. DIAdem saves the result channel name in the MyResultChn variable.
VBScript | Python |
Dim MyResultChn MyResultChn = ChnSub("Group1/Channel1","Group1/Channel2")