Agilent Technologies B1500A Service Manual Page 228

  • Download
  • Add to my manuals
  • Print
  • Page
    / 598
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 227
3-50 Agilent B1500A/B1505A Programming Guide, Edition 11
Programming Examples
Multi Channel Pulsed Spot Measurements
A program example of a multi channel pulsed spot measurement is shown below.
This example measures MOSFET drain current and gate current simultaneously.
Table 3-14 Multi Channel 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), Stat, Time (msec),Ig (uA), Stat, Time (msec)"
Dim fname As String = "C:\Agilent\prog_ex\data30.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
Dim mtm As Double = 0.01 ’measurement time in sec
Dim pcom As String = "0.1,0.05,0.01" ’hold,period,Mdelay in sec
Dim g_pt As String = ",0,0.03" ’gate delay,width in sec
Dim d_pt As String = ",0,0.03" drain delay,width in sec
session.WriteString("FMT 1" & vbLf) ’23
session.WriteString("TSC 1" & vbLf) ’enables time stamp output
session.WriteString("FL 0" & vbLf) ’sets filter off
session.WriteString("AIT 2,3," & mtm & vbLf) ’sets measurement time
session.WriteString("MCPT " & pcom & vbLf) ’27
session.WriteString("MCPNT " & t(1) & g_pt & vbLf)
session.WriteString("MCPNX 2," & t(1) & ",1," & orng & ",0," & vg & "," &
igcomp & vbLf)
session.WriteString("MCPNT " & t(0) & d_pt & vbLf)
session.WriteString("MCPNX 1," & t(0) & ",1," & orng & ",0," & vd & "," &
idcomp & vbLf)
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
session.WriteString("MM27," & t(0) & "," & t(1) & vbLf) ’multi ch pulsed spot
session.WriteString("CMM " & t(0) & ",1" & vbLf) 1: current measurement
session.WriteString("RI " & t(0) & "," & mrng & vbLf) ’36
Line Description
2 to 11 Declares variables used through the project. And sets the proper values.
13 to 22 Declares variables and sets the value.
23 to 26 Sets the data output format, time data output mode, SMU filter, and measurement time.
27 to 33 Sets the voltage pulse sources, and applies DC voltage to device.
34 to 36 Sets the measurement mode, channel measurement mode, and measurement range.
Page view 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 597 598

Comments to this Manuals

No comments