LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Every possible error code from a function?

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.

0 Kudos
Message 1 of 5
(2,549 Views)

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...

0 Kudos
Message 2 of 5
(2,536 Views)

Hi, Tekie, 

 

there are some suggestions here:

 

http://forums.ni.com/t5/LabVIEW/quot-TDMS-Close-quot-error-codes/m-p/1410342#M547841

 

.

0 Kudos
Message 3 of 5
(2,525 Views)

@

 

0 Kudos
Message 4 of 5
(2,512 Views)
0 Kudos
Message 5 of 5
(2,474 Views)