The word length you specify might exceed the maximum word length a target accepts. If this occurs, LabVIEW sets the word length to the maximum possible length and uses the default settings for overflow and rounding. By default, the word length retains the most significant bits. This word length reduction rounds the value but prevents overflow. Refer to the documentation for a target to determine the maximum word length the target accepts.
LabVIEW and other applications encode fixed-point numbers in binary format, which is a base-2 number system. Because the decimal number system is base-10, you cannot represent all decimal values exactly in fixed-point. For example, you can represent 0.1 exactly in decimal format, but if you convert 0.1 to a fixed-point number with a 32-bit word length and a 16-bit integer word length, LabVIEW changes the rational number to 0.100006, which it can represent in base-2.
WAS THIS ARTICLE HELPFUL?
Thank you for your feedback.
You changed your response to Helpful
You changed your response to Not Helpful