Sign In
Upload
Manuals
Brands
Agilent Technologies Manuals
Software
VEE Pro
Agilent Technologies VEE Pro Manuals
Manuals and User Guides for Agilent Technologies VEE Pro. We have
1
Agilent Technologies VEE Pro manual available for free PDF download: User Manual
Agilent Technologies VEE Pro User Manual (577 pages)
graphical programming language Optimized for building test and measurement applications
Brand:
Agilent Technologies
| Category:
Software
| Size: 5.68 MB
Table of Contents
Trademark Information
3
Conventions Used in this Manual
4
Table of Contents
5
Introduction
29
Overview of Agilent VEE
29
Advantages of Using Agilent VEE for Test Development
29
Creating Programs in Agilent VEE
30
Figure I-1. the "Random" Program in ANSI C
31
Figure I-2. the same "Random" Program in VEE
32
Creating Operator Interfaces in Agilent VEE
33
Figure I-3. Panel View (or Operator Interface) of VEE Program
34
Leveraging Existing Test Programs with Agilent VEE
35
Controlling Instruments with Agilent VEE
35
Improving Test Capabilities with Agilent VEE
36
Installing and Learning about Agilent VEE
37
Installing Agilent VEE and I/O Libraries
37
Learning about Agilent VEE
37
Contents
37
Ordering Free Evaluation Software
38
MATLAB Script Overview
39
Signal Processing Toolbox
40
About Full-Featured MATLAB
40
Obtaining Agilent VEE Support
42
Obtaining Information on the World Wide Web
42
Figure I-4. Contacting Product Support in VEE Help Menu
42
Contents
42
Sources of Additional Information for MATLAB
43
1 Using the Agilent VEE Development Environment
45
Overview
47
Interacting with Agilent VEE
48
Supported Systems
48
The Mouse and the Menus
48
Starting Agilent VEE
49
The Agilent VEE Window
49
Figure 1-1. the VEE Development Environment
49
Getting Help
51
Figure 1-2. the VEE Welcome Screen in Help
52
Figure 1-3. Using the Help Menu
53
Figure 1-4. VEE Help Contents Tab
53
Working with Objects
55
Adding Objects to the Work Area
55
Figure 1-5. Adding Objects to the Work Area
56
Changing Object Views
57
Figure 1-6. Adding a Function Generator Object
57
Selecting an Object Menu
58
Figure 1-7. Object in Open View and Icon View
58
Moving an Object
59
Figure 1-8. Selecting an Object Menu
59
Figure 1-9. Moving an Object
60
Duplicating (or Cloning) an Object
61
Copying an Object
61
Figure 1-10. Cloning an Object
61
Deleting (Cutting) an Object
62
Pasting an Object ("Undoing" a Cut)
62
Changing the Size of an Object
63
Figure 1-11. Changing the Size of an Object
63
Changing the Name (Title) of an Object
64
Figure 1-12. Changing the Title of an Object
64
Selecting or Deselecting Objects
65
Selecting Several Objects
65
Figure 1-13. Selected and Deselected Objects
65
Selecting/Deselecting All Objects
66
Copying Multiple Objects
66
Figure 1-14. Multiple Objects During Copying
66
Editing Objects
67
Creating Data Lines between Objects
68
Deleting Data Lines between Objects
68
Figure 1-15. Creating Data Lines between Objects
68
Moving the Entire Work Area
69
Figure 1-16. Scroll Bars in Work Area
69
Clearing the Work Area
70
Changing Default Preferences
70
Contents
71
Figure 1-17. Default Preferences Dialog Box
71
Understanding Pins and Terminals
72
Figure 1-18. Data and Sequence Pins
72
Figure 1-19. Show Terminals on an Object
73
Figure 1-20. Using Show Terminals Checkbox
73
Adding a Terminal
74
Figure 1-21. Adding a Terminal
74
Editing Terminal Information
75
Figure 1-22. Obtaining Terminal Information
75
Figure 1-23. Using the Selection Field
76
Deleting a Terminal
77
Figure 1-24. Delete Terminal Dialog Box
77
Connecting Objects to Make a Program
78
Lab 1-1: Display Waveform Program
78
Figure 1-25. Creating a Program
79
Running a Program
80
Figure 1-26. Running a Program
80
Changing Object Properties
81
Figure 1-27. Changing the Function Field to Sine Wave
82
Figure 1-28. Highlighting a Frequency Field Number
83
Figure 1-29. Example: Changing the Frequency Field to 10 Hz
83
Printing the Screen
84
Figure 1-30. Printing the Screen
84
Saving a Program
85
Figure 1-31. Print Screen Dialog Box
85
Figure 1-32. the Save File Dialog Box (PC)
86
Figure 1-33. the Save File Dialog Box (UNIX)
88
Exiting (Quitting) Agilent VEE
89
Re-Starting Agilent VEE and Running a Program
90
Figure 1-34. the Run Button on the Tool Bar
90
Managing Multiple Windows in the Workspace
91
Figure 1-35. Multiple Windows in the Work Area
92
How Agilent VEE Programs Work
93
Lab 1-2: Viewing Data Flow and Propagation
94
Lab 1-3: Adding a Noise Generator
94
Figure 1-36. Typical Simple-Program.vee Display
94
Figure 1-37. Example: Adding a Noise Generator Object
95
Figure 1-38. Function and Object Browser
96
Lab 1-4: Adding an Amplitude Input and Real64 Slider
97
Figure 1-39. Example: Adding Input Terminals
97
Figure 1-40. Example: Adding a Real64 Slider Object
98
Figure 1-41. Displaying the Value on an Output Pin
99
Chapter Checklist
100
2 Agilent VEE Programming Techniques
101
Overview
103
General Techniques
104
Lab 2-1: Creating a Userobject
104
Figure 2-1. Userobject Window
105
Figure 2-2. Usrobj-Program.vee at an Early Stage
107
Figure 2-3. Creating a Userobject
108
Figure 2-4. Userobject Renamed Addnoise
109
Figure 2-5. Noisy Cosine Wave
110
Contents
110
Lab 2-2: Creating a Dialog Box for User Input
111
Figure 2-6. the Int32 Input Configuration Box
111
Figure 2-7. Int32 Input Added to Usrobj-Program.vee
112
Lab 2-3: Using Data Files
113
Figure 2-8. Runtime Pop-Up Input Box
113
Figure 2-9. Adding a Data File
114
Figure 2-10. Choosing an I/O Transaction
115
Figure 2-11. Adding a to File Object
116
Lab 2-4: Creating a Panel View (Operator Interface)
117
Figure 2-12. Adding a from File Object
117
Figure 2-13. Simple-Program.vee
118
Figure 2-14. Example: Creating a Panel View
119
Lab 2-5: Mathematically Processing Data
120
Using Data Types
120
Using Data Shapes
121
Figure 2-15. Using Data Types
121
Using the Formula Object
122
Figure 2-16. Connecting Data Objects
122
Figure 2-17. Creating a Formula Object Program
123
Using Online Help
125
Using the Help Facility
126
Displaying Help about an Object
126
Finding the Menu Location for an Object
127
Other Practice Exercises Using the Help Facility
127
Debugging Programs in Agilent VEE
128
Showing Data Flow
128
Figure 2-18. Show Data Flow
128
Showing Execution Flow
129
Figure 2-19. Data Flow in Simple-Program.vee
129
Figure 2-20. Show Execution Flow
129
Examining Data on a Line
130
Figure 2-21. Displaying the Value on an Output Pin
130
Examining Terminals
131
Figure 2-22. Displaying Information about a Line
131
Using the Alphanumeric Displays for Debugging
132
Using Breakpoints
132
Figure 2-23. Set Breakpoint(S)
132
Figure 2-24. Resume Program (same as the Run Button)
133
Figure 2-25. Clear Breakpoint(S)
133
Resolving Errors
134
Using the Go to Button to Locate an Error
134
Figure 2-26. Pause or Stop a Program
134
Using the Call Stack
135
Figure 2-27. Example Runtime Error Message Using Go to
135
Following the Order of Events Inside an Object
136
Figure 2-28. Using the Call Stack in Wheel.exe
136
Figure 2-29. the Order of Events in an Object
137
Figure 2-30. Control Line Used to Execute Custom Title
138
Following the Execution Order of Objects in a Program
139
Figure 2-31. Start Objects Executing Separate Threads
139
Stepping through a Program
140
Figure 2-32. Step Into, Step Over, and Step out Buttons on the Toolbar
140
Finding an Object in a Complex Program
141
Practice Programs
142
Lab 2-6: Generate a Random Number
142
Lab 2-7: Setting and Getting a Global Variable
143
Figure 2-33. the Random Program
143
Figure 2-34. Set and Get a Global Variable
145
Documenting Agilent VEE Programs
146
Documenting Objects with Description Dialog Boxes
146
Generating Documentation Automatically
147
Figure 2-35. the Description Dialog Box
147
Figure 2-36. the Beginning of the Documentation File
148
Figure 2-37. the Middle of the Documentation File
149
Contents
149
Figure 2-38. the Remainder of the Documentation File
150
Chapter Checklist
151
3 Easy Ways to Control Instruments Overview
155
Panel Drivers
156
Direct I/O Object
156
Figure 3-1. the HP54600A Scope Panel Driver
156
PC Plug-In Boards with ODAS Driver
157
PC Plug-In Boards with I/O Library
157
Figure 3-2. a Function Generator Direct I/O Object
157
Figure 3-3. ODAS Driver Object in a VEE Program
157
Vxiplug&Play Drivers
158
Figure 3-4. Importing a PC Plug-In Library
158
Figure 3-5. Calls to a Vxiplug&Play Driver from VEE
158
Configuring an Instrument
159
Lab 3-1: Configuring an Instrument Without the Instrument Present
159
Figure 3-6. the Instrument Manager Box
159
Figure 3-7. Instrument Properties Dialog Box
160
Figure 3-8. the Advanced Instrument Properties Dialog
162
Figure 3-9. the Panel Driver Folder
163
Selecting an Instrument to Use in a Program
165
Figure 3-10. Scope Added to List of Instruments
165
Figure 3-11. Selecting Scope(@(NOT LIVE))
166
Adding the Physical Instrument to the Configuration
167
Using a Panel Driver
168
Lab 3-2: Changing Settings on a Panel Driver
168
Figure 3-12. the Function Pop-Up Menu on Fgen
169
Moving to Other Panels on the same Driver
170
Figure 3-13. Sweep Panel in Discrete Component Menu
170
Adding Inputs And/Or Outputs to a Panel Driver
171
Figure 3-14. the Data Input and Output Areas on a Driver
171
Deleting Data Input or Output Terminals
172
On Your Own
172
Using Direct I/O
173
Lab 3-3: Using Direct I/O
173
Figure 3-15. the Direct I/O Configuration Folder
173
Sending a Single Text Command to an Instrument
174
Figure 3-16. a Direct I/O Object
174
Figure 3-17. the I/O Transaction Dialog Box
175
Figure 3-18. a Direct I/O Transaction
175
Sending an Expression List to an Instrument
176
Reading Data from an Instrument
177
Figure 3-19. Direct I/O Setup Using an Input Variable
177
Figure 3-20. Configuring a READ Transaction
179
Uploading and Downloading Instrument States
180
Figure 3-21. Direct I/O Configured to Read a Measurement
180
Figure 3-22. Learn String Configuration for HP54100A
181
Using PC Plug-In Boards
182
Using ODAS Drivers
182
Figure 3-23. ODAS Driver Entries in Instrument Manager
183
Figure 3-24. PC Plug-In Card with ODAS Driver as Formula Object
183
Data Translation's Visual Programming Interface (VPI)
184
Amplicon
184
Computerboards PC Plug-Ins
185
Figure 3-25. Amplicon Data Acquisition Example
185
Figure 3-26. VEE Using a Computerboards 100 Khz Board
186
Figure 3-27. Importing the Computerboards I/O Library
186
Meilhaus Electronic ME-Driversystem
187
Figure 3-28. ME Board Menu in VEE
187
Figure 3-29. User Panel for Data Acquisition Board ME-3000
188
Figure 3-30. Function Panel for ME-Driversystem
188
Using a Vxiplug&Play Driver
189
Lab 3-4: Configuring a Vxiplug&Play Driver
189
Figure 3-31. Selecting a Vxiplug&Play Driver
190
Figure 3-32. Selecting a Function for a Vxiplug&Play Driver
191
Figure 3-33. the HPE1412 Edit Function Panel
192
Figure 3-34. DC Voltage Function in Vxiplug&Play Object
192
Figure 3-35. Configuration Folder in Edit Function Panel
193
Figure 3-36. HPE1412 Driver Ready for a DC Reading
193
Other I/O Features
194
Chapter Checklist
195
4 Analyzing and Displaying Test Data
197
Overview
199
Agilent VEE Data Shapes and Data Types
200
Table 4-1. Agilent VEE Data Types
201
Agilent VEE Analysis Capabilities
203
Using Built-In Math Objects
204
Accessing a Built-In Operator or Function
204
Figure 4-1. a VEE Function in the Function & Object Browser
204
Lab 4-1: Calculating Standard Deviation
205
Figure 4-2. a MATLAB Function in the Function & Object Browser
205
Figure 4-3. Opening Function and Object Browser from Fx Icon
206
Figure 4-4. Calculating Standard Deviation
206
Creating Expressions with the Formula Object
207
Figure 4-5. the Formula Object
207
Evaluating an Expression with the Formula Object
208
Figure 4-6. Evaluating an Expression
209
Using an Agilent VEE Function in the Formula Object
209
Figure 4-7. Formula Examples Using VEE Functions
210
Figure 4-8. VEE Functions Using One Formula Object
211
On Your Own
211
Figure 4-9. on Your Own Solution: Ramp and SDEV
212
Using MATLAB Script in Agilent VEE
213
Figure 4-10. MATLAB Script Object in a VEE Program
214
Figure 4-11. Graph Generated by the Program
215
Including a MATLAB Script Object in Agilent VEE
216
Figure 4-12. Adding Predefined MATLAB Objects to a VEE Program
217
Working with Data Types
217
Figure 4-13. Changing Input Terminal Data Type
219
Displaying Test Data
220
Customizing Test Data Displays
222
Displaying a Waveform
222
Changing the X and y Scales
223
Zooming in on Part of the Waveform
223
Figure 4-14. Displaying a Waveform
223
Adding Delta Markers to the Display
224
Contents
224
Changing the Color of the Trace
225
Figure 4-15. Delta Markers on a Waveform Display
225
For Additional Practice
226
Chapter Checklist
227
5 Storing and Retrieving Test Results
229
Overview
231
Using Arrays to Store Test Results
232
Lab 5-1: Creating an Array for Test Results
233
Lab 5-2: Extracting Values from an Array
234
Figure 5-1. the Collector Creating an Array
234
Figure 5-2. Extracting Array Elements with Expressions
235
Using the To/From File Objects
236
Understanding I/O Transactions
237
Figure 5-3. the to File Object
237
Figure 5-4. an I/O Transaction Dialog Box
237
I/O Transaction Format
238
Table 5-1. Types of I/O Transactions
238
Table 5-2. I/O Transaction Encoding
239
Lab 5-3: Using the To/From File Objects
240
Sending a Text String to a File
240
Sending a Time Stamp to a File
241
Sending a Real Array to a File
242
Figure 5-5. the TIME STAMP I/O Transaction Box
242
Figure 5-6. Storing Data Using the to File Object
243
Retrieving Data with the from File Object
244
Figure 5-7. Selecting String Format
245
Figure 5-8. Retrieving Data Using the from File Object
247
Using Records to Store Mixed Data Types
248
Lab 5-4: Using Records
248
Building a Record
249
Figure 5-9. Output Terminal Information on a Record
250
Getting a Field from a Record
251
Figure 5-10. the Alphanumeric Properties Box
252
Setting a Field in a Record
253
Figure 5-11. Using the Get Field Object
253
Figure 5-12. Using the Set Field Object
255
Unbuilding a Record in a Single Step
256
Figure 5-13. Using the Unbuild Record Object
257
Using Datasets to Store and Retrieve Records
258
Lab 5-5: Using Datasets
258
Storing and Retrieving a Record from a Dataset
258
Figure 5-14. Storing an Array of Records in a Dataset
260
Figure 5-15. Storing and Retrieving Data Using Datasets
262
Customizing a Simple Test Database
263
Lab 5-6: Using Search and Sort Operations with Datasets
263
Performing a Search Operation with Datasets
263
Creating an Operator Interface for a Search Operation
264
Figure 5-16. a Search Operation with Datasets
264
Figure 5-17. Adding the Test Menu Object
266
Figure 5-18. Adding a Menu to the Search Operation
268
Figure 5-19. the Operator Interface for the Database
269
Performing a Sort Operation on a Record Field
270
Figure 5-20. a Sort Operation on a Record Field
271
Chapter Checklist
272
6 Creating Reports Easily Using Activex
273
Overview
275
Activex Automation in Agilent VEE
276
Listing Activex Automation Type Libraries
276
Creating and Using Activex Programs with Agilent VEE
277
Figure 6-1. the Activex Automation Reference Box
277
Performing Operations Using Activex Statements
278
Figure 6-2. Example of Data Type "Object
278
Using Createobject and Getobject
279
Figure 6-4. Createobject and Getobject
280
Sending Agilent VEE Data to MS Excel
281
Lab 6-1: Sending Agilent VEE Data to MS Excel
281
Figure 6-5. the Globals Userfunction
282
Figure 6-6. Setting up the MS Excel Worksheet
283
Figure 6-7. Adding the Title and Data to the Sheet
286
Figure 6-8. the Results Average Program
287
Figure 6-9. Excel Worksheet for "Results Average" Program
288
Creating an Agilent VEE to MS Excel Template
289
Lab 6-2: Creating an Agilent VEE to MS Excel Template
289
Figure 6-10. Excel Worksheet for Array of Test Data
290
Figure 6-11. Program for Array of Test Data
290
On Your Own
291
Figure 6-12. Program for on Your Own Exercise
291
Extending Capabilities with MS Excel
292
Figure 6-13. a VEE to MS Excel Program Example
292
Using MS Word for Agilent VEE Reports
294
Lab 6-3: Using MS Word for Agilent VEE Reports
294
Figure 6-14. Object Variables
295
Figure 6-15. Beginning of Lab 6-3 Program
296
Figure 6-16. Adding the Activex Statements
297
Figure 6-17. the Complete Program for Report in MS Word
299
Figure 6-18. the MS Word Document Created by Lab 6-3
300
Chapter Checklist
301
7 Integrating Programs in Other Languages
303
Overview
305
Understanding the Execute Program Object
306
Using the Execute Program Object (PC)
307
Figure 7-1. the Execute Program Object (PC)
307
Using the Execute Program Object (HP-UX)
309
Figure 7-2. the Execute Program Object (UNIX)
309
Using a System Command
311
Lab 7-1: Using a System Command (PC)
311
Figure 7-3. Listing the Files in a Directory (PC)
312
Contents
312
Lab 7-2: Listing the Files in a Directory (UNIX)
313
Listing the Files in a Directory Using a Shell
314
Figure 7-4. Listing the Files in a Directory (UNIX)
314
Figure 7-5. Using a Shell Command with a Pipe
315
Writing Programs that Port Easily
316
Figure 7-6. System Information Functions
316
Chapter Checklist
318
8 Using Agilent VEE Functions
319
Overview
321
Using Functions
322
Defining an Agilent VEE Function
322
The Differences between Userobjects and Userfunctions
323
Lab 8-1: Userfunction Operations
324
Creating a Userfunction
324
Figure 8-1. the Main and Arraystats Windows
325
Figure 8-2. Configuring the Pins for Call Myfunction
326
Figure 8-3. Calling the User Function Arraystats
326
Editing a Userfunction
327
Figure 8-4. Editing the Userfunction Arraystats
328
Calling a Userfunction from an Expression
329
Figure 8-5. after Editing Arraystats Output to a Record
329
Figure 8-6. Calling the Arraystats User Function
330
Generating a Call to a Userfunction
331
Figure 8-7. the Generate Menu in a Userfunction
332
Userfunctions and the Program Explorer
333
Figure 8-8. Generating a Call Object Arraystats(A) from a Userfunction
333
Figure 8-9. Program Explorer Icon on the Toolbar
333
Figure 8-10. Using the Program Explorer with Userfunctions
334
Using Libraries with Agilent VEE Userfunctions
335
Lab 8-2: Creating and Merging a Library of Userfunctions
336
Creating a Library of Userfunctions
336
Figure 8-11. Report.vee from the Top Level
336
Figure 8-12. the Buildrecary Userfunction
337
Figure 8-13. the Reportheader Userfunction
338
Figure 8-14. the Reportbody Userfunction
339
Figure 8-15. the Reportdisplay Detail View
340
Creating Another Program and Merging in the Library
341
Figure 8-16. the Reportdisplay Panel View
341
Figure 8-17. the Repgen.vee Library of Userfunctions
342
Lab 8-3: Importing and Deleting Libraries
343
Figure 8-18. Selecting a Function from an Imported Library
345
Figure 8-19. Calling a Function from a Library
346
Finding Functions in Large Programs
347
Figure 8-20. the Find Dialog Box
347
Figure 8-21. the Find Results Dialog Box
347
Merging Agilent VEE Programs
349
Contents
349
Lab 8-4: Merging a Bar Chart Display Program
349
Figure 8-22. Merging the Barchart Program
350
Chapter Checklist
351
9 Test Sequencing
353
Overview
355
Using the Sequencer Object
356
Creating a Test Execution Order
357
Lab 9-1: Configuring a Test
357
Figure 9-1. the Sequence Transaction Dialog Box
358
Figure 9-2. Configuring a Test
359
Table 9-1. Sequence Transaction Dialog Box
360
Adding or Inserting or Deleting a Test
364
Accessing Logged Test Data
366
Figure 9-3. a Simple Sequencer Example
366
Figure 9-4. a Logged Record or Records
367
Figure 9-5. Accessing Logged Data
368
Passing Data in the Sequencer
369
Lab 9-2: Passing Data Using an Input Terminal
369
Figure 9-6. the Rand Userfunction
370
Passing Data Using a Global Variable
372
Figure 9-7. Passing Data Using an Input Terminal
372
Figure 9-8. the Global Userfunction (Detail)
375
Figure 9-9. the Global Userfunction (Panel)
375
Comparing a Waveform Output with a Mask
376
Figure 9-10. Passing Data Using a Global Variable
376
Figure 9-11. the Noisywv Userfunction (Detail)
377
Figure 9-12. the Noisywv Userobject (Panel)
378
Figure 9-13. Comparing a Waveform to a Mask
380
Analyzing Data from the Sequencer
381
Figure 9-14. a Logged Array of Records of Records
381
Lab 9-3: Analyzing Several Runs of Data from the Sequencer
382
Figure 9-15. Analyzing Several Runs of Sequencer Data
384
Storing and Retrieving Logged Data
385
Lab 9-4: Using the To/From File Objects with Logged Data
385
Using the To/From Dataset Objects with Logged Data
386
Figure 9-16. Storing Logged Data with To/From File
386
Figure 9-17. Storing Logged Data with To/From Dataset
387
Chapter Checklist
388
10 Using Operator Interfaces
389
Overview
391
Key Points Concerning Operator Interfaces
392
Creating an Operator Interface
392
Moving between Panel View and Detail View
393
Customizing an Operator Interface
393
Figure 10-1. Panel View Button and Detail View Button in Title Bar
393
Figure 10-2. a Selection of VEE Indicators
394
Using Operator Interface Objects
395
Colors, Fonts, and Indicators
395
Graphic Images
395
Figure 10-3. Logo Used as a Background Picture
396
Figure 10-4. Background Picture Used as Tile
396
Displaying a Control for Operator Input
397
Figure 10-5. a Cropped Image in VEE
397
Figure 10-6. Controls from Various Data Submenus
398
Displaying a Dialog Box for Operator Input
399
Figure 10-7. the Properties Dialog Box
399
Figure 10-8. a Text Input Box
400
Figure 10-9. an Example of Automatic Error Checking
400
Figure 10-10. a Pop-Up Message Box
400
Displaying a Toggle Control for the Operator
401
Figure 10-11. the List Selection Box
401
Figure 10-12. a Pop-Up File Selection Box
401
Aligning Objects in the Operator Interface
402
Figure 10-13. Switches and Alarms Combined
402
Creating an Operator Interface for the Keyboard Only
403
Figure 10-14. Configuring Panel Properties
403
Figure 10-15. a Softkey Executing a Userfunction
403
Figure 10-16. Configuring the Confirm (OK) Object as a Softkey
404
Selecting Screen Colors
405
Figure 10-17. the Default Preferences Dialog Box
405
Securing a Program (Creating a Runtime Version)
406
Figure 10-18. Color Selection for Screen Elements
406
Displaying a Pop-Up Panel During Execution
407
Creating a Status Panel
408
Figure 10-19. Creating a Status Panel
408
Common Tasks in Creating Operator Interfaces
409
Lab 10-1: Using Menus
409
Figure 10-20. Early Stage in the Dice Program
411
Figure 10-21. the Dice Program (Detail View)
412
Figure 10-22. the Dice Program (Panel View)
414
Lab 10-2: Importing Bitmaps for Panel Backgrounds
415
Figure 10-23. the Bitmap Function
416
Lab 10-3: Creating a High Impact Warning
417
Figure 10-24. the Userfunction Alarm (Detail View)
418
Figure 10-25. the Warning Userfunction (Detail View)
420
Figure 10-26. the Warning Program
421
Lab 10-4: Using an Activex Control
422
Figure 10-27. Using the Activex Control "Progressbar
423
Lab 10-5: Creating a Status Panel
424
Figure 10-28. an Activex Control Example Using Mschart
424
Figure 10-29. Configuring Test1
425
Figure 10-30. the Userfunction Logtest (Detail)
426
Figure 10-31. the Userfunction Logtest (Panel)
426
Figure 10-32. Status Panel Program (before Running)
427
Figure 10-33. the Status Panel Program (Running)
428
Chapter Checklist
429
11 Optimizing Agilent VEE Programs
431
Overview
433
Basic Techniques for Optimizing Programs
434
Perform Math on Arrays Whenever Possible
434
Figure 11-1. Calculating Square Roots Per Measurement
434
Make Objects into Icons Whenever Possible
435
Contents
435
Figure 11-2. Calculating Square Roots Using Math Array
435
Reduce the Number of Objects in Programs
436
Figure 11-3. Optimizing Programs by Using Icons
436
Figure 11-4. Function Calls Without Optimization
437
Figure 11-5. Function Calls with Optimization
437
Other Ways to Optimize Agilent VEE Programs
438
Overview of Compiled Functions
440
Benefits of Using Compiled Functions
440
Design Considerations in Using Compiled Functions
441
Guidelines in Using Compiled Functions
442
Using Dynamic Link Libraries
443
Integrating a DLL into an Agilent VEE Program
443
Figure 11-6. Importing a Library of Compiled Functions
443
Figure 11-7. Using Call Object for Compiled Functions
444
An Example Using a DLL
445
Figure 11-8. a Program Using a DLL (MANUAL49)
446
Figure 11-9. the Shared Library Name Userobject
447
Execute Program Object Versus Compiled Functions
449
Execute Program Object
449
Compiled Functions
449
Compiled Function Using C (UNIX)
450
Figure 11-10. Program Calling a Compiled Function
451
Agilent VEE Execution Modes
453
The Agilent VEE Compiler
454
Changing the Execution Mode
454
Figure 11-11. Execution Mode Display in VEE Status Bar
454
Figure 11-12. Default Preferences Button on Toolbar
455
Figure 11-13. Changing the Execution Mode in Default Preferences
455
Effect of Changing the Execution Mode
456
Figure 11-14. Chaos.vee in VEE 3 Mode with Open Displays
457
Figure 11-15. Chaos.vee in VEE 3 Mode with Closed Displays
458
Figure 11-16. Chaos.vee in VEE 4 or Higher Mode with Debugging Dis
459
Figure 11-17. Iterative Math Example in VEE 3 Mode
460
Figure 11-18. Iterative Math Example Using VEE 4 or Higher Mode
460
The Agilent VEE Profiler
461
Figure 11-19. an Example of the Profiler
461
Chapter Checklist
462
12 Platform Specifics and Web Monitoring
463
Overview
465
Differences between PC and HP-UX Platforms
466
Programs
466
Named Pipes and Activex Capabilities
466
Rocky Mountain Basic
466
The Execute Program Objects
466
To/From Stdout, Stderr (UNIX)
467
Fonts and Screen Resolutions
467
Data Files
467
Communicating with Rocky Mountain Basic Programs
468
Using the Initialize Rocky Mountain Basic Object
468
Figure 12-1. the Initialize Rocky Mountain Basic Object
468
Using the To/From Rocky Mountain Basic Object
469
Figure 12-2. the To/From Rocky Mountain Basic Object
469
Figure 12-3. Communicating with Rocky Mountain Basic
471
The Callable VEE Activex Automation Server
472
Web-Enablement Technologies
473
Overview of Web Technologies
473
Figure 12-4. Model of Web Measurement Application
473
Figure 12-5. a Scripting Language Host Model
475
Web Monitoring with Agilent VEE
476
General Guidelines and Tips
476
Providing Agilent VEE Data to a Remote User
476
Web Server Dialog Box
477
Figure 12-6. the Default Preferences Web Server Dialog Box
477
How a Remote User Accesses Agilent VEE on Your System
480
Displaying the Agilent VEE Web Server Page
483
Figure 12-7. the Index.html Default Page
484
Lab 12-1: Practice Session with Agilent VEE Web Browser
485
Figure 12-8. Viewing the Main Solitaire.vee Program in the Browser
486
Figure 12-9. Displaying a VEE Error Message, Using the Browser
487
Restricting Access to Programs Viewed over the Web
488
Figure 12-10. Detail View of a Userfunction Displayed in the Browser
488
Figure 12-11. Example of Displaying HTML Message Instead of VEE Program
490
Figure 12-12. an Example of a Password Window
491
Chapter Checklist
492
Additional Lab Exercises
493
General Programming Techniques
495
Apple Bagger
495
Figure A-1. Apple Bagger, Solution 1
496
Figure A-2. Apple Bagger, Solution 2
497
Testing Numbers
498
Figure A-3. Testing Numbers (Pop-Up Shown)
499
Figure A-4. Testing Numbers, Step 2
500
Figure A-5. Testing Numbers, Step 3
501
Collecting Random Numbers
502
Figure A-6. Collecting Random Numbers
503
Random Number Generator
504
Figure A-7. Random Number Generator, Step 1
504
Figure A-8. Random Number Generator, Step 2
505
Using Masks
506
Figure A-9. the Mask Test, Step 1
507
Figure A-10. Mask Test, Step 2
508
Using Strings and Globals
510
Manipulating Strings and Globals
510
Figure A-11. Manipulating Strings and Global Variables
510
Optimizing Techniques
512
Figure A-12. Optimizing VEE Programs, Step 1
512
Figure A-13. Optimizing VEE Programs, Step 2
513
Userobjects
514
Random Noise Userobject
514
Figure A-14. a Random Noise Userobject
515
Figure A-15. the Noisegen Userobject
516
Agilent VEE Userfunctions
517
Using Userfunctions
517
Figure A-16. User Functions, Step 1
518
Figure A-17. User Functions, Step 2
520
Figure A-18. User Functions, Step 3
521
Figure A-19. User Functions, Step 4
522
Importing and Deleting Libraries of Userfunctions
523
Figure A-20. Importing and Deleting Libraries
524
Creating Operator Panels and Pop-Ups
525
Figure A-21. Userobject to Ask Operator to Input a and B
526
Figure A-22. Panel for Operator to Enter a and B
526
Figure A-24. Panel for Operator to Choose Whether to Display a or B
528
Figure A-25. Generate an Error if Operator Does Not Enter a Choice
530
Working with Files
532
Moving Data to and from Files
532
Figure A-26. Moving Data to and from Files
532
Records
534
Manipulating Records
534
Figure A-27. Manipulating Records, Step 1
535
Figure A-28. Manipulating Records, Step 2
537
Figure A-29. Manipulating Records, Step 3
539
Test Sequencing
540
Figure A-30. Using the Sequencer, Step 1
541
Figure A-31. Disable the First Test in the Sequence
542
Figure A-32. Using the Sequencer, Step 2
543
Figure A-33. Using the Test Sequencer, Step 3
545
Figure A-34. Add a Time Stamp to the Logging Record
547
Figure A-35. Using the Test Sequencer, Step 4
548
Figure A-36. Checking a Record
549
Figure A-37. Using the Test Sequencer, Step 5
550
Figure A-38. Using the Test Sequencer, Step 6
551
Figure A-39. Using the Test Sequencer, Step 7
552
Figure A-40. Using the Test Sequencer, Step 8
553
Glossary
555
Contents
556
Main Window
560
Work Area
564
Index
565
Table 4-2. Displays
566
Advertisement
Advertisement
Related Products
Agilent Technologies Velocity11 VSpin
Agilent Technologies VHS-10
Agilent Technologies FieldFox MW VNA N9928A
Agilent Technologies VS BR15
Agilent Technologies VS BD30+
Agilent VPI252205060
Agilent VPI402205060
Agilent Technologies VME VXI 75000 B Series
Agilent Technologies VXI E1472A
Agilent Technologies VXI E1529B
Agilent Technologies Categories
Measuring Instruments
Laboratory Equipment
Test Equipment
Water Pump
Power Supply
More Agilent Technologies Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL