From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

open ( file_name) asks for #include <ansi_c.h>

Solved!
Go to solution

Hello,

 

I made the following observation:

 

I have a file compiling fine; now I add the line

 

    open ( file_name );

 

to one of my functions ( file_name is defined) and compile again. I receive the message that I need to add the above mentioned include statement. By the way, I already have this include statement... I don't mind, press 'Yes' and CVI adds this line to my code. Then I compile again and I receive exactly the same message... I can continue piling up these include lines without effect, so I would tend to assume that something is wrong here Smiley Wink

0 Kudos
Message 1 of 3
(3,459 Views)
Solution
Accepted by topic author Wolfgang

Hello Wolfgang.

 

This is the same as this one: http://forums.ni.com/t5/LabWindows-CVI/can-t-find-ansi-c-h-library/m-p/3030109#M68535

In the mean time Include file was updated in the help but the detection of the include file cannot be fixed because it's based on the library name.

 

Constantin

 

0 Kudos
Message 2 of 3
(3,440 Views)

Thanks!

0 Kudos
Message 3 of 3
(3,437 Views)