Agilent Technologies B1500A Servisní příručka Strana 218

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 598
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 217
3-40 Agilent B1500A/B1505A Programming Guide, Edition 11
Programming Examples
Linear Search Measurements
A program example of a linear search measurement is shown below. This example
measures the MOSFET threshold voltage.
Table 3-11 Linear Search Measurement Example
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 = 1 ’t(2): Source
Dim nop2 As Integer = 1 ’t(3): Substrate
Dim data(nop2 - 1, nop1 - 1) As String
Dim value As String = "Vth (V), Id (mA), Status"
Dim fname As String = "C:\Agilent\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 ’13
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 ’12: 20 V limited auto ranging
Dim mrng As Integer = 13 ’13: 100 nA limited auto ranging
Dim hold As Double = 0
Dim delay As Double = 0
Dim judge As Integer = 1 ’ 1: result>=target
Dim tgt As Double = 0.001 ’ target current
Dim posneg As Integer = 1 ’ 1: positive
Dim offset As Double = 0 ’ offset voltage
session.WriteString("FMT 1" & vbLf) ’27
session.WriteString("MM 14" & vbLf) ’linear search measurement
session.WriteString("LSM 2,3" & vbLf) ’stops by any abnormal
session.WriteString("LSVM 1" & vbLf) ’returns search data and sense data
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) ’34
Line Description
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.
Zobrazit stránku 217
1 2 ... 213 214 215 216 217 218 219 220 221 222 223 ... 597 598

Komentáře k této Příručce

Žádné komentáře