
Creating & Using Nodes
For example, you could multiply the contents of the default register by 3 and store the results in a register called Triple. Rather than supplying a constant (such as 3), you could specify another register that contains the number you want to multiply, add, subtract, or divide by. Figure 45 on page 69 shows the dialog box for a Math node.
The format of the math function is as follows:
Constant Register File + - / *
%Constant Register = Register File
The results of the math operation must be within the range of
PPG supports floating point math. Decimal values and exponential notation of values with up to 13 digits can be entered in an application.
Operand 1 TabThe Operand 1 tab lets you specify a constant value or a file or register containing the first operand for the mathematical operation. The location of
is displayed near the bottom of the dialog.
Figure 46. Math Node: Operand 1Tab
For more information on files and registers, refer to Registers on page 78 and Files on page 81.
70 | PT Program Generator (PPG) v5.0 |