O'Reilly logo

LabVIEW Graphical Programming Cookbook by Yik Yang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Debugging a .NET DLL

Sometimes, a DLL may have a bug that will only show up when it is called in LabVIEW. To debug such problem, LabVIEW and Microsoft Visual Studio can be used together for investigation. In this recipe, we will demonstrate how to use Microsoft Visual Studio to step through a DLL that LabVIEW is currently accessing.

How to do it...

In order to debug a .NET DLL, using Microsoft Visual Studio, we need to execute the following steps:

  1. Everything including the DLL and its source code must be in a Visual Studio project. See the following screenshot for the source code of our example in C#. It contains a class called Monsters with Name and Height as its properties; and Greeting as a method.
  2. Within Visual Studio, navigate to Build | Configuration ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required