07-15-2011 05:19 PM
I am running a test stand sequence and I am currently running a method from a .NET assembly which uses an object created earlier in the sequence. This method requires three array arguements of types (string, enumeration, and numeric). It returns a value of enumeration. When I set only one item in each of these arrays, I get this error when the sequence gets to this step
"An error occurred while identifying the parameter type. The type index has a value of 16 which is an invalid value."
"-17500; Operation Failed".
Can anyone explain this error for me in better detail so I can figure out what to do to the step. If I set this up in a LabView VI, there are no issues.
Solved! Go to Solution.
07-15-2011 09:57 PM - edited 07-15-2011 10:04 PM
What version of TestStand are you using? The .NET adapter changed significantly in TestStand 2010. Can you paste the exact prototype of the method and enumerations involved into a post to this forum.
NOTE: If you are using the .NET adapter a lot and aren't yet using TestStand 2010, I recommend trying TestStand 2010 if possible since there are many significant enhancements to the .NET adapter in the TestStand 2010 release.
-Doug
07-18-2011 08:26 AM
07-18-2011 11:31 AM
Please post the full prototype of your method and anything else that might help us reproduce this issue. Also, if you want to, you can download the eval version of TestStand 2010 from ni.com and try it out.