Exception handling in the .NET interface in LabVIEW is one of my biggest complaints regarding the way LabVIEW deals with .NET. I would suggest having the .NET component creators throw custom exception objects. The LabVIEW .NET interface will simply convert a .NET exception into an error cluster, though you'll need to look at the error cluster's "source" string to get the information. I've tried this before, and it's clumsy. Brian Tyler suggests a "Last Error" property, if possible, in this
thread.