Agilent Technologies B1500A Service Manual Page 264

  • Download
  • Add to my manuals
  • Print
  • Page
    / 598
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 263
3-86 Agilent B1500A/B1505A Programming Guide, Edition 11
Programming Examples
Pulsed Sweep CV Measurements
The following program performs a capacitance vs voltage measurement by the
pulsed bias sweep. This example uses the multi frequency capacitance measurement
unit (MFCMU) and the SMU/CMU unify unit (SCUU).
Before performing the capacitance (impedance) measurement, you need to perform
the phase compensation and data correction. See “Data Correction” on page 3-71.
Table 3-23 Pulsed Sweep CV 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 = 21 ’t(2): Source
Dim nop2 As Integer = 1 ’t(3): Substrate
Dim data(nop2 - 1, nop1 - 1) As String
Dim value As String = "Vg (V), Cp (pF), C_st, G (uS), G_st, Time (s)"
Dim fname As String = "C:\Agilent\prog_ex\data23.txt"
Dim title As String = "Pulsed Sweep CV Sweep Measurement Result"
Dim msg As String = "No error."
Dim err As Integer = 0
Dim freq As Double = 1000000 ’13
Dim ref_cp As Double = 0
Dim ref_g As Double = 0
Dim osc_level As Double = 0.03
Dim vg1 As Double = -5
Dim vg2 As Double = 5
Dim range As Integer = 0
Dim rep As Integer = nop1
Dim sc(nop1) As Double
Dim md(nop1 * 2) As Double
Dim st(nop1 * 2) As String
Dim tm(nop1) As Double
session.Timeout = 60000 ’timeout = 60 seconds ’26
session.WriteString("FMT 1,1" & vbLf) ’data w/source data
session.WriteString("TSC 1" & vbLf) ’enables time stamp output
session.WriteString("DV " & t(0) & ",0,0,0.1,0" & vbLf)
session.WriteString("DV " & t(2) & ",0,0,0.1,0" & vbLf)
session.WriteString("SSP " & t(1) & ", 4" & vbLf) ’CMU to SCUU output
session.WriteString("ACT 0, 2" & vbLf) auto, 2 samples
Line Description
2 to 11 Declares variables used through the project. And sets the proper values.
13 to 24 Declares variables and sets the value.
26 to 28 Sets timeout and data output format. And enables the time stamp output.
29 to 30 Applies 0 V to the drain and source terminals.
31 to 32 Makes the SCUU connection path, and sets the A/D converter of the MFCMU.
Page view 263
1 2 ... 259 260 261 262 263 264 265 266 267 268 269 ... 597 598

Comments to this Manuals

No comments