Input data ranges specified in Pro XML

Data formats, HDF5, XML profiles, etc.
Post Reply
houchin
Posts: 128
Joined: Mon Jan 10, 2011 6:20 am

Input data ranges specified in Pro XML

Post 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?
Scott Houchin, Senior Engineering Specialist, The Aerospace Corporation
15049 Conference Center Dr CH3/310, Chantilly, VA 20151; 571-307-3914; scott.houchin@aero.org
kbisanz
Posts: 280
Joined: Wed Jan 05, 2011 7:02 pm
Location: Omaha NE

Re: Input data ranges specified in Pro XML

Post 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.
Kevin Bisanz
Raytheon Company
Post Reply