3- 54
Keysight E5260/E5270 Programming Guide, Edition 4
Programming Examples
Using Program Memory
Table 3-15
Program Memory Programming Example 2
session.WriteString("VAR0,0," & t(0) & vbLf) '%I0=t(0) ’1
session.WriteString("VAR0,1," & t(1) & vbLf) '%I1=t(1)
session.WriteString("VAR0,2," & t(2) & vbLf) '%I2=t(2)
session.WriteString("VAR0,3," & t(3) & vbLf) '%I3=t(3)
session.WriteString("VAR0,4,0" & vbLf) '%I4=mrng
session.WriteString("VAR0,5,0" & vbLf) '%I5=orng
session.WriteString("VAR1,0,1" & vbLf) '%R0=vd
session.WriteString("VAR1,1,0.8" & vbLf) '%R1=vg
session.WriteString("VAR1,2,0.1" & vbLf) '%R2=idcomp
session.WriteString("VAR1,3,0.05" & vbLf) '%R3=igcomp
session.WriteString("VAR1,4,0" & vbLf) '%R4=v0
session.WriteString("VAR1,5,0.1" & vbLf) '%R5=hold
session.WriteString("VAR1,6,0.01" & vbLf) '%R6=width
session.WriteString("VAR1,7,0.02" & vbLf) '%R7=period
Dim mem As Integer = 1 ’16
session.WriteString("ST" & mem & vbLf)
session.WriteString("DV %I3,0,0,0.1" & vbLf)
session.WriteString("DV %I2,0,0,0.1" & vbLf)
session.WriteString("DV %I1,%I5,%R1,%R3" & vbLf)
session.WriteString("DV %I0,%I5,%R0,%R2" & vbLf)
session.WriteString("TI %I0,%I4" & vbLf)
session.WriteString("END" & vbLf)
display_mem(session, mem)
mem = 2 ’26
session.WriteString("ST" & mem & vbLf)
session.WriteString("PT %R5,%R6,%R7" & vbLf)
session.WriteString("DV %I3,0,0,0.1" & vbLf)
session.WriteString("DV %I2,0,0,0.1" & vbLf)
session.WriteString("PV %I1,%I5,%R4,%R1,%R3" & vbLf)
session.WriteString("DV %I0,%I5,%R0,%R2" & vbLf)
session.WriteString("MM3,%I0" & vbLf)
session.WriteString("RI %I0,%I4" & vbLf)
session.WriteString("XE" & vbLf)
session.WriteString("END" & vbLf)
display_mem(session, mem) ’37
Line
Description
1 to 14
Declares variables used to set measurement conditions and sets the value. To run the
program, replace the code with the lines 12 to 15 of the program shown in
.
16 to 24
Stores program in the internal memory 1, and displays it on the console window. To run
the program, replace the code with the lines 17 to 25 of the program shown in
.
26 to 37
Stores program in the internal memory 2, and displays it on the console window. To run
the program, replace the code with the lines 27 to 38 of the program shown in
.
Содержание E5260 Series
Страница 1: ...Keysight Technologies E5260 E5270 Series of Parametric Measurement Solutions Programming Guide...
Страница 3: ...User s Guide B2900 9001x xxxx 201x Edition x...
Страница 13: ...1 Programming Basics...
Страница 63: ...2 Remote Mode Functions...
Страница 108: ...2 46 Keysight E5260 E5270 Programming Guide Edition 4 Remote Mode Functions Initial Settings...
Страница 109: ...3 Programming Examples...
Страница 185: ...4 Command Reference...
Страница 335: ...5 Error Messages...
Страница 349: ......