Viz Plug-ins User Guide

Version 5.0 | Published December 20, 2022 ©

DataMathObject

images/download/attachments/95401951/plugins_datamathobject-icon.png
The DataMathObject plug-in performs mathematical calculations with DataPool objects and variables and writes the result to a specified result.

Note: This plug-in is located in: Plugins -> Container plug-ins -> Data

Information: DataPool plug-ins only work properly on a single channel on the same machine.

DataMathObject Properties

  • Field Name: Defines the first argument for the mathematical operation. This argument is a DataPool variable or a DataPool Object.

  • Second Argument: Defines the second argument used for the mathematical operation. The order of the arguments in the mathematical expression is defined in the Operation Order argument.

  • Second Argument Scope: Defines the scope of the second argument, i.e. whether the argument is a local variable (part of an object) or a global DataPool variable.

  • Result: Defines the DataField that receives the result of the mathematical operation.

  • Result Scope: Defines the scope of the result, i.e. whether the argument is a local variable (part of an object) or a global DataPool variable.

  • Operation Type: Defines type of operation to perform. According to the selected operation type, a list of operations are displayed. The selected operator is used in the mathematical expression.

  • Operation Order: Defines the order of the arguments in the mathematical expression.

  • Decimal Places: Determines the number of decimal places for the result of the operation.

Notes

  • If the operation is unitary, only argument1 is used.

  • Only the Field Name parameter triggers the DataMathObject plug-in and the result is calculated.

  • If one of the variables is not defined it is ignored (it is not created automatically like in other DataPool plug-ins).