Contents-7
Listing the Files in a Directory Using a Shell .................................288
Writing Programs That Port Easily .................................................290
Chapter Checklist..................................................................................292
8. Using Agilent VEE Functions
Overview...............................................................................................295
Using Functions....................................................................................296
Defining an Agilent VEE Function.................................................296
The Differences Between UserObjects and UserFunctions ...........297
Lab 8-1: UserFunction Operations..................................................298
Creating a UserFunction..................................................................298
Editing a UserFunction....................................................................301
Calling a UserFunction from an Expression ..................................303
Generating a Call to a UserFunction ...............................................305
UserFunctions and the Program Explorer .......................................307
Using Libraries With Agilent VEE UserFunctions ..............................309
Lab 8-2: Creating and Merging a Library of UserFunctions...........310
Creating a Library of UserFunctions...............................................310
Creating Another Program and Merging in the Library..................315
Lab 8-3: Importing and Deleting Libraries .....................................317
Finding Functions in Large Programs ..................................................321
Merging Agilent VEE Programs ..........................................................323
Lab 8-4: Merging a Bar Chart Display Program.............................323
Chapter Checklist..................................................................................325
9. Test Sequencing
Overview...............................................................................................329
Using the Sequencer Object..................................................................330
Creating a Test Execution Order ..........................................................331
Lab 9-1: Configuring a Test ...........................................................331
Adding or Inserting or Deleting a Test............................................338
Accessing Logged Test Data...........................................................340
Passing Data in the Sequencer..............................................................343
Lab 9-2: Passing Data Using an Input Terminal .............................343
Passing Data Using a Global Variable ............................................346
Comparing a Waveform Output with a Mask .................................350
Analyzing Data from the Sequencer.....................................................355