3- 58
Keysight E5260/E5270 Programming Guide, Edition 4
Programming Examples
Using Trigger Function
Programming examples using the trigger function are explained below. The
examples use a couple within the available couples of the Keysight B1500A and the
Keysight E5260/E5270 series. In this section, they are assigned as Unit1 (address
717) and Unit2 (address 722).
NOTE
To run the programs shown in this section, you do not need the example code shown
in
(template of a project).
The following program performs a MOSFET drain current measurement. Unit2
applies voltage to the source and substrate terminals. Unit1 applies voltage to the
gate and drain terminals, and measures the drain current. Before running the
program, connect a BNC cable between the following terminals.
•
Unit2’s Ext Trig Out to Unit1’s Ext Trig In
Table 3-16
Trigger Programming Example 1
Imports Ivi.visa.interop ’1
Module Module1
Sub Main()
Dim B1500 As IResourceManager : Dim unit1 As IMessage ’5
B1500 = New ResourceManager
unit1 = B1500.Open("GPIB0::17::INSTR")
Dim E5270 As IResourceManager : Dim unit2 As IMessage
E5270 = New ResourceManager
unit2 = E5270.Open("GPIB0::22::INSTR")
unit1.WriteString("*RST" & vbLf)
unit2.WriteString("*RST" & vbLf)
MsgBox("Click OK to start measurement.", vbOKOnly, "")
Console.WriteLine("Measurement in progress. . ." & Chr(10))
Dim t() As Integer = {1, 2, 1, 2} ’unit1[1,2], unit2[1,2]
Dim term1 As String = t(0) & "," & t(1)
Dim term2 As String = t(2) & "," & t(3)
unit1.WriteString("CN " & term1 & vbLf)
unit2.WriteString("CN " & term2 & vbLf)
perform_meas(unit1, unit2, t) ’20
Line
Description
1
This line is required to use the VISA COM library.
5 to 20
Main subprogram establishes the connection with Unit1 and Unit2, resets them, opens a
message box to confirm the start of measurement, and pauses program execution until OK is
clicked on the message box. By clicking OK, the program displays a message on the console
window, enables the SMUs (in the slots 1 and 2 of both Unit1 and Unit2), and calls the
perform_meas subprogram that will be used to perform measurement.
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: ......