Greater Than 0? Function

Returns TRUE if x is greater than 0. Otherwise, this function returns FALSE.

The connector pane displays the default data types for this polymorphic function.


icon

Inputs/Outputs

  • cdbl.png x

    x can be a numeric scalar value, cluster, array of numbers, or a time stamp value.

  • ibool.png x > 0?

    x > 0? is a Boolean value of the same data type structure as x.

  • FPGA Module Details

    The following details apply when you use this object in an FPGA VI.

    Note The following details are subject to change with each version of the LabVIEW FPGA Module.
    Single-Cycle Timed Loop Supported.
    Usage If you use this function with the single-precision floating-point data type, refer to the Using the Single-Precision Floating-Point Data Type and Deciding Which Data Type to Use in FPGA Designs topics for resource use, latency, and single-cycle Timed Loop support implications.
    Timing

    Inside single-cycle Timed Loop--When you use Comparison functions inside a single-cycle Timed Loop, the combinatorial logic delay is proportional to the width of the data types you compare.

    Outside single-cycle Timed Loop--When you use Comparison functions outside a single-cycle Timed Loop, each Comparison function takes one clock cycle.

    If you use the Comparison functions with the fixed-point data type, the overflow and rounding modes might impact timing.

    Resources The Comparison functions use FPGA resources in proportion to the width of the data types you compare.