LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring fixed point data

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?

0 Kudos
Message 1 of 3
(2,150 Views)

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.

0 Kudos
Message 2 of 3
(2,125 Views)

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.

0 Kudos
Message 3 of 3
(2,114 Views)