Keysight E5260/E5270 Programming Guide, Edition 4
3- 47
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 fixed ranging
mode start measurement simultaneously, then other channels start measurement in
the order defined in the MM command. For the Keysight E5270B, note that the
high-resolution ADC cannot perform simultaneous measurement.
A program example of a multi channel sweep measurement is shown below. This
example measures the bipolar transistor Ib-Vb and Ic-Vb characteristics.
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:\Keysight\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.
Summary of Contents for E5260 Series
Page 1: ...Keysight Technologies E5260 E5270 Series of Parametric Measurement Solutions Programming Guide...
Page 3: ...User s Guide B2900 9001x xxxx 201x Edition x...
Page 13: ...1 Programming Basics...
Page 63: ...2 Remote Mode Functions...
Page 108: ...2 46 Keysight E5260 E5270 Programming Guide Edition 4 Remote Mode Functions Initial Settings...
Page 109: ...3 Programming Examples...
Page 185: ...4 Command Reference...
Page 335: ...5 Error Messages...
Page 349: ......