Agilent Technologies B1500A Manuel de service Page 224

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 598
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 223
3-46 Agilent B1500A/B1505A Programming Guide, Edition 11
Programming Examples
Multi Channel Sweep Measurements
NOTE Sweep sources simultaneously start output by a trigger such as the XE command.
However, if a sweep source sets power compliance or forces logarithmic sweep
current, the sweep sources start output in the order specified by the WNX’s N value.
Then the first output is forced by the channel set by the WI or WV command.
If you use multiple measurement channels, the channels that use the high speed
ADC with the fixed ranging mode start measurement simultaneously, then other
channels start measurement in the order defined in the MM command.
A program example of a multi channel sweep measurement is shown below. This
measures the bipolar transistor Ib-Vb and Ic-Vb characteristics simultaneously.
Table 3-13 Multi Channel Sweep Measurement Example
Sub perform_meas(ByVal session As IMessage, ByVal t() As Integer) ’1
Dim i As Integer = 0 ’t(0): Emitter
Dim j As Integer = 0 ’t(1): Base
Dim nop1 As Integer = 11 ’t(2): Collector
Dim nop2 As Integer = 1 ’t(3): not use
Dim data(nop2 - 1, nop1 - 1) As String
Dim value As String = "Vb (V), Ib (mA), Tb (sec), Stat_b, Ic (mA), Tc (sec),
Stat_c"
Dim fname As String = "C:\Agilent\prog_ex\data11.txt"
Dim title As String = "Measurement Result"
Dim msg As String = "No error."
Dim err As Integer = 0
Dim vc As Double = 3 ’13
Dim vb1 As Double = 0.1
Dim vb2 As Double = 0.9
Dim ibcomp As Double = 0.1
Dim pbcomp As Double = 0.1
Dim hold As Double = 0
Dim delay As Double = 0
Dim s_delay As Double = 0
Dim rep As Integer = nop1
Dim mret As String ’22
Dim sc(nop1) As Double
Dim md1(nop1) As Double
Dim st1(nop1) As String
Dim tm1(nop1) As Double
Dim md2(nop1) As Double
Dim st2(nop1) As String
Dim tm2(nop1) As Double ’29
Line Description
2 to 11 Declares variables used through the project. And sets the proper values.
13 to 21 Declares variables used to set the source output, and sets the value.
22 to 29 Declares variables used to read the measurement data.
Vue de la page 223
1 2 ... 219 220 221 222 223 224 225 226 227 228 229 ... 597 598

Commentaires sur ces manuels

Pas de commentaire