Instrument and Programming Languages
The purpose of this manual is to teach you how to use the E1340A AFG. To
do this, the manual uses block diagrams, flowcharts, and example programs.
The programs shown in the manual are SCPI programs written in HP
IBASIC. These programs, and QuickBASIC and C language versions of the
programs are on the following disks which ship with the manual:
•
HP E1340A Instrument Driver and HP IBASIC Example Programs -
3.5" 720 kbyte disk (E1340-10035)
•
HP E1340A Instrument Driver and QuickBASIC and C Language
Example programs - 3.5" 1.44 Mbyte disk (E1340-10036)
SCPI Programming
SCPI (Standard Commands for Programmable Instruments) is an
ASCII-based instrument command language designed for test and
measurement instruments. The HP E1300/E1301 Mainframe or
HP E1405/E1406 Command Module with the AFG driver installed
interprets the ASCII command strings and sets the AFG accordingly. The
Mainframe/Command Module does this by writing to the AFG registers.
SCPI Command
Structure
The AFG SCPI command set is found in Chapter 7. SCPI commands are
based on a hierarchical structure, also known as a tree system. In this
system, associated commands are grouped together under a common node
or root, thus, forming subtrees or subsystems. An example is the AFG’s
’ARM’ subsystem shown below.
ARM
[:STARt|SEQuence[1]]
[:LAYer[1]]
:COUNt <
number
>
:LAYer2
:COUNt <
number
>
:SLOPe <
edge
>
:SOURce <
source
>
ARM
is the root keyword of the command,
:STARt|SEQuence1
is the
second level keyword,
:LAYer1
and
:LAYer2
are third level keywords, and
so on. A colon (:) always separates a command keyword from a lower level
keyword as shown below:
ARM:LAY2:SOUR EXT
19 Getting Started with the HP E1340A
Chapter 1
Содержание E1340A
Страница 12: ...Notes 12 HP E1340A Arbitrary Function Generator Module User s Manual ...
Страница 14: ...14 HP E1340A Arbitrary Function Generator Module User s Manual ...
Страница 42: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 42 ...
Страница 54: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 54 ...
Страница 57: ...Figure 3 1 Generating Arbitrary Waveforms 57 Generating Arbitrary Waveforms with the HP E1340A Chapter 3 ...
Страница 58: ...Chapter 3 Generating Arbitrary Waveforms with the HP E1340A 58 ...
Страница 84: ...Chapter 4 HP E1340A Sweeping and Frequency Shift Keying 84 ...
Страница 130: ...Chapter 6 HP E1340A High Speed Operation 130 ...
Страница 202: ...202 HP E1340A SCPI Conformance Information Chapter 7 ...
Страница 204: ...Figure 8 1 HP E1340A Status Groups and Associated Registers Chapter 8 HP E1340A AFG Status 204 ...
Страница 218: ...218 HP E1340A Specifications Appendix A ...
Страница 284: ...284 HP E1340A Register Based Programming Appendix C ...
Страница 295: ...Index HP E1340A Arbitrary Function Generator User s Manual 295 ...