LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

array reshape changes values from one array to the next??

Take a look at this easy example and explain to me why the first two
values in the two arrays are not exactly the same.

the exapmle code is at
http://community.ni.com/examples/load-array-and-rearrange/array-reshape.zip

0 Kudos
Message 1 of 2
(2,431 Views)
If you look at the display format of the output array, it is set to 6 significant digits.  So, since 2578656 has 7 digits, LV rounds the display value (not the actual value) to 2578660, which has 6 significant digits.  Same for the next element.  If you change the display format to be 7 sig digits or 6 digist of precision, you will see the same value.
Message 2 of 2
(2,429 Views)