VALIDRANGE
Supported by Ginmake 1.24 and later, Gin file version 3.21.
This sets up its preceding object with a range of valid values. This will be used by GW in doing a sanity check on a given calibration and note possible problems.
e.g.
In this example, it suggests that Rad Fan should be in the range 1…255.
The minimum or maximum may be omitted if there’s no limit:
// [VALIDRANGE,1,]
Values are RAW unscaled values.
Type specifiers may be used. Useful if the value cannot be reasonably represented using a 32bit signed integer.
To specify VALIDRANGE in physical (scaled) values, use HARDLIMITS.
In GW 4.03.12+ this is more strongly enforced when setting values and is somewhat equivalent to EXTENDED_LIMITS in A2L files, though not a 1:1 mapping.
For A2L output, VALIDRANGE is exported as EXTENDED_LIMITS on calibration objects,
in the same way as HARDLIMITS, but with raw bounds converted
to physical values (except for enumerations). A2L does not support
EXTENDED_LIMITS on MEASUREMENT objects.