Aerospace, Defense, & Government
Academic & Research
Benchtop Measurement and Test
Distributed Measurement and Control
Systems Engineering Software
You can request repair, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
I was surprised to observe that Max/Min functions will ignore NaN values inside an array.
Except if the first element is NaN, in this case the function will return NaN no matter what the rest of elements are real values.
Is it the expected behavior? To me it seems like a bug.
I'm using Teststand 2014.
I think this can be expected. IEEE754 standard defines that any comparison with NaN except != returns false. And the Max (Array) function does probably something like
Max = Array;
for (i= 1; i< Lenght(Array); i++)
if (Array[i] > Max)
Max = Array[i] ;
This will give you the observed result.
What do you need our team of experts to assist you with?
We'll be in touch soon!