Hi, Walker, Jim,
Your request for document is reasonable. Unfortunately, we don't have a comprehensive tutorial on Fixed-Point itself yet. Basically you configure fixed-point data type according to the range and precision of the value you want to represent. The range determines the signed/unsigned and integer word length. The precision determines the fractional word length:
For a signed FXP, the value range is: [-2^(iwl-1), 2^(iwl-1)-2^(-fwl)]
For an unsigned FXP, the value range is [0, 2^iwl-2^(-fwl)]
where iwl is integer word length, and fwl is the word length of the fracational part. iwl+fwl is the word length. So if you are aware of the range and precision of a parameter, you can infer an appropriate FXP format according to the formula above.
The integer word length is actually a logic concept, which denotes a scale factor, thus can be negative. For example, for an 8-bit unsigned FXP number "11001001" (201 in decimal), the real value it represents is 201/2^(8-iwl).
Hope this helpful.
For fixed-point constants you can turn on "Adapt to entered data" from the popup menu. This will pick the best fixed-point configuration based on the number you type in.
For front panel indicators you can turn on "Adapt to source" from the popup menu. The indicator will change adapt to whatever numeric type is wired to it.
nice library! but what is the difference between the "fixed point add" function and the native add function from Labview ? the native add function can also handle fixed-point.