Example
Example
Example
NOTE
Controlling Keysight B2980
Controlling the Measurement Function
Controlling the Measurement Function
This section describes how to control the measurement function of Keysight B2980.
•
"Enabling the Current/Charge Measurement"
•
"Setting the Measurement Mode"
•
"Performing Spot Measurement"
•
"Setting the Measurement Speed"
•
"Setting the Measurement Range"
•
"Setting the Measurement Trigger"
•
"Performing Sweep Measurement"
•
"Stopping Measurement"
Enabling the Current/Charge Measurement
The current/charge measurement is enabled by the :INP ON command.
ioObj.WriteString(":INP ON")
Setting the Measurement Mode
Measurement mode is set by the :SENS:FUNC commands.
ioObj.WriteString(":SENS:FUNC:ON ""VOLT"",""CURR"",""RES""")
ioObj.WriteString(":SENS:FUNC:ON ""VOLT"",""CHAR""")
Performing Spot Measurement
Spot measurement is performed by the :MEAS:<CURR|CHAR|VOLT|RES>?
command or the :MEAS? command. See Figure 1-3 for the spot measurement.
ioObj.WriteString(":MEAS:RES?")
ioObj.WriteString(":FORM:ELEM:SENS RES,STAT")
ioObj.WriteString(":MEAS?")
The :FORM:ELEM:SENS command is used to specify the data to obtain.
1- 10
Keysight B2980 Programming Guide, Ed ition 1