Programming Examples; Introduction; General Examples; Common Task Examples - HP 8112A Operating, Programming And Servicing Manual

50 mhz programmable pulse generator
Table of Contents

Advertisement

Programming Examples

Introduction

General Examples

Common Task
Examples
Note
The following examples are an introduction to programming the
HP 8112A using HP BASIC 5.0/5.1 for the HP 9000 Series 200/300
controllers. The examples cover the following subjects:
Testing communication with the HP 8112A.
n
Performing the instrument self-test.
n
Program
Description
DEL-WID
Shows how to program and increment/decrement
some HP 8112A parameters
Shows how to service a SRQ by directly
conducting a SPOLL
Shows how to service SRQ's by using interrupts
INTR-2
and print the error bits which are set in the status
byte
Demonstrates how to determine which error bits
ERROR-DEMO
are set in the status byte
Shows how to read the Learn String with the
CST command and how to send it back to the
HP 8112A
INTERROG
Demonstrates the usage of all types of interrogate
commands offered by the HP 8112A
In the examples it is not strictly necessary to put the HP 8112A into
remote mode using the REMOTE 712 command because:
The CLEAR 712 statement used to initialisle the instrument also
n
selects remote mode.
The OUTPUT statement itself selects remote mode.
n
However, the REMOTE statement is included for completeness.
Programming Examples 7-1

Advertisement

Table of Contents
loading

Table of Contents