HP-IB
Codes
c-9
-code
~~~
Table C-3.
HP-IB
Codes That Can
Be
Used
with Option
02
Instruments
Des#iption
HPa
I
Destination
DE
Form:
DE<Channel><Destination>
Examples:
"DEAOF "DEBOCP"
Set destination. Valid data values for destination are OC1, OC2 and
OF.
Query
Port
QRE
Form:QRE
Status
Example:
"QRE
Query present enable status.
-
10
20
30
40
50
60
70
80
90
100
110
120
130
140
150
160
170
180
190
2
00
!
......................................
!
*
HP
SERIES
200/300 BASIC language
1
*
programming example for the
*
!
*
HP 89G4A MULTIFUNCTION SYNTHESIZER
*
!
Option 02.
*
1
......................................
!
OUTPUT
726
;
"PS"
!
Preset
HP
8904A.
!
OUTPUT
726
i
"GM0"
!
Got.0
channel configuration mode.
!
OUTPUT
726;"FRAZKZ APA2UL PHA45DG WFASQ"
!
Set channel
A
frequency
=
!
2
kHz, amplitude
=
2
volts, phase
=
!
45 degress, and waveform
=
square.
!
OUTPUT
726;"FRBZKZ
APB2UL PHB90DG WFBSQ"
!
Set channel
B
frequency
=
!
2
kHz, amplitude
=
2
volts, phase
=
I
30 degress, and uaveform
=
square.
!
END
Figure C-4. Sample Program for Configuring Output
Ports
1
and
2.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com