From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Good practice to reduce I/O Node's FXP bit-width for FPGA Optimization?

Solved!
Go to solution

I'm reading from some cRIO cards that output <+/-,24,10> FXP's which is *much* wider than I need it to be.  I'm reading in voltages that are always positive and less than 100V and I have a 1mV accuracy requirement.

 

Is it good practice to immediately add a "To Fixed-Point" primitive after the I/O node to reduce a <+/-,24,10> to a <+,17,7> (in this case) to save 7 bits per I/O channel and possibly more if I do any sort of math upon them?

 

 


0 Kudos
Message 1 of 2
(1,884 Views)
Solution
Accepted by topic author SeanDonner

Hi Sean,

 

when you are sure you don't need those extra bits then you can convert to a different FXP representation…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(1,877 Views)