03-09-2011 06:31 AM
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
Solved! Go to Solution.
03-09-2011 06:42 AM - edited 03-09-2011 06:44 AM
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.
03-09-2011 09:49 PM
Hi Mr.Roberto,
Thank you for the reply. That function is working
Thanks and Regards
Nagaraja B