LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Ini_ReadFromFile - open and closing of file

Solved!
Go to solution

When I use the function 'Ini_ReadFromFile()' does it handle the "open" of the file and getting of the file handle, read the contents into memory and then "close" the file and releasing of the file handle?  I believe it does but it is not clear and I do not see it stated in the documentation.

 

Thanks

0 Kudos
Message 1 of 3
(3,718 Views)
Solution
Accepted by topic author delsescaux

You are correct that this is not mentioned in the documentation - you can use the link 'Submit feedback on this topic' at the bottom of the respective help page in the helpfile of CVI to notify NI about this omission.

 

If you look at the two sample projects with respect to ini files you will see that indeed there is no explicit open or close command, so reading or writing an ini file works without explicitly opening or closing the file.

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

Thanks for confirming this.  🙂

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