Agilent Technologies VEE Pro Guia do Utilizador

Consulte online ou descarregue Guia do Utilizador para Software Agilent Technologies VEE Pro. Agilent Technologies VEE Pro User`s guide Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 602
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
Agilent Technologies
Agilent VEE Pro
VEE Pro User’s Guide
Vista de página 0
1 2 3 4 5 6 ... 601 602

Resumo do Conteúdo

Página 1 - Agilent VEE Pro

Agilent TechnologiesAgilent VEE ProVEE Pro User’s Guide

Página 2

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

Página 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

Página 4

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

Página 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

Página 6

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

Página 7

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 13 - VEE User’s Guide 9

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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.

Página 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

Página 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

Página 24

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

Página 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

Página 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

Página 27

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

Página 28

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

Página 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

Página 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

Página 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

Página 32

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

Página 33

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

Página 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

Página 35

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

Página 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

Página 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

Página 38

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 46 - 18 VEE Pro User’s Guide

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

Página 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

Página 48

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

Página 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

Página 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-

Página 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

Página 52

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

Página 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

Página 54

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

Página 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

Página 56

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

Página 57 - Working with Objects

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

Página 58

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

Página 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

Página 60

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

Página 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,

Página 62 - Moving an Object

126 VEE User’s Guide2 Agilent VEE Programming Techniques Chapter

Página 63

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

Página 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

Página 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,

Página 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

Página 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

Página 68 - Copying Multiple Objects

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

Página 69 - Editing Objects

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

Página 70

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

Página 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

Página 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

Página 73

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 79 - Deleting a Terminal

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

Página 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.

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 90

14 VEE User’s Guide

Página 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

Página 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

Página 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

Página 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

Página 95

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

Página 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

Página 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

Página 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

Página 99

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

Página 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

Página 101

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

Página 102

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

Página 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

Página 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

Página 105

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

Página 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

Página 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

Página 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 ⇒

Página 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

Página 110

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

Página 111

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

Página 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

Página 113 - Lab 2-3: Using Data Files

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

Página 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

Página 115

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

Página 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

Página 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

Página 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

Página 119

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

Página 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

Página 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

Página 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

Página 123

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

Página 124

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

Página 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

Página 126

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

Página 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

Página 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

Página 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.

Página 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

Página 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

Página 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

Página 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

Página 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

Página 135 - Resolving Errors

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

Página 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

Página 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

Página 138

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

Página 139

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

Página 140

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 146

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

Página 147

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

Página 148

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

Página 149

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 157

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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.

Página 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

Página 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

Página 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

Página 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

Página 168

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

Página 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

Página 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

Página 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

Página 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

Página 173

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 179

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

Página 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

Página 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

Página 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

Página 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

Página 184

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

Página 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,

Página 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

Página 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

Página 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

Página 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

Página 190 - 162 VEE User’s Manual

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

Página 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.

Página 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

Página 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

Página 194

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

Página 195

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

Página 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

Página 197

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

Página 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

Página 199

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

Página 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

Página 201

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

Página 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,

Página 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

Página 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

Página 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

Página 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

Página 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

Página 208

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

Página 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

Página 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

Página 211

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

Página 212

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

Página 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

Página 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

Página 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

Página 216

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 223 - Displaying Test Data

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 231

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

Página 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

Página 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

Página 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

Página 235

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 243

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

Página 244

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

Página 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

Página 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

Página 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

Página 248

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

Página 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

Página 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

Página 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()

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 259

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

Página 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

Página 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

Página 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

Página 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

Página 264

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 270

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

Página 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)

Página 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

Página 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

Página 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

Página 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

Página 276

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

Página 277

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

Página 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

Página 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

Página 280

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

Página 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

Página 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

Página 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

Página 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

Página 285

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

Página 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

Página 287

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

Página 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

Página 289

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

Página 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

Página 291

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

Página 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

Página 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

Página 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

Página 295

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

Página 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.

Página 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

Página 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

Página 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

Página 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

Página 301 - Entry Description

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

Página 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

Página 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

Página 304

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

Página 305

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

Página 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

Página 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

Página 308

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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.

Página 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

Página 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

Página 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

Página 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

Página 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

Página 322

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

Página 323

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

Página 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

Página 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

Página 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

Página 327

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

Página 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

Página 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

Página 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

Página 331

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

Página 332

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

Página 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

Página 334

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 346

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

Página 347

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

Página 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

Página 349

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

Página 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.

Página 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.

Página 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

Página 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

Página 354

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 363

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

Página 364 - Editing a UserFunction

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

Página 365

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

Página 366

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

Página 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

Página 368

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

Página 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

Página 370

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

Página 371

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

Página 372

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

Página 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

Página 374

Using Operator Interfaces Chapter 11VEE User’s Guide 407

Página 375

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

Página 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

Página 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

Página 378

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

Página 379

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

Página 380

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

Página 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

Página 382

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

Página 383

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

Página 384

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

Página 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

Página 386 - Merging Agilent VEE Programs

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

Página 387

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

Página 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

Página 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

Página 390

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 396

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

Página 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

Página 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

Página 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

Página 400

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

Página 401 - Change to random()

18 VEE Pro User’s GuideIntroduction

Página 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

Página 403

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

Página 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

Página 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

Página 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

Página 407

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

Página 408

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

Página 409

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

Página 410

440 VEE User’s Guide11 Using Operator Interfaces Chapter

Página 411

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

Página 412

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

Página 413

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

Página 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

Página 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

Página 416

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

Página 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

Página 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

Página 419

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

Página 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

Página 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

Página 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

Página 423

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

Página 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

Página 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

Página 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

Página 427

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 433

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

Página 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,

Página 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

Página 436

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

Página 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

Página 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

Página 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

Página 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

Página 441

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

Página 442

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

Página 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

Página 444

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

Página 445 - Creating a Status Panel

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

Página 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

Página 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

Página 448

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

Página 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

Página 450

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

Página 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

Página 452

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

Página 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

Página 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

Página 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

Página 456

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

Página 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

Página 458

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

Página 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

Página 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

Página 461

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

Página 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

Página 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

Página 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

Página 465

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 471

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

Página 472

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

Página 473

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

Página 474

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

Página 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

Página 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

Página 477

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

Página 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

Página 479

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 485

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

Página 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

Página 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

Página 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

Página 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.

Página 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

Página 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

Página 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

Página 493

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

Página 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

Página 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

Página 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

Página 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

Página 498

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

Página 499

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

Página 500

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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.

Página 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

Página 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,

Página 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

Página 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

Página 512

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

Página 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

Página 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

Página 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.

Página 516

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

Página 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

Página 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

Página 519

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

Página 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”

Página 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

Página 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

Página 523

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

Página 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

Página 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

Página 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

Página 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

Página 528

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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.

Página 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

Página 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

Página 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

Página 539

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

Página 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

Página 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

Página 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

Página 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

Página 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,

Página 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

Página 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

Página 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

Página 548

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

Página 549 - Agilent VEE UserFunctions

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

Página 550

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

Página 551

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

Página 552

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

Página 553

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

Página 554

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

Página 555

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

Página 556

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

Página 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

Página 558 - Key Points

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

Página 559

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

Página 560 - AnotB are separate, so

574 VEE User’s GuideZzooming in on waveform, 198

Página 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

Página 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

Página 563 - Manipulating Records

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

Página 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

Página 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

Página 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

Página 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

Página 568

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

Página 569

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

Página 570

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

Página 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

Página 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

Página 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

Página 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

Página 575

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

Página 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

Página 577

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

Página 578

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

Página 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

Página 580

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

Página 581

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 587

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

Página 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

Página 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

Página 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

Página 591 - Numerics

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

Página 592 - 564 VEE User’s Guide

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

Página 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

Página 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

Página 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.

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Comentários a estes Manuais

Sem comentários