DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Command: ChnDiv

Display all  Hide all

Command: ChnDiv

Divides two channels.

Set ChnResult = ChnDiv(Y, Y1, ResultChannel)

Input Parameters

Y Specifies the data channel containing the dividend values.
Y1 Specifies the data channel containing the divisor values.
ResultChannel Specifies the result channel.

Return Parameters

ChnResult Contains the result channel. ElementList <Data> type return value.

Example

The following example divides one channel from another. DIAdem saves the result channel name in the MyResultChn variable.

VBScriptPython

 

Dim MyResultChn
MyResultChn = ChnDiv("Group1/Channel1","Group1/Channel2","Divided")

Related Topics

Command: ChnAdd | Command: ChnMul | Command: ChnSub

Was this information helpful?