LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any function for getting the error description for Ini related functions?

Solved!
Go to solution

Hi 

                        I am using Ini functions, to read the sections from the ini file.

But Ini_ReadFromFile() functions returns ‘0’ on success and error numbers on failure. I am interested in the function which can returns the description of the error in string format when I pass the error number to that function.

 

              For example when I pass the error number to GetUILErrorString() function it returns the description of the error for the corresponding error number.

            So my doubt is, Is there any function in CVI which can return me the description of error when i pass the error number returned by Ini_ReadFromFile() function.

 

Thanks and Regards

Nagaraj B

 

0 Kudos
Message 1 of 3
(2,797 Views)
Solution
Accepted by topic author Nagraj B

Inside the Programmer's Toolbox your can find GetGeneralErrorString which covers a great set of CVI libraries. It can be used for getting error description fro the IniFile instrument too.

 

If you haven't already done this, I suggest you take a deep look into the toolbox, as it includes a wide number of useful functions.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(2,796 Views)

Hi Mr.Roberto,

                            Thank you for the reply. That function is working

Thanks and Regards

Nagaraja B

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