Keysight Technologies B2961B Programming Manual page 52

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

Advertisement

Programming Examples
Pulse Output
' Generate 3 triggers in 4 ms period
ioObj.WriteString(":trig:sour tim")
ioObj.WriteString(":trig:tim 4e-3")
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")
' 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
28 to 30
Sets the timer trigger source. And sets the trigger interval to 4 ms, and the trigger count to 3.
The B2961B/B2962B will perform the pulsed spot measurement three times.
37
Enables the channel. And starts source output.
40
Starts pulse output and pulsed spot measurement.
42 to 44
Reads the measurement result data.
Measurement
Result: +9.000000E-05,+9.000000E-05,+9.000000E-05
Result Example
52
Description
Keysight B2961B/B2962B Programming Guide, Edition 1
'28
'37
'40
'42

Advertisement

Table of Contents
loading

This manual is also suitable for:

B2962b

Table of Contents