LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array Max and Mix trouble

I am using the Array Max and min on an array of X data points. The x values are in fractions of a sec, so they are formatted in scientific notation. The array max and min function does not seem to read Sci notation values correctly. For example, It thinks that 4E-4 is less than 0. Is it a problem with the subroutine? Or is there a way to make it correctly recognize the Sci values?
0 Kudos
Message 1 of 4
(3,088 Views)
I don't see any problem with the Array Max & Min function. The scientific notation is simply a display format and has nothing to do with the internal representation of floating point numbers. Create an inicator for the max ouput and make sure that the format for the indicator is set for scientific notation. The default is floating point with 2 digits of precision. The same is true for a probe and that may account for your confusion.
Message 2 of 4
(3,088 Views)
Hi,
my version of LV (6.1) seems fine. What version are you running?
I've attached the algorithm you could use to perform the funcionality.

Hope that helps

S.
// it takes almost no time to rate an answer Smiley Wink
0 Kudos
Message 3 of 4
(3,088 Views)
Post us an example VI where you are having this problem, and we'll see if we can find out what the problem is....




Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
0 Kudos
Message 4 of 4
(3,088 Views)