From 12:00 AM CDT Sunday, October 17 - 11:30 AM CDT Sunday, October 17, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Creating Probes after a VI Runs

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

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. 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.

WAS THIS ARTICLE HELPFUL?

Not Helpful