L-VIS User Manual
103
LOYTEC
Version 6.2
LOYTEC electronics GmbH
Value Range:
The values entered in these two fields (min –max) define the limits
for input of new values. The user cannot input any value below min or above max.
Values received from input data points are always displayed, even if they are
outside the allowed input value range. However, to estimate the most likely space
requirements for the output in case of auto-size, the given value range and
resolution data is used to deduce some test-values whose output is evaluated to
find the widest output. Since this will not be accurate in all cases, especially for
more complex locale dependent formats, it is advisable to set a fixed size for such
controls.
Input Resolution:
This value defines the amount by which the value is increased
or decreased when the + or – buttons are used in the key pad. The resolution value
is also used together with the value range to generate test-values for output width
estimation, in case auto-size is enabled.
Acceleration:
This setting is only used by the older LVIS-3ECTB model, which
has a jog dial instead of a touch screen. It defines how much the dial speed
increases the amount of value change, starting at the given input resolution for low
speeds and increasing gradually as the jog dial is turned faster.
The
Flags
area contains the following additional options:
Locale Dependent Formatting:
This option activates locale aware formatting of
numbers. The C-style format string is replaced by a simple placeholder tag
${value}
at the position where the formatted value should appear. All properties
regarding the way the value is formatted are set in the
Number Format
area on the
right hand side of the property page. Any changes are immediately visible in the
LCD preview. See section 9.5.4.1 below for details.
Convert Data Point Value to Integer:
This check box is available when C-style
formatting is used. It needs to be checked when you want to use an integer format
specifier in the format string, like %x or %d. If the format string wizard is used to
generate the format string, this check box is set by the wizard as required.
Hexadecimal Input Keypad:
This check box can be used together with a %x
format to provide a hexadecimal input keypad matching the way the value is
displayed. It would be confusing to enter a decimal value and then see it converted
into hexadecimal on the control, so the display format and the input keypad should
use the same number system.
Password Input Keypad:
This option may be used to enter a PIN code. The
keypad starts out empty instead of showing the current control value and for each
digit entered it only shows a star (*).
9.5.4.1 Locale-Aware Format
When
locale dependent formatting
is used, the
Number Format
options on the right hand
side of the property page become available. They are used to set a style and a number
system to be used, as well as some additional options to refine the output. The following
basic styles are available:
Decimal:
Standard decimal number output. Depending on the options, the output
can either be fixed point or floating point (see options below).
Scientific:
Scientific format, using exponential notation. Depending on the
options, the output can either be normalized (always one digit in front of the
decimal point), or display a fixed number of fractional digits.