Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Command: ResultUnitGet

DIAdem 2011 Help

Edition Date: July 2011

Part Number: 370859J-01

»View Product Info

Returns the symbol of the result unit for an arithmetic operation.

ReturnValue = ResultUnitGet(SourceUnit, SourceUnit1, ChnUnitOperator)

Input Parameters

SourceUnit Specifies the symbol of the source unit.
SourceUnit1 Specifies the symbol of the second source unit.
ChnUnitOperator Specifies the operator.
Enumeration variable
Enumeration variable with the following selection terms
Script Term Interface Term, Explanation
"PlusMinus"
Add/Subtract
"Multiply"
Multiply
"Divide"
Divide

Return Parameters

ReturnValue String variable type return value.  This text receives the symbol of the result unit. If the calculation does not return a meaningful value, for example, when different units are added, the command returns an empty text.
You cannot use return values in AUT scripts. Refer to Advantages of VBS Scripts Compared to AUT Scripts for further information on the use of VBS scripts and the automatic conversion of AUT scripts.

Related Topics


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit