I'm using LabVIEW 7.1 and I've noticed an odd problem with how it is handling .NET Interfaces. In particular, if I have a .NET
class which has an overloaded method (method with the same name but different parameters), then the method shows up in LabVIEW as MyMethod, MyMethod[1], MyMethod[2], etc where the [1] and [2] indicate the overloaded versions of MyMethod. This isn't pretty (in particular you can't see which method is which unless you select them one by one until you find the right one) but it works.
The problem however is when I use an interface which has an overloaded method. I have an interface, let's call it IMyInterface which has a method MyMethod(int a) and an overloaded version MyMethod(int a, int b). The problem is in LabVIEW both of these methods are showing up as MyMethod, not MyMethod and MyMethod[1]. That's purely cosmetic, but the real problem is if I select the second overload (the one with two parameters) it appears in the invoke with the first parameter, labeled as a, but with second one is labeled just "parameter". Wiring anything to this terminal doesn't work as it doesn't seem to get passed to b causing a .NET exception.
Does anybody have any idea what might be going on here? Is there a way around this.
Thanks
WJ