Display – Numeric display of input values

Block SymbolLicensing group: STANDARD
Qt SVG Document Exported by REXYGEN Studio ???

Function Description
The Display block shows input value in a selected format. A text suffix may be appended to the value by specifying the suffix parameter. An actual value is immediately displayed in REXYGEN Studio after turning on Watch mode. The conversion of the input into its text representation is performed on the target device at each Decimation period, so the displayed value can also be retrieved via the REST interface or used in the user interface.

The Format parameter allows selecting from various value display styles. The display modes differ for non-integer and integer values. The offered display styles include: For non-integer values:

  • 1: Best fit: Default display of most numbers in the "Full Precision" style, switches to "Scientific Long" style for extremely small or large values.
  • 2: short: Displays values with a maximum of 3 decimal places.
  • 3: long: Displays values with the maximum number of decimal places (up to 15).
  • 4: short_e: Exponential (scientific) display of values with a maximum of 3 decimal places.
  • 5: long_e: Exponential (scientific) display of values with the maximum number of decimal places (up to 15).
  • 6: bank: Displays values with 2 decimal places.

For integer values:

  • 7: hex: The number in hexadecimal format.
  • 8: bin: The number in binary format.
  • 9: dec: Standard display of numbers in decimal format.
  • 10: oct: The number in octal format.

This block does not propagate the signal quality. More information can be found in the 1.4 section.

Input

u

Input signal

Any

Parameter

Format

Format of displayed value  1

Long (I32)

Best fit 

short 

long .

short_e 

long_e 

bank .

hex ..

bin ..

dec ..

oct ..

Decimation

Value is evaluated in each <Decimation> period   1  100000 1

Long (I32)

Suffix

A string to append to the value

String

DispValue

Displayed value

String

2024 © REX Controls s.r.o., www.rexygen.com