02-19-2012 08:33 AM - edited 02-19-2012 08:34 AM
Hi,
is there a way to find out every possible error code a LabVIEW function can produce? For example lets say I have the "open/create/replace file" or "Variant to data" function. Now i want to know every error (code) that can be produced by those functions (just as an example)
I know that there are error-code-tables in the help file, but they are grouped by very general topics and include much more error codes than those single functions actually produce.
02-19-2012 11:21 AM
Unfortunately, there is no built-in mechanism to do this. While you could search for the error constant, there are VIs that don't use that, and use a plain numeric constant for the error code.
In terms of documentation, this is one area that LabVIEW lags behind somewhat. For example, the .NET documentation contains information as to what exceptions can be thrown by the various library methods. Of course, Microsoft has a bigger development staff...
02-19-2012 12:20 PM
Hi, Tekie,
there are some suggestions here:
http://forums.ni.com/t5/LabVIEW/quot-TDMS-Close-quot-error-codes/m-p/1410342#M547841
.
02-19-2012 04:46 PM - edited 02-19-2012 04:46 PM
Okay. that is quite dissappointing. Shouldnt be that difficult for them to add every error code a certain function can produce...
As i mentioned in my previous post, i know about those tables. But they are far to general, to be of any help for me.
02-22-2012 01:57 PM
I added a idea exchange topic for this.