Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Part 2: Configuring a Trace Session

LabVIEW 2013 Desktop Execution Trace Toolkit Help

Edition Date: June 2013

Part Number: 372641C-01

»View Product Info
Download Help (Windows Only)

In Part 1 of this tutorial, you open a trace connection between the toolkit and the example project you want to trace. In Part 2 of this tutorial, you configure a trace session for the trace connection you open in Part 1.

  1. In the Desktop Execution Trace Toolkit, click the arrow below Capture Settings to display the Capture Settings pull-down menu, in which you can quickly select the event types you want to trace.
  2. Place a checkmark in the Memory Allocations checkbox to capture memory allocation events.
  3. You can enter a value in the Memory Threshold field to avoid capturing small memory allocation events. For example, you can use this option to ignore memory allocations of less than 1,000 bytes. In this example, use the default configuration.
    Tip  Selecting only the types you want to trace and specifying a reasonable memory threshold can improve the efficiency of memory usage and save time analyzing trace data.
  4. Click the Capture Settings image to launch the Capture Settings dialog box, in which you can select the detailed events you want to trace for the types you select on the Capture Settings pull-down menu.
  5. Hover over the head of this dialog box, the toolkit displays an illustration about the capturing process. Make sure you understand the illustration. The toolkit does not capture the events you deselect in the dialog box. Select only the events you want to trace so that you can reduce the amount of data that the toolkit must process and that you must analyze.
    Tip  To capture a specific event but temporarily prevent the table pane from displaying the event, you can filter the trace data after you execute a trace session.
  6. Double-check that the Memory Allocations checkbox contains a checkmark. The Capture Settings dialog box automatically updates for the configurations you specify in the Capture Settings pull-down menu.
  7. Click OK to apply the capture settings and close the Capture Settings dialog box.

After you configure a trace session for Desktop Execution Trace Toolkit.lvproj, you can execute the trace session in Part 3 of this tutorial.

Opening a Trace Connection Executing a Trace Session

Related Information

Configuring a Trace Session


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit