Hallo,
I have noticed that the VI "Reg event callback" in LabVIEW 8, doesn't fire .NET events when as parameter is given a 2D array. To transfer such a parameter from my Assembly to Labview i have to build a helper class and pack such an array in that class. That's annoying.
Is it impossible to use events with array-parameter of more than one dimension? Such a helper class which has an array as parameter is more complicated than standalone array.
If I use such a component in my Visual Studio programm, all goes OK.
Fragment from my source code:
// That goes through processes and fires the event (Reg event callback) public delegate void EventSimple(int _number);
// That goes too public delegate void EventArrayDouble(double [] _array);
// That doesn't go !! why? public delegate void EventArrayDouble2(double [,] _array);
// That goes - the only way to transfer my 2Darray is to pack it in such a class (The array is public property of that class) public delegate void EventHelpClass(HelpClass _cla);
As attachement is the component (VS2003Std) and VIs (subfolder BadTestEvents\bin\Debug)
Thank you for any explanation
Pawel