Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Creating Probes after a VI Runs

LabVIEW 2009 Help

Edition Date: June 2009

Part Number: 371361F-01

»View Product Info

You can configure a VI to retain wire values so that when you create a probe on the block diagram, the probe displays the data that flowed through the wire at the last VI execution. Click the Retain Wire Values button to save the wire values at each point in the flow of execution so that when you place a probe on a wire, you can immediately obtain the most recent value of the data that passed through the wire. You must successfully run the VI at least once before you can collect data from any wires using probes. Using probes after a VI runs is useful when the block diagram is complex and you want to debug the VI.

Complete the following steps to create a probe after a VI runs.

  1. Click the Retain Wire Values button on the block diagram toolbar to retain wire values for use with probes.
  2. Run the VI. The VI must execute at least once so that wire values can be available immediately to any probes you create.
  3. Stop the VI.
  4. Place a probe on a wire by right-clicking the wire and selecting Probe. Notice that the most recent value of the data that passed through the wire appears in the subpanel of the Probe Watch Window.

Click the Do Not Retain Wire Values button at any time to refrain from saving wire values at each execution.

Note  Choose the Do Not Retain Wire Values option to reduce memory requirements and improve performance slightly.

 

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