Programming Language; Initial Operation - HP E1351A User Manual

Fet multiplexer
Table of Contents

Advertisement

Programming Language

Initial Operation

16
Getting Started with the HP E1351A/53A
Figure 1-2. Custom Cable for Digital Bus Triggering
The examples in this manual use the Standard Commands for
Programmable Instruments (SCPI) commands, Hewlett-Packard BASIC and
an HP 9000 Series 200/300 computer over the HP-IB. Chapter 5 contains
information on SCPI command format. Appendix B contains details on the
registers for register-based programming.
Use the following program to verify initial multiplexer operation by closing
a channel and querying channel closure. The computer interfaces to the
mainframe with the Hewlett-Packard Interface Bus (HP-IB). The HP-IB
interface select code is 7, and the mainframe address is 09. The multiplexer
has an instrument address of 24, so its secondary address is 03.
This example first resets the switchbox and then closes channel 02 of a
single multiplexer module (card number 1) in the switchbox. The program
next queries the channel closure state. A returned "1" shows that the
channel is closed, a returned "0" designates an open channel.
10 OUTPUT 70903;"*RST"
20 OUTPUT 70903;"CLOS (@102)"
30 OUTPUT 70903;"CLOS? (@102)" !Query channel 02 state
40 ENTER 70903;Value
50 PRlNT Value
60 END
!Opens all channels
!Close channel 02 on card 1
!Enter results into variable called
Value
!Display result
Chapter 1

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1353a

Table of Contents