Technical data

Instrument Controls 3
Agilent VEE - Practical Graphical Programming 65
Exercise 3.3 - Interacting with Equipment
This exercise will show you how to send a single text command, or an
expression list, to an active instrument using Direct I/O.
Open your VEE program and clear your Work Area and maximize Main.
Sending a single text command to an active instrument
1 Select Menu Bar => I/O => Instrument Manager
2 Select funcgen(@(NOT LIVE)); click on Direct I/O to create a Direct I/O
object; place the object in Main.
3 Double- click on its transaction bar to obtain its Dialog Box.
4 Select WRITE, TEXT, and type "AM 5 VO" with EOL ON; click OK. See
Figure 3- 6.
Figure 3-7 A Single-Text-Command I/O Transaction
NOTE
The information within the quotes is the command that will be sent to the
Function Generator when the program runs. The quote marks are necessary.
NOTE
Some instruments specify characters that must be sent at the end of a command.
These characters are given in the instrument documentation. They must be
included in the Advanced Properties section of the I/O Dialog Box.