Using Basic/Ibasic; Sending Scpi Commands; Receiving Data - Agilent Technologies 75000 Series B Configuration Manual

Installing the mainframe and plug-in modules
Hide thumbs Also See for 75000 Series B:
Table of Contents

Advertisement

Using BASIC/IBASIC

The following shows how to use the BASIC/IBASIC program language (version 5.0 and above).
BASIC/IBASIC languages are in a variety of HP computers, including many Series 200/300 computers.
These computers normally have the means for GPIB connections.
BASIC/IBASIC have the means to directly send commands to the instruments and to directly receive data
from the instruments over GPIB. To send a SCPI command, the program requires the GPIB address of the
instrument and the SCPI command. To receive data from the instrument, the program requires the GPIB
address. Typical commands are as follows (refer to the BASIC/IBASIC documentation for other commands).

Sending SCPI Commands

The following shows how to send SCPI commands to an instrument using the BASIC/IBASIC
OUTPUT
command. The command needs the complete GPIB address of the instrument.
Sending SCPI Commands
OUTPUT 70900;" SYSTem:ERRor?"
SCPI Command
BASIC/IBASIC Command
GPIB Address

Receiving Data

The following shows how to use the hp BASIC/IBASIC
command to receive data from an
ENTER
instrument. The command needs the complete GPIB address of the instrument.
Receiving Data
ENTER 70900;Get_data$
Variable that Receives Data
BASIC/IBASIC Command
GPIB Address
Sending SCPI Commands 2-13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1301bE1300b

Table of Contents