Agilent Technologies ESG Spezifikationen Seite 13

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 259
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 12
Programming Guide 1-9
ESG Family Signal Generators Preparing for Use
Programming the Signal Generator
Programming the Signal Generator
The signal generator can be controlled entirely by a computer (although the line power
switch must be operated manually). Several functions are possible only by remote control.
Computer programming procedures for the signal generator involve selecting a GPIB
command statement and then adding the specific programming codes (SCPI or
8656/67-compatible) to that statement to achieve the desired operating conditions. The
programming codes can be categorized into two groups: those that mimic front panel
keystrokes, and those that are unique and have no front panel equivalent.
In the programming explanations that follow, specific examples are included that are
written in a generic dialect of the HP BASIC language. HP BASIC was selected because
the majority of GPIB computers have HP BASIC language capability. However, other
languages can be used as well.
Data Transfers Between Computer and Peripheral
Five statements are used to transfer information between a desktop computer and the
interface card:
The OUTPUT statement sends data to the interface which, in turn, sends the
information to the peripheral device.
The ENTER statement inputs data from the interface card after the interface has
received it from the peripheral device.
The STATUS statement is used to monitor the interface and obtain information about
interface operation such as buffer status, detected errors, and interrupt enable status.
The CONTROL statement is used to control interface operation and defines such
parameters as baud rate, character format, or parity.
The TRANSFER statement is used to input or output data from/to the interface and, in
turn, from/to the peripheral device.
Since the interface has no on-board processor, ENTER and OUTPUT statements cause the
computer to wait until the ENTER or OUTPUT operation is complete before continuing to
the next line. For OUTPUT statements, this means that the computer waits until the last
bit of the last character has been sent over the serial line before continuing with the next
program statement.
Seitenansicht 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 258 259

Kommentare zu diesen Handbüchern

Keine Kommentare