Contents-5
Using Built-In Math Objects ................................................................178
Accessing a Built-in Operator or Function .....................................178
Lab 4-1: Calculating Standard Deviation........................................179
Creating Expressions with the Formula Object....................................181
Evaluating an Expression with the Formula Object........................182
Using an Agilent VEE Function in the Formula Object..................183
On Your Own ..................................................................................185
Using MATLAB Script in Agilent VEE ..............................................187
Including a MATLAB Script Object in Agilent VEE.....................190
Working with Data Types ...............................................................191
Displaying Test Data ............................................................................194
Customizing Test Data Displays .........................................................196
Displaying a Waveform...................................................................196
Changing the X and Y Scales..........................................................197
Zooming in on Part of the Waveform..............................................197
Adding Delta Markers to the Display..............................................198
Changing the Color of the Trace .....................................................199
For Additional Practice....................................................................200
Chapter Checklist..................................................................................201
5. Storing and Retrieving Test Results
Overview...............................................................................................205
Using Arrays to Store Test Results ......................................................206
Lab 5-1: Creating an Array for Test Results ..................................207
Lab 5-2: Extracting Values from an Array......................................208
Using the To/From File Objects ..........................................................210
Understanding I/O Transactions......................................................211
I/O Transaction Format ...................................................................212
Lab 5-3: Using the To/From File Objects .......................................214
Sending a Text String to a File .......................................................214
Sending a Time Stamp to a File ......................................................215
Sending a Real Array to a File .......................................................216
Retrieving Data with the From File Object.....................................218
Using Records to Store Mixed Data Types ..........................................222
Lab 5-4: Using Records...................................................................222
Building a Record............................................................................223
Getting a Field From a Record........................................................225