Hp-Ib Commands And Programming Examples; Introduction - HP 3324A Operating And Programming Manual

Synthesized function/sweep generator
Hide thumbs Also See for 3324A:
Table of Contents

Advertisement

HP-IB Commands and Programming Examples

Introduction

Program
DIM A$[2551
10
20
OUTPUT 717."IAH"
30
ENTER 717;;$
40
PRINT A$
50
END
This chapter gives a list of the HP 3324A HP-IB
commands, in a functional order, and some programming
examples. For the syntax diagram of a particular
command, see Appendix E Command Syntax.
Some of the HP-IB commands cannot be used by the HP
as they are 3324A specific. These are shown in
tables 11-l and 11-2.
To create a query, add "I" (standing for "interrogate")
to the beginning of the command. For example, the
command to change the amplitude of the main signal is
"AM". To ask for the current amplitude, you must send
To check if the controller and the HP 3324A are talking
with each other, send a query and look at the response
from the HP 3324A. For example:
Dimensions A$.
Queries the amplitude of the HP 3324A.
The HP 3324A's amplitude is received by the controller.
The amplitude is displayed.
Program end.
The first thing to check if the amplitude is not shown, is
that the HP-IB address set on the HP 3324A is the same
as that you are using (in this case 17).
HP-IB Commands and Programming Examples
Result
1 1

Advertisement

Table of Contents
loading

Table of Contents