
3-138 Agilent B1500A/B1505A Programming Guide, Edition 11
Programming Examples
Using Programs for 4155B/4156B/4155C/4156C
The program modified to control the B1500:
10 ASSIGN @Hp415x TO 717 !<<<<
20 INTEGER G_ch,D_ch,S_ch,B_ch
21 INTEGER Sub !<<<<
30 !
40 ! S_ch=1 !Source: SMU1 <<<< replaced with GNDU
50 G_ch=2 !Gate: SMU2
60 D_ch=3 !Drain: SMU3
70 B_ch=4 !Substrate: SMU4
80 !
81 Sub=5 !<<<<
82 OUTPUT @Hp415x;"ACH ";Sub,B_ch !<<<<
83 !
90 ! OUTPUT @Hp415x;"US" <<<<
100 OUTPUT @Hp415x;"FMT 25" !<<<<
110 OUTPUT @Hp415x;"CN ";D_ch,G_ch,B_ch !<<<<
120 ! OUTPUT @Hp415x;"DV ";S_ch;",0,0,.1" <<<<
130 OUTPUT @Hp415x;"DV ";B_ch;",0,0,.1"
140 OUTPUT @Hp415x;"DV ";G_ch;",0,3,.01"
150 OUTPUT @Hp415x;"DV ";D_ch;",0,5,.1"
160 OUTPUT @Hp415x;"TI ";D_ch;",0"
170 ! OUTPUT @Hp415x;"RMD? 1" <<<<
180 ENTER @Hp415x USING "#,5X,13D,X";Mdata
190 PRINT "Id(A)=";Mdata
200 OUTPUT @Hp415x;"CL"
210 END
Line No. Note
10 Change GPIB address, if necessary.
21, 81 Add program lines if the module configuration is different from the
415x. This example adds the Sub variable, and uses the SMU in slot
5 instead of slot 4 for substrate.
82 Add program line to set the channel map. This example transfers the
Sub value to the variable B_ch used in the original program.
90 Remove the US command. This command is not required.
100 Change the FMT command parameter value.
40, 110,
120
This example uses the GNDU instead of the SMU1. So remove the
program lines that include the variable S_ch (SMU1).
170 Remove the RMD? command. This command is not required.
Komentáře k této Příručce