Keysight E5260/E5270 Programming Guide, Edition 4 3- 65
Programming Examples
Using Trigger Function
This is a program written in the HP BASIC language, and performs the following.
1. Sets the Keysight E5260/E5270 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 Keysight E5260/E5270 channel output
This is a part of the program used to synchronize the E5260/E5270 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 @E5270 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 E5260/E5270.
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.