EasyManuals Logo

Keysight Technologies E5260 Series Programming Guide

Keysight Technologies E5260 Series
350 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #162 background imageLoading...
Page #162 background image
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
Table 3-14.
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
Table
3-14.
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
Table
3-14.

Table of Contents

Other manuals for Keysight Technologies E5260 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keysight Technologies E5260 Series and is the answer not in the manual?

Keysight Technologies E5260 Series Specifications

General IconGeneral
BrandKeysight Technologies
ModelE5260 Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals