12-10-2007 03:45 AM
Hi all :
I have dll which is written in C# ( Microsoft visual studio ) , I want to call this dll and used it , ger data from him , the purpose of this all to identify USB device if connected to PC
How can I do that in labview
Thanks
12-10-2007 04:27 AM
Depends a bit on the interface this DLL exports. If it is .Net (considering it is C#) it is not so much a normal DLL as much more a .Net assembly and you obvioulsy want to use the .Net functionality LabVIEW offers you to connect to that assembly.
elyan wrote:
Hi all :
I have dll which is written in C# ( Microsoft visual studio ) , I want to call this dll and used it , ger data from him , the purpose of this all to identify USB device if connected to PC
How can I do that in labview
Thanks
12-10-2007 04:30 AM
12-10-2007 04:32 AM
Hey,
Because C# are .NET Assembleys you will need to use the .NET Functions located in the Functions Palette under Connectivity>.NET. Otherwise just use the Call Library Function Node under Connectivity>Libraries&Executables. You will find examples for both using the LabVIEW Example Finder (Help>Find Examples)
Hope this helps, Christian
12-10-2007 04:33 AM