03-29-2018 02:17 PM - edited 03-29-2018 02:18 PM
.Working in LabVIEW 2015SP1. The following knowledge base says that if I receive a an error code 1172 then I can pull a more detailed message from ".NET Exception Message property" (MSDN).
I browse to System (4.0.0) within my available .NET assemblies but I can't find the correct class. Image attached.
Solved! Go to Solution.
03-30-2018 04:47 PM
Thanks for bringing this up. I did some research and there's actually a typo in the KB:
"In LabVIEW 8.0 and later, more information can be added to the error messages..." should read "In LabVIEW 8.0, more information was added to the error messages..."
So, the information is already added to the error message automatically, and you should already be receiving the full code. Sorry for the confusion on that. I will update the KB article to avoid any future confusion!
04-01-2018 11:16 PM
Just to add to francine's reply; the "source" element of the error cluster is highly verbose and contains the content of the exception that was thrown (copied from the exception's Message property which you cannot access in LabVIEW). Unbundle the source element and review the content to discover the reason for the exception.