Table 3-11
Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer)
Dim i As Integer = 0
Dim j As Integer = 0
Dim nop1 As Integer = 1
Dim nop2 As Integer = 1
Dim data(nop2 - 1, nop1 - 1) As String
Dim value As String = "Vth (V), Id (mA), Status"
Dim fname As String = "C:\Keysight\prog_ex\data9.txt"
Dim title As String = "Measurement Result"
Dim msg As String = "No error."
Dim err As Integer = 0
Dim vd1 As Double = 0
Dim vd2 As Double = 3
Dim vdel As Double = 0.01
Dim idcomp As Double = 0.01
Dim igcomp As Double = 0.01
Dim orng As Integer = 12
Dim mrng As Integer = 13
Dim hold As Double = 0
Dim delay As Double = 0
Dim judge As Integer = 1
Dim tgt As Double = 0.001
Dim posneg As Integer = 1
Dim offset As Double = 0
session.WriteString("FMT 1" & vbLf)
session.WriteString("MM 14" & vbLf)
session.WriteString("LSM 2,3" & vbLf)
session.WriteString("LSVM 1" & vbLf)
session.WriteString("LSTM " & hold & "," & delay & vbLf)
session.WriteString("LGI " & t(0) & "," & judge & "," & mrng & "," & tgt & vbLf)
session.WriteString("LSV " & t(1) & "," & orng & "," & vd1 & "," & vd2 & "," &
vdel & "," & idcomp & vbLf)
session.WriteString("LSSV " & t(0) & "," & posneg & "," & offset & "," & igcomp
& vbLf)
Line
2 to 11
Declares variables used through the project. And sets the proper values.
13 to 25
Declares variables, and sets the value.
27 to 28
Sets the data output format and the measurement mode.
29 to 32
Sets the linear search measurement conditions.
33 to 34
Sets the linear search sources, primary source and synchronous source.
A program example of a linear search measurement is shown below. This example
measures the MOSFET threshold voltage.
Linear Search Measurement Example
'12: 20 V limited auto ranging
'13: 100 nA limited auto ranging
' 1: result>=target
' target current
' 1: positive
' offset voltage
Keysight E5260/E5270 Programming Guide, Edition 4
Linear Search Measurements
't(0): Drain
't(1): Gate
't(2): Source
't(3): Substrate
'linear search measurement
'stops by any abnormal
'returns search data and sense data
Description
Programming Examples
'1
'13
'27
'34
3- 41