LabVIEW Execution Trace Toolkit User Guide Manual

LabVIEW Execution Trace Toolkit User Guide Manual
Pages 12
Views 182
Downloads : 3 times
PDF Size : 187.2 KiB

Summary of Contents

LabVIEW Execution Trace Toolkit User Guide Manual

  • Page 1

    © 2004 National Instruments Corp. All rights reserved.Printed in Ireland.LabVIEW™, National Instruments™, NI™, and ni.com™ are trademarks of National Instruments Corporation. Product and company names mentioned herein are trademarks or trade names of their respective companies. For paten...

  • Page 2

    LabVIEW Execution Trace Toolkit User Guide2ni.comInstallation InstructionsComplete the following steps to install the LabVIEW Execution Trace Toolkit.1.(Windows 2000/NT/XP) Log in as an administrator or as a user with administrator privileges before you install the LabVIEW Execution Trace Toolkit...

  • Page 3

    © National Instruments Corporation3LabVIEW Execution Trace Toolkit User GuideFigure 1. Starting and Stopping a Trace SessionThe amount of time you can capture in a trace session depends on the size of the memory buffer and the type of events that you choose to capture. You can disable the loggi...

  • Page 4

    LabVIEW Execution Trace Toolkit User Guide4ni.comYou also can use the TraceTool Stop Trace and Save VI to stop logging event data and save the trace session to a file on the RT target. You can transfer the trace session file to the host computer using the TraceTool Load Trace and Send VI. Refer t...

  • Page 5

    © National Instruments Corporation5LabVIEW Execution Trace Toolkit User GuideYou can zoom in and out of a region of the trace session or measure the timing of a specific range in the trace session using the following tools available in the LabVIEW Execution Trace Tool palette:Use the Cursors too...

  • Page 6

    LabVIEW Execution Trace Toolkit User Guide6ni.comThe LabVIEW Execution Trace Tool displays the time range for the current view below the VI Events view. Fi 6,gure 6,3 6, shows the VI Events view of the trace session for the example application from 3,Figure 3,1.Figure 3. Example Application V...

  • Page 7

    © National Instruments Corporation7LabVIEW Execution Trace Toolkit User GuideThe zoomed region starts with the execution of the TimeCriticalLoop VI from Figure 7,5. The VI Events view shows that the TimeCriticalLoop VI launches three VIs that generate waveforms. The TimeCriticalLoop VI then lau...

  • Page 8

    LabVIEW Execution Trace Toolkit User Guide8ni.comNoteThe LabVIEW Execution Trace Tool lists the VI names of global variables in the left pane of the VI Events view but does not draw events for the variables.Viewing and Analyzing Thread EventsThe LabVIEW Execution Trace Tool displays thread event ...

  • Page 9

    © National Instruments Corporation9LabVIEW Execution Trace Toolkit User GuideThe TimeCriticalLoop VI and the AboveNormalLoop VI appear to execute at the same time at about 206 ms. However, the Thread Events view shows a thread executed during this time running at a priority that matches the prio...

  • Page 10

    LabVIEW Execution Trace Toolkit User Guide10ni.comFigure 10,8 10, shows a Sleep Span event that begins in an unnamed thread running at normal priority. The unnamed thread sleeps and other threads execute during the Sleep Span event. The unnamed thread continues to execute when the Sleep Span eve...

  • Page 11

    © National Instruments Corporation11LabVIEW Execution Trace Toolkit User GuideFigure 9. Logging Custom User Events in the AboveNormalLoop VIFi 11,gure 11,10 shows a custom event logged in the AboveNormalLoop VI. The AboveNormalLoop VI executed in a LabVIEW thread running at normal priority and...

  • Page 12

    323738A-01Apr04*323738A-01*Saving Trace SessionsAfter the LabVIEW Execution Trace Tool receives a trace session from the RT target, you can save the trace session on the host computer. Select File»Save Session to save the trace session to file. You can load the trace session into the LabVIEW Exe...