Agilent Technologies B1500A Uživatelská příručka Strana 150

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 208
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 149
3-56 Agilent B1500 VXIplug&play Driver User’s Guide, Edition 3
Programming Examples for Visual Basic Users
Breakdown Voltage Measurement
Breakdown Voltage Measurement
Table 3-12 explains example subprograms that enable/disable measurement
channels (perform_meas), perform the quasi pulsed spot measurement (vbd_meas),
and display measurement result data (display_data). This example measures bipolar
transistor breakdown voltage.
Table 3-12 Breakdown Voltage Measurement Example
Sub perform_meas(vi As Long, ret As Long) ’1
Dim pins(3) As Long ’SMU port numbers ’3
pins(0) = 1 ’SMU1: emitter
’pins(1) = 2 SMU2: base - open
pins(2) = 4 ’SMU4: collector
ret = agb1500_setSwitch(vi, pins(2), 1) ’8
’ret = agb1500_setSwitch(vi, pins(1), 1)
ret = agb1500_setSwitch(vi, pins(0), 1)
check_err vi, ret ’11
vbd_meas vi, ret, pins() ’13
ret = agb1500_setSwitch(vi, agb1500_CH_ALL, 0) ’15
check_err vi, ret
End Sub ’18
Line Description
1 Beginning of the perform_meas subprogram.
3 to 6 Declares variables, and defines the value.
8 to 10 Enables measurement channels.
13 Calls the vbd_meas subprogram (next page) to perform
breakdown voltage measurement.
15 Disables measurement channels.
11 and 16 Calls the check_err subprogram (shown in Table 3-1) to check if
an error status is returned for the previous line.
18 End of the perform_meas subprogram.
Zobrazit stránku 149
1 2 ... 145 146 147 148 149 150 151 152 153 154 155 ... 207 208

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

Žádné komentáře