EasyManuals Logo
Home>Agilent Technologies>Multimeter>34420A

Agilent Technologies 34420A User Manual

Agilent Technologies 34420A
294 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #215 background imageLoading...
Page #215 background image
HP BASIC Language Programs
All of the HP BASIC examples in this chapter were developed and tested
on an HP 9000 Series 300 controller. Each device on the HP-IB
(IEEE-488) interface must have a unique address. You can set the
meter’s address to any value between 0 and 30. The current address is
momentarily displayed on the front panel when you turn on the meter.
The HP-IB (IEEE-488) address is set to "22" when the meter is shipped
from the factory. The examples in this chapter assume a HP-IB address
of 22. When sending a remote interface command, you append this
address to the HP-IB interface’s select code (normally 7). Therefore, with
an address of 22 and a select code of 7, the combination is "722".
HP BASIC / HP-IB Program Example 1
This example demonstrates the general sequence of programming and
the use of the MEASure? command to set and obtain a 4-wire Ohms
measurement.
10 !
20 ! This program configures the meter for a 4-wire ohms measurement on
30 ! Channel 1 using the MEAS command.
40 !
50 REAL Value,Rdg ! Dimension real variables
60 CLEAR 7 ! Clear interface - send "device clear"
70 ASSIGN @Meter TO 722 ! Assign I/O path to address 722
80 !
90 OUTPUT @Meter;"*RST" ! Reset the meter
100 OUTPUT @Meter;"*OPC?" ! Send "1" to output buffer when reset complete
110 ENTER @Meter;Value ! Enter value
120 !
130 ! Select 4-wire ohms on the 10 ohm range with the least resolution;
140 !
150 OUTPUT @Meter;"MEAS:FRES? 10,MAX"
160 ENTER @Meter;Rdg ! Enter reading
170 PRINT Rdg ! Print reading
180 END
6
Chapter 6 Application Programs
HP BASIC Language Programs
215
GPIB
GPIB
GPIB
GPIB
GPIB

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 34420A and is the answer not in the manual?

Agilent Technologies 34420A Specifications

General IconGeneral
BrandAgilent Technologies
Model34420A
CategoryMultimeter
LanguageEnglish

Related product manuals