LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Including complex.h fails

Solved!
Go to solution

I want to use the complex numbers functions of C99 which according to this page http://digital.ni.com/public.nsf/allkb/73AEAD30C8AF681A86257BBB0054A26B should be possible. However, Labwindows can not find the complex.h header file in the #include <complex.h> statement.

 

How can I get this to work?

0 Kudos
Message 1 of 3
(4,806 Views)
Solution
Accepted by hihahors

CVI 2013 supports complex data types, so you can declare, e.g., _Complex double z1;

 

But that's it so far. At present, CVI does not support the corresponding C99 functions such as, e.g., creal, csqrt... Therefore no corresponding header file exists...

0 Kudos
Message 2 of 3
(4,800 Views)

Thanks Wolfgang! That's clear (and a shame...)

0 Kudos
Message 3 of 3
(4,796 Views)