Reviewing Trace Data

LabVIEW 2013 Desktop Execution Trace Toolkit Help

Edition Date: June 2013

Part Number: 372641C-01

»View Product Info
Download Help (Windows Only)

Executing a trace session even on a small application can capture hundreds of execution events. You can use the following techniques to make the table pane easier to read.

Related Information

Executing a Trace Session

Part 4: Reviewing Trace Data

Filtering Trace Data

Complete the following steps to temporarily filter the trace data you do not need from the table pane.

  1. In the table pane, click Filter Settings on the View tab to display the Configure Displayed Events dialog box. The type list displays the different sources of trace events.
    Note  The dialog box is not available when the table pane does not display any events to filter.
  2. Select an item in the type list to display the corresponding page of the dialog box. Each page includes a list of events that you can choose to filter. You can select or deselect events so they appear or do not appear in the table pane. You also can deselect entire types in the type list to filter all the events of that type.
  3. (Optional) Click Save to save the filter settings in a configuration settings (.ini) file or click Load to load an existing configuration file so that you can share filter settings between traces.
  4. Click OK to close the Configure Displayed Events dialog box and apply the filter.
Tip  You can quickly filter the events that occur in a specific VI by right-clicking the VI and selecting Filter this VI from Display from the shortcut menu.

Filtering events prevents those events from appearing in the table pane. However, the Desktop Execution Trace Toolkit continues to trace filtered events. If you are sure that you do not need to use specific events at all, deselect them from the Capture Settings dialog box to reduce the amount of memory that the toolkit uses.

Tip  The numbering of events in the table pane reflects the actual order in which the toolkit captures the events. If the table pane appears to skip numbers, you are filtering the events that occur at the skipped positions.

You can use the Configure Displayed Events dialog box to filter or display events at any time, regardless of whether the toolkit is tracing data. The table pane updates to match the new configuration settings each time you click OK in the Configure Displayed Events dialog box. You also can click Reset Filter to remove all event filters.

Related Information

Part 5: Filtering Trace Data

Searching the Table Pane

Complete the following steps to search for any text in the table pane.

  1. Click Search on the View tab or press <Ctrl-F> to display the Search bar at the bottom of the main window.
  2. In the text box, enter any part of a VI name, an event type, or the text in the other columns in the table pane.
    Tip  Use the asterisk (*) wildcard to return events that contain a certain string. Use the caret (^) regular expression to return events that start with a certain string.
  3. Click Previous or Next to navigate to the event you search for.

Splitting the Table Pane

Click Split on the View tab to split the table pane into two displays. Use the scroll bars in the two displays to view events in two different parts of a single trace.

Related Information

Part 6: Comparing Trace Data

Highlighting Paired Events

After you select an event, right-click the table pane and select Highlight Paired Events from the shortcut menu to find whether an event is paired with the event you selected. For example, VI Start Execution and VI Stop Execution are paired events. The Desktop Execution Trace Toolkit also displays the duration between the two paired events in the details pane.

Navigating to VIs

Use one of the following methods to navigate to a VI related with the event you select:

  • Double-click an event in the table pane. The toolkit opens the VI where the event occurs in LabVIEW. If the Highlight column for the event displays Object, the toolkit also highlights the object related to the event in the VI.
  • Select an event in the table pane and click Navigate on the View tab.
  • Right-click the table pane and select Navigate to Call Chain VIs from the shortcut menu. The toolkit displays a submenu which contains the chain of callers, from the current VI to the top-level VI. Select the specific VI you need to navigate to from the submenu.

Viewing the Duration between Events

The Desktop Execution Trace Toolkit displays the actual time when an event occurs in the Time column of the table pane. You can identify the duration between events using one of the following methods.

  • Right-click the table pane and select Time Stamp»Relative from the shortcut menu. The table pane updates to display the duration between the event you select and the first event in the trace.
  • Select an event in the table pane, press and hold the <Ctrl> key, and click another event. The details pane displays the duration between the two events.

Reviewing Partial Trace Data in an External Application

Complete the following steps to review any part of trace data in a text editor.

  1. Select one event or multiple events.
  2. Press <Ctrl-C> to copy the events to the clipboard.
  3. Launch Microsoft Excel or a text editor and open a blank file.
  4. Press <Ctrl-V> to paste the events from the clipboard.
  5. Save and close the file containing the events you pasted from the clipboard so that you can view the trace data later without launching the Desktop Execution Trace Toolkit.

Navigating to Trace Sessions

The Desktop Execution Trace Toolkit displays all the trace data for an application instance in one display. Every time you click Start to execute a trace session, the toolkit appends the trace data of the trace session to the current trace data in the table pane and displays a bookmark for the trace session on the vertical scroll bar. You can quickly navigate to the first event of a trace session by clicking the bookmark.


Not Helpful