Agilent Technologies B1500A Guía de usuario Pagina 114

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 208
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 113
3-20 Agilent B1500 VXIplug&play Driver User’s Guide, Edition 3
Programming Examples for Visual Basic Users
Staircase Sweep Measurement
ret = agb1500_resetTimestamp(vi) ’45
check_err vi, ret
ret = agb1500_force(vi, m(3), agb1500_VF_MODE, 0, 0, 0.05, 0)
ret = agb1500_force(vi, m(2), agb1500_VF_MODE, 0, 0, 0.05, 0)
Dim d_vg As Double ’secondary sweep step value (delta) 51
If nop2 = 1 Then
d_vg = 0
Else
d_vg = (vg2 - vg1) / (nop2 - 1)
End If ’56
Dim vg As Double ’secondary sweep source output ’58
vg = vg1
i = 0 ’array counter for sweepIv returned data ’61
Line Description
45 Resets time stamp.
46 Calls the check_err subprogram (shown in Table 3-1) to check if
an error status is returned for the previous line.
48 to 49 Applies voltage to device.
51 to 56 Declares a variable, and defines the value. This variable is used
for the step value of the secondary sweep source.
58 to 59 Declares a variable, and defines the value. This variable is used
for the output value of the secondary sweep source.
61 Sets the array counter i to 0.
Vista de pagina 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 207 208

Comentarios a estos manuales

Sin comentarios