When converting the floating-point data types in your design to fixed-point, you choose a conversion strategy that defines how LabVIEW generates initial data type suggestions. LabVIEW uses the conversion strategy you choose to suggest data types for your design that avoid overflow and have sufficient precision to satisfy the strategy requirements.
Before you can choose a fixed-point conversion strategy, you must profile your design. Refer to Profiling Code to Convert to Fixed-Point for help profiling your design.
The ideal conversion strategy for your design depends on your specific precision and resource requirements:
The Convert to Fixed-Point tool provides initial data type suggestions that the tool predicts will meet the signal-to-noise ratio (SNR) target you specify.
To use margin of error as the basis of the initial suggestions LabVIEW provides, select SNR (dB) as your strategy. The SNR (dB) strategy provides the most accurate suggestions but does not constrain the number of bits allowed per object.
|Word Length (bits)||
The Convert to Fixed-Point tool provides initial data type suggestions that match the word length (number of bits) you specify.
If you have strict resource limitations for your design, you may want to use Word Length (bits) to directly control the number of bits for each fixed-point data type.