Agilent Technologies VEE Pro Guía de usuario

Busca en linea o descarga Guía de usuario para Software Agilent Technologies VEE Pro. Agilent Technologies VEE Pro User`s guide Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 602
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
Agilent Technologies
Agilent VEE Pro
VEE Pro User’s Guide
Vista de pagina 0
1 2 3 4 5 6 ... 601 602

Indice de contenidos

Pagina 1 - Agilent VEE Pro

Agilent TechnologiesAgilent VEE ProVEE Pro User’s Guide

Pagina 2

6 VEE User’s GuideUsing an Agilent VEE Function in the Formula Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184On

Pagina 3 - VEE Pro User’s Guide

72 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterChapter ChecklistYou should now be able to do any of the following tasks. Re

Pagina 4

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 732Agilent VEE Programming Techniques Overview 75General Techniques 76Using Online

Pagina 5 - Table of Contents

74 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterAgilent VEE Programming TechniquesIn this chapter you will learn about:• Creating a Use

Pagina 6

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 75OverviewIn this chapter, you will learn selected VEE programming techniques to help you

Pagina 7

76 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterGeneral TechniquesInside the Main VEE program, you can create logical groups of objects

Pagina 8

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 77 Figure 40 UserObject WindowOnce you have created a UserObject, it is part of the main

Pagina 9

78 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterNow, you will create a UserObject for a program. 1 Open the program (simple-program.vee

Pagina 10 - 6 VEE User’s Guide

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 79Figure 41 usrobj-program.vee at an Early Stage6 Select the Noise Generator and A+B obje

Pagina 11 - VEE User’s Guide 7

80 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterFigure 42 Creating a UserObjectNOTERearranging the positions of the objects before exec

Pagina 12 - 8 VEE User’s Guide

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 81Creating a UserObject in its edit window and then using the icon view of the UserObject

Pagina 13 - VEE User’s Guide 9

VEE User’s Guide 7Building a Record . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 14 - 10 VEE User’s Guide

82 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterFigure 43 UserObject Renamed AddNoise8 Click the Run button to display the noisy cosine

Pagina 15 - VEE User’s Guide 11

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 83You will continue with this example in the following section. However, if you want to q

Pagina 16 - 12 VEE User’s Guide

84 VEE User’s Guide2 Agilent VEE Programming Techniques Chapter3 Open the Object Menu for the Function Generator, and choose Add Terminal ⇒ Data Input

Pagina 17 - VEE User’s Guide 13

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 85Figure 47 Runtime Pop-Up Input BoxYou will get an error message box if you enter freque

Pagina 18 - 14 VEE User’s Guide

86 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterIf it is not already open, open the program usrobj-program4.vee.1 Select I/O ⇒ To ⇒ Fi

Pagina 19 - Table of Figures

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 87Figure 49 Choosing an I/O Transaction4 Connect the data output pin of the AddNoise User

Pagina 20 - 2 VEE User’s Guide

88 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterFigure 50 Adding a To File Object5 Click the Run button on the tool bar again to test t

Pagina 21 - VEE User’s Guide 3

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 89AddNoise and the Waveform (Time) object, and connect the objects as shown in Figure 51.

Pagina 22 - 4 VEE User’s Guide

90 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterLab 2-4: Creating a Panel View (Operator Interface) After you develop a program, you ma

Pagina 23 - VEE User’s Guide 5

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 91You can size and move the objects in the panel view to appropriate locations to create

Pagina 24

8 VEE User’s GuideChapter Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 25

92 VEE User’s Guide2 Agilent VEE Programming Techniques Chapter• To change colors on the panel, select Properties from the Main window object menu in

Pagina 26

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 934 Add an A+B object. Select Device ⇒ Function & Object Browser to get the Function

Pagina 27

94 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterThe following program creates a one- dimensional, ten- element array, calculates the me

Pagina 28

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 95The predefined operator and function objects are available via Device ⇒ Function &

Pagina 29 - Introduction

96 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterFigure 56 Creating a Formula Object ProgramWhen you run the program, the Formula object

Pagina 30

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 97Using Online HelpNow that you have created a few simple programs, here are some ways to

Pagina 31 - Overview of Agilent VEE

98 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterYou can browse, use the keyword index, use hyperlinks to related topics, or even do a s

Pagina 32

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 99• Select Help ⇒ Contents and Index ⇒ How Do I... ⇒ Use the Keyboard Shortcuts ⇒ Editin

Pagina 33

100 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterDebugging Programs in Agilent VEEThis exercise uses the program you created in “Lab 2-

Pagina 34

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 101(To turn it off, click it again.) When you run the program, you will see small squares

Pagina 35

VEE User’s Guide 9Shared or Static Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 36

102 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterShowing Execution Flow1 Click the Show Execution Flow button on the tool bar as shown

Pagina 37

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 103For example, Figure 60 shows part of a VEE program with the output displayed from the

Pagina 38

104 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterFigure 61 Displaying Information about a LineExamining TerminalsTo examine a terminal,

Pagina 39

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 105(either a Scalar or Array 1D) displays consecutive input as a history of previous valu

Pagina 40 - Learning about Agilent VEE

106 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterFigure 63 Resume Program (same as the Run Button)4 Now clear breakpoints from the prog

Pagina 41

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 107Figure 65 Pause or Stop a ProgramResolving ErrorsIf you get an error message when you

Pagina 42 - MATLAB Script Overview

108 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterFigure 66 Example Runtime Error Message using Go To Using the Call Stack If an error i

Pagina 43 - About Full-Featured MATLAB

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 109Figure 67 Using the Call Stack in Wheel.exeThe Call Stack shows the hierarchy of the e

Pagina 44 - Obtaining Agilent VEE Support

110 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterFigure 68 The Order of Events in an ObjectIn Figure 68, the pins operate as follows:1

Pagina 45

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 111There are exceptions to this sequence of events:• You can add error output pins to tra

Pagina 46 - 18 VEE Pro User’s Guide

10 VEE User’s GuideLab 9-3: Importing and Deleting Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 47 - Environment

112 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterFigure 69 Control Line Used to Execute Custom TitleFollowing the Execution Order of Ob

Pagina 48

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 113Stepping Through a ProgramStepping through a program is a very effective debugging too

Pagina 49

114 VEE User’s Guide2 Agilent VEE Programming Techniques Chapterso they execute first in no defined order. If you wanted them to execute in a particul

Pagina 50 - Interacting with Agilent VEE

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 115Practice ProgramsThe practice programs in this section illustrate more VEE features.2-

Pagina 51 - The Agilent VEE Window

116 VEE User’s Guide2 Agilent VEE Programming Techniques Chapter6 Click the Run button on the tool bar, and you will see a random number displayed as

Pagina 52

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 117number of type Real64. (For more information about VEE data types, see Chapter , “Anal

Pagina 53 - Getting Help

118 VEE User’s Guide2 Agilent VEE Programming Techniques Chapter7 Connect the Set num sequence output pin to the Get num sequence input pin.8 Select

Pagina 54

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 119Documenting Agilent VEE ProgramsBy using the File ⇒ Save Documentation... command, you

Pagina 55 - What’s New in VEE Definition

120 VEE User’s Guide2 Agilent VEE Programming Techniques Chapter3 Note that the Description box is a rich text format (RTF) box. You can retrieve file

Pagina 56

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 121Figure 75 The Beginning of the Documentation FileSource file: "C:\\My Documents\\

Pagina 57 - Working with Objects

VEE User’s Guide 11Key Points Concerning Operator Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 58

122 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterFigure 76 The Middle of the Documentation FileM: Main Device Type : Main

Pagina 59 - Changing Object Views

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 123In Figure 76, the VEE objects are described along with their settings. The number bef

Pagina 60

124 VEE User’s Guide2 Agilent VEE Programming Techniques ChapterNOTEAfter you run the Save Documentation command, run a File ⇒ Print Program command t

Pagina 61 - Selecting an Object Menu

Agilent VEE Programming Techniques Chapter 2VEE User’s Guide 125Chapter ChecklistYou should now be able to perform the following tasks. Review topics,

Pagina 62 - Moving an Object

126 VEE User’s Guide2 Agilent VEE Programming Techniques Chapter

Pagina 63

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 1273Easy Ways to Control Instruments Overview 129Configuring an Instrument 133Using a

Pagina 64 - Pasting an Object

128 VEE User’s Manual3 Easy Ways to Control Instruments ChapterEasy Ways To Control Instruments In this chapter you will learn about:• Configuring an

Pagina 65

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 129OverviewIn this chapter, you will learn how to use VEE to control instruments. With VEE,

Pagina 66

130 VEE User’s Manual3 Easy Ways to Control Instruments ChapterFigure 78 The HP54600A Scope Panel DriverDirect I/O ObjectVEE’s Direct I/O object allow

Pagina 67 - Selecting Several Objects

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 131PC Plug-in Boards with I/O LibraryI/O libraries, usually shipped as Dynamically Linked L

Pagina 68 - Copying Multiple Objects

12 VEE User’s GuideOther Ways to Optimize Agilent VEE Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448

Pagina 69 - Editing Objects

132 VEE User’s Manual3 Easy Ways to Control Instruments ChapterFigure 81 Calls to a VXIplug&play Driver from VEE

Pagina 70

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 133Configuring an InstrumentWith VEE you can develop programs without the instruments prese

Pagina 71 - Moving the Entire Work Area

134 VEE User’s Manual3 Easy Ways to Control Instruments ChapterBy default, there are no instruments configured, and this example assumes that no instr

Pagina 72 - Changing Default Preferences

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 1353 Change the name to scope, leave all the other defaults as they are, and click Advanced

Pagina 73

136 VEE User’s Manual3 Easy Ways to Control Instruments ChapterFigure 84 The Advanced Instrument Properties DialogThe entries in the General folder ar

Pagina 74 - Pin Type .Description

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 137Figure 85 The Panel Driver Folder5 Click the field to the right of ID Filename to obtain

Pagina 75

138 VEE User’s Manual3 Easy Ways to Control Instruments Chapter7 Click OK to return to the Instrument Properties box. Click OK.The list of available i

Pagina 76 - Adding a Terminal

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 139Figure 86 Scope Added to List of Instruments8 Click Save to close the Instrument Manager

Pagina 77 - Editing Terminal Information

140 VEE User’s Manual3 Easy Ways to Control Instruments Chapter3 Place the outline of the scope panel and click to place it. The display should look s

Pagina 78

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 1413 Click Advanced: and toggle Live Mode to ON, then click OK. Click OK to close the Inst

Pagina 79 - Deleting a Terminal

VEE User’s Guide 13Restricting Access to Programs Viewed over the Web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491Chapt

Pagina 80

142 VEE User’s Manual3 Easy Ways to Control Instruments ChapterUsing a Panel DriverThese exercises use the HP 3325B Function Generator as the example.

Pagina 81

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 1434 Under Create I/O Object, click Panel Driver. Place the object on the left side of the

Pagina 82 - Running a Program

144 VEE User’s Manual3 Easy Ways to Control Instruments ChapterMoving to Other Panels on the Same DriverMost drivers have more than one panel to simpl

Pagina 83 - Changing Object Properties

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 145Adding Inputs and/or Outputs to a Panel DriverIn addition to interacting with the panel

Pagina 84

146 VEE User’s Manual3 Easy Ways to Control Instruments ChapterDeleting Data Input or Output TerminalsPlace the mouse pointer over the terminal and pr

Pagina 85

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 147Using Direct I/O If there is not a driver available for a particular instrument, or you

Pagina 86 - Printing the Screen

148 VEE User’s Manual3 Easy Ways to Control Instruments Chapter4 To place the object on the screen, make sure that fgen(@(NOT LIVE)) is still highligh

Pagina 87 - Saving a Program

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 149This exercise uses the HP 3325B function generator configured in the previous section. I

Pagina 88

150 VEE User’s Manual3 Easy Ways to Control Instruments ChapterFigure 94 A Direct I/O TransactionIn most cases, the process will be the same for sendi

Pagina 89

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 1513 Select Flow ⇒ Repeat ⇒ For Range and place it to the left of the Direct I/O object.4 C

Pagina 90

14 VEE User’s Guide

Pagina 91

152 VEE User’s Manual3 Easy Ways to Control Instruments ChapterIn this example, an HP3478A Multimeter is connected to the HP3325B Function Generator d

Pagina 92

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 1538 Leave the REAL64 FORMAT default. The multimeter returns single readings as real number

Pagina 93 - How Agilent VEE Programs Work

154 VEE User’s Manual3 Easy Ways to Control Instruments ChapterFigure 96 Configuring a READ Transaction11 Add a Display ⇒ AlphaNumeric to the right an

Pagina 94

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 155To create a complete test program, this multimeter object and a function generator objec

Pagina 95

156 VEE User’s Manual3 Easy Ways to Control Instruments ChapterFigure 98 Learn String Configuration for HP54100AConformance can support IEEE 488 or IE

Pagina 96

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 157Using PC Plug-in BoardsVEE provides three ways to control PC plug- in boards or cards: 1

Pagina 97

158 VEE User’s Manual3 Easy Ways to Control Instruments ChapterFigure 99 shows the VEE runtime software (provided free with Amplicon analog output boa

Pagina 98

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 159Figure 100 VEE Using a ComputerBoards 100 KHz BoardFigure 100 shows the panel view of th

Pagina 99

160 VEE User’s Manual3 Easy Ways to Control Instruments ChapterMeilhaus Electronic ME-DriverSystemMeilhaus Electronic is one of the leading European d

Pagina 100 - Chapter Checklist

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 161Figure 103 User Panel for Data Acquisition Board ME-3000 Finally, in the third menu, the

Pagina 101

VEE User’s Guide 1Table of FiguresFigure 1. The VEE Development Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 102

162 VEE User’s Manual3 Easy Ways to Control Instruments ChapterFigure 104 Function Panel for ME-DriverSystem

Pagina 103 - Overview

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 163Using a VXIplug&play DriverVXIplug&play drivers are issued and supported by the

Pagina 104 - General Techniques

164 VEE User’s Manual3 Easy Ways to Control Instruments ChapterFigure 105 Selecting a VXIplug&play DriverSelect the hpe1412 driver, click OK to re

Pagina 105

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 165Figure 106 Selecting a Function for a VXIplug&play Driver6 Click Configure Present

Pagina 106 - Input, and in the

166 VEE User’s Manual3 Easy Ways to Control Instruments ChapterFigure 107 The hpe1412 Edit Function Panel7 Click OK. The To/From Instrument object no

Pagina 107

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 1678 In the To/From Instrument object, double- click to add a function and select Take Meas

Pagina 108

168 VEE User’s Manual3 Easy Ways to Control Instruments ChapterOther I/O Features1 Explore the full power of VEE's I/O capabilities in the I/O ⇒

Pagina 109

Easy Ways to Control Instruments Chapter 3VEE User’s Guide 169Chapter Checklist You should now be able to perform the following tasks. Review the appr

Pagina 110

170 VEE User’s Manual3 Easy Ways to Control Instruments Chapter

Pagina 111

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 1714Analyzing and Displaying Test Data Overview 173Agilent VEE Data Shapes and Data Ty

Pagina 112

2 VEE User’s GuideNotices© Agilent Technologies, Inc. 2003No part of this manual may be reproduced in any form or by any means (including elec-tronic

Pagina 113 - Lab 2-3: Using Data Files

2 VEE User’s GuideFigure 31. The Save File Dialog Box (PC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 114 - OK in the I/O Transaction

172 VEE User’s Guide4 Analyzing and Displaying Test Data ChapterAnalyzing and Displaying Test Data In this chapter you will learn about:• VEE data typ

Pagina 115

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 173OverviewIn this chapter, you will learn about VEE analytical and display capabilities.

Pagina 116

174 VEE User’s Guide4 Analyzing and Displaying Test Data ChapterAgilent VEE Data Shapes and Data Types In a VEE program, data is transmitted across th

Pagina 117

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 175Int32 A 32-bit two's complement integer (-2147483648 to 2147483647).Real32 A 32-b

Pagina 118

176 VEE User’s Guide4 Analyzing and Displaying Test Data ChapterObject Used only for ActiveX Automation and Controls, a reference to an ActiveX contro

Pagina 119

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 177Agilent VEE Analysis CapabilitiesVEE supports common math operations and hundreds of o

Pagina 120 - Using Data Types

178 VEE User’s Guide4 Analyzing and Displaying Test Data ChapterUsing Built-In Math ObjectsIn the VEE Device ⇒ Function & Object Browser, you can

Pagina 121 - Using Data Shapes

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 179Notice that the Function & Object Browser displays a brief description of the curr

Pagina 122 - Using the Formula Object

180 VEE User’s Guide4 Analyzing and Displaying Test Data ChapterLab 4-1: Calculating Standard DeviationGenerate a cosine waveform at a frequency of 1

Pagina 123

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 181Figure 114 Calculating Standard Deviation

Pagina 124

VEE User’s Guide 3Figure 64. Clear Breakpoint(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 125 - Using Online Help

182 VEE User’s Guide4 Analyzing and Displaying Test Data ChapterCreating Expressions with the Formula ObjectThe Formula object can be used to write ma

Pagina 126

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 183Evaluating an Expression with the Formula ObjectIn this example, you will evaluate the

Pagina 127 - Do I... ⇒ Use the

184 VEE User’s Guide4 Analyzing and Displaying Test Data ChapterFigure 116 Evaluating an ExpressionUsing an Agilent VEE Function in the Formula Object

Pagina 128 - Showing Data Flow

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 185Figure 117 Formula Examples Using VEE FunctionsNow calculate the standard deviation an

Pagina 129

186 VEE User’s Guide4 Analyzing and Displaying Test Data Chapter8 In the Formula object, add an output terminal. Rename the output terminals B and C.

Pagina 130 - Examining Data on a Line

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 187Figure 119 On Your Own Solution: Ramp and SDEVFor the second and third exercises, you

Pagina 131

188 VEE User’s Guide4 Analyzing and Displaying Test Data ChapterUsing MATLAB Script in Agilent VEEVEE includes the MATLAB Script object, which gives y

Pagina 132 - Examining Terminals

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 189• Returning results from the MATLAB Script object and using the results in other parts

Pagina 133 - Using Breakpoints

190 VEE User’s Guide4 Analyzing and Displaying Test Data ChapterFigure 121 Graph Generated by the ProgramWhen you include MATLAB Script objects in a V

Pagina 134

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 191• VEE does not perform any syntax checking of MATLAB commands before the MATLAB Script

Pagina 135 - Resolving Errors

4 VEE User’s GuideFigure 97. Direct I/O Configured to Read a Measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154Figure

Pagina 136 - Using the Call Stack

192 VEE User’s Guide4 Analyzing and Displaying Test Data ChapterFigure 122 Adding Predefined MATLAB Objects to a VEE ProgramNotice that each object is

Pagina 137

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 193You can also use input terminal data type constraints to ensure that the data input fr

Pagina 138

194 VEE User’s Guide4 Analyzing and Displaying Test Data ChapterFigure 123 Changing Input Terminal Data Type

Pagina 139

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 195Displaying Test DataTable 15 describes the display capabilities for the different VEE

Pagina 140

196 VEE User’s Guide4 Analyzing and Displaying Test Data ChapterSpectrum (Freq) A menu that contains frequency domain displays: Magnitude Spectrum, Ph

Pagina 141 - Stepping Through a Program

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 197Customizing Test Data Displays Displays may be customized in a variety of ways. Not on

Pagina 142

198 VEE User’s Guide4 Analyzing and Displaying Test Data ChapterFigure 124 Displaying a WaveformChanging the X and Y Scales1 Double- click the Wavefor

Pagina 143 - Practice Programs

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 199You will see two white arrows pointing up and down at one of the data points on the wa

Pagina 144

200 VEE User’s Guide4 Analyzing and Displaying Test Data ChapterChanging the Color of the Trace1 Double- click the title bar to get to Properties, the

Pagina 145

Analyzing and Displaying Test Data Chapter 4VEE User’s Guide 201Chapter ChecklistYou should now be able to do the following tasks. Review topics as ne

Pagina 146

VEE User’s Guide 5Figure 130. The TIME STAMP I/O Transaction Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217Figu

Pagina 147

202 VEE User’s Guide4 Analyzing and Displaying Test Data Chapter

Pagina 148

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 2035Storing and Retrieving Test Results Overview 205Using Arrays to Store Test Result

Pagina 149

204 VEE User’s Guide5 Storing and Retrieving Test Results ChapterStoring and Retrieving Test ResultsIn this chapter you will learn about:• Putting tes

Pagina 150

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 205Overview In this chapter, you will learn the fundamentals of storing and retrieving t

Pagina 151

206 VEE User’s Guide5 Storing and Retrieving Test Results ChapterUsing Arrays to Store Test Results Data types can be stored in two ways: • Scalar val

Pagina 152 - 124 VEE User’s Guide

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 207Lab 5-1: Creating an Array for Test Results The easiest way to create an array is to

Pagina 153

208 VEE User’s Guide5 Storing and Retrieving Test Results ChapterThe XEQ pin, a special trigger pin that exists on several different objects, determin

Pagina 154 - 126 VEE User’s Guide

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 209Shift-Ctrl, and then clicking the left mouse button. Then iconize the Collector.2 Sel

Pagina 155

210 VEE User’s Guide5 Storing and Retrieving Test Results ChapterUsing the To/From File Objects The To File and From File objects read data to and fro

Pagina 156

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 211Figure 128 The To File ObjectThe To File object shown in Figure 128 sends data to the

Pagina 157

6 VEE User’s GuideFigure 163. The MS Word Document Created by Lab 6-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276Figure 1

Pagina 158 - Direct I/O Object

212 VEE User’s Guide5 Storing and Retrieving Test Results ChapterI/O Transaction FormatAn I/O transaction to write data is usually in the following fo

Pagina 159 - VXIplug&play Drivers

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 213In a write transaction, an “expression list” is simply a comma- separated list of exp

Pagina 160 - 132 VEE User’s Manual

214 VEE User’s Guide5 Storing and Retrieving Test Results ChapterLab 5-3: Using the To/From File ObjectsThis lab exercise describes the process of get

Pagina 161 - Configuring an Instrument

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 2153 Click OK to return to the To File object. The transaction bar should now contain th

Pagina 162

216 VEE User’s Guide5 Storing and Retrieving Test Results ChapterTherefore, now() returns a value about 63G. VEE provides this format because it is ea

Pagina 163

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 217Figure 130 The TIME STAMP I/O Transaction Box4 Click OK to return to the To File box.

Pagina 164

218 VEE User’s Guide5 Storing and Retrieving Test Results Chapter6 Click OK to close the I/O Transaction box. The transaction bar in the To File objec

Pagina 165

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 219In this example, the name of a test is stored in a String Format, followed by a time

Pagina 166

220 VEE User’s Guide5 Storing and Retrieving Test Results ChapterNow add two more transactions to read back the time stamp and the real array.5 In the

Pagina 167

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 221The transaction bar in the From File object should now contain the statements READ TE

Pagina 168

VEE User’s Guide 7Figure 196. The ReportDisplay Panel View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 169 - VEE User’s Guide 141

222 VEE User’s Guide5 Storing and Retrieving Test Results ChapterUsing Records to Store Mixed Data TypesThe Record data type can store different data

Pagina 170 - Using a Panel Driver

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 223Lab 5-4: Using RecordsThis exercise describes how to use the Record datatype. You wil

Pagina 171

224 VEE User’s Guide5 Storing and Retrieving Test Results Chapterdouble-clicking over the terminal and rename the three input terminals to testname, t

Pagina 172

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 225You can see the three fields and their values. If you click on the Real64: Array 1D b

Pagina 173

226 VEE User’s Guide5 Storing and Retrieving Test Results Chapter8 Open the second AlphaNumeric display object menu and select Properties, then select

Pagina 174 - On Your Own

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 227Figure 136 Using the Get Field ObjectNotice that the second display lists the weekday

Pagina 175 - Using Direct I/O

228 VEE User’s Guide5 Storing and Retrieving Test Results Chapter1 Open the getfield.vee program. 2 Delete all objects after Build Record, by selectin

Pagina 176

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 2294 Select Data ⇒ Access Record ⇒ Get Field and place the object under the Set Field (r

Pagina 177

230 VEE User’s Guide5 Storing and Retrieving Test Results ChapterUnbuilding a Record in a Single StepTo extract all record fields and get a list of th

Pagina 178

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 231Figure 138 Using the UnBuild Record ObjectNotice that the Name List pin gives the nam

Pagina 179

8 VEE User’s GuideFigure 229. The List Selection Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 180

232 VEE User’s Guide5 Storing and Retrieving Test Results ChapterUsing DataSets to Store and Retrieve Records DataSets can retrieve one or more record

Pagina 181

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 2334 Select the Function & Object Browser icon from the tool bar.a Choose Built- in

Pagina 182

234 VEE User’s Guide5 Storing and Retrieving Test Results ChapterFigure 139 Storing an Array of Records in a DataSetNow retrieve the array of records

Pagina 183

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 235Control Input. Click Default Value from the list box presented, then click OK. Resize

Pagina 184

236 VEE User’s Guide5 Storing and Retrieving Test Results ChapterFigure 140 Storing and Retrieving Data Using DataSetsNOTEA From Data Set object must

Pagina 185 - Using PC Plug-in Boards

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 237Customizing a Simple Test DatabaseYou can search and sort a DataSet for information,

Pagina 186 - ComputerBoards PC Plug-ins

238 VEE User’s Guide5 Storing and Retrieving Test Results ChapterFigure 141 A Search Operation with DataSetsCreating an Operator Interface for a Searc

Pagina 187

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 239Follow these steps to create the program.1 Open the dataset2.vee program. Add a contr

Pagina 188

240 VEE User’s Guide5 Storing and Retrieving Test Results Chapterthe For Count sequence input pin. The program should look like Figure 142.Figure 142

Pagina 189 - VEE User’s Guide 161

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 241For example, if test6 is selected, then the final formula will read Rec.A=="test

Pagina 190 - 162 VEE User’s Manual

VEE User’s Guide 9Figure 262. Changing the Execution Mode in Default Preferences . . . . . . . . . . . . . . . . . . . . . . . 463Figure 263. Ch

Pagina 191

242 VEE User’s Guide5 Storing and Retrieving Test Results ChapterTest Menu object has AutoExecute turned on, make a menu selection to run the program.

Pagina 192

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 243Figure 144 The Operator Interface for the Database15 Run the program a few times by m

Pagina 193

244 VEE User’s Guide5 Storing and Retrieving Test Results ChapterPerforming a Sort Operation on a Record FieldThis exercise uses the dataset2.vee prog

Pagina 194

Storing and Retrieving Test Results Chapter 5VEE User’s Guide 245Figure 145 A Sort Operation on a Record Field

Pagina 195

246 VEE User’s Guide5 Storing and Retrieving Test Results ChapterChapter ChecklistYou should now be able to perform the following tasks. Review topics

Pagina 196 - Other I/O Features

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 2476Creating Reports Easily Using ActiveX Overview 249ActiveX Automation in Agilent

Pagina 197

248 VEE User’s Guide6 Creating Reports Easily Using ActiveX ChapterCreating Reports Easily Using ActiveXIn this chapter you will learn about:• ActiveX

Pagina 198 - 170 VEE User’s Manual

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 249OverviewIn this chapter, you will learn how to generate reports in other applicatio

Pagina 199

250 VEE User’s Guide6 Creating Reports Easily Using ActiveX ChapterActiveX Automation in Agilent VEEIn this chapter, the term ActiveX Automation refer

Pagina 200

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 251When you put a check next to a Type Library in the ActiveX Automation References bo

Pagina 201

10 VEE User’s GuideFigure 295. User Functions, Step 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 202 - UInt8 Unsigned byte 0 to 255

252 VEE User’s Guide6 Creating Reports Easily Using ActiveX ChapterFor example, if you select Data ⇒ Variable ⇒ Declare Variable, set the Name to App,

Pagina 203 - ⇒ Trig Mode setting

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 253Figure 148 Commands to Set Up Excel Worksheet to Display Test ReultsVEE uses standa

Pagina 204 - 176 VEE User’s Guide

254 VEE User’s Guide6 Creating Reports Easily Using ActiveX ChapterUsing CreateObject and GetObjectNotice that one of the statements in Set Up Excel W

Pagina 205

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 255Sending Agilent VEE Data to MS ExcelThis section introduces the VEE objects and MS

Pagina 206 - Using Built-In Math Objects

256 VEE User’s Guide6 Creating Reports Easily Using ActiveX Chapter5 After you have compared the entries to Figure 150, iconize the four objects.Figur

Pagina 207

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 257Events are useful for ActiveX Controls, where you need a way for the control to com

Pagina 208

258 VEE User’s Guide6 Creating Reports Easily Using ActiveX ChapterTable 2 5 Setting up an Excel Worksheet in the Formula ObjectCommand Descriptionset

Pagina 209 - VEE User’s Guide 181

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 2599 Create a Formula object (under Device ⇒ Formula). Clone the Formula object to cre

Pagina 210

260 VEE User’s Guide6 Creating Reports Easily Using ActiveX ChapterFigure 152 Adding the Title and Data to the SheetThe instructions in the Formula ob

Pagina 211

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 26110 Create a Formula object and an AlphaNumeric object, rename, configure, and conne

Pagina 212

VEE Pro User’s Guide 1IntroductionOverview of Agilent VEE 3Installing and Learning About Agilent VEE 11MATLAB Script Overview 14Obtaining Agi

Pagina 213

262 VEE User’s Guide6 Creating Reports Easily Using ActiveX ChapterFigure 153 The Results Average ProgramThe entries in the Formula object are as foll

Pagina 214

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 26311 Save the program as results_average.vee. Run the program. MS Excel will launch w

Pagina 215

264 VEE User’s Guide6 Creating Reports Easily Using ActiveX ChapterCreating an Agilent VEE to MS Excel TemplateIn this exercise, you will create a pro

Pagina 216

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 265Figure 155 Excel Worksheet for Array of Test Data

Pagina 217

266 VEE User’s Guide6 Creating Reports Easily Using ActiveX ChapterFigure 156 Program for Array of Test DataYou can re- use this program as a template

Pagina 218

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 267On Your OwnGenerate a waveform and strip out the Time Span to get an array. Create

Pagina 219

268 VEE User’s Guide6 Creating Reports Easily Using ActiveX ChapterFigure 158 A VEE to MS Excel Program ExampleThe entries in Figure 158 are as follow

Pagina 220 - Working with Data Types

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 269Memory Tracking (Click Show Terminals in the Properties boxes on the Formula and Me

Pagina 221

270 VEE User’s Guide6 Creating Reports Easily Using ActiveX ChapterUsing MS Word for Agilent VEE ReportsThis lab describes how to display VEE test inf

Pagina 222 - 194 VEE User’s Guide

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 271Figure 159 Object Variables3 Create a UserFunction called Graph, which uses a Funct

Pagina 223 - Displaying Test Data

VEE Pro User’s GuideVEE User’s Guide 3VEE Pro User’s GuideConventions Used in This Manual 4

Pagina 224 - Table 1 5 Displays

2 VEE Pro User’s GuideIntroductionIntroduction This chapter introduces Agilent VEE and its major features. You also learn how to install and learn abo

Pagina 225 - Displaying a Waveform

272 VEE User’s Guide6 Creating Reports Easily Using ActiveX Chaptersequence \\ to specify the ASCII character \.) Delete input terminal A.If you ins

Pagina 226 - Changing the X and Y Scales

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 2738 Click Device ⇒ Formula and enter the statements shown in Figure 161, which are a

Pagina 227

274 VEE User’s Guide6 Creating Reports Easily Using ActiveX ChapterSet Doc = App.Documents. Add();Adds a Document in MS Word and assigns it to the Obj

Pagina 228 - For Additional Practice

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 2759 Add three more Formula objects and one If/Then/Else object, configure, and connec

Pagina 229

276 VEE User’s Guide6 Creating Reports Easily Using ActiveX Chapter10 Run the program. It should look like Figure 163. (If the colors look strange i

Pagina 230 - 202 VEE User’s Guide

Creating Reports Easily Using ActiveX Chapter 6VEE User’s Guide 277Chapter Checklist• You should now be able to perform the following tasks. Review to

Pagina 231

278 VEE User’s Guide6 Creating Reports Easily Using ActiveX Chapter

Pagina 232

Using .NET with VEE 7VEE User’s Guide 2797Using .NET with VEE What is .NET? 281.NET Terminology 316VEE and the .NET Framework 282Importing a

Pagina 233

280 VEE User’s Guide7 Using .NET with VEE Using .NET with VEEIn this chapter you will learn about:• Some of the basic .NET Terminology• How to import

Pagina 234

Using .NET with VEE 7VEE User’s Guide 281What is .NET?Visual Studio .NET is Microsoft’s latest development platform. Unlike previous products, such a

Pagina 235

IntroductionVEE Pro User’s Guide 3Overview of Agilent VEEAgilent VEE is a graphical programming language optimized for building test and measurement a

Pagina 236

282 VEE User’s Guide7 Using .NET with VEE VEE and the .NET FrameworkBefore beginning a review of how the .NET Framework interacts with VEE, review the

Pagina 237

Using .NET with VEE 7VEE User’s Guide 283Figure 164 Import Namespaces Dialog Box.NET Assembly ReferencesThere are many assemblies you could select. T

Pagina 238

284 VEE User’s Guide7 Using .NET with VEE The most commonly used assembly, mscorlib, is selected in the previous graphic. Go ahead and select this ass

Pagina 239

Using .NET with VEE 7VEE User’s Guide 285other type libraries) in the directory where the program is saved. After VEE gets the Interop Assembly, it g

Pagina 240 - I/O Transaction Format

286 VEE User’s Guide7 Using .NET with VEE Figure 165 Function & Object Browser - .NET ObjectsAll of the namespaces of the selected assembly are li

Pagina 241

Using .NET with VEE 7VEE User’s Guide 287Browser to get yourself familiarized with the syntax. See “Lab 7- 2: Using .NET to Perform DateTime Operatio

Pagina 242

288 VEE User’s Guide7 Using .NET with VEE Importing a Namespace into VEETo reiterate the definition for a namespace: “.NET Framework types use a dot s

Pagina 243

Using .NET with VEE 7VEE User’s Guide 289Figure 167 Assemblies, Namespaces, Types, and Members

Pagina 244

290 VEE User’s Guide7 Using .NET with VEE Figure 168 .NET Assembly References - Importing Namespaces

Pagina 245

Using .NET with VEE 7VEE User’s Guide 291Figure 169 Namespaces Selection ListIf you have not imported a namespace for a class, the formula templates

Pagina 246

4 VEE Pro User’s GuideIntroductionVEE programs are created by selecting objects from menus and connecting them together. The result in VEE resembles a

Pagina 247

292 VEE User’s Guide7 Using .NET with VEE VEE and Primary Interop AssembliesWhen you choose the COM tab in Device ⇒ .NET Assembly References, VEE go

Pagina 248

Using .NET with VEE 7VEE User’s Guide 293Programming PracticesConverting Data Types Between .NET and VEEVEE converts data types between VEE and .NET

Pagina 249

294 VEE User’s Guide7 Using .NET with VEE System.Char Object You can use a System.Convert.To* method to convert it to a .NET data type that VEE can co

Pagina 250

Using .NET with VEE 7VEE User’s Guide 295Table 3 2 Converting VEE data types to .NET scalar data types in VEE 7.0System.String Text VEE automatically

Pagina 251 - Building a Record

296 VEE User’s Guide7 Using .NET with VEE Table 3 3 Converting .NET array data types to VEE data types in VEE 7.0Real32 System.Single Use asClrType()

Pagina 252

Using .NET with VEE 7VEE User’s Guide 297System.Char Array Object The VEE object holds a pointer to a System.Array .NET object. You can use the form

Pagina 253 - Getting a Field From a Record

298 VEE User’s Guide7 Using .NET with VEE System.SByte Array Object The VEE object holds a pointer to a System.Array .NET object. You can use a Syste

Pagina 254

Using .NET with VEE 7VEE User’s Guide 299Table 3 4 Converting VEE array data types to .NET data types in VEE 7.0Convert From VEE Data Ty peConvert To

Pagina 255 - Setting a Field in a Record

300 VEE User’s Guide7 Using .NET with VEE Table 3 5 .NET Data Type ModifersCalling an Instance MethodWhen calling an instance method, be sure to decla

Pagina 256

Using .NET with VEE 7VEE User’s Guide 301Calling a Shared/Static MethodWhen you call a .NET member, if the member is Shared/Static, the word STATIC a

Pagina 257

IntroductionVEE Pro User’s Guide 5Figure I-1. The “Random” Program in ANSI CFigure I- 2 shows the same program in VEE. /* Program to find maximum elem

Pagina 258

302 VEE User’s Guide7 Using .NET with VEE • The formula template generated for Instance members always begins with a lower case letter. Static members

Pagina 259

Using .NET with VEE 7VEE User’s Guide 3035 Highlight the OpenFileDialog Type and the Constructor Member. Select Create Instance.Figure 173 Function &

Pagina 260 - Lab 5-5: Using DataSets

304 VEE User’s Guide7 Using .NET with VEE “System.Windows.Forms.OpenFileDialog”) Formula object to Open File Dialog. Within the object do the followin

Pagina 261

Using .NET with VEE 7VEE User’s Guide 305Figure 174 openFileDialog ProgramLab 7-2: Using .NET to Perform DateTime OperationsUse both instance and sta

Pagina 262

306 VEE User’s Guide7 Using .NET with VEE the week, current year, and to query whether it is a leap year. The complete example is found in examples\do

Pagina 263

Using .NET with VEE 7VEE User’s Guide 307Figure 175 Step 10 of Lab 7-213 Repeat step 4 and 5, highlight the DateTime type and the property Year. Cho

Pagina 264

308 VEE User’s Guide7 Using .NET with VEE Figure 176 Lab 7-2 Completed

Pagina 265

Using .NET with VEE 7VEE User’s Guide 309Lab 7-3: Using .NET to Get File InformationThe .NET System.IO namespace provides a tremendous amount of func

Pagina 266

310 VEE User’s Guide7 Using .NET with VEE 11 Repeat steps 8 and 9 to create and wire the formula box for the fileInfo.LastAccessTime property.12 Add a

Pagina 267

Using .NET with VEE 7VEE User’s Guide 311.NET and IVI DriversWhat is IVI? IVI is a new instrument driver standard being developed by the IVI Foundati

Pagina 268 - Element Description

6 VEE Pro User’s GuideIntroductionFigure I-2. The Same “Random” Program in VEEIn VEE, the program is built with program elements called objects. Objec

Pagina 269

312 VEE User’s Guide7 Using .NET with VEE For further information about IVI- COM, connect to www.agilent.com/find/adn. Login in, go to the Knowledge L

Pagina 270

Using .NET with VEE 7VEE User’s Guide 313AssembliesInstalling a New AssemblyAssemblies are the basic building blocks of the .NET Framework. They take

Pagina 271

314 VEE User’s Guide7 Using .NET with VEE Distributing the VEE RuntimeIf your VEE program references shared assemblies (the ones installed in the GAC)

Pagina 272

Using .NET with VEE 7VEE User’s Guide 315VEE and .NET SecurityVEE’s use of the .NET Framework introduces one security issue. If you see the following

Pagina 273 - VEE User’s Guide 245

316 VEE User’s Guide7 Using .NET with VEE .NET TerminologyYou will find these terms throughout the chapter, so use these Microsoft definitions as a re

Pagina 274

Using .NET with VEE 7VEE User’s Guide 317ReferenceTo use an Assembly, you must add a reference to it.Class“If you are familiar with object- oriented

Pagina 275

318 VEE User’s Guide7 Using .NET with VEE Chapter ChecklistYou should now be able to perform the following tasks. Review topics, if necessary, before

Pagina 276

Integrating Programs for the PC Chapter 8VEE User’s Guide 3198Integrating Programs for the PCOverview 321Understanding the Execute Program Object

Pagina 277

320 VEE User’s Guide8 Integrating Programs for the PC ChapterIntegrating Programs In Other LanguagesIn this chapter you will learn about:• The Execute

Pagina 278

Integrating Programs for the PC Chapter 8VEE User’s Guide 321Overview In this chapter, you will learn the easiest way to integrate compiled programs a

Pagina 279

IntroductionVEE Pro User’s Guide 7Using VEE, with its modular programming approach, you can reduce the time it takes to create programs that control i

Pagina 280

322 VEE User’s Guide8 Integrating Programs for the PC ChapterUnderstanding the Execute Program ObjectIn addition to ActiveX Automation, there are thre

Pagina 281

Integrating Programs for the PC Chapter 8VEE User’s Guide 323• Any document or URL with a recognized extension. The “open” action is invoked in the fi

Pagina 282

324 VEE User’s Guide8 Integrating Programs for the PC ChapterUsing a System CommandTo call a compiled program in another language, you can type in the

Pagina 283

Integrating Programs for the PC Chapter 8VEE User’s Guide 3253 Double- click the transaction bar to get the I/O Transaction box.a Change REAL64 FORMA

Pagina 284

326 VEE User’s Guide8 Integrating Programs for the PC ChapterWriting Programs That Port EasilyIf you plan to integrate programs in other languages, wr

Pagina 285

Integrating Programs for the PC Chapter 8VEE User’s Guide 327Table 3 7 System Information FunctionsFunction Name DescriptioninstallDir Specifies the V

Pagina 286

328 VEE User’s Guide8 Integrating Programs for the PC ChapterChapter ChecklistYou should now be able to perform the following tasks. Review topics, if

Pagina 287

Using Agilent VEE Functions Chapter 9VEE User’s Guide 3299Using Agilent VEE Functions Overview 331Using Functions 332Using Libraries With Agilen

Pagina 288

330 VEE User’s Guide9 Using Agilent VEE Functions ChapterUsing Agilent VEE FunctionsIn this chapter you will learn about:• Defining a user function• C

Pagina 289

Using Agilent VEE Functions Chapter 9VEE User’s Guide 331OverviewIn this chapter, you will learn about VEE UserFunctions, compiled functions, and remo

Pagina 290

8 VEE Pro User’s GuideIntroductionFigure I-3. Panel View (or Operator Interface) of VEE ProgramWith VEE, you can perform certain tasks in minutes that

Pagina 291

332 VEE User’s Guide9 Using Agilent VEE Functions ChapterUsing FunctionsLike many programming languages, VEE uses functions to create subprograms that

Pagina 292

Using Agilent VEE Functions Chapter 9VEE User’s Guide 333• To call a compiled function, you use the Call myFunction object or write an expression with

Pagina 293 - VEE User’s Guide 265

334 VEE User’s Guide9 Using Agilent VEE Functions ChapterCreating a UserFunction1 Select Device ⇒ Formula, delete its default input pin, and change i

Pagina 294

Using Agilent VEE Functions Chapter 9VEE User’s Guide 335Figure 181 The Main and ArrayStats Windows3 Iconize ArrayStats. It appears as an icon at the

Pagina 295

336 VEE User’s Guide9 Using Agilent VEE Functions ChapterFigure 183 Calling the User Function ArrayStatsTo use ArrayStats elsewhere in the program, yo

Pagina 296

Using Agilent VEE Functions Chapter 9VEE User’s Guide 3375 Select Data ⇒ Build Data ⇒ Record and place it to the right side of the ArrayStats window.

Pagina 297

338 VEE User’s Guide9 Using Agilent VEE Functions ChapterNow display a record using the Record Constant object. Use the Default Value control input to

Pagina 298

Using Agilent VEE Functions Chapter 9VEE User’s Guide 339Calling a UserFunction from an Expression In this exercise, you will learn how to call ArrayS

Pagina 299

340 VEE User’s Guide9 Using Agilent VEE Functions ChapterNotice that the functionality of ArrayStats in the Formula object is exactly the same as it w

Pagina 300

Using Agilent VEE Functions Chapter 9VEE User’s Guide 341In this exercise, you will learn how to generate the ArrayStats object in the Main program fr

Pagina 301 - Entry Description

IntroductionVEE Pro User’s Guide 9Leveraging Existing Test Programs with Agilent VEEOn all supported operating systems, VEE provides mechanisms for li

Pagina 302

342 VEE User’s Guide9 Using Agilent VEE Functions Chapter4 Connect the output from the Formula object to ArrayStats(A), and connect the output from Ar

Pagina 303

Using Agilent VEE Functions Chapter 9VEE User’s Guide 343Figure 189 Program Explorer Icon on the ToolbarFigure 190 shows the Program Explorer being us

Pagina 304

344 VEE User’s Guide9 Using Agilent VEE Functions ChapterUsing Libraries With Agilent VEE UserFunctionsTo leverage existing VEE test programs, you can

Pagina 305

Using Agilent VEE Functions Chapter 9VEE User’s Guide 345Creating a Library of UserFunctions1 Create the top level program (without programming the de

Pagina 306 - 278 VEE User’s Guide

346 VEE User’s Guide9 Using Agilent VEE Functions ChapterThe four UserFunctions are a library. You can see them listed by clicking Edit ⇒ Edit UserFu

Pagina 307 - Using .NET with VEE

Using Agilent VEE Functions Chapter 9VEE User’s Guide 347Figure 193 shows the ReportHeader UserFunction. Figure 193 The ReportHeader UserFunctionFigur

Pagina 308

348 VEE User’s Guide9 Using Agilent VEE Functions ChapterFigure 194 The ReportBody UserFunctionFigure 195 shows the ReportDisplay UserFunction in deta

Pagina 309 - What is .NET?

Using Agilent VEE Functions Chapter 9VEE User’s Guide 349Figure 195 The ReportDisplay Detail ViewFigure 196 shows the panel view of the ReportDisplay

Pagina 310 - VEE and the .NET Framework

350 VEE User’s Guide9 Using Agilent VEE Functions ChapterFigure 196 The ReportDisplay Panel ViewCreating Another Program and Merging in the LibraryIn

Pagina 311 - .NET Assembly References

Using Agilent VEE Functions Chapter 9VEE User’s Guide 3513 Select Display ⇒ Note Pad and type the UserFunction descriptions similar to the ones shown

Pagina 312 - 7 Using .NET with VEE

10 VEE Pro User’s GuideIntroduction• Reduced development and maintenance time with graphical programming.• Integration with conventional languages lik

Pagina 313

352 VEE User’s Guide9 Using Agilent VEE Functions Chapter3 Open the object menu and select Load Lib to import the library immediately instead of waiti

Pagina 314

Using Agilent VEE Functions Chapter 9VEE User’s Guide 3534 Select Device ⇒ Call and place it below the Import Library object. Connect the output seque

Pagina 315

354 VEE User’s Guide9 Using Agilent VEE Functions Chapter7 Select Device ⇒ Delete Library and place it below the Call object. Connect the sequence pi

Pagina 316

Using Agilent VEE Functions Chapter 9VEE User’s Guide 355• If two imported libraries have the same function names, the results will be indeterminate.

Pagina 317 - VEE User’s Guide 289

356 VEE User’s Guide9 Using Agilent VEE Functions ChapterFinding Functions in Large ProgramsVEE provides a Find feature located in the Edit menu to he

Pagina 318

Using Agilent VEE Functions Chapter 9VEE User’s Guide 357Figure 201 The Find Results Dialog BoxYou can use Find to locate any object or text such as v

Pagina 319

358 VEE User’s Guide9 Using Agilent VEE Functions ChapterMerging Agilent VEE Programs The easiest way to leverage existing programs is to merge a past

Pagina 320

Using Agilent VEE Functions Chapter 9VEE User’s Guide 359Figure 202 Merging the BarChart ProgramNotice that the Bar Chart Display takes a one- dimensi

Pagina 321 - Programming Practices

360 VEE User’s Guide9 Using Agilent VEE Functions ChapterChapter ChecklistYou should now be able to perform the following tasks. Review topics, if nec

Pagina 322

Test Sequencing Chapter 10VEE User’s Guide 36110Test Sequencing Overview 363Using the Sequencer Object 365Creating a Test Execution Order 366

Pagina 323

IntroductionVEE Pro User’s Guide 11Installing and Learning About Agilent VEEThis section gives guidelines to install and learn about VEE, including in

Pagina 324

362 VEE User’s Guide10 Test Sequencing ChapterTest SequencingIn this chapter you will learn about:• The Sequencer object• Configuring a test for the S

Pagina 325 - VEE User’s Guide 297

Test Sequencing Chapter 10VEE User’s Guide 363OverviewIn this chapter, you will learn the fundamentals of using the Sequencer object. The Sequencer ob

Pagina 326

364 VEE User’s Guide10 Test Sequencing ChapterNOTEIn addition to the lab exercises in this chapter, you can get more practice in using the Sequencer b

Pagina 327

Test Sequencing Chapter 10VEE User’s Guide 365Using the Sequencer ObjectThe Sequencer object executes tests in a specified order based on runtime resu

Pagina 328 - Calling an Instance Method

366 VEE User’s Guide10 Test Sequencing ChapterCreating a Test Execution OrderIn this lab you will simulate test results using the random() function, e

Pagina 329 - .NET Programming Tips

Test Sequencing Chapter 10VEE User’s Guide 367You may leave the other defaults. This configuration will lead to a PASS result in approximately half of

Pagina 330

368 VEE User’s Guide10 Test Sequencing ChapterClick OK to close the dialog box. You will see the transaction test1 0 <= (.25) <= .5 on the firs

Pagina 331

Test Sequencing Chapter 10VEE User’s Guide 369Table 4 0 Sequence Transaction Dialog BoxSequence Transaction FieldDescriptionTEST: Unique name used to

Pagina 332

370 VEE User’s Guide10 Test Sequencing ChapterFUNCTION: Specifies the test to run. You can call UserFunctions, Compiled Functions, Remote Functions, o

Pagina 333

Test Sequencing Chapter 10VEE User’s Guide 371THEN CONTINUE Determines test branching.The drop-down menu THEN CONTINUE (for IF PASS and IF FAIL) cont

Pagina 334

4 VEE User’s GuideVEE Pro User’s GuideConventions Used in This ManualThis manual uses the following typographical conventions:Table 1Getting Started I

Pagina 335

12 VEE Pro User’s GuideIntroductionFor information about the I/O Libraries, refer to the installation materials you received with it. (The I/O Librari

Pagina 336

372 VEE User’s Guide10 Test Sequencing ChapterAdding or Inserting or Deleting a TestIn this section, you add another test transaction to the Sequencer

Pagina 337

Test Sequencing Chapter 10VEE User’s Guide 373Click OK. You will now see Insert 0 <= (.5) <= 1 on the second transaction bar. Run the program to

Pagina 338

374 VEE User’s Guide10 Test Sequencing ChapterFigure 205 A Simple Sequencer ExampleThe braces indicate a Record data type. The Sequencer outputs a Rec

Pagina 339 - .NET and IVI Drivers

Test Sequencing Chapter 10VEE User’s Guide 375.Figure 206 A Logged Record or RecordsThe following steps access test results.1 Open seq1.vee.2 Select

Pagina 340

376 VEE User’s Guide10 Test Sequencing ChapterFigure 207 Accessing Logged Data5 Change the formula to read Log.test1 and run the program again. It sho

Pagina 341 - Assemblies

Test Sequencing Chapter 10VEE User’s Guide 377Passing Data in the SequencerIn this lab, you will create a UserFunction and call it from three differen

Pagina 342 - Distributing the VEE Runtime

378 VEE User’s Guide10 Test Sequencing ChapterFigure 208 The Rand UserFunction5 Save the program as seqdat1.vee. Close the Rand window using the x but

Pagina 343 - VEE and .NET Security

Test Sequencing Chapter 10VEE User’s Guide 379Make sure the transaction is highlighted, place the cursor on the transaction bar, press Ctrl-K to cut t

Pagina 344 - .NET Terminology

380 VEE User’s Guide10 Test Sequencing ChapterFigure 209 Passing Data Using an Input TerminalAs the number of tests increases, passing data using an i

Pagina 345 - Reference

Test Sequencing Chapter 10VEE User’s Guide 381To display the function on the screen for an operator to select a number, add a pop- up panel view. Incl

Pagina 346

IntroductionVEE Pro User’s Guide 13Ordering Free Evaluation SoftwareFree evaluation software is available on a CD or by downloading from the VEE websi

Pagina 347

382 VEE User’s Guide10 Test Sequencing ChapterOpen the UserFunction Properties window. In the General folder under Pop- up Panel, set the ShowPanelonE

Pagina 348

Test Sequencing Chapter 10VEE User’s Guide 383Figure 211 The Global UserFunction (Panel) 10 Save the program as seqdat2 and run it. When the pop- up p

Pagina 349

384 VEE User’s Guide10 Test Sequencing ChapterFigure 212 Passing data Using a Global VariableComparing a Waveform Output with a MaskIn this exercise,

Pagina 350

Test Sequencing Chapter 10VEE User’s Guide 385waveform. You will use the Coord object in the Data ⇒ Constant menu to create a straight line mask at 0.

Pagina 351

386 VEE User’s Guide10 Test Sequencing ChapterFigure 214 The noisyWv UserObject (Panel)3 Select Device ⇒ Sequencer and place it left- center of Main.

Pagina 352 - Using a System Command

Test Sequencing Chapter 10VEE User’s Guide 3875 Select Data ⇒ Constant ⇒ Coord and place it above the Sequencer. Connect its output to the Sequencer

Pagina 353

388 VEE User’s Guide10 Test Sequencing Chapter8 Save the program as seqdat3 and run it. It should look like Figure 215. Figure 215 Comparing a Wavefor

Pagina 354

Test Sequencing Chapter 10VEE User’s Guide 389Analyzing Data from the SequencerAs mentioned earlier, Sequencer data comes out as a record of records.

Pagina 355

390 VEE User’s Guide10 Test Sequencing Chapter• Within the record Test1 there are three fields: Name, Result, and Pass. The same holds for the recor

Pagina 356

Test Sequencing Chapter 10VEE User’s Guide 391Now use the Formula object to extract part of the data to analyze. This exercise uses the results of tes

Pagina 357 - Using Agilent VEE Functions

14 VEE Pro User’s GuideIntroductionMATLAB Script OverviewMATLAB® Script is a subset of the standard, full- featured MATLAB from The MathWorks. It give

Pagina 358

392 VEE User’s Guide10 Test Sequencing ChapterAlthough this exercise accesses a single array, the principle is the same for extracting other arrays of

Pagina 359

Test Sequencing Chapter 10VEE User’s Guide 393Storing and Retrieving Logged DataThis exercise shows how to use the To/From File objects and To/From Da

Pagina 360 - Using Functions

394 VEE User’s Guide10 Test Sequencing ChapterFigure 218 Storing Logged Data with To/From FileUsing the To/From DataSet Objects with Logged DataSince

Pagina 361

Test Sequencing Chapter 10VEE User’s Guide 395One reason you might use the To/From DataSet objects to collect data instead of the To/From File objects

Pagina 362 - Creating a UserFunction

396 VEE User’s Guide10 Test Sequencing ChapterChapter Checklist Use the following checklist to determine whether there are topics you need to review b

Pagina 363

Using Operator Interfaces Chapter 11VEE User’s Guide 39711Using Operator Interfaces Overview 399Key Points Concerning Operator Interfaces 400Usi

Pagina 364 - Editing a UserFunction

398 VEE User’s Guide11 Using Operator Interfaces ChapterUsing Operator InterfacesIn this chapter you will learn about:• Building operator interfaces•

Pagina 365

Using Operator Interfaces Chapter 11VEE User’s Guide 399OverviewIn this chapter, you will learn more about operator interfaces, including adding menus

Pagina 366

400 VEE User’s Guide11 Using Operator Interfaces ChapterKey Points Concerning Operator InterfacesThis section is an overview of how to create an opera

Pagina 367

Using Operator Interfaces Chapter 11VEE User’s Guide 401Moving Between Panel View and Detail ViewTo move between the Panel view and the Detail view of

Pagina 368

IntroductionVEE Pro User’s Guide 15About Full-Featured MATLABMATLAB is an integrated technical computing environment that combines numeric computation

Pagina 369

402 VEE User’s Guide11 Using Operator Interfaces ChapterIn panel view, you can choose different colors and fonts to add emphasis, and scalable bitmaps

Pagina 370

Using Operator Interfaces Chapter 11VEE User’s Guide 403Using Operator Interface ObjectsThis section introduces the operator interface objects and opt

Pagina 371

404 VEE User’s Guide11 Using Operator Interfaces ChapterGraphic ImagesYou can import bitmaps into the panel view by setting the PanelBackgroundPicture

Pagina 372

Using Operator Interfaces Chapter 11VEE User’s Guide 405Figure 223 A Cropped Image in VEEDisplaying a Control for Operator InputThere are various ways

Pagina 373

406 VEE User’s Guide11 Using Operator Interfaces ChapterFigure 224 Controls from Various Data SubmenusFor each of the objects shown in Figure 224, you

Pagina 374

Using Operator Interfaces Chapter 11VEE User’s Guide 407

Pagina 375

408 VEE User’s Guide11 Using Operator Interfaces ChapterFigure 225 The Properties Dialog BoxDisplaying a Dialog Box for Operator InputVEE includes bui

Pagina 376

Using Operator Interfaces Chapter 11VEE User’s Guide 409Figure 227 An Example of Automatic Error CheckingThe input boxes for Int32 and Text, which are

Pagina 377

410 VEE User’s Guide11 Using Operator Interfaces ChapterFigure 230 shows a dialog box that pops up for an operator to select a file name.Figure 230 A

Pagina 378

Using Operator Interfaces Chapter 11VEE User’s Guide 411Figure 231 Switches and Alarms CombinedAligning Objects in the Operator InterfaceIn the panel

Pagina 379

16 VEE Pro User’s GuideIntroductionObtaining Agilent VEE SupportYou can obtain VEE support via the Web or by telephone (for startup assistance).Obtain

Pagina 380

412 VEE User’s Guide11 Using Operator Interfaces ChapterFigure 232 Configuring Panel PropertiesOther Panel Formatting FeaturesThere are additional fea

Pagina 381

Using Operator Interfaces Chapter 11VEE User’s Guide 413For example, you can configure the OK object to act as a softkey. Typically you configure it s

Pagina 382

414 VEE User’s Guide11 Using Operator Interfaces ChapterFigure 234 Configuring the Confirm (OK) Object as a SoftkeyFurthermore, the program can be con

Pagina 383

Using Operator Interfaces Chapter 11VEE User’s Guide 415Selecting Screen Colors To select screen colors, use the File ⇒ Default Preferences dialog box

Pagina 384

416 VEE User’s Guide11 Using Operator Interfaces ChapterFigure 236 Color Selection for Screen ElementsSecuring a Program (Creating a RunTime Version)

Pagina 385

Using Operator Interfaces Chapter 11VEE User’s Guide 417To create a RunTime version of a VEE program, follow these steps:1 Create a panel view for the

Pagina 386 - Merging Agilent VEE Programs

418 VEE User’s Guide11 Using Operator Interfaces ChapterFigure 237 Creating a Status Panel

Pagina 387

Using Operator Interfaces Chapter 11VEE User’s Guide 419Common Tasks In Creating Operator InterfacesIn the following exercises, you will learn how to

Pagina 388

420 VEE User’s Guide11 Using Operator Interfaces ChapterYou should now have a picture of a die with one dot on its top.4 Select Flow ⇒ Confirm (OK) an

Pagina 389 - Test Sequencing

Using Operator Interfaces Chapter 11VEE User’s Guide 421Figure 238 Early Stage in the Dice ProgramCreate a menu to select one of these three functions

Pagina 390

IntroductionVEE Pro User’s Guide 17Sources of Additional Information for MATLABFor complete, detailed information on using the MATLAB Script object, r

Pagina 391

422 VEE User’s Guide11 Using Operator Interfaces Chapterordinal position appears on the lower output pin. Read the Help entry in the object menu for a

Pagina 392 - 10 Test Sequencing Chapter

Using Operator Interfaces Chapter 11VEE User’s Guide 423Figure 239 The Dice Program (Detail View)Remember the dotted line indicates a control pin. Whe

Pagina 393 - Using the Sequencer Object

424 VEE User’s Guide11 Using Operator Interfaces ChapterThe program should look like Figure 240 when executing.Figure 240 The Dice Program (Panel View

Pagina 394 - Lab 10-1: Configuring a Test

Using Operator Interfaces Chapter 11VEE User’s Guide 425• You will usually use Run instead of AutoExecute on more complicated programs. You can have t

Pagina 395

426 VEE User’s Guide11 Using Operator Interfaces Chapter7 Position the title Bitmap Function and the OK button as desired. Iconize the Bitmap UserFunc

Pagina 396

Using Operator Interfaces Chapter 11VEE User’s Guide 427Lab 11-3: Creating a High Impact WarningThis exercise includes several UserFunctions that are

Pagina 397 - VEE User’s Guide 369

428 VEE User’s Guide11 Using Operator Interfaces Chapter6 Select Flow ⇒ Delay, set it to 1, and connect its sequence input pin to the Color Alarm sequ

Pagina 398

Using Operator Interfaces Chapter 11VEE User’s Guide 42910 Change the Color Alarm to a Raised Border as well. 11 Click on open space within UserFuncti

Pagina 399 - VEE User’s Guide 371

430 VEE User’s Guide11 Using Operator Interfaces ChapterThis creates an input object that uses a Check Box. If the operator clicks the box, an X will

Pagina 400

Using Operator Interfaces Chapter 11VEE User’s Guide 43121 Open the warning UserFunction Properties box, select ShowPanelonExecute, set the ShowPopupP

Pagina 401 - Change to random()

18 VEE Pro User’s GuideIntroduction

Pagina 402 - Accessing Logged Test Data

432 VEE User’s Guide11 Using Operator Interfaces ChapterFigure 244 The Warning ProgramLab 11-4: Using an ActiveX ControlThis lab shows how to use an A

Pagina 403

Using Operator Interfaces Chapter 11VEE User’s Guide 4333 Click Device ⇒ Formula & Object Browser, and select ActiveX Objects, Library: MSComcltLi

Pagina 404

434 VEE User’s Guide11 Using Operator Interfaces ChapterExamine all the control examples that ship with VEE to get a better understanding of how they

Pagina 405 - Passing Data in the Sequencer

Using Operator Interfaces Chapter 11VEE User’s Guide 435there are a number of tests and you want to see the results as they are returned. You will use

Pagina 406

436 VEE User’s Guide11 Using Operator Interfaces ChapterSequencer sequence input pin. ShowPanel outputs a 1 if it succeeded.LogTest is the name of the

Pagina 407

Using Operator Interfaces Chapter 11VEE User’s Guide 437Figure 249 The UserFunction LogTest (Panel)6 Select hidePanel from the Function & Object B

Pagina 408

438 VEE User’s Guide11 Using Operator Interfaces ChapterFigure 251 The Status Panel Program (running)In summary, the showPanel object displays the Use

Pagina 409

Using Operator Interfaces Chapter 11VEE User’s Guide 439Chapter ChecklistYou should now be able to perform the following tasks. Review, if necessary,

Pagina 410

440 VEE User’s Guide11 Using Operator Interfaces Chapter

Pagina 411

Optimizing Agilent VEE Programs Chapter 12VEE User’s Guide 44112Optimizing Agilent VEE Programs Overview 443Basic Techniques for Optimizing Program

Pagina 412

Using the Agilent VEE Development Environment 1VEE User’s Guide 191Using the Agilent VEE Development EnvironmentOverview 21Interacting with Agilen

Pagina 413

442 VEE User’s Guide12 Optimizing Agilent VEE Programs ChapterOptimizing Agilent VEE ProgramsIn this chapter you will learn about:• Basic techniques f

Pagina 414

Optimizing Agilent VEE Programs Chapter 12VEE User’s Guide 443OverviewIn this chapter, you will learn how to improve the execution speed of VEE progra

Pagina 415 - DataShape Set to 1D Array

444 VEE User’s Guide12 Optimizing Agilent VEE Programs ChapterBasic Techniques for Optimizing ProgramsTo optimize VEE programs, read the information i

Pagina 416

Optimizing Agilent VEE Programs Chapter 12VEE User’s Guide 445Figure 253 Calculating Square Roots using Math Array The difference in the execution spe

Pagina 417

446 VEE User’s Guide12 Optimizing Agilent VEE Programs Chaptersuch as the Counter, instead of using open views. The example in Figure 254 operates abo

Pagina 418

Optimizing Agilent VEE Programs Chapter 12VEE User’s Guide 447function call to ramp is nested in the call to randomize, resulting in slightly faster p

Pagina 419

448 VEE User’s Guide12 Optimizing Agilent VEE Programs ChapterFigure 256 Function Calls with OptimizationOther Ways to Optimize Agilent VEE ProgramsTh

Pagina 420

Optimizing Agilent VEE Programs Chapter 12VEE User’s Guide 449• Collect data for graphical displays and plot the entire array at once rather than plot

Pagina 421

450 VEE User’s Guide12 Optimizing Agilent VEE Programs ChapterOverview of Compiled Functions You can use a compiled function in a VEE program, such as

Pagina 422

Optimizing Agilent VEE Programs Chapter 12VEE User’s Guide 451• You need to provide error checking within your compiled function, since VEE cannot tra

Pagina 423

20 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterUsing the Agilent VEE Development EnvironmentIn this chapter you will learn

Pagina 424

452 VEE User’s Guide12 Optimizing Agilent VEE Programs Chapter• Reconfigure the Call input and output terminals by selecting Configure Pinout in the o

Pagina 425 - Using Operator Interfaces

Optimizing Agilent VEE Programs Chapter 12VEE User’s Guide 453Using Dynamic Link LibrariesOn PCs, you can use the compiled functions from Dynamic Link

Pagina 426

454 VEE User’s Guide12 Optimizing Agilent VEE Programs ChapterThe fields are described as follows: 2 Select Device ⇒ Call.When you have imported the l

Pagina 427

Optimizing Agilent VEE Programs Chapter 12VEE User’s Guide 455VEE automatically configures the Call object with the function name, and the proper numb

Pagina 428

456 VEE User’s Guide12 Optimizing Agilent VEE Programs ChapterFigure 259 A Program Using a DLL (MANUAL49) Table 4 9 Elements of Figure 259Element Desc

Pagina 429

Optimizing Agilent VEE Programs Chapter 12VEE User’s Guide 457Run the program and notice that the second trace is one greater than the first trace at

Pagina 430

458 VEE User’s Guide12 Optimizing Agilent VEE Programs ChapterFigure 260 The Shared Library Name UserObjectThe whichos() function has been used in a r

Pagina 431 - Colors, Fonts, and Indicators

Optimizing Agilent VEE Programs Chapter 12VEE User’s Guide 459Execute Program ObjectThe Execute Program object has these characteristics:• Easier to u

Pagina 432 - Graphic Images

460 VEE User’s Guide12 Optimizing Agilent VEE Programs ChapterAgilent VEE Execution ModesAgilent VEE Execution Modes allow you to run programs that we

Pagina 433

Optimizing Agilent VEE Programs Chapter 12VEE User’s Guide 461Figure 261 Execution Mode Display in VEE Status BarThe Agilent VEE CompilerThe VEE compi

Pagina 434

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 21OverviewIn this chapter, you will learn how to start VEE, how to use menus,

Pagina 435 - VEE User’s Guide 407

462 VEE User’s Guide12 Optimizing Agilent VEE Programs Chaptera new feature from VEE 6.0, you should change the execution mode to VEE 6. Otherwise, th

Pagina 436

Optimizing Agilent VEE Programs Chapter 12VEE User’s Guide 463Figure 262 Changing the Execution Mode in Default PreferencesEffect of Changing the Exec

Pagina 437

464 VEE User’s Guide12 Optimizing Agilent VEE Programs ChapterFigure 263 Chaos.vee in VEE 3 Mode with Open DisplaysIn Figure 264, the displays are ico

Pagina 438

Optimizing Agilent VEE Programs Chapter 12VEE User’s Guide 465Figure 264 Chaos.vee in VEE 3 Mode with Closed DisplaysFinally, in Figure 265, the compi

Pagina 439

466 VEE User’s Guide12 Optimizing Agilent VEE Programs ChapterFigure 265 Chaos.vee in VEE 4 or Higher Mode with Debugging DisabledIn Figure 266 and Fi

Pagina 440

Optimizing Agilent VEE Programs Chapter 12VEE User’s Guide 467Figure 266 Iterative Math Example in VEE 3 ModeFigure 267 Iterative Math Example Using V

Pagina 441

468 VEE User’s Guide12 Optimizing Agilent VEE Programs ChapterThe Agilent VEE ProfilerThe Profiler is a feature in the Professional Development Enviro

Pagina 442

Optimizing Agilent VEE Programs Chapter 12VEE User’s Guide 469Figure 268 An Example of the Profiler

Pagina 443 - Selecting Screen Colors

470 VEE User’s Guide12 Optimizing Agilent VEE Programs ChapterChapter ChecklistYou should now be able to perform the following tasks. Review topics, i

Pagina 444

Platform Specifics and Web Monitoring Chapter 13VEE User’s Guide 47113Platform Specifics and Web Monitoring Overview 473The Callable VEE ActiveX Au

Pagina 445 - Creating a Status Panel

VEE User’s Guide 1Table of ContentsVEE Pro User’s GuideConventions Used in This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 446 - 418 VEE User’s Guide

22 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterInteracting with Agilent VEEThis section explains how to use the VEE graphic

Pagina 447 - Lab 11-1: Using Menus

472 VEE User’s Guide13 Platform Specifics and Web Monitoring ChapterPlatform Specifics and Web MonitoringIn this chapter you will learn about:• Callin

Pagina 448

Platform Specifics and Web Monitoring Chapter 13VEE User’s Guide 473OverviewIn this chapter, you will learn about one of the most important techniques

Pagina 449

474 VEE User’s Guide13 Platform Specifics and Web Monitoring ChapterThe Callable VEE ActiveX Automation Server In VEE on Windows 98, Windows NT 4.0, W

Pagina 450

Platform Specifics and Web Monitoring Chapter 13VEE User’s Guide 475Web-enablement TechnologiesYou can use VEE to disseminate data you have collected

Pagina 451

476 VEE User’s Guide13 Platform Specifics and Web Monitoring Chapter• The device under test (DUT), or sensor, or instrument sends information to the s

Pagina 452

Platform Specifics and Web Monitoring Chapter 13VEE User’s Guide 477The scripting language is an interpreted language supported by the browser. The sc

Pagina 453

478 VEE User’s Guide13 Platform Specifics and Web Monitoring Chapterused to provide user interface functionality and is designed to run on the client

Pagina 454

Platform Specifics and Web Monitoring Chapter 13VEE User’s Guide 479Web Monitoring with Agilent VEEVEE includes a built- in Web server that can commun

Pagina 455

480 VEE User’s Guide13 Platform Specifics and Web Monitoring Chapter4 Enable the Web Server by selecting the File ⇒ Default Preferences ⇒ Web Server d

Pagina 456

Platform Specifics and Web Monitoring Chapter 13VEE User’s Guide 481Web Server Dialog BoxWhen you select File ⇒ Default Preferences ⇒ Web Server, the

Pagina 457 - EditEnabled False

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 23Starting Agilent VEE Click Start ⇒ Programs ⇒ Agilent VEE ProThe Agilent VEE

Pagina 458

482 VEE User’s Guide13 Platform Specifics and Web Monitoring ChapterTable 5 0 The Web Server Dialog Box FieldsField Name DescriptionEnable Server When

Pagina 459

Platform Specifics and Web Monitoring Chapter 13VEE User’s Guide 483How a Remote User Accesses Agilent VEE on Your SystemTo access VEE files on your s

Pagina 460

484 VEE User’s Guide13 Platform Specifics and Web Monitoring Chapter3 The remote user must enter a URL address for your system. (You provide the addre

Pagina 461

Platform Specifics and Web Monitoring Chapter 13VEE User’s Guide 485Table 5 1 URL Commands and ParametersField Name DescriptionHostname (Required) Ide

Pagina 462

486 VEE User’s Guide13 Platform Specifics and Web Monitoring ChapterDisplaying the Agilent VEE Web Server PageWhen you install VEE, it creates a defau

Pagina 463

Platform Specifics and Web Monitoring Chapter 13VEE User’s Guide 487displaying your VEE program. The default VEE Web Server Home Page is shown in Figu

Pagina 464

488 VEE User’s Guide13 Platform Specifics and Web Monitoring ChapterWhen the remote user displays the menu shown in Figure 272, he or she can access v

Pagina 465

Platform Specifics and Web Monitoring Chapter 13VEE User’s Guide 489Figure 273 Viewing the Main Solitaire.vee Program in the BrowserFigure 273 display

Pagina 466

490 VEE User’s Guide13 Platform Specifics and Web Monitoring ChapterFigure 274 Displaying a VEE Error Message, using the BrowserNotice that the VEE er

Pagina 467

Platform Specifics and Web Monitoring Chapter 13VEE User’s Guide 491Figure 275 Detail View of a UserFunction Displayed in the BrowserThe remote user i

Pagina 468 - 440 VEE User’s Guide

24 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterTable 1 Descriptors for the VEE WindowScreen DescriptorsDescriptionTitle bar

Pagina 469

492 VEE User’s Guide13 Platform Specifics and Web Monitoring Chaptersystem, you want to make sure that only certain remote users are able to access pa

Pagina 470

Platform Specifics and Web Monitoring Chapter 13VEE User’s Guide 493Figure 276 Example of Displaying HTML Message Instead of VEE Pro-gramYou could als

Pagina 471

494 VEE User’s Guide13 Platform Specifics and Web Monitoring ChapterFigure 277 An Example of a Password Window

Pagina 472

Platform Specifics and Web Monitoring Chapter 13VEE User’s Guide 495Chapter ChecklistYou should now be able to perform the following tasks:• Explain h

Pagina 473

496 VEE User’s Guide13 Platform Specifics and Web Monitoring Chapter

Pagina 474

AppendixVEE User’s Guide 497Appendix A: Additional Lab Exercises General Programming Techniques 499Using Strings and Globals 514Optimizing Techn

Pagina 475 - VEE User’s Guide 447

498 VEE User’s GuideAppendixAdditional Lab ExercisesThe following exercises give you a chance to practice the VEE concepts you have learned in this bo

Pagina 476

AppendixVEE User’s Guide 499General Programming TechniquesApple BaggerYou want to know how many apples it takes to fill a ten pound basket. Create a V

Pagina 477

500 VEE User’s GuideAppendixFigure 278 Apple Bagger, Solution 1Key PointsOptimal Solutions: To optimize the performance of programs, use fewer objec

Pagina 478

AppendixVEE User’s Guide 501Figure 279 Apple Bagger, Solution 2 Key PointsStart: Using a Start object for this program is redundant, since you can

Pagina 479

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 25Getting HelpVEE provides an online Help system for the VEE environment, and

Pagina 480

502 VEE User’s GuideAppendixCreate a program that allows a user to enter a number between 0 and 100. If the number is greater than or equal to 50, dis

Pagina 481 - Using Dynamic Link Libraries

AppendixVEE User’s Guide 503Figure 280 Testing Numbers (pop-up shown)Testing Numbers, Step 2After the model is working with five objects (the Message

Pagina 482

504 VEE User’s GuideAppendixFigure 281 shows the solution to the Testing Numbers exercise with four objects.Figure 281 Testing Numbers, Step 2 Key Poi

Pagina 483 - An Example Using a DLL

AppendixVEE User’s Guide 505want the value of A on the Result pin; otherwise, you want the string “FALSE” on the Result pin. You would use the followi

Pagina 484

506 VEE User’s GuideAppendixThis program can be created with six or fewer objects. Choose from the following objects:Hint: To improve performance, sen

Pagina 485

AppendixVEE User’s Guide 507Figure 283 Collecting Random NumbersKey PointsLogging AlphaNumeric vs. AlphaNumeric: Use Logging AlphaNumeric to display

Pagina 486

508 VEE User’s GuideAppendixTiming Pins: The Do object controls which object executes first. The end of the program is timed from the sequence out p

Pagina 487 - Synchronous execution

AppendixVEE User’s Guide 509Layout of Slider Objects: You can select either a vertical or horizontal format for the screen image of the slider objec

Pagina 488 - Agilent VEE Execution Modes

510 VEE User’s GuideAppendixMovingAvg(x, numPts): Use this object located in the Function & Object Browser, Data Filtering category to smooth th

Pagina 489 - Changing the Execution Mode

AppendixVEE User’s Guide 511Figure 286 The Mask Test, Step 1Using Masks, Step 2Add to the program to calculate and display the percentage of failures.

Pagina 490

26 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterVEE online Help is designed for your operating system. Click Help and the me

Pagina 491

512 VEE User’s GuideAppendixFigure 287 Mask Test, Step 2 Key PointsMask: The mask is created using the Data ⇒ Constant ⇒ Coord object, then configur

Pagina 492

AppendixVEE User’s Guide 513Tot Size : This object simply gives you the number of elements in an array. Since this array contains the number of fail

Pagina 493

514 VEE User’s GuideAppendixUsing Strings and GlobalsManipulating Strings and GlobalsUsing string objects or functions, create a program that accepts

Pagina 494

AppendixVEE User’s Guide 515Key PointsString Objects and Functions: StrTrim(str) first strips off any spaces or tabs from the front and back of the

Pagina 495

516 VEE User’s GuideAppendixOptimizing TechniquesFor this lab, you will build a VEE program two different ways and note the difference in execution sp

Pagina 496 - The Agilent VEE Profiler

AppendixVEE User’s Guide 517Clone all of the objects from the first program. Modify the new set to collect the range into an array. Now, the sine and

Pagina 497 - VEE User’s Guide 469

518 VEE User’s GuideAppendixUserObjectsRandom Noise UserObjectRandom Noise UserObject, Step 1Create a UserObject that generates a random noise wavefor

Pagina 498

AppendixVEE User’s Guide 519Figure 291 A Random Noise UserObjectSolution—NoiseGen Object in Random NoiseFigure 292 shows a solution for the NoiseGen U

Pagina 499

520 VEE User’s GuideAppendixFigure 292 The NoiseGen UserObject Key PointsUserObject: Notice that the UserObjects you build are essentially customize

Pagina 500

AppendixVEE User’s Guide 521Agilent VEE UserFunctionsUsing UserFunctionsUserFunctions, Step 1Create a function called NoiseGen that accepts an amplitu

Pagina 501

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 27 Figure 4 VEE Help Contents TabThe Help Contents tab contains the following

Pagina 502

522 VEE User’s GuideAppendixFigure 293 User Functions, Step 1Key PointsRamp(): Notice that the ramp() function is used to generate an array of 256 p

Pagina 503 - Web-enablement Technologies

AppendixVEE User’s Guide 523In the same program, create another function called AddNoise that calls the first function NoiseGen. AddNoise should add t

Pagina 504

524 VEE User’s GuideAppendixDebug ⇒ Show Data Flow. Leave the AddNoise window open and run the program. Notice how useful this capability is for debug

Pagina 505

AppendixVEE User’s Guide 525Now change the program so that the slider sets a global variable called Amplitude. Have the NoiseGen function use that glo

Pagina 506 - 478 VEE User’s Guide

526 VEE User’s GuideAppendixImporting and Deleting Libraries of UserFunctionsBuild a simple program to import the uflab.vee functions from the previou

Pagina 507 - General Guidelines and Tips

AppendixVEE User’s Guide 527Select Function: Notice that this selection will configure the proper input and output pins for the function you select.

Pagina 508

528 VEE User’s GuideAppendixCreating Operator Panels and Pop-upsCreating Operator Panels and Pop- ups, Step 1Create a panel to ask an operator to ente

Pagina 509 - Web Server Dialog Box

AppendixVEE User’s Guide 529Figure 299 Panel for Operator to Enter A and BKey PointsUserObject Properties: In the UserObject Properties dialog box,

Pagina 510

530 VEE User’s GuideAppendixFigure 300 UserObject to Ask Operator Whether to Display A or BFigure 301 Panel for Operator to Choose Whether to Display

Pagina 511

AppendixVEE User’s Guide 531Gate: The Gate object only sends a value if the two numbers are equal.Junction: The JCT object allows multiple inputs

Pagina 512

28 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterFor more information about using specific online Help features as you develo

Pagina 513

532 VEE User’s GuideAppendixFigure 302 Generate an Error if Operator Does Not Enter a ChoiceKey PointsExit UserObject: If the user responds in under

Pagina 514

AppendixVEE User’s Guide 533Working with FilesMoving Data To and From FilesCreate a VEE program to write the time of day to a file. Generate 100 rando

Pagina 515

534 VEE User’s GuideAppendixGenerating an Array: Use randomize(ramp(100,0,1), 0, 1) in the Formula object to create an array of 100 random numbers.

Pagina 516

AppendixVEE User’s Guide 535RecordsManipulating RecordsManipulating Records, Step 1Build a record with three fields holding an integer, the time right

Pagina 517

536 VEE User’s GuideAppendixFigure 304 Manipulating Records, Step 1 Key PointsTime Stamp: Use the now() function within the To String object to crea

Pagina 518

AppendixVEE User’s Guide 537Naming Fields: By renaming the input terminals on the Build Record object, you can give your record specific field names

Pagina 519

538 VEE User’s GuideAppendixFigure 305 Manipulating Records, Step 2 Key PointsUsing a Conditional Expression: VEE supports a conditional expression,

Pagina 520

AppendixVEE User’s Guide 539Replace the integer input for the first field with a For Count object and step through 10 iterations. Be certain to “ping”

Pagina 521

540 VEE User’s GuideAppendixKey PointsThe To DataSet Object: The Clear File at PreRun option only clears the file before data is sent the first time

Pagina 522 - 494 VEE User’s Guide

AppendixVEE User’s Guide 541Test SequencingUsing the Test Sequencer, Step 1Create a simple UserFunction called UpperLimit that is a pop- up panel with

Pagina 523

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 29Working with ObjectsA VEE program consists of connected objects. To create a

Pagina 524 - 496 VEE User’s Guide

542 VEE User’s GuideAppendixFigure 307 Using the Test Sequencer, Step 1Key PointsSetting Global Variables with a UserFunction: A typical use of the

Pagina 525

AppendixVEE User’s Guide 543Disable the first test. Assuming that you do not need the global anywhere else, you can call the UpperLimit function direc

Pagina 526 - Additional Lab Exercises

544 VEE User’s GuideAppendixFigure 309 Using the Test Sequencer, Step 2Key PointsThe UserFunction in an Expression Field: In this example, instead o

Pagina 527 - Apple Bagger

AppendixVEE User’s Guide 545Solution—Using the Test Sequencer, Step 3Figure 310 shows a solution to Step 3.Figure 310 Using the Test Sequencer, Step 3

Pagina 528

546 VEE User’s GuideAppendixwhich can then be investigated. If you use the <record>[*].<record>.<field> format in the Formula object

Pagina 529 - Test ing N um bers

AppendixVEE User’s Guide 547Figure 311 Add a Time Stamp to the Logging RecordSolution—Using the Test Sequencer, Step 4Figure 312 shows a solution to s

Pagina 530

548 VEE User’s GuideAppendixFigure 312 Using the Test Sequencer, Step 4 Hint: To display a record, click on the Record ⇒ Record: Scaler field for one

Pagina 531

AppendixVEE User’s Guide 549Figure 313 Checking a RecordUsing the Test Sequencer, Step 5Print the time stamp fields from the records on a Logging Alph

Pagina 532

550 VEE User’s GuideAppendixFigure 314 shows the program thread to print the time stamps to a display, step 5 of using the test sequencer.Figure 314 U

Pagina 533 - Collecting Random Numbers

AppendixVEE User’s Guide 551If the Sequencer includes many tests, it can become cumbersome to use many individual Formula objects connected to a Junct

Pagina 534

30 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterFigure 5 Adding Objects to the Work AreaAn outline of the object appears in

Pagina 535

552 VEE User’s GuideAppendixFormula Control Pin on the Formula Object: The Formula you want to evaluate is generated by the Formula inside the Loop.

Pagina 536 - Random Number Generator

AppendixVEE User’s Guide 553Solution—Using the Test Sequencer, Step 8Figure 317 shows a solution to the final step in using the test sequencer.Figure

Pagina 537

554 VEE User’s GuideAppendixThe Conditional Expression in the From Data Set Object (Second Thread): The expression is (Rec.test1.pass==1) OR (Rec.tes

Pagina 538 - Using Masks

GlossaryVEE User’s Manual 555GlossaryThis Glossary defines terms used in this manual. For a complete glossary of VEE terms, select Help ⇒ Contents and

Pagina 539

556 VEE User’s ManualGlossaryComponent Driver An instrument control object that reads and writes values to components you specifically select. Use co

Pagina 540

GlossaryVEE User’s Manual 557Data Shape Each data container has both a shape and type. The data shape can be either a scalar or an array of one or mo

Pagina 541

558 VEE User’s ManualGlossaryFont VEE allows you to change the font size and style of type used to display text for various VEE objects, titles, and

Pagina 542 - Using Strings and Globals

GlossaryVEE User’s Manual 559Minimize Button A button on an object, or the VEE window, that iconifies the object, or the VEE window.Object: 1 A graph

Pagina 543

560 VEE User’s ManualGlossaryPointer The graphical image that maps to the movement of the mouse. The pointer allows you to make selections and provid

Pagina 544 - Optimizing Techniques

GlossaryVEE User’s Manual 561Scroll Bar A rectangular bar that, when dragged, scrolls through a list of data files or other choices in a dialog box,

Pagina 545

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 31Figure 6 Adding a Function Generator ObjectHaving placed an object in the wo

Pagina 546 - UserObjects

562 VEE User’s ManualGlossaryToolbar The rectangular bar at the top of the VEE window which provides buttons for quick access to frequently used com

Pagina 547 - VEE User’s Guide 519

VEE User’s Guide 563Symbols*.dll file extension, 457*.h file extension, 454*.vxe files, 417, 426.NET and IVI Drivers, 311.NET Programming Tips, 3

Pagina 548

564 VEE User’s Guidecall UserFunction, 332call UserFunction from expression, 339Calling a Shared/Static Method, 301Calling an Instance Method, 300

Pagina 549 - Agilent VEE UserFunctions

VEE User’s Guide 565date & time, time stamp format, 216debuggingadding Alphanumeric displays, 104breakpoints, 105examine data on line, 102exami

Pagina 550

566 VEE User’s Guidedisplaying pop-up panels, 417Execute Program object, 458modes, 460order in program, 112Show Data flow, 69Show Execution Flow,

Pagina 551

VEE User’s Guide 567II/OTo File object, 211transaction dialog box, 211transaction format (syntax), 212understanding I/O transactions, 210I/O confi

Pagina 552

568 VEE User’s Guidelogging enabledSequencer transaction field, 370MMain windowdescription, 23displaying in VEE, 64managing the work space, 62mathD

Pagina 553

VEE User’s Guide 569changing name, 38changing parameters, 55, 58changing title, 38changing views, 32cloning, 35Confirm (OK), 417connecting, 52cop

Pagina 554

570 VEE User’s Guideadding object to, 400adding objects, 420aligning objects, 411Beep object, 427button on icon bar, 401create operator interface

Pagina 555

VEE User’s Guide 571Sequencer transaction field, 369READ I/O transaction, 212reading data from instrument, 151real array, sending to file, 217Real

Pagina 556

2 VEE User’s GuideThe Mouse and the Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 557

32 VEE User’s Guide1 Using the Agilent VEE Development Environment Chapter Figure 7 Object in Open View and Icon View The iconic view conserves space

Pagina 558 - Key Points

572 VEE User’s Guidedisplays, 196Spectrum data type, 175speed, execution, 468standard deviation lab, 180starting VEE, 23Static members, 286status

Pagina 559

VEE User’s Guide 573differences from UserObjects, 333editing, 352Import and Delete Library objects, 351Import Library, 344libraries of, re-using,

Pagina 560 - AnotB are separate, so

574 VEE User’s GuideZzooming in on waveform, 198

Pagina 561 - Working with Files

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 33Selecting an Object MenuEach VEE object has an object menu that lets you per

Pagina 562

34 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterMoving an Object1 To move the Function Generator object, click Move in the o

Pagina 563 - Manipulating Records

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 35Duplicating (or Cloning) an ObjectThe Clone operation creates a duplicate

Pagina 564

36 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterCopying an Object This action copies an object to the clipboard, so you coul

Pagina 565

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 37After an object has been copied or deleted, click Edit ⇒ Paste. An outline o

Pagina 566

38 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterChanging the Name (Title) of an Object 1 Open the object menu and select Pro

Pagina 567

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 39Selecting or Deselecting Objects1 To select an object, click on the object a

Pagina 568

40 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterSelecting/Deselecting All Objects1 To select all objects, click Edit ⇒ Sele

Pagina 569

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 41Editing ObjectsThere are several ways to edit objects in VEE. Different edit

Pagina 570

VEE User’s Guide 3Changing Object Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 571

42 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterFigure 15. (A line appears behind the pointer as you move from one pin to th

Pagina 572

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 43Moving the Entire Work Area(Make sure there is at least one icon in the work

Pagina 573

44 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterClearing the Work AreaClick Edit ⇒ Select All and then click the Cut butto

Pagina 574

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 45Figure 17 Default Preferences Dialog BoxThis dialog box has tabs that let yo

Pagina 575

46 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterUnderstanding Pins and TerminalsA VEE program consists of the objects in the

Pagina 576

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 47In an object’s open view, the data input and output pins appear as input and

Pagina 577

48 VEE User’s Guide1 Using the Agilent VEE Development Environment Chapter Figure 20 Setting the ShowTerminals PropertySelect the property and set Sho

Pagina 578

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 49Figure 21 Adding a TerminalEditing Terminal InformationTo obtain information

Pagina 579

50 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterYou can now edit the terminal. The dialog box has three kinds of fields:Figu

Pagina 580

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 51Required Shape fields set to Any. For more information, select Help ⇒ Cont

Pagina 581

4 VEE User’s GuideUsing the Alphanumeric Displays for Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104U

Pagina 582 - Thread):

52 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterConnecting Objects to Make a Program This section introduces VEE programs. I

Pagina 583 - Glossary

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 53Figure 25 Creating a ProgramIn Figure 25, the Func label on the Function Ge

Pagina 584

54 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterTry moving one of the objects by dragging on its title bar. (Do not drag a p

Pagina 585

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 55Resume button (same as the Run button) to resume. You can use the Step Into

Pagina 586

56 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterFigure 27 Changing the Function Field to Sine WaveSome fields in dialog boxe

Pagina 587

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 57Figure 28 Highlighting a Frequency Field Number8 Press Delete to delete the

Pagina 588

58 VEE User’s Guide1 Using the Agilent VEE Development Environment Chapter• Click Deg (or the arrow) in the Function Generator object and change the

Pagina 589

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 59When you click OK, VEE prints the screen on the default printer named in the

Pagina 590

60 VEE User’s Guide1 Using the Agilent VEE Development Environment Chapter11 By default, VEE for Windows saves files in the VEE Programs sub-directory

Pagina 591 - Numerics

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 61Exiting (Quitting) Agilent VEESelect File ⇒ Exit to close the VEE applicatio

Pagina 592 - 564 VEE User’s Guide

VEE User’s Guide 5Moving to Other Panels on the Same Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 593 - VEE User’s Guide 565

62 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterRe-Starting Agilent VEE and Running a Program1 Click Start ⇒ Programs ⇒ Agi

Pagina 594 - Library, 344

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 63UserObjects and UserFunctions as subroutines or subprograms to the main prog

Pagina 595 - VEE User’s Guide 567

64 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterAs Figure 33 shows, the Program Explorer lists the hierarchy of the program.

Pagina 596 - 568 VEE User’s Guide

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 65How Agilent VEE Programs WorkIn VEE, the general flow of execution through a

Pagina 597 - VEE User’s Guide 569

66 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterLab 1-2: Viewing Data Flow and Propagation To see how data flow works, open

Pagina 598 - 570 VEE User’s Guide

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 67Figure 35 Example: Adding a Noise Generator Object1 Delete the line connecti

Pagina 599 - VEE User’s Guide 571

68 VEE User’s Guide1 Using the Agilent VEE Development Environment ChapterFigure 36 Function and Object Browser1 Connect the input and output pins as

Pagina 600 - 572 VEE User’s Guide

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 69To see the order of execution, turn on the Debug commands Show Execution Flo

Pagina 601 - VEE User’s Guide 573

70 VEE User’s Guide1 Using the Agilent VEE Development Environment Chapter3 Add a Real64 Slider object (Data ⇒ Continuous ⇒ Real64 Slider) and conne

Pagina 602 - 574 VEE User’s Guide

Using the Agilent VEE Development Environment Chapter 1VEE User’s Guide 71Figure 39 Displaying the Value on an Output Pin4 Re- save the program to sim

Comentarios a estos manuales

Sin comentarios