User`s guide

86 VEE User’s Guide
2 Agilent VEE Programming Techniques Chapter
If it is not already open, open the program
usrobj-program4.vee.
1 Select I/OToFile and place it in the Main work area.
2 Change the default filename, myFile, to wavedata.
If there is no check mark to the left of Clear File At
PreRun & Open, then click on the small input box. To File
defaults to appending data to the existing file. In this
case, however, you want to clear the file each time you
run the program. The To File object should now look like
Figure 48.
Figure 48 Adding a Data File
3 Double- click on the area labeled Double-Click to Add
Transacti on to write the data. The dialog box in
Figure 49
appears. Click the TEXT field (or its arrow) to show the
drop- down list of data types and click CONTAINER. Click
OK. Notice that when you click
OK in the I/O Transaction
dialog, an input pin a is automatically added to the To
File object.
Examine Help in the To File object menu to see the other
options for the transaction besides WRITE CONTAINER.
Transactions are discussed in more detail in an appendix in the VEE
Pro Advanced Techniques manual and in
Chapter , “Storing and
Retrieving Test Results.”