
1-2 Agilent B1500A/B1505A Programming Guide, Edition 11
Programming Basics
This chapter describes basic information to control the Agilent B1500, and consists
of the following sections.
• “Before Starting”
• “Getting Started”
• “Command Input Format”
• “Data Output Format”
• “GPIB Interface Capability”
•“Status Byte”
• “Programming Tips”
NOTE About command execution examples
In this chapter, command execution examples are written in the HP BASIC
language. See the following instructions for your guidance.
1. Use the ASSIGN statement to assign the I/O path.
For example, enter the statement as shown below if the GPIB interface logial
unit of controller is 7 and the GPIB interface address of instrument is 17.
10 ASSIGN @B1500 TO 717
2. Use the OUTPUT statement to send commands to instruments, as shown below.
OUTPUT @B1500;"*RST"
It is available to send multiple commands as shown below.
OUTPUT @B1500;"*CN;MM2,1"
3. Use the ENTER statement to get a query response or data from instruments.
Comentários a estes Manuais