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.
on the block diagram toolbar to retain wire values for use with probes.
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. |