10-27-2010 08:52 AM
Hi, I have .NET assemblies that I am calling from labview. How can I automatically launch Visual Studio when I step into a these code modules from labview? What kind of enviroment I need?
I am really appreciate anyone's help!
10-27-2010 10:16 AM
10-27-2010 10:23 AM
Thanks. I do search. But from the link, I am not sure it's talking about C/C++ DLL or .Net DLL. Since I never work on the source code of .NET, I want to comfirm the setup...
10-27-2010 10:26 AM
It's talking about .NET. If you don't know .NET then you should read up on some tutorials on .NET, otherwise how are you going to know what you're debugging?
10-27-2010 10:30 AM
I know the DLL is build in .NET framework when it's passed from my colleague to me. And I can use constructor in labview to call this DLL. The problem is I meet with some problems and I need to see how to debug it. My colleague doesn't know labview and I don't know .Net. So I come here to ask the setup enviroment so we two can work together.
10-27-2010 10:38 AM
Thanks for your reply. I will use ADE then.
10-27-2010 10:39 AM
I don't understand what you're asking. Do you have a debug version of the DLL? Do you have the source code? That KB article tells you how to debug a .NET assembly. It's pretty self-explanatory. You load the solution in VIsual Studio. You place breakpoints where you want. You attach VIsual Studio to the LabVIEW process. You have the LabVIEW code call the assembly. When the breakpoint is hit, the Visual Studio environment will kick in. If your colleague knows how to use Visual Studio then they should know how to debug a .NET library that's used by another process. It's no different with LabVIEW.
10-27-2010 10:44 AM
They can give me the source code of DLL. I will do the debug myself. I need to setup the enviroment in my PC.
One more quesiton: the link mention it's Visual Studio ADE. Should it be Visual Studio IDE?
10-27-2010 01:31 PM
There is no special setup of the PC. You'd be debugging an assembly in the Visual Studio IDE. Again, if you do not know how to write .NET code or to debug assemblies, then you should study the manuals that come with Visual Studio or talk to your colleague, as this is a Visual Studio question, not a LabVIEW one.
I have no idea why the article says "ADE". It should say "IDE".
10-27-2010 01:33 PM
Thanks a lot!