04-30-2020 10:10 AM
I'm trying to set the range on a fixed point indicator by adjusting the number of bits on integer word length but the max range that I want to use is not among the options. For example I want to set it 85,600 max but the closest options to this number are 65535 and 131071. Is this even possible?
04-30-2020 11:55 AM
Hi
You can edit the max and min limits in the tab 'Data entry', a I32 representation will be enough to set a Max of 85,600.
04-30-2020 12:20 PM
Bits are binary, therefore the numbers you get are always going to be 2 raised to some power, minus one, which is what 65535 and 131071 are.
If you're using a control instead of an indicator you can set the min and max allowed values that can be input via user action... is that what you want? Because there's no way to create a numeric data type that caps out internally at a value not related to a power of 2.