Agilent Technologies B1500A Guía de usuario Pagina 109

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 208
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 108
Agilent B1500 VXIplug&play Driver Users Guide, Edition 3 3-15
Programming Examples for Visual Basic Users
Pulsed Spot Measurement
Sub spot_meas(vi As Long, ret As Long, pins() As Long) 1
Dim vd As Double 3
Dim vg As Double
Dim idcomp As Double
Dim igcomp As Double
Dim meas As Double
Dim status As Long
vd = 0.5
idcomp = 0.05
vg = 0.5
igcomp = 0.01 ’12
Dim base As Double ’14
Dim width As Double
Dim period As Double
Dim hold As Double
base = 0
width = 0.001
period = 0.01
hold = 0.1 ’21
ret = agb1500_setFilter(vi, pins(1), agb1500_FLAG_OFF) ’23
ret = agb1500_setPbias(vi, pins(1), agb1500_VF_MODE, 2, base,
vg, width, period, hold, igcomp)
ret = agb1500_force(vi, pins(3), agb1500_VF_MODE, 0, 0, 0.05, 0)
ret = agb1500_force(vi, pins(2), agb1500_VF_MODE, 0, 0, 0.05, 0)
ret = agb1500_force(vi, pins(0), agb1500_VF_MODE, 2, vd, idcomp,
0)
check_err vi, ret ’29
Line Description
1 Beginning of the spot_meas subprogram.
3 to 12 Declares variables for the dc sources, and defines the value.
14 to 21 Declares variables for the pulsed source, and defines the value.
23 to 24 Sets SMU filter off for the pulsed bias channel, and sets the
pulsed bias source.
25 to 27 Applies voltage to device.
29 Calls the check_err subprogram (shown in Table 3-1) to check if
an error status is returned for the previous line.
Vista de pagina 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 207 208

Comentarios a estos manuales

Sin comentarios