12-07-2009 02:53 PM
Hi,
i am familiar with the mechanism of passing data messages from a C# .NET assembly ino the teststand (i.e. dont use classes but use structs - and pass this structs by reference into the teststand) - but now i have a struct containing an array of structs - i get some errormessage telling me that the array is empty and should contain at least one none empty element.
Any ideas ?
Rainer
12-08-2009 08:25 AM
Hi Rainer,
please look at the following KB:
http://digital.ni.com/public.nsf/allkb/6E4F445DD3300CC1862576730073E7C4?OpenDocument
Best regards,
12-08-2009 09:57 AM
You may be running into one of the TestStand Known Issues (51390) that you cannot pass an empty array as a parameter to a .NET Code Module.
Are you passing your struct of array of structs as a parameter or are you attempting to store the struct returned in the return value?
Hope this helps.