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

  • 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 244
Agilent B1500A/B1505A Programming Guide, Edition 11 3-67
Programming Examples
High-Speed Spot C Measurements
The following program performs a high-speed spot capacitance measurement by
using the TTC command. 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-18 High-Speed Spot C 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 = "Cp (pF), C_st, G (uS), G_st, OSC (mV), Osc_st, DC (V),
Dc_st, Time (s)"
Dim fname As String = "C:\Agilent\prog_ex\data18.txt"
Dim title As String = "High Speed Spot C 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 dc_bias As Double = -5
Dim range As Integer = 0
Dim md(nop1) As Double
Dim st(nop1) As String
Dim mon(nop1) As Double
Dim st_mon(nop1) As String
Dim mt As Double
session.Timeout = 60000 ’timeout = 60 seconds 25
session.WriteString("FMT 1" & vbLf)
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 23 Declares variables and sets the value.
25 to 27 Sets timeout and data output format. And enables time stamp output.
28 to 29 Applies 0 V to the drain and source terminals.
30 to 31 Makes the SCUU connection path, and sets the A/D converter of the MFCMU.
Zobrazit stránku 244
1 2 ... 240 241 242 243 244 245 246 247 248 249 250 ... 597 598

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

Žádné komentáře