Agilent Technologies B1500A Manual de Serviço Página 285

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 598
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 284
Agilent B1500A/B1505A Programming Guide, Edition 11 3-107
Programming Examples
SPGU Pulse Output and Voltage Measurement
Dim msg As String = "No error." ’34
Dim err As Integer = 0
session.WriteString("CN " & sp_ch(0) & "," & sp_ch(1) & vbLf) ’SPGU ch on ’37
session.WriteString("SIM 0" & vbLf) ’PG mode
session.WriteString("SPRM 2," & duration & vbLf) Duration mode
session.WriteString("ODSW " & sp_ch(0) & ", 0" & vbLf) ’Disables pulse switch ’40
session.WriteString("ODSW " & sp_ch(1) & ", 0" & vbLf)
session.WriteString("SER " & sp_ch(0) & "," & loadz & vbLf) ’Load impedance
session.WriteString("SER " & sp_ch(1) & "," & loadz & vbLf)
session.WriteString("SPPER " & period & vbLf) ’Pulse period
session.WriteString("SPM " & sp_ch(0) & ",1" & vbLf) 2-level pulse setup ’45
session.WriteString("SPT " & sp_ch(0) & ",1," & p1_del & "," & p1_wid & "," &
p_lead & "," & p_trail & vbLf)
session.WriteString("SPV " & sp_ch(0) & ",1," & p1_base & "," & p1_peak & vbLf)
session.WriteString("SPM " & sp_ch(1) & ",3" & vbLf) 3-level pulse setup ’48
session.WriteString("SPT " & sp_ch(1) & ",1," & p2_del1 & "," & p2_wid1 & "," &
p_lead & "," & p_trail & vbLf)
session.WriteString("SPT " & sp_ch(1) & ",2," & p2_del2 & "," & p2_wid2 & "," &
p_lead & "," & p_trail & vbLf)
session.WriteString("SPV " & sp_ch(1) & ",1," & p2_base1 & "," & p2_peak1 & vbLf)
session.WriteString("SPV " & sp_ch(1) & ",2," & p2_base2 & "," & p2_peak2 & vbLf)
session.WriteString("SPUPD" & sp_ch(0) & "," & sp_ch(1) & vbLf) ’Apply setup ’53
Line Description
34 to 35 Declares variables used for error check.
37 Enables the SPGU channels specified by sp_ch(0) and sp_ch(1).
38 Sets the pulse generator mode to all of the SPGU channels.
39 Selects the duration output mode.
40 to 41 Disables the pulse switch.
42 to 43 Sets the load impedance value.
44 Sets the pulse period for all of the SPGU channels.
45 to 47 Sets the channel specified by sp_ch(0) to the 2-level pulse output channel using the
source 1, sets the pulse timing parameters, and sets the pulse level parameters.
48 to 52 Sets the channel specified by sp_ch(1) to the 3-level pulse output channel using the
source 1 and 2, sets the pulse timing parameters, and sets the pulse level parameters.
53 Applies the setup to the channels specified by sp_ch(0) and sp_ch(1). The channels
start the pulse base output.
Vista de página 284
1 2 ... 280 281 282 283 284 285 286 287 288 289 290 ... 597 598

Comentários a estes Manuais

Sem comentários