EasyManuals Logo

HP 8642A Operation And Calibration Manual

HP 8642A
314 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 #238 background imageLoading...
Page #238 background image
Appendix
B
Model
8642A/B
Appendix
B:
Writing
Messages
to
the
Display
(cont'd)
The
following
display
results
from
entering
the
keys
from
the
example
on
page
3-201:
ILLIV
HP
Example
of
Entering
a
User-Defined
Message
Via
HP-IB
You
can
use
the
following
example
BASIC
program
to
enter
a message
string
of
49
characters
into
Message I.
Note
that
the
terminator
for
each
service special
function
is "EN";
when
in
the
service
special
function
mode,
this
is
the
programmmg
equivalent
of
the
local
function
of
pressing
the
Hz
key
locally.
10
DIM
C$
[49]
20
30
INPUT
C$
40
50
OUTPUT
719;
"SP3655EN"
60
70
LET
L=LEN
(C$)
80
90
100
FOR
1=1
TO
L
110
LET
A=NUM (C$[I,I])
120
OUTPUT
719
USING
130;A
130
IMAGE
"SP3656",K,"EN"
140
NEXT
I
150
160
170
OUTPUT
719;
"SP3657EN"
180
190
END
DIMENSION
49
CHARACTER
STRING
INPUT
CHARACTER
STRING
FOR
MESSAGE
1
CLEAR
MESSAGE 1
IN
THE
8642A/B
DETERMINE
LENGTH
OF
MESSAGE
1
CONVERT
EACH
CHARACTER
IN
C$
TO
ITS EQUIV
ALENT
ASCII
NUMERIC
CODE
DISPLA
Y
THE
MESSAGE
Example
of
Reading
a
User-Defined
Message
Via
HP-IB
You
can
use
the
following
example
BASIC
program
to
read
the
Message 1
string.
10
DIM
C$
[49]
20
OUTPUT
719;
"SP3657EN"
30
ENTER
719;
C$
40
END
3-202
DIMENSION
49
CHARACTER
STRING
DISPLA
Y
MESSAGE
1
READ
MESSAGE 1

Table of Contents

Other manuals for HP 8642A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 8642A and is the answer not in the manual?

HP 8642A Specifications

General IconGeneral
BrandHP
Model8642A
CategoryInverter
LanguageEnglish

Related product manuals