HP 82479A Owner's Manual page 26

Data acquisition pac
Table of Contents

Advertisement

Getting Started
2.10.1 Simple Programming
Functions such as DCO TS and ACYL TS may be used from the keyboard or in BASIC programs. To
illustrate this, build a simple program that displays the average of 10 voltage measurements from
multiplexor channel 3 in slot O in the HP 3421 A. NOTE: depending on the configuration of your
HP 3421A, this channel number may need to vary.
Input/Result
EOIT SAMPLE [ENDLINE)
Create and name a new BASIC program file called
=SHMFLE.
=SHMFLE
FEST
I
Enter the following BASIC programlines, followed by ENDLINE | .
Tee 1
=SHMFLE
SB FEERL He T.%=
SE FIs 4
40 S=0
mE THIT=421
gE FOR I=1 TiO 1
FE S=S0CN OL TTS Em
Hoong late voltages
a jh T 1
Ercd of
loop
HE
H=5C1H
Compute gue ages
1 EE Aor
"HY ERAGE "iH
Dizplag swerags
1168 EHD
Press [RUN] to run the program.
FIVMERAGE:
1.4487
The program displays the result.
This program will work regardless of the position of the HP 3421A in the loop, but does assume that a
multiplexer assembly is in slot O.

Advertisement

Table of Contents
loading

Table of Contents