Keysight Technologies B2961B Programming Manual page 83

Low noise power source
Hide thumbs Also See for B2961B:
Table of Contents

Advertisement

Table 2-22
Sub B2960control(ByVal ioObj As Ivi.Visa.Interop.FormattedIO488, ByRef s As String, ByRef
filename As String)
filename = "C:/temp/StaircaseSweep1.txt"
ioObj.WriteString("*RST") ' Reset
Try ' Set voltage output from 0 V to 0.1 V, 5 steps
ioObj.WriteString(":sour:func:mode volt")
ioObj.WriteString(":sour:volt:mode swe")
ioObj.WriteString(":sour:volt:star 0")
ioObj.WriteString(":sour:volt:stop 0.1")
ioObj.WriteString(":sour:volt:poin 5")
' Set auto-range current measurement
ioObj.WriteString(":sens:func ""curr""")
ioObj.WriteString(":sens:curr:nplc 0.1")
ioObj.WriteString(":sens:curr:prot 0.1")
' Generate 5 triggers by automatic internal algorithm
ioObj.WriteString(":trig:sour aint")
ioObj.WriteString(":trig:coun 5")
Catch ex As Exception
Console.WriteLine("An error occurred: " + ex.Message)
End Try
' Turn on output switch
ioObj.WriteString(":outp on")
' Initiate transition and acquire
ioObj.WriteString(":init (@1)")
Try ' Retrieve measurement result
ioObj.WriteString(":fetc:arr:curr? (@1)")
s = ioObj.ReadString()
Catch ex As Exception
Console.WriteLine("An error occurred: " + ex.Message)
End Try
End Sub
Line
2
Defines the file name used for saving the result data.
4
Resets the B2961B/B2962B.
6 to 11
Sets the voltage sweep output function. And sets the sweep output from 0 to 0.1 V in 0.02 V
step (5 points).
14 to 16
Sets the current measurement function. And sets the aperture time to 0.1 PLC and the current
limit (compliance) value to 0.1 A. Auto range is ON with the default setting.
Keysight B2961B/B2962B Programming Guide, Edition 1
Staircase Sweep Measurement Example
Description
Programming Examples
Staircase Sweep Output
'2
'6
'14
'19
'27
'30
'32
83

Advertisement

Table of Contents
loading

This manual is also suitable for:

B2962b

Table of Contents