LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I determine Nan/+Inf/-Inf from within my program?

Hello,

I'm trying to progam a numerical routine within LabWindows/CVI 6.0 and can't seem to locate the isnan()/isinf()/etc. subroutines.

What are they called in LabWindows/CVI?

Thanks,

- Matt Pfenninger
UltraDots, Inc.
Fremont, CA
0 Kudos
Message 1 of 2
(3,282 Views)
Matt,

These functions were only added in CVI 7.1, so that explains why you're not finding them.

In CVI 7.1 they were added to the Programmer's Toolbox library, which is open-source. So I'm attaching the source code for those functions here. They should work just fine in CVI 6.0.

Luis
NI
0 Kudos
Message 2 of 2
(3,279 Views)