Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 4 Editing and Debugging

Similar presentations


Presentation on theme: "Chapter 4 Editing and Debugging"— Presentation transcript:

1 Chapter 4 Editing and Debugging

2 Editing Techniques Selecting Moving Deleting Resizing Labeling Coloring

3 Debugging Techniques Finding Errors Highlight Execution Breakpoints Probes

4 Debugging Techniques Finding Errors Execution Highlighting Probe
Click on broken Run button Window showing error appears Click on Execution Highlighting button; data flow is animated using bubbles. Values are displayed on wires. Right-click on wire to display probe and it shows data as it flows through wire segment You can also select Probe tool from Tools palette and click on wire When your VI is not executable, a broken arrow is displayed in the Run button in the palette. Finding Errors: To list errors, click on the broken arrow. To locate the bad object, click on the error message. Execution Highlighting: Animates the diagram and traces the flow of the data, allowing you to view intermediate values. Click on the light bulb on the toolbar. Probe: Used to view values in arrays and clusters. Click on wires with the Probe tool or right-click on the wire to set probes. Breakpoint: Set pauses at different locations on the diagram. Click on wires or objects with the Breakpoint tool to set breakpoints. Use Debug Demonstrate VI from BASICS.LLB to demonstrate the options and tools.

5

6

7

8 Block Diagram Nodes Function Generator VI
Icon Expandable Node Expanded Node Function Generator VI Same VI, viewed three different ways Yellow field designates a standard VI Blue field designates an Express VI Just as control or indicator terminals on the block diagram can be viewed as an icon or a simple terminal, subVIs can be viewed as an icon, an expandable node, or an expanded node. The different views merely depend on user preference and do not change the functionality of the subVI.

9


Download ppt "Chapter 4 Editing and Debugging"

Similar presentations


Ads by Google