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 #216 background imageLoading...
Page #216 background image
HP BASIC / HP-IB Program Example 2
This program example demonstrates how two input channels can be
independently configured and used.
10 !
20 ! This program configures the meter for voltage measurements on two
30 ! input channels. The channels are set to different ranges and
40 ! resolutions to show the independence of the settings for each channel.
50 !
60 REAL Rdg_ch1,Rdg_ch2,Null_ch1,Null_ch2 ! Dimension variables
70 CLEAR 7 ! Clear interface - send "device clear"
80 ASSIGN @Meter TO 722 ! Assign I/O path to address 722
90 OUTPUT @Meter;"*RST" ! Reset the meter
100 OUTPUT @Meter;"*OPC?" ! Send "1" to output buffer when complete
110 ENTER @Meter;Value ! Enter value
120 !
130 ! Configure channel 1 for dc volts, 1 volt range with 10 mV resolution
140 ! Configure channel 2 for dc volts, 1 mV range with least resolution
150 OUTPUT @Meter;"CONF:VOLT:DC 1,0.01,(@FRON1);:CONF:VOLT:DC 0.001,MAX,(@FRON2)"
160 !
170 OUTPUT @Meter;"ROUT:TERM FRON1" ! Select channel 1
180 OUTPUT @Meter;"READ?" ! Take reading; send to output buffer
190 ENTER @Meter;Rdg_ch1 ! Enter reading
200 !
210 OUTPUT @Meter;"SENS1:VOLT:DC:NULL ON" ! Enable null on channel 1
220 OUTPUT @Meter;"SENS1:VOLT:DC:NULL:VAL ";Rdg_ch1 ! Store value in register
230 !
240 OUTPUT @Meter;"READ?" ! Take nulled reading; send to output buffer
250 ENTER @Meter;Null_ch1 ! Enter nulled reading
Chapter 6 Application Programs
HP BASIC Language Programs
216
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