
Agilent B1500A/B1505A Programming Guide, Edition 11 3-127
Programming Examples
Using Trigger Function
This is a program written in the HP BASIC language, and performs the following.
1. Sets the Agilent B1500 for the bipolar transistor Ib-Ic measurement
2. Triggers a sweep measurement
3. Performs a step measurement and sends the Step Measurement Completion
output gate trigger
4. Waits for the Start Step Output Setup input trigger
5. Displays a measurement data (Ic)
6. Repeats 3 to 5 the number of times specified by Ib_num
7. Disables the Agilent B1500 channel output
This is a part of the program used to synchronize the Agilent B1500 operation with
the other instrument. However this program does not include the program code to
control the instrument. So add the program code to control it before running the
program. For the timing of the trigger, refer to the comments in the following
program listing.
10 ASSIGN @B1500 TO 717
20 OPTION BASE 1
30 INTEGER Collector,Base,Ib_num,Vc_num
40 !
50 Collector=2
60 Base=1
70 Ib_start=.0001
80 Ib_stop=.001
90 Ib_num=10
100 Ib_step=(Ib_stop-Ib_start)/(Ib_num-1)
110 Vb_comp=1
120 Vc=2.5
130 Ic_comp=.1
140 !
150 !Other instrument should be initialized and set up.
160 !
Line No. Description
10 Assigns the I/O path to control the B1500.
50 to 130 Sets the value of the variables for source setup and so on.
140 to 160 Add program lines to perform initialization and measurement
setup of the other instrument.
Comentários a estes Manuais