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 #160 background imageLoading...
Page #160 background image
3- 52 Keysight E5260/E5270 Programming Guide, Edition 4
Programming Examples
Using Program Memory
Table 3-14 Program Memory Programming Example 1
Imports Ivi.visa.interop ’1
Module Module1
Sub Main()
Dim E5270 As IResourceManager ’5
Dim session As IMessage
E5270 = New ResourceManager
session = E5270.Open("GPIB0::17::INSTR")
session.WriteString("*RST" & vbLf)
Dim fmt As Integer = 1 : session.WriteString("FMT" & fmt & vbLf)
Dim t() As Integer = {5, 4, 3, 1} ’Drain, Gate, Source, Substrate
Dim v0 As Double = 0 : Dim vd As Double = 1 : Dim idcomp As Double = 0.1 ’12
Dim vg As Double = 0.8 : Dim igcomp As Double = 0.05
Dim orng As Integer = 0 : Dim mrng As Integer = 0 : Dim hold As Double = 0.1
Dim width As Double = 0.01 : Dim period As Double = 0.02
Dim mem As Integer = 1 ’17
session.WriteString("ST" & mem & vbLf)
session.WriteString("DV" & t(3) & ",0,0,0.1" & vbLf)
session.WriteString("DV" & t(2) & ",0,0,0.1" & vbLf)
session.WriteString("DV" & t(1) & "," & orng & "," & vg & "," & igcomp & vbLf)
session.WriteString("DV" & t(0) & "," & orng & "," & vd & "," & idcomp & vbLf)
session.WriteString("TI" & t(0) & "," & mrng & vbLf)
session.WriteString("END" & vbLf)
display_mem(session, mem)
mem = 2 ’27
session.WriteString("ST" & mem & vbLf)
session.WriteString("PT" & hold & "," & width & "," & period & vbLf)
session.WriteString("DV" & t(3) & ",0,0,0.1" & vbLf)
session.WriteString("DV" & t(2) & ",0,0,0.1" & vbLf)
session.WriteString("PV" & t(1) & "," & orng & "," & v0 & "," & vg & "," &
igcomp & vbLf)
session.WriteString("DV" & t(0) & "," & orng & "," & vd & "," & idcomp & vbLf)
session.WriteString("MM3," & t(0) & vbLf)
session.WriteString("RI" & t(0) & "," & mrng & vbLf)
session.WriteString("XE" & vbLf)
session.WriteString("END" & vbLf)
display_mem(session, mem) ’38
Line Description
1 This line is required to use the VISA COM library.
5 to 11 Establishes the connection with the Keysight E5260/E5270, resets the E5260/E5270,
and sets the data output format. Also declares the SMUs used for measurement.
12 to 15 Declares variables used to set measurement conditions and sets the value.
17 to 25 Stores program in the internal memory 1, and displays it on the console window.
27 to 38 Stores program in the internal memory 2, and displays it on the console window.

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