Contents-3
Lab 2-1: Creating a UserObject ........................................................78
Lab 2-2: Creating a Dialog Box for User Input ................................85
Lab 2-3: Using Data Files .................................................................87
Lab 2-4: Creating a Panel View (Operator Interface) ......................91
Lab 2-5: Mathematically Processing Data .......................................94
Using Data Types.........................................................................94
Using Data Shapes .......................................................................95
Using the Formula Object ............................................................96
Using Online Help..................................................................................99
Using the Help Facility....................................................................100
Displaying Help about an Object ....................................................100
Finding the Menu Location for an Object.......................................101
Other Practice Exercises Using the Help Facility ...........................101
Debugging Programs in Agilent VEE ..................................................102
Showing Data Flow .........................................................................102
Showing Execution Flow ................................................................103
Examining Data on a Line...............................................................104
Examining Terminals ......................................................................105
Using the Alphanumeric Displays for Debugging ..........................106
Using Breakpoints ...........................................................................106
Resolving Errors..............................................................................108
Using the Go To Button to Locate an Error ....................................108
Using the Call Stack .......................................................................109
Following the Order of Events Inside an Object.............................110
Following the Execution Order of Objects in a Program................113
Stepping Through a Program...........................................................114
Finding an Object in a Complex Program.......................................115
Practice Programs.................................................................................116
Lab 2-6: Generate a Random Number.............................................116
Lab 2-7: Setting and Getting a Global Variable..............................117
Documenting Agilent VEE Programs ..................................................120
Documenting Objects with Description Dialog Boxes ...................120
Generating Documentation Automatically......................................121
Chapter Checklist..................................................................................125
3. Easy Ways to Control Instruments
Overview...............................................................................................129