NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Does TestStand understand NaN?

I am using the latest LabVIEW VIs for the HP34401A DMM.

When measuring an open circuit, these VIs return a NaN (Not a Number).

When TestStand receives this value, it displays it as "-1.#IND" in the
report.

Curiously, I can make a numeric test pass when passed a NaN by setting
the comparison type to "EQ" and putting ANY number in the numeric text
box. (=1, =-1, =2313, etc.) I believe this holds true for other NaNs
like positive infinity and negative infinity ("1.#INF" and "-1.#INF").

Is there a better way to handle a NaN other than intercepting it within
LabVIEW, testing for NaN, and changing the value to a very large
positive or negative number before passing it on to TestStand?

Howard


Sent via Deja.com http://www.deja.com/

Share what you know. Learn what you don't.
0 Kudos
Message 1 of 3
(6,563 Views)
In article <7m0kjb$qpc$1@nnrp1.deja.com>,
hevans@nordson.com wrote:
> When measuring an open circuit, these VIs return a NaN (Not a Number).

I meant to write: When measuring the resistance of an open circuit...

Howard


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
0 Kudos
Message 2 of 3
(6,563 Views)
Howard,

You are correct, TestStand does not explicitly recognize "non-number"
numbers.
I will put this in as a candidate feature for a future release,
possible 2.0.
- James


In article <7m0l2k$qvo$1@nnrp1.deja.com>,
howman69@my-deja.com wrote:
> In article <7m0kjb$qpc$1@nnrp1.deja.com>,
> hevans@nordson.com wrote:
> > When measuring an open circuit, these VIs return a NaN (Not a
Number).
>
> I meant to write: When measuring the resistance of an open circuit...
>
> Howard
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
0 Kudos
Message 3 of 3
(6,563 Views)