jaehov Posted February 1, 2007 Report Share Posted February 1, 2007 Hello All I have a dll that was created in Visual Studio .NET and I want to open it within Labview 8...(Windows XP) I want to view all the methods and properties contained in the .dll Does anyone know how to expose the .NET dll within Labview? thanks Hov Quote Link to comment
Jeff Plotzke Posted February 1, 2007 Report Share Posted February 1, 2007 I want to view all the methods and properties contained in the .dll First of all, make sure you have the latest .NET framework off microsoft.com (You need at least .NET 1.1 SP1 for LabVIEW). If you have VS.NET, you're probably OK. Drop a .NET refnum on your front panel. On your block diagram, right click it and select "Select .NET Class" > Browse... You can select the DLL to use and the .NET class inside the DLL to use. From there, wire up a property node or invoke nodes to use the properties/methods of the .NET DLL. Quote Link to comment
AnalogKid2DigitalMan Posted February 1, 2007 Report Share Posted February 1, 2007 There are also .NET examples that ship with LabVIEW- Search the Example Finder for .NET. There is also discussion within the built-in LabVIEW Help, again search for .NET Quote Link to comment
jaehov Posted February 1, 2007 Author Report Share Posted February 1, 2007 Hey Jeff Thanks for the response!!...I can see the methods and properties for my .NET dll ! .NET refnum in LV 8.2 is found under the "Modern" controls palette >> "Refnum" Have a Great Day ps. I did have .NET 1.1 SP1 installed ~J First of all, make sure you have the latest .NET framework off microsoft.com (You need at least .NET 1.1 SP1 for LabVIEW). If you have VS.NET, you're probably OK.Drop a .NET refnum on your front panel. On your block diagram, right click it and select "Select .NET Class" > Browse... You can select the DLL to use and the .NET class inside the DLL to use. From there, wire up a property node or invoke nodes to use the properties/methods of the .NET DLL. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.