C4
HP-If3
Codes
Terminators
Time Base
Waveform
10
20
30
40
50
60
70
73
80
90
100
110
120
130
140
Table C-7.
HP-IS
Codes
for
the Standard
HP
8904A
Functions
(4
of
4)
Kz
HZ
DG
RD
VL
MV
uv
ET
sc
MS
Yo
PC
WF
Kilohertz
Hertz
Degrees
Radians
Volts
Millivolts
Microvolts
Enter
Seconds
Milliseconds
Percent
Percent
Example:
"EO"
Read External Reference Status. Ths 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
......................................
!
*
HP SERIES
200/300
BASIC
language
*
!
*
programming example for the
*
!
*
standard
HP
8904A
MULTIFUNCTION
*
!
*
SYNTHESIZER.
*
I
......................................
!
OUTPUT
726;
"PS"
!
Preset
HP
8904pI.
OUTPUT
726; "GM0"
I
Goto channel configuration mode.
OUTPUT
726;
"FC1
OF"
!
Turn output
1
float off.
OUTPUT
726
;
"FRA
1
000.1
HZ
"
!
Set channel
A
frequency
to
1000.1
Hz.
OUTPUT
726
;
"APA
t
.25UL"
!
Set channel
A
amplitude to
1.25
U.
OUTPUT
726;"PHA90DG"
!
Set channel
A
phase to
90
degrees.
OUTPUT
726;
"WFARA"
!
Set channel
A
waveform
to
ramp.
END
Figure C-
1.
Sample Program for Configuring Channel
A
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com