LabVIEW FPGA Not Displaying Fixed-Point Data Correctly

Updated Feb 23, 2018

Reported In

Software

  • LabVIEW FPGA Module
  • LabVIEW

Issue Details

I'm running a program in LabVIEW FPGA that is outputting Fixed Point Data. I'm not seeing my expected values. Why is this happening?

Solution

You may be experiencing unexpected data because your Fixed Point configuration is not set to accommodate your expected values. To check the range of your Fixed Point data type, Right-Click Indicator >> Properties >> Data Type tab. Here, you can adjust the word length and the integer word length, which will in effect change the maximum and minimum values your indicator can display. This range will also be shown on the window.

This is how the FXP parameters correspond to an actual data point:
To check the FXP data type configuration in your LabVIEW Block Diagram, take advantage of the 'Context Help': Click anywhere on the Block Diagram, hit Ctrl-H to open up the Context Help dialog, and hover over either the wire or the indicator. Here, we hover the mouse over the wire:
Note that just from this, we can decipher information about our FXP configuration:


We can do the same by hovering the mouse with Context Help on for an indicator:

 

 

WAS THIS ARTICLE HELPFUL?

Not Helpful