User`s guide

78 VEE User’s Guide
2 Agilent VEE Programming Techniques Chapter
Now, you will create a UserObject for a program.
1 Open the program (simple-program.vee) you created in “Lab
1- 4: Adding an Amplitude Input and Real64 Slider" on
page 69. The program should appear in the main work
area.
2 Remove the Real64 Slider from the program. (It is not
used in this exercise.) Click to open the Real64 Slider
Object Menu, and select Delete, or double- click on the
Real64 Slider Object Menu button.
3 In the Noise Generator object, click the Object Menu
button or click the right button over the object to open
the object menu. Select Delete Terminal
Input, and in the
dialog box for Choose an input to delete with Amplitude
highlighted, click OK.
4 Rename the program by choosing FileSave As... and type
in the new name usrobj-program1.vee.
5 Then, minimize the Noise Generator object and rearrange
the objects as shown in
Figure 41.
NOTE
Before you begin, make sure Program Explorer in the View menu is
deselected to give yourself more screen space in Main
NOTE
If you run the program again now, with the Real64 Slider object removed
and the input pin still on the Noise Generator, you will get a VEE error
message that the input pin Amplitude on the Noise Generator is not
connected. Remember, all input pins must be connected for a VEE program
to run.