07-01-2013 09:41 AM
Hello All,
I have labview 2010. I encounted a build errror where ever I have an array output/in put in the VI. It seems like .NET can not be build with vi has an array output. Or please tell me I have some thing wrong
Error 1172 occurred at Error calling method NationalInstruments.LabVIEW.VIParser.VIParser.SetVIInformation, (System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. Inner Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.)
Possible reason(s):
LabVIEW: A .NET exception occurred in an external assembly. For information about correcting this error, copy the following exception (in bold), and search the Microsoft Developer Network (MSDN) Web site or the Web for a possible explanation. System.IndexOutOfRangeException in AB_Engine_InteropAssembly_ProtoDefined.vi->AB_InteropAssembly.lvclass:Build.vi->AB_Build.lvclass:Build_from_Wizard.vi->
AB_UI_Frmwk_Build.lvclass:Build.vi->AB_UI_FRAMEWORK.vi->AB_Item_OnDoProperties.vi->AB_Item_OnDoProperties.vi.ProxyCaller
07-02-2013 05:16 PM
Hi Tphan,
Have you tried looking up the exception in the Microsoft Developer Network?
You can also try some of the steps mentioned in this forum post.
07-02-2013 07:59 PM
Since the build error only happen when an array output and it on the labview side I see the problem might not be of the MSDN. It also complaining about the array size (index out of bound). Also I known that Labview 2010 by default only support .NET 3.5. This is also a very easy to verify by building an extremly simple VI with an array output. So i want to known if any body ever encounted this problem. Other wise I would assum that this use case is never been tested.