3- 34
Keysight E5260/E5270 Programming Guide, Edition 4
Programming Examples
Staircase Sweep with Pulsed Bias Measurements
A program example of a staircase sweep with pulsed bias measurement is shown
below. This example measures the bipolar transistor Ic-Vc characteristics.
Table 3-9
Staircase Sweep with Pulsed Bias Measurement Example
Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’1
Dim i As Integer = 0 ’t(0): Emitter
Dim j As Integer = 0 ’t(1): Base
Dim nop1 As Integer = 11 ’t(2): Collector
Dim nop2 As Integer = 3 ’t(3): not use
Dim data(nop2 - 1, nop1 - 1) As String
Dim value As String = "Ib (mA), Vc (V), Ic (mA), Time (sec), Status"
Dim fname As String = "C:\Keysight\prog_ex\data7.txt"
Dim title As String = "Measurement Result"
Dim msg As String = "No error."
Dim err As Integer = 0
Dim vc1 As Double = 0 ’12
Dim vc2 As Double = 5
Dim iccomp As Double = 0.05
Dim pccomp As Double = 0.2
Dim i0 As Double = 0
Dim ib1 As Double = 0.003
Dim ib2 As Double = 0.007
Dim vbcomp As Double = 5
Dim ib As Double = ib1 ’secondary sweep output value
Dim d_ib As Double = 0 ’secondary sweep step value (delta)
If nop2 <> 1 Then d_ib = (ib2 - ib1) / (nop2 - 1)
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 ’27
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
session.WriteString("TSC 1" & vbLf) ’enables time stamp output
session.WriteString("FL 1" & vbLf) ’sets filter on
session.WriteString("AV 10,1" & vbLf) ’sets number of samples for 1 data
session.WriteString("CL " & t(3) & vbLf) ’36
Line
Description
2 to 11
Declares variables used through the project. And sets the proper values.
12 to 26
Declares variables used to set the source output, and sets the value.
27 to 31
Declares variables used to read the measurement data.
32 to 35
Sets the data output format, time stamp data output mode, SMU filter, and averaging.
36
Disables SMU assigned to t(3) that is not needed.
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: ......