Keysight B2980 Programming Guide, Edition 1
2- 17
Programming Examples
List Sweep Measurements
12 to 13
Sets the current auto ranging to 2nA limited auto ranging.
16 to 17
Sets the aperture time to 0.1 PLC
20 to 21
Sets the trigger source to AINT (automatic trigger). And sets the trigger count to 3to
perform a 3-step list sweep measurement.
Sub B2900control(ByVal ioObj As Ivi.Visa.Interop.FormattedIO488, ByRef s As String,
ByRef filename As String)
filename = "../../../execution result/ListSweep1.txt" ’2
ioObj.WriteString("*RST") ’ Reset ’4
Try ’ Set voltage output to 0.03, 0.06, and 0.1 V
ioObj.WriteString(":sour:func:mode volt") ’7
ioObj.WriteString(":sour:volt:mode list")
ioObj.WriteString(":sour:list:volt 0.03,0.06,0.1")
’ Set 2nA limited auto ranging
ioObj.WriteString(":sens:func ""curr""") ’12
ioObj.WriteString(":sens:curr:rang:auto:llim 2e-9")
’ Set measurement speed to 0.1 PLC
ioObj.WriteString(":sens:curr:nplc:auto off") ’16
ioObj.WriteString(":sens:curr:nplc 0.1")
’ Generate 3 triggers by automatic internal algorithm
ioObj.WriteString(":trig:sour aint") ’20
ioObj.WriteString(":trig:coun 3")
Catch ex As Exception
Console.WriteLine("An error occurred: " + ex.Message)
End Try
’ Turn on output switch
ioObj.WriteString(":outp on") ’28
’ Turn on input switch
ioObj.WriteString(":inp on") ’31
’ Initiate transition and acquire
ioObj.WriteString(":init") ’34
Try ’ Retrieve measurement result
ioObj.WriteString(":fetc:arr:curr?") ’37
s = ioObj.ReadString()
Catch ex As Exception
Console.WriteLine("An error occurred: " + ex.Message)
End Try
End Sub
Line
Description
Содержание B2980 Series
Страница 1: ...Keysight B2980 Series Femto Picoammeter Electrometer High Resistance Meter Programming Guide...
Страница 3: ......
Страница 6: ...Keysight B2980 Programming Guide Edition 1 Contents...
Страница 7: ...1 Controlling Keysight B2980...
Страница 29: ...2 Programming Examples...
Страница 63: ......