Agilent E5250A User’s Guide, Edition 11
6-15
Programming the E5250A
Programming Examples
Program List:
10 ! Example: Creating Connection Channels
20 !
30 INTEGER
Complete
40 DIM
Channel$[100]
50 ! (Gate, Drain, Substrate, Source)
60 Channel$="(@10101,10202,10303,10404)"
! Channels to Create
70 !
80 ! Put Instrument Initialization Routine here
90 !
100 ASSIGN @Hp5250 TO 722 ! Assigns E5250A GPIB address to 722
110 OUTPUT @Hp5250;"*RST"
120 OUTPUT @Hp5250;":ROUT:FUNC NCON" ! Sets Normal Config mode
130 OUTPUT @Hp5250;":ROUT:CONN:RULE ALL,SROU"! Sets Single rule
140 OUTPUT @Hp5250;":ROUT:CONN:SEQ ALL,BBM" ! Sets BBM sequence
150 !
160 OUTPUT @Hp5250;":ROUT:CLOS "&Channel$
! Creates channels
170 OUTPUT @Hp5250;"*OPC?"
180 ENTER @Hp5250;Complete
190 !
200 ! Put Measurement Routine here
210 !
220 OUTPUT @Hp5250;":ROUT:OPEN:CARD ALL"
! Opens all relays
230 OUTPUT @Hp5250;"*OPC?"
240 ENTER @Hp5250;Complete
250 !
260 OUTPUT @Hp5250;"*RST"
270 !
280 END
Line
Number
Description
40
Declares data size of Channel$, which is used as
channel_list
parameter.
60
Defines the desired
channel_list
.
80
Here, insert the initialization routine for your measurement
instrument.
110
Resets the E5250A.
120
Sets the E5250A to Normal channel configuration mode.
130
Sets the connection rule to Single.
140
Sets the connection sequence to Break-Before-Make.
160
Closes relays to create the channels specified by
Channel$
.
170 to 180
Waits until the relay closing operation is completed.
200
Here, insert measurement routine for your measurement
instrument.
220 to 240
Opens all relays, and waits until open operation is completed.
260
Resets the E5250A.
Содержание Agilent E5250A
Страница 1: ...Agilent Technologies Agilent E5250A Low Leakage Switch Mainframe User s Guide ...
Страница 10: ......
Страница 16: ...Contents 6 Agilent E5250A User s Guide Edition 11 Contents 12 SCPI Command Summary ...
Страница 17: ...1 Introduction ...
Страница 32: ...1 16 Agilent E5250A User s Guide Edition 11 Introduction Options and Accessories ...
Страница 33: ...2 Installation ...
Страница 51: ...3 Executing Self Test and Leak Test ...
Страница 70: ...3 20 Agilent E5250A User s Guide Edition 11 Executing Self Test and Leak Test Using the Self Test Utility ...
Страница 71: ...4 Setting up Measurement Environment ...
Страница 95: ...5 Controlling the E5250A ...
Страница 137: ...6 Programming the E5250A ...
Страница 169: ...7 Command Reference ...
Страница 224: ...7 56 Agilent E5250A User s Guide Edition 11 Command Reference Output Queue ...
Страница 225: ...8 VXIplug play Driver ...
Страница 256: ...8 32 Agilent E5250A User s Guide Edition 11 VXIplug play Driver Driver Functions ...
Страница 257: ...9 Executing Sample Programs ...
Страница 295: ...10 Specifications ...
Страница 304: ...10 10 Agilent E5250A User s Guide Edition 11 Specifications Supplemental Data when used with Agilent 4155 4156 ...
Страница 305: ...11 Error Messages ...
Страница 318: ...11 14 Agilent E5250A User s Guide Edition 11 Error Messages E5250A Specific Error Messages ...
Страница 319: ...12 SCPI Command Summary ...