# LabVIEW

cancel
Showing results forÂ
Did you mean:Â

Solved!
Go to solution

## How to multiply a fixed point number by 10^4 in FPGA?

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 ðŸ™‚

Message 1 of 4
(364 Views)
Solution
Accepted by topic author David99999

## Re: How to multiply a fixed point number by 10^4 in FPGA?

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.

Message 2 of 4
(358 Views)

## Re: How to multiply a fixed point number by 10^4 in FPGA?

Have you seen the configure screen for a given fixed point control/indicator/constant? (edited: see the previous post)

Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
Message 3 of 4
(357 Views)

## Re: How to multiply a fixed point number by 10^4 in FPGA?

Nope! I have not. But I see it now, thanks guys!

Message 4 of 4
(343 Views)