Using BASIC/IBASIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
Sending SCPI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
Receiving Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
Program Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Using a Terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
Connecting the Terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
Sending SCPI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
Appendix A In Case Of Difficulty
No Communication Between Mainframe and Computer . . . . . . . . . . . . . . . . A-1
Start-Up Errors and Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Error 1: Failed Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Error 3: Config warning. Device driver not found . . . . . . . . . . . . . . . . . . A-3
Error 10: Config error 10. Insufficient system memory . . . . . . . . . . . . . . . . A-3
Error 11: Config error 11. Invalid instrument address . . . . . . . . . . . . . . . . A-3
Error 13: Config error 13. Logical address or IACK switch set wrong . . . . . . . A-3
System Errors and Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3
Reading the Error Queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3
Error Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4
System Error Message Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4
Appendix B Hardware Reference Information
RS-232 Cable Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
GPIB Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Power Cords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-2
Replacement Fuses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-2
Rack Mount and Front Handle Kits . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3
Agilent E1300B/E1301B Backdating Information . . . . . . . . . . . . . . . . . . . . B-5
Setting the Mainframe Interrupt Bypass Switches . . . . . . . . . . . . . . . . . . B-5
Appendix C Debugging VXI SCPI Programs
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Steps To Debug Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Step 1: Verify Instrument Communication . . . . . . . . . . . . . . . . . . . . . . C-1
Step 2: Reset Each Instrument at the Start of the Program . . . . . . . . . . . . . C-3
Step 3: Query the Instruments for Errors . . . . . . . . . . . . . . . . . . . . . . . C-4
Step 4: Query All Command Parameter Settings that are Set . . . . . . . . . . . . C-4
Step 5: Check the Program is Trying to Enter the Same Amount . . . . . . . . . . C-5
Step 6: Check the Instrument’s Arm/Trigger Subsystem . . . . . . . . . . . . . . C-5
Step 7: Check that Coupled Commands are Sent as a Group . . . . . . . . . . . . C-6
Step 8: Check for Command Synchronization . . . . . . . . . . . . . . . . . . . . . C-6
Automating the Debugging Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-7
RN13_RMB Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-7
Using other Program Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-7
Using the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-7
Program Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-8
Program Theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-9
Changing the Program to BASIC . . . . . . . . . . . . . . . . . . . . . . . . . . . C-11
vi