3- 72 Keysight E5260/E5270 Programming Guide, Edition 4
Programming Examples
Using Programs for 4142B
Using Programs for 4142B
This section describes the program modification example to use a program created
for the Keysight 4142B Modular DC Source/Monitor. To use the program:
1. change the GPIB address, if necessary.
2. enter the ACH command to translate the channel numbers, if necessary.
3. remove the unsupported command, or replace it with the command supported by
the E5260/E5270.
For more information, refer to “To Use Programs for Keysight 4142B” on page
1-47.
The following program examples show a modified measurement program, which
performs a high-speed spot measurement.
The original 4142B program:
10 ASSIGN @Hp4142 TO 717
20 INTEGER G_ch,D_ch,S_ch
30 !
40 ! !Source: GNDU
50 G_ch=2 !Gate: HPSMU (SLOT2)
60 D_ch=3 !Drain: MPSMU (SLOT3)
70 S_ch=4 !Substrate: MPSMU (SLOT4)
80 !
90 OUTPUT @Hp4142;"FMT5"
100 OUTPUT @Hp4142;"CN";D_ch,G_ch,S_ch
110 OUTPUT @Hp4142;"DV";S_ch;",0,0,.1"
120 OUTPUT @Hp4142;"DV";G_ch;",0,3,.01"
130 OUTPUT @Hp4142;"DV";D_ch;",0,5,.1"
140 OUTPUT @Hp4142;"TI";D_ch;",0"
150 ENTER @Hp4142 USING "#,3X,12D,X";Mdata
160 PRINT "Id(A)=";Mdata
170 OUTPUT @Hp4142;"CL"
180 END
Line No. Description
10 Assigns the I/O path to control the 4142B.