Enabling Desktop Execution Trace Toolkit to Remotely Debug a LabVIEW Executable

Updated Nov 3, 2023



  • LabVIEW Desktop Execution Trace Toolkit
  • LabVIEW

I want to use the NI LabVIEW Desktop Execution Trace Toolkit (DETT) to monitor my executable which I created in LabVIEW. How can I do that?

To allow DETT to remotely debug your executable, you need to:
To enable VI server access follow these steps:
  1. Open your LabVIEW project.
  2. In LabVIEW's Project Explorer, perform a right-click on My Computer and open Properties.
  1. Go to the VI Server tab, enable TCP/IP and define a Port number (in this example 3364):
  1. Scroll down and add the IP address of the PC you want to execute DETT on to the Machine Access list. This can be the same PC as your application will be execute on, or a remote PC.
  1. Build your application.
  2. Completely close the LabVIEW Development Environment. If you leave LabVIEW open, it keeps the TCP/IP port you specified for your project in step 3 reserved, not allowing your compiled application to use it.
  3. Launch your application.
  4. Open Desktop Execution Trace Toolkit, and connect to your compiled application by:
i. Enter the IP address of the machine that the executable is running on in the Machine field
ii. Enter the port number you specified earlier in the Port field,
iii. Click the Refresh icon,
iv. After selecting the executable's name from the Application Instance drop-down menu.


Additional Information

In the steps above, changing the VI server settings was achieved by right-clicking My Computer. A similar setting for applications executed inside the LabVIEW Development Environment can be changed in menu Tools » Options » VI Server. DETT needs to use the port set in the above described steps in order to connect to the executable.