LabVIEW Desktop Execution Trace Toolkit API Reference

Opening a Trace Connection

  • Updated2023-02-21
  • 3 minute(s) read

Before you can execute a trace session, you must open a trace connection between the Desktop Execution Trace Toolkit and the LabVIEW application instance in which the application you want to debug runs. You can open a trace connection from the toolkit or from a LabVIEW VI or project.

Note  If you did not previously enable VI Server access in LabVIEW, you might receive a message prompting you to configure the LabVIEW VI Server before you can open a trace connection.

After you open a trace connection to a LabVIEW application instance, you can configure and execute trace sessions on applications running in that instance.

Related Information

Configuring the LabVIEW VI Server

Part 1: Opening a Trace Connection

Opening a Trace Connection from LabVIEW

In LabVIEW, you can use one of the following methods to open a trace connection between the Desktop Execution Trace Toolkit and a LabVIEW application instance:

  • In the LabVIEW Project Explorer window, right-click My Computer and select Trace Execution from the shortcut menu.
  • On the menu bar in the Project Explorer window or in a LabVIEW VI, select Tools»Profile»Trace Execution.

Opening a Trace Connection from the Desktop Execution Trace Toolkit

In the Desktop Execution Trace Toolkit, you can complete the following steps to open a trace connection to a LabVIEW application instance. Open the application instance in LabVIEW before you complete the following steps.

Note  If you want to open a trace connection to a stand-alone application or a shared library file, ensure that the LabVIEW project you used to build the application or shared library file is closed. If the project is open, the VI server port remains active and the Desktop Execution Trace Toolkit cannot use the port to connect to the application or shared library file.
  1. Specify the computer name or IP address in the Machine field on the Home tab.
    • If you are tracing applications on a local computer, confirm that the Machine field displays the name of your local computer.
    • If you are tracing applications on a remote computer, enter the IP address or name of the remote computer where the applications to debug run.
  2. Ensure that the port number in the Port field is the same as the number you specified when you configured the LabVIEW VI Server.
  3. Select the application instance to which you want to connect from the Application Instance pull-down menu.
    Note  If the Application Instance pull-down menu is empty and you know that the LabVIEW VI Server is enabled and that a local application instance is open, you can click the refresh button next to the pull-down menu or press <F5> to refresh the Application Instance list.

Log in to get a better experience