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

Creating Probes after a VI Runs

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-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. While the VI is running, idle the cursor over a wire to see the retained value in a tip strip.
  4. Stop the VI.
  5. Place a probe on a wire by right-clicking the wire and selecting Probe.

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.

Resources


 

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