Operation
Model
8904A
lbble
3-4.
HP-IB
Codes
for
the
Standard
HP
8904A
finctwns
(5
of
5)
Function
Terminators
Time Base
Waveform
10
20
30
40
50
60
70
73
80
90
100
110
120
130
140
HP-IB
Code
Kz
HZ
DG
RD
VL
MV
uv
ET
sc
MS
YO
PC
EO
WF
___~
-
Description
Kilohertz
Hertz
Degrees
Radians
Volts
Millivolts
Microvolts
Enter
Seconds
Milliseconds
Percent
Percent
Example:
"EO"
Read External Reference Status. This function allows you to determine whether the Time
Base reference is external
or
internal.
If
the External reference is on, a 001 is returned,
if
not
a
000
is
returned.
Form:
WF<Channel>
<
Waveform>
Example:
"WFATR"
Set
waveform of a channel. Valid data values for waveform are:
SI
=
Sine
RA
=
Ramp
TR =Triangle
SQ
=
Square
NS
=
Noise
DC
=
dc.
I
tt**t*ttttt****lt*******~***************n********n
!
HP SERIES 200/300 BASIC language
!
'
programming example for the
!
*
standard HP 8904A MULTIFUNCTION
!
*
SYNTHESIZER.
,
.................................................
!
OUTPUT 726;"PS"
OUTPUT 726;"GMO"
OUTPUT 726;"FCl
OF"
OUTPUT 726;"FRAlOOO.l
HZ"
OUTPUT 726;"APA1.25VL"
OUTPUT 726;"PHAgODG"
OUTPUT 726;"WFARA"
END
!
Preset HP 8904A.
!
Goto channel configuration mode.
!
Turn output
1
float off.
!
Set channel
A
frequency to 1000.1 Hz.
!
Set channel
A
amplitude to 1.25
V.
!
Set channel
A
phase to
90
degrees.
!
Set channel
A
waveform to ramp.
Figure
3-8.
Sample
Program
for
Configuring Channel
A
3-24
rev.OlNOV89
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com