Agilent Technologies B1500A Instrukcja Obsługi Strona 194

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 598
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 193
3-16 Agilent B1500A/B1505A Programming Guide, Edition 11
Programming Examples
Pulsed Spot Measurements
A program example of a pulsed spot measurement is shown below. This example
measures MOSFET drain current.
Table 3-4 Pulsed Spot 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 = "Id (uA), Status, Meas Time (msec)"
Dim fname As String = "C:\Agilent\prog_ex\data3.txt"
Dim title As String = "Measurement Result"
Dim msg As String = "No error."
Dim err As Integer = 0
Dim vd As Double = 3 ’13
Dim vg As Double = 1
Dim idcomp As Double = 0.05
Dim igcomp As Double = 0.01
Dim orng As Integer = 0
Dim mrng As Integer = 0
session.WriteString("FMT 1" & vbLf) ’19
session.WriteString("TSC 1" & vbLf) ’enables time stamp output
session.WriteString("FL 0" & vbLf) ’sets filter off
session.WriteString("AV 1,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
Dim g_pt As String = "0.1,0.01,0.02" ’hold, width, period in sec
session.WriteString("PT " & g_pt & vbLf)
Dim v0 As Double = 0 ’0 V: pulse base voltage
session.WriteString("PV " & t(1) & "," & orng & "," & v0 & "," & vg & "," &
igcomp & vbLf)
session.WriteString("DV " & t(0) & "," & orng & "," & vd & "," & idcomp & vbLf)
session.WriteString("MM 3," & t(0) & vbLf) ’3: pulsed spot measurement
session.WriteString("CMM " & t(0) & ",1" & vbLf) 1: current measurement
session.WriteString("RI " & t(0) & "," & mrng & vbLf) ’32
session.WriteString("ERR? 1" & vbLf) : err = session.ReadString(4 + 2)
If err <> 0 Then session.WriteString("DZ" & vbLf) : GoTo Check_err
Line Description
2 to 11 Declares variables used through the project. And sets the proper values.
13 to 18 Declares variables and sets the value.
19 to 22 Sets the data output format, time stamp data output mode, SMU filter, and averaging.
23 to 29 Applies DC voltage to device, and sets the voltage pulse source.
30 to 32 Sets the measurement mode, channel measurement mode, and measurement range.
33 to 34 Checks if an error occurred. If an error is detected, forces 0 V and goes to Check_err.
Przeglądanie stron 193
1 2 ... 189 190 191 192 193 194 195 196 197 198 199 ... 597 598

Komentarze do niniejszej Instrukcji

Brak uwag