12-02-2021 02:40 PM
So from the reading I've done so far on fixed point, it's a number with a static amount of digits because FPGA's don't really have "dynamic" memory (hopefully I said that right, or you know what I mean). Which makes sense why when I try to multiply my fixed point value by 10,000, labview doesn't agree and changes my constant to some long value of 0.xxxxxxxxxxxxx.
But I have a value of 0.02 that I want to multiply by 10,000 so that I can see a value of 200. Surely there must be a way to do this 🙂
Solved! Go to Solution.
12-02-2021 03:08 PM - edited 12-02-2021 03:09 PM
There are many different fixed point datatypes, each defined by the total number of bits (word lenght) and the place of the binary decimal point (integer word length) and signed vs unsigned. Each combination gives you a max and min value and the spacing between values.
You just need to define a type that covers your desired range and resolution.
12-02-2021 03:09 PM - edited 12-02-2021 03:09 PM
See: https://zone.ni.com/reference/en-XX/help/371361R-01/lvconcepts/numeric_data/#Using_FXP
Have you seen the configure screen for a given fixed point control/indicator/constant? (edited: see the previous post)
12-02-2021 03:57 PM
Nope! I have not. But I see it now, thanks guys!