0% found this document useful (0 votes)
464 views6 pages

Enabling Desktop Execution Trace Toolkit To Remotely Debug A LabVIEW Executable - National Instruments

The document provides instructions for using the Desktop Execution Trace Toolkit (DETT) to remotely debug a LabVIEW executable. It outlines the steps to: 1) Enable the VI server in the LabVIEW Development Environment and enable debugging in the project's build specification. 2) Configure VI server access in the project properties by enabling TCP/IP, defining a port number, and adding the remote machine's IP address to the access list. 3) Build and launch the application, then use DETT to connect by entering the remote machine's IP and port number and selecting the executable from the dropdown menu.

Uploaded by

jun li
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
464 views6 pages

Enabling Desktop Execution Trace Toolkit To Remotely Debug A LabVIEW Executable - National Instruments

The document provides instructions for using the Desktop Execution Trace Toolkit (DETT) to remotely debug a LabVIEW executable. It outlines the steps to: 1) Enable the VI server in the LabVIEW Development Environment and enable debugging in the project's build specification. 2) Configure VI server access in the project properties by enabling TCP/IP, defining a port number, and adding the remote machine's IP address to the access list. 3) Build and launch the application, then use DETT to connect by entering the remote machine's IP and port number and selecting the executable from the dropdown menu.

Uploaded by

jun li
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Enabling Desktop Execution Trace Toolkit to Remotely Debug

a LabVIEW Executable
Updated Nov 25, 2020

Environment

Software
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:


Enable VI server on LabVIEW Development Environment
Enable Debugging in your LabVIEW project's Build Specification.
Enable VI server access for your LabVIEW project.

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.
3. Go to the VI Server tab, enable TCP/IP and define a Port number (in this example 3364):
4. 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.
5. Build your application.
6. 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.
7. Launch your application.
8. 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.

Related Links
Remotely Debugging Executables in LabVIEW

Desktop Execution Trace Toolkit (DETT) and LabVIEW Compatibility

LabVIEW 2018 Desktop Execution Trace Toolkit for Windows Readme

Other Support Options


Ask the NI Community
Collaborate with other users in our discussion forums
Search the NI Community for a solution

Request Support from an Engineer


A valid service agreement may be required, and support options vary by country.
Open a service request Purchase or renew support services

WAS THIS INFORMATION HELPFUL?

Helpful Not Helpful

 

You might also like