Page 1 of 1

Input data ranges specified in Pro XML

Posted: Thu Mar 08, 2012 11:54 am
by houchin
Hi guys,

If I specify a data range for a LUT field in the PRO XML file, does the general ADL Dictionary code that reads in that file actually compare the data against the range?

For example, if I have an 8-bit integer LUT field Fit_type and in the XML specify that values range from 0 <= Fit_type <= 1, do I still need to check the value of Fit_type in the algorithm code where I use that value?

Re: Input data ranges specified in Pro XML

Posted: Thu Mar 08, 2012 12:00 pm
by kbisanz
The code actually doesn't look at the range fields. So yes, you still need to range check the inputs.

The information is there more for documentation purposes.