Keysight E5260/E5270 Programming Guide, Edition 4
3- 25
Programming Examples
Staircase Sweep Measurements
The following program example executes the synchronous sweep measurement
using two sweep sources. This example measures MOSFET Id-Vg characteristics.
Table 3-7
Staircase Sweep Measurement Example 3
Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’1
Dim i As Integer = 0 ’t(0): Drain
Dim j As Integer = 0 ’t(1): Gate
Dim nop1 As Integer = 11 ’t(2): Source
Dim nop2 As Integer = 1 ’t(3): Substrate
Dim data(nop2 - 1, nop1 - 1) As String
Dim value As String = "Vg (V), Id (mA), Time (sec), Status"
Dim fname As String = "C:\Keysight\prog_ex\data5.txt"
Dim title As String = "Measurement Result"
Dim msg As String = "No error."
Dim err As Integer = 0
Dim vd1 As Double = 0 ’13
Dim vd2 As Double = 2
Dim idcomp As Double = 0.05
Dim pd_comp As Double = 0.1
Dim vg1 As Double = vd1
Dim vg2 As Double = vd2
Dim igcomp As Double = 0.01
Dim pg_comp As Double = 0.05
Dim hold As Double = 0
Dim delay As Double = 0
Dim s_delay As Double = 0
Dim rep As Integer = nop1
Dim mret As String ’25
Dim sc(nop1) As Double
Dim md(nop1) As Double
Dim st(nop1) As String
Dim tm(nop1) As Double
session.WriteString("FMT 1,1" & vbLf)’ASCII,<CRLF EOI>,w/sweep source data ’30
session.WriteString("TSC 1" & vbLf) ’enables time stamp output
session.WriteString("FL 0" & vbLf) ’sets filter off
session.WriteString("AV 10,1" & vbLf) ’sets number of samples for 1 data
session.WriteString("DV " & t(3) & ",0,0,0.1" & vbLf) ’out= 0 V, comp= 0.1 A
session.WriteString("DV " & t(2) & ",0,0,0.1" & vbLf) ’out= 0 V, comp= 0.1 A
Line
Description
2 to 11
Declares variables used through the project. And sets the proper values.
13 to 24
Declares variables used to set the source output, and sets the value.
25 to 29
Declares variables used to read the measurement data.
30 to 33
Sets the data output format, time stamp data output mode, SMU filter, and averaging.
34 to 35
Applies voltage to device.
Summary of Contents for E5260 Series
Page 1: ...Keysight Technologies E5260 E5270 Series of Parametric Measurement Solutions Programming Guide...
Page 3: ...User s Guide B2900 9001x xxxx 201x Edition x...
Page 13: ...1 Programming Basics...
Page 63: ...2 Remote Mode Functions...
Page 108: ...2 46 Keysight E5260 E5270 Programming Guide Edition 4 Remote Mode Functions Initial Settings...
Page 109: ...3 Programming Examples...
Page 185: ...4 Command Reference...
Page 335: ...5 Error Messages...
Page 349: ......