Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual

Accumulates or decrements x. This node supports multi-channel operations and feedback scaling.

This node supports only Boolean arrays and scalar values of integer and fixed-point data types.

connector_pane_image
datatype_icon

x

Data to add to or subtract from the value of sum.If x is a fixed-size Boolean array, the first array element represents the least-significant bit (LSB) and the last element represents the most-significant bit (MSB). A value of x applies to one channel only.

datatype_icon

sub?

A Boolean that specifies whether this function performs subtraction or addition. Use this terminal to change the operation of this function programmatically.

TRUE This function calculates sum - x.
FALSE This function calculates sum + x.

Default: FALSE

datatype_icon

load

A Boolean that specifies whether to start a new accumulation from 0.

TRUE This function ignores any previous value of sum and begins a new accumulation by loading the value of x.
FALSE This function adds x to, or subtracts x from, the previous value of sum.

Default: FALSE

datatype_icon

enable

A Boolean that specifies whether this function operates on the value of the x input terminal. Use this terminal to operate on only valid values of x.

TRUE This function reads the current value of x and uses it in accumulation.
FALSE This function ignores x and does nothing.

Default: TRUE

datatype_icon

carry in/inverted borrow in

A Boolean that specifies whether this function accounts for an extra least-significant bit (LSB). For example, the LSB could come from the bit pattern of the carry out/inverted borrow out terminal of an upstream Accumulator function.

TRUE

If sub? is TRUE—This function computes sum - x.

If sub? is FALSE—This function computes sum + x + 1(LSB).

FALSE

If sub? is TRUE—This function computes sum - x - 1(LSB).

If sub? is FALSE—This function computessum + x.

datatype_icon

sum

Result this function computes.

This result depends on not only the value of x, but also the values of any Boolean input terminals LabVIEW displays. For example, sum accumulates only while load is FALSE and enable is TRUE. A value of sum applies to one channel only. In multi-channel applications, sum accumulates separately for each channel.

This function applies the Wrap overflow mode to sum in any of the following situations:

  • sub? is TRUE and carry-out/inverted borrow out returns FALSE
  • sub? is FALSE and carry-out/inverted borrow out returns TRUE
datatype_icon

carry out/inverted borrow out

A Boolean that indicates whether the data type of the sum cannot represent the result of an unsigned addition operation or unsigned subtraction operation.

TRUE The data type of sum cannot represent the result of an unsigned addition operation.
FALSE The data type of sum cannot represent the result of an unsigned subtraction operation. In this situation, this function wraps the value of sum.