Agilent Technologies B1500A Guia do Utilizador Página 105

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 208
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 104
Agilent B1500 VXIplug&play Driver Users Guide, Edition 3 3-11
Programming Examples for Visual Basic Users
Multi Channel Spot Measurement
Sub mspot_meas(vi As Long, ret As Long, pins() As Long) ’1
Dim vc As Double ’3
Dim vb As Double
Dim ve As Double
Dim iccomp As Double
Dim ibcomp As Double
Dim iecomp As Double
ve = 0
iecomp = 0.2
vb = 0.7
ibcomp = 0.01
vc = 3
iccomp = 0.1 ’15
Dim mch(3) As Long ’17
mch(0) = pins(2) ’collector
mch(1) = pins(1) ’base
mch(2) = 0
Dim mode(2) As Long
mode(0) = 1 ’current measurement
mode(1) = 1 ’current measurement
Dim range(2) As Double
range(0) = 0 ’auto range
range(1) = 0 ’auto range
Dim md(2) As Double
Dim st(2) As Long
Dim tm(2) As Double ’32
Line Description
1 Beginning of the mspot_meas subprogram.
3 to 15 Declares variables used to set the source channels, and defines
the value.
17 to 28 Declares variables used to set the measurement channels, and
defines the value.
30 to 32 Declares variables used to keep the measurement data, status
data, and time stamp data.
Vista de página 104
1 2 ... 100 101 102 103 104 105 106 107 108 109 110 ... 207 208

Comentários a estes Manuais

Sem comentários