Enabling Desktop Execution Trace Toolkit to Remotely Debug a Labview Executable

Updated Jan 10, 2018

Reported In

Software

  • LabVIEW 2017 Desktop Execution Trace Toolkit

Issue Details

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?

Solution

To allow DETT to remotely debug your executable, you need to:
  1. Enable Debugging 
  2. Enable VI server access.
To enable VI server access follow these steps:
  1. Right-click My Computer in your project explorer and open Properties                                                                                                   
  2. Go to the VI Server tab, enable TCP/IP and define a port (in this example 3364)                                                
  3. Scroll Down and add your PC's IP address to the Machine Access list                                                                   
Build and launch your application, and completely close out of the LabVIEW Development environment. You will be able to connect remotely from Desktop Execution Trace Toolkit by entering the IP address of the machine that the executable is running on in the Machine field, entering the port number you specified earlier in the Port field, and selecting the executable's name from the Application Instance drop-down menu.

Additional Information

  • Changing the VI server settings was achieved by right-clicking My Computer. The same settings can also be changed by clicking Tools followed by Options and switching to the VI Server Category. The DETT needs to use the port set in the above described steps in order to connect to the executable.

WAS THIS ARTICLE HELPFUL?

Not Helpful