Page 7
List of Figures Figure 1 Status system diagram ......21 Keysight U2722A/U2723A Programmer’s Reference...
Page 8
THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight U2722A/U2723A Programmer’s Reference...
Page 9
....... .135 Table 15-1 List of factory default settings ....138 Keysight U2722A/U2723A Programmer’s Reference...
Page 10
THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight U2722A/U2723A Programmer’s Reference...
Page 11
Programming Introduction to the SCPI Language SCPI Conventions and Data Formats This chapter introduces the remote programming basics of the U2722A/U2723A USB modular source measure unit. The programming commands provide the means to control this instrument remotely via a PC.
For example, in the above syntax statement, VOLT and VOLTAGE are both acceptable forms. You can use upper- or lower-case letters. Therefore, VOLTAGE, volt, and Volt are all acceptable. Other forms, such as VOL and VOLTAG, are not valid and will generate an error. Keysight U2722A/U2723A Programmer’s Reference...
Braces indicate parameters that may be repeated zero or more times. It is used especially for showing arrays. The notation <A>{,<B>} shows that parameter “A” must be entered, while parameter “B” may be omitted or may be entered one or more times. Keysight U2722A/U2723A Programmer’s Reference...
Page 14
Arbitrary ASCII Response Data. Permits the return of an undelimited 7-bit ASCII. <AARD> This data type has an implied message terminator. Arbitrary Block Response Data. Permits the return of definite length and indefinite <Block> length arbitrary response data. This data type has an implied message terminator. Keysight U2722A/U2723A Programmer’s Reference...
( ? ) to the command. For example, the following command sets the current range to 10 mA for output 1. SOUR:CURR:RANG R10mA, (@1) You can then query the current range setting by sending: SOUR:CURR:RANG? (@1) Typical Response: R10mA Keysight U2722A/U2723A Programmer’s Reference...
( * ), are three characters in length, and may include one or more parameters. The command keyword is separated from the first parameter by a blank space. Use a semicolon ( ; ) to separate multiple commands as shown below. *RST; *CLS; *ESE 32; *OPC? Keysight U2722A/U2723A Programmer’s Reference...
Introduction to Programming Address/Channel List Parameter There are two ways to specify the U2722A/U2723A address or channel list parameter. To specify a single channel, use the following syntax. (@<ch>) For example, CURR 0.02, (@1), where (@1) specifies channel 1. To specify a single address, use the following syntax.
Page 18
Introduction to Programming THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight U2722A/U2723A Programmer’s Reference...
Page 19
Keysight U2722A/U2723A USB Modular Source Measure Units Programmer’s Reference SCPI Status Registers SCPI Status Registers This chapter explains the SCPI status registers that record various instrument conditions of the U2722A/U2723A USB modular source measure unit.
Status Byte registers. The U2722A/U2723A uses the Operation, Questionable, Standard Event, and Status Byte register groups to record a variety of instrument conditions. The relationship between various registers in the U2722A/U2723A SCPI status system is shown in Figure Keysight U2722A/U2723A Programmer’s Reference...
The transient system is waiting for a trigger in channel 3. 8 to 15 Not Used 0 is returned. All bits in the Operation Enable register will be cleared when you execute the STATus:PRESet command. This command presets the Operation Status registers. Keysight U2722A/U2723A Programmer’s Reference...
– Once a bit is set, it remains set until cleared by reading the event register or the clear status (*CLS) command. – The STATus:PRESet command will clear all bits in the enable register. This command presets the Questionable Status registers. Keysight U2722A/U2723A Programmer’s Reference...
The Standard Event register is cleared when: – you execute the clear status (*CLS)command – querying the event register using the event status register (*ESR?) command The Standard Event Enable register is cleared when you execute the *ESE 0 command. Keysight U2722A/U2723A Programmer’s Reference...
Status Byte Register The Status Byte summary register reports conditions from the other status registers. Query data that is waiting in the U2722A/U2723A's output buffer is immediately reported via message available bit (bit 4). Bits in the summary register are not latched. Clearing an event register will clear the corresponding bits in the Status Byte summary register.
Page 26
SCPI Status Registers THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight U2722A/U2723A Programmer’s Reference...
Page 27
Keysight U2722A/U2723A USB Modular Source Measure Units Programmer’s Reference ABORt Subsystem ABORt:TRANsient This chapter describes the ABORt command subsystem which is used to cancel any triggered actions.
It also resets the WTG transient bits in the Operation Condition Status register. Parameter Item Type Range of values Defaul t value 1 through 3 Required parameter <ch> Remark These commands are executed at power-on and upon execution of *RST. Example ABOR:TRAN (@1) Keysight U2722A/U2723A Programmer’s Reference...
Page 29
Keysight U2722A/U2723A USB Modular Source Measure Units Programmer’s Reference CONFigure Subsystem CONFigure:SSI The CONFigure:SSI command from the CONFigure subsystem handles the synchronization status when the U2722A/U2723A is used in the U2781A modular instrument chassis.
This command sets the synchronization status when used in the U2781A modular instrument chassis. CONFigure:SSI? This query command returns a string value, which represents the synchronization status. The U2722A/U2723A is not designed to function as a master in synchronization. NOTE Parameters Item Type...
Page 31
CONFigure Subsystem Returned Query Format <CRD>, <NR1> Examples The following command sets the synchronization status of the U2722A/U2723A to slave. CONFigure:SSI SLAV, (@1) The following query returns the synchronization status of U2722A/U2723A. CONFigure:SSI? Typical Response: SLAV, 1 Keysight U2722A/U2723A Programmer’s Reference...
Page 32
CONFigure Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight U2722A/U2723A Programmer’s Reference...
Page 33
Keysight U2722A/U2723A USB Modular Source Measure Units Programmer’s Reference INITiate Subsystem INITiate[:IMMediate]:TRANsient This chapter discusses the INITiate command subsystem for the U2722A/U2723A.
If the trigger system is not initiated, all triggers are ignored. Parameter Item Type Range of values Defaul t value 1 through 3 Required parameter <ch> Example INIT:TRAN (@1) See Also ABORt:TRANsient Keysight U2722A/U2723A Programmer’s Reference...
Page 35
Keysight U2722A/U2723A USB Modular Source Measure Units Programmer’s Reference MEASure Subsystem MEASure[:SCALar]:CURRent[:DC]? MEASure[:SCALar]:VOLTage[:DC]? MEASure:ARRay:CURRent[:DC]? MEASure:ARRay:VOLTage[:DC]? MEASure:TEMPerature? The MEASure command subsystem is a group of instructions used to acquire data from the U2722A/U2723A.
Defaul t value 1 through 3 Required parameter <ch> Returned Query Format <NR3> The reading is in the form of +9.99999999E+10 when output is set to OFF. Example MEAS:CURR? (@1) Typical Response: +9.99999999E+10 See Also MEASure[:SCALar]:VOLTage[:DC]? MEASure:ARRay:CURRent[:DC]? Keysight U2722A/U2723A Programmer’s Reference...
MEASure Subsystem MEASure[:SCALar]:VOLTage[:DC]? Syntax MEASure[:SCALar]:VOLTage[:DC]? (@<ch>) Queries the voltage measured at the sense terminals of the U2722A/U2723A for the specified channel. Parameter Item Type Range of values Defaul t value 1 through 3 Required parameter <ch> Returned Query Format <NR3>...
Required parameter <ch> Returned Query Format <NR3>{,<NR3>} The reading is in the form of +9.99999999E+10 when output is set to OFF. Array values responses are separated by commas. Example MEAS:ARR:CURR? (@1) See Also MEASure:ARRay:VOLTage[:DC]? SENSe:SWEep:POINts SENSe:SWEep:TINTerval Keysight U2722A/U2723A Programmer’s Reference...
Required parameter <ch> Returned Query Format <NR3>{,<NR3>} The reading is in the form of +9.99999999E+10 when output is set to OFF. Array values responses are separated by commas. Example MEAS:ARR:VOLT? (@1) See Also MEASure:ARRay:CURRent[:DC]? SENSe:SWEep:POINts SENSe:SWEep:TINTerval Keysight U2722A/U2723A Programmer’s Reference...
MEASure Subsystem MEASure:TEMPerature? Syntax MEASure:TEMPerature? Queries the temperature measured at the measurement board in degree Celsius (°C). Returned Query Format <NR2> Example MEAS:TEMP? Keysight U2722A/U2723A Programmer’s Reference...
Keysight U2722A/U2723A USB Modular Source Measure Units Programmer’s Reference OUTPut Subsystem OUTPut[:STATe] The OUTPut command subsystem is used to switch on or off the U2722A/U2723A output.
The query command returns 0 if the output is OFF, and 1 if the output is ON. Examples The following command turns the output of channel 2 on. OUTP 1, (@2) The following query returns the output state of channel 1. OUTP? (@1) Typical Response: +1 Keysight U2722A/U2723A Programmer’s Reference...
Page 43
Keysight U2722A/U2723A USB Modular Source Measure Units Programmer’s Reference SENSe Subsystem SENSe:CURRent[:DC]:APERture? SENSe:CURRent[:DC]:NPLCycles SENSe:SWEep:POINts SENSe:SWEep:TINTerval SENSe:VOLTage[:DC]:APERture? SENSe:VOLTage[:DC]:NPLCycles The SENSe command subsystem directly affects the device specific settings used to make measurements.
The aperture value is derived from the following equation. NPLCycles Aperture = Line frequency Returned Query Format <NR3> The reading is in the form of +1.000000E+01. Example SENS:CURR:APER? (@2) Typical Response: +2.000000E-02 See Also SENSe:CURRent[:DC]:NPLCycles SENSe:VOLTage[:DC]:APERture? SENSe:VOLTage[:DC]:NPLCycles SYSTem:LFRequency Keysight U2722A/U2723A Programmer’s Reference...
Parameters Item Type Range of values Defaul t value 1 through 3 Required parameter <ch> 0 to 255 Required parameter <cycles> Returned Query Format <NR1> Examples SENS:CURR:NPLC 10, (@1) SENS:CURR:NPLC? (@1) See Also SENSe:CURRent[:DC]:APERture? SENSe:VOLTage[:DC]:NPLCycles Keysight U2722A/U2723A Programmer’s Reference...
The query command returns the number of points for each channel specified. Examples The following command specifies 1000 measurement points on channel 1. SENS:SWE:POIN 1000, (@1) The following query returns the number of measurement points set on channel 2. SENS:SWE:POIN? (@2) See Also SENSe:SWEep:TINTerval Keysight U2722A/U2723A Programmer’s Reference...
Examples The following command specifies a time interval of 10 milliseconds between measurement points on channel 1. SENS:SWE:TINT 10, (@1) The following query returns the measurement time interval for channel 2. SENS:SWE:TINT? (@2) See Also SENSe:SWEep:POINts Keysight U2722A/U2723A Programmer’s Reference...
The aperture value is derived from the following equation. NPLCycles Aperture = Line frequency Returned Query Format <NR3> The reading is in the form +1.000000E+01. Example SENS:VOLT:APER? (@2) Typical Response: +2.000000E-02 See Also SENSe:CURRent[:DC]:APERture? SENSe:CURRent[:DC]:NPLCycles SENSe:VOLTage[:DC]:NPLCycles SYSTem:LFRequency Keysight U2722A/U2723A Programmer’s Reference...
Parameters Item Type Range of values Defaul t value 1 through 3 Required parameter <ch> 0 to 255 Required parameter <cycles> Returned Query Format <NR1> Examples SENS:VOLT:NPLC 10, (@1) SENS:VOLT:NPLC? (@1) See Also SENSe:CURRent[:DC]:APERture? SENSe:CURRent[:DC]:NPLCycles Keysight U2722A/U2723A Programmer’s Reference...
Page 50
SENSe Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight U2722A/U2723A Programmer’s Reference...
The following command sets the output current to 0.02 A on channel 1. CURR 0.02, (@1) The following query returns the programmed current level on channel 1. CURR? (@1) Typical Response: +2.000000E-02 See Also [SOURce:]CURRent[:LEVel]:TRIGgered[:AMPLitude] [SOURce:]CURRent:RANGe [SOURce:]VOLTage [SOURce:]VOLTage[:LEVel]:TRIGgered[:AMPLitude] Keysight U2722A/U2723A Programmer’s Reference...
The following command sets the current trigger level to 0.02 A on channel 1. CURR:TRIG 0.02, (@1) The following query returns the current trigger level on channel 1. CURR:TRIG? (@1) Typical Response: +2.000000E-02 See Also INITiate[:IMMediate]:TRANsient [SOURce:]CURRent:RANGe [SOURce:]VOLTage[:LEVel]:TRIGgered[:AMPLitude] Keysight U2722A/U2723A Programmer’s Reference...
Examples The following command sets the current limit to 0.8 A on channel 1. CURR:LIM 0.8, (@1) The following query returns the programmed current limit on channel 1. CURR:LIM? (@1) Typical Response: +8.000000E-01 See Also [SOURce:]VOLTage:LIMit Keysight U2722A/U2723A Programmer’s Reference...
The following command sets the output current range to 1 mA on channel 1. CURR:RANG R1mA, (@1) The following query returns the programmed current range on channel 1. CURR:RANG? (@1) Typical Response: R1mA See Also [SOURce:]VOLTage:RANGe Keysight U2722A/U2723A Programmer’s Reference...
Parameter Item Type Range of values Defaul t value 1 through 3 Required parameter <ch> Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:ARM (@1) Keysight U2722A/U2723A Programmer’s Reference...
–222 is displayed. Returned Query Format <NR1>,<NR1>,<NR1> Example MEM:CONF:POIN 1,100,1(@1) MEM:CONF:POIN?(@1) See Also CONFigure:SSI Keysight U2722A/U2723A Programmer’s Reference...
The maximum value is dependent on the current range Required parameter <value> set in the memory list Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:CURR:LIM 0.12, (@1) See Also [SOURce:]MEMory:CURRent:MEASure [SOURce:]MEMory:CURRent:SOURce Keysight U2722A/U2723A Programmer’s Reference...
Parameter Item Type Range of values Defaul t value 1 through 3 Required parameter <ch> Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:CURR:MEAS (@1) See Also [SOURce:]MEMory:CURRent:LIMit [SOURce:]MEMory:CURRent:SOURce Keysight U2722A/U2723A Programmer’s Reference...
The maximum value is dependent on the current Required parameter <value> range set in the memory list Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:CURR:SOUR 0.12, (@1) See Also [SOURce:]MEMory:CURRent:LIMit [SOURce:]MEMory:CURRent:MEASure Keysight U2722A/U2723A Programmer’s Reference...
– R1mA – 1 mA range – R10mA – 10 mA range – R120mA – 120 mA range Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:CURR:RANG R120mA, (@1) See Also [SOURce:]MEMory:CURRent:LIMit [SOURce:]MEMory:CURRent:MEASure Keysight U2722A/U2723A Programmer’s Reference...
– 2: Memory list 2 is set as the active memory list Remarks This command is only applicable for the U2723A USB Modular SMU. Returned Query Format <NR1> Example MEM:LIST 1, (@1) MEM:LIST?(@1) See Also [SOURce:]MEMory:LIST:CLEar [SOURce:]MEMory:LIST:POINts? [SOURce:]MEMory:LIST:LOAD [SOURce:]MEMory:LIST:READ? [SOURce:]MEMory:LIST:STORe Keysight U2722A/U2723A Programmer’s Reference...
Item Type Range of values Defaul t value 1 through 3 Required parameter <ch> Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:LIST:CLE (@1) See Also [SOURce:]MEMory:CURRent:RANGe [SOURce:]MEMory:LIST:POINts? [SOURce:]MEMory:LIST:LOAD [SOURce:]MEMory:LIST:READ? [SOURce:]MEMory:LIST:STORe Keysight U2722A/U2723A Programmer’s Reference...
Range of values Defaul t value 1 through 3 Required parameter <ch> Remarks This command is only applicable for the U2723A USB Modular SMU. Returned Query Format <NR1> Example MEM:LIST:POIN? (@1) See Also [SOURce:]MEMory:CURRent:RANGe [SOURce:]MEMory:LIST:CLEar [SOURce:]MEMory:LIST:LOAD [SOURce:]MEMory:LIST:READ? [SOURce:]MEMory:LIST:STORe Keysight U2722A/U2723A Programmer’s Reference...
Item Type Range of values Defaul t value 1 through 3 Required parameter <ch> Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:LIST:LOAD (@1) See Also [SOURce:]MEMory:CURRent:RANGe [SOURce:]MEMory:LIST:CLEar [SOURce:]MEMory:LIST:POINts? [SOURce:]MEMory:LIST:READ? [SOURce:]MEMory:LIST:STORe Keysight U2722A/U2723A Programmer’s Reference...
This command is only applicable for the U2723A USB Modular SMU. Returned Query Format <AARD> Memory list’s command responses are separated by semicolons. If there are no commands in the memory list, null is returned. Example MEM:LIST:READ? (@1) See Also [SOURce:]MEMory:CURRent:RANGe [SOURce:]MEMory:LIST:CLEar [SOURce:]MEMory:LIST:POINts? [SOURce:]MEMory:LIST:LOAD [SOURce:]MEMory:LIST:STORe Keysight U2722A/U2723A Programmer’s Reference...
Item Type Range of values Defaul t value 1 through 3 Required parameter <ch> Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:LIST:STOR (@1) See Also [SOURce:]MEMory:CURRent:RANGe [SOURce:]MEMory:LIST:CLEar [SOURce:]MEMory:LIST:POINts? [SOURce:]MEMory:LIST:LOAD [SOURce:]MEMory:LIST:READ? Keysight U2722A/U2723A Programmer’s Reference...
1 through 3 Required parameter <ch> Bool OFF or 0: Disables the output Required parameter <mode> ON or 1: Enables the output Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:OUTP ON,(@1) Keysight U2722A/U2723A Programmer’s Reference...
The reading is in the form of +9.99999999E+10 when output is set to OFF or no measurement is made during the memory list’s commands execution. Array values responses are separated by commas. Example MEM:LIST:DATA? (@1) See Also [SOURce:]CURRent:RANGe [SOURce:]MEMory:LIST:CLEar [SOURce:]MEMory:LIST:POINts? [SOURce:]MEMory:LIST:LOAD [SOURce:]MEMory:LIST:READ? [SOURce:]MEMory:LIST:STORe Keysight U2722A/U2723A Programmer’s Reference...
– OFF or 0: Disables the auto source delay Required parameter <mode> – ON or 1: Enables the auto source delay Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:SOUR:DEL:AUTO ON, (@1) Keysight U2722A/U2723A Programmer’s Reference...
– SINGle: Affect the next subsequent source action in the memory list. 0 to 65535 <value> Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:SOUR:DEL SING,5,(@1) See Also [SOURce:]MEMory:SOURce:DELay:AUTO Keysight U2722A/U2723A Programmer’s Reference...
This command executes the active memory list commands for the specified channel. Parameters Item Type Range of values Defaul t value 1 through 3 Required parameter <ch> Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:TRIG (@1) Keysight U2722A/U2723A Programmer’s Reference...
The maximum value is dependent on the voltage Required parameter <value> range set in the memory list Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:VOLT:LIM 20, (@1) See Also [SOURce:]MEMory:VOLTage:MEASure [SOURce:]MEMory:VOLTage:RANGe Keysight U2722A/U2723A Programmer’s Reference...
Parameters Item Type Range of values Defaul t value 1 through 3 Required parameter <ch> Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:VOLT:MEAS (@1) See Also [SOURce:]MEMory:VOLTage:LIMit [SOURce:]MEMory:VOLTage:RANGe Keysight U2722A/U2723A Programmer’s Reference...
The maximum value is dependent on the voltage Required parameter <value> range set in the memory list Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:VOLT:SOUR 20, (@1) See Also [SOURce:]MEMory:VOLTage:LIMit [SOURce:]MEMory:VOLTage:MEASure Keysight U2722A/U2723A Programmer’s Reference...
<ch> – R2V – 2 V range Required parameter <range> – R20V – 20 V range Remarks This command is only applicable for the U2723A USB Modular SMU. Example MEM:VOLT:RANG R20V, (@1) See Also [SOURce:]MEMory:VOLTage:LIMit [SOURce:]MEMory:VOLTage:MEASure Keysight U2722A/U2723A Programmer’s Reference...
The following command sets the output voltage to 5 V on channel 1. VOLT 5, (@1) The following query returns the programmed voltage level on channel 1. VOLT? (@1) Typical Response: +5.000000E+00 See Also [SOURce:]CURRent [SOURce:]CURRent[:LEVel]:TRIGgered[:AMPLitude] [SOURce:]VOLTage[:LEVel]:TRIGgered[:AMPLitude] Keysight U2722A/U2723A Programmer’s Reference...
The following command sets the voltage trigger level to 0.02 V on channel 1. VOLT:TRIG 0.02, (@1) The following query returns the voltage trigger level on channel 1. VOLT:TRIG? (@1) Typical Response: +2.000000E-02 See Also INITiate[:IMMediate]:TRANsient [SOURce:]CURRent[:LEVel]:TRIGgered[:AMPLitude] [SOURce:]CURRent:RANGe Keysight U2722A/U2723A Programmer’s Reference...
Examples The following command sets the voltage limit to 0.5 V on channel 1. VOLT:LIM 0.5, (@1) The following query returns the programmed voltage limit on channel 1. VOLT:LIM? (@1) Typical Response: +5.000000E-01 See Also [SOURce:]CURRent:LIMit Keysight U2722A/U2723A Programmer’s Reference...
The following command sets the output voltage range to 20 V on channel 1. VOLT:RANG R20V, (@1) The following query returns the programmed voltage range on channel 1. VOLT:RANG? (@1) Typical Response: R20V See Also [SOURce:]CURRent:RANGe Keysight U2722A/U2723A Programmer’s Reference...
Keysight U2722A/U2723A USB Modular Source Measure Units Programmer’s Reference STATus Subsystem STATus:OPERation:CONDition? STATus:OPERation:ENABle STATus:OPERation[:EVENt]? STATus:OPERation:NTRansition STATus:OPERation:PTRansition STATus:PRESet STATus:QUEStionable:CONDition? STATus:QUEStionable:ENABle STATus:QUEStionable[:EVENt]? STATus:QUEStionable:NTRansition STATus:QUEStionable:PTRansition The STATus command subsystem lets you determine the operating condition of the U2722A/U2723A at any time.
The transient system is waiting for a trigger in channel 1. 6 WTG2-tran The transient system is waiting for a trigger in channel 2. 7 WTG3-tran The transient system is waiting for a trigger in channel 3. 8 to 15 Not Used 0 is returned. Keysight U2722A/U2723A Programmer’s Reference...
Page 83
5 (decimal value = 32) and bit 6 (decimal value = 64) are set, this query command will return “+96” (32 + 64). Example The following query command reads the Operation Status Condition register. STAT:OPER:COND? Typical Response: +32 Keysight U2722A/U2723A Programmer’s Reference...
(refer to the table below). For example, to enable bit 5 (decimal value = 32) and bit 6 (decimal value = 64), the corresponding decimal value would be 96 (32 + 64). Keysight U2722A/U2723A Programmer’s Reference...
Page 85
The following command enables bits 5 (decimal value = 32) and 6 (decimal value = 64) in the enable register. STAT:OPER:ENAB 96 The following query returns the bits enabled in the register. STAT:OPER:ENAB? Typical Response: +96 See Also STATus:OPERation[:EVENt]? STATus:PRESet Keysight U2722A/U2723A Programmer’s Reference...
The transient system is waiting for a trigger in channel 3. 8 to 15 Not Used 0 is returned. – Once a bit is set, it remains set until cleared by reading the event register or the clear status (*CLS) command. Keysight U2722A/U2723A Programmer’s Reference...
Page 87
5 (decimal value = 32) and bit 6 (decimal value = 64) are set, this query command will return “+96”. Example The following query command reads the Operation Status Event register. STAT:OPER? Typical Response: +96 See Also STATus:OPERation:ENABle *CLS Keysight U2722A/U2723A Programmer’s Reference...
(refer to the table below). For example, to enable bit 5 (decimal value = 32) and bit 6 (decimal value = 64), the corresponding decimal value would be 96 (32 + 64). Keysight U2722A/U2723A Programmer’s Reference...
Page 89
The following command enables bits 5 (decimal value = 32) and 6 (decimal value = 64) in the NTR register. STAT:OPER:NTR 96 The following query returns the bits enabled in the register. STAT:OPER:NTR? Typical Response: +96 See Also STATus:OPERation:PTRansition STATus:PRESet Keysight U2722A/U2723A Programmer’s Reference...
(refer to the table below). For example, to enable bit 5 (decimal value = 32) and bit 6 (decimal value = 64), the corresponding decimal value would be 96 (32 + 64). Keysight U2722A/U2723A Programmer’s Reference...
Page 91
The following command enables bits 5 (decimal value = 32) and 6 (decimal value = 64) in the PTR register. STAT:OPER:PTR 96 The following query returns the bits enabled in the register. STAT:OPER:PTR? Typical Response: +96 See Also STATus:OPERation:NTRansition STATus:PRESet Keysight U2722A/U2723A Programmer’s Reference...
0 – all bits disabled. STAT:OPER:NTR STAT:QUES:NTR 0 – all bits disabled. STAT:OPER:PTR 252 – all defined bits enabled. STAT:QUES:PTR 16 – all defined bits enabled. Example The following command presets the Operation and Questionable Status registers. STAT:PRES Keysight U2722A/U2723A Programmer’s Reference...
The returned value is the binary-weighted sum of all bits set in the register. For example, if bit 4 is set, this query command will return “+16”. Example The following query command reads the Questionable Status Condition register. STAT:QUES:COND? Typical Response: +16 Keysight U2722A/U2723A Programmer’s Reference...
Definition 0 to 3 Not Used 0 is returned. 4 OT The over-temperature protection has tripped. 5 to 15 Not Used 0 is returned. – The STATus:PRESet command will clear all bits in the enable register. Keysight U2722A/U2723A Programmer’s Reference...
Page 95
The returned value is the binary-weighted sum of all bits set in the register. Examples The following command enables bit 4 (decimal value = 16) in the enable register. STAT:QUES:ENAB 16 The following query returns the bits enabled in the register. STAT:QUES:ENAB? Typical Response: +16 See Also STATus:QUEStionable[:EVENt]? STATus:PRESet Keysight U2722A/U2723A Programmer’s Reference...
(*CLS) command. Returned Query Format <NR1> The returned value is the binary-weighted sum of all bits set in the register. For example, if bit 4 is set, this query command will return “+16”. Keysight U2722A/U2723A Programmer’s Reference...
Page 97
STATus Subsystem Example The following command reads the Questionable Status Event register. STAT:QUES? Typical Response: +0 See Also STATus:QUEStionable:ENABle *CLS Keysight U2722A/U2723A Programmer’s Reference...
0 to 3 Not Used 0 is returned. 4 OT The over-temperature protection has tripped. 5 to 15 Not Used 0 is returned. – The STATus:PRESet command will set all bits in the NTR register to 0. Keysight U2722A/U2723A Programmer’s Reference...
Page 99
The returned value is the binary-weighted sum of all bits set in the register. Examples The following command enables bit 4 (decimal value = 16) in the NTR register. STAT:QUES:NTR 16 The following query returns the bits enabled in the register. STAT:QUES:NTR? Typical Response: +16 See Also STATus:QUEStionable:PTRansition STATus:PRESet Keysight U2722A/U2723A Programmer’s Reference...
0 to 3 Not Used 0 is returned. 4 OT The over-temperature protection has tripped. 5 to 15 Not Used 0 is returned. – The STATus:PRESet command will set all bits in the PTR register to 1. Keysight U2722A/U2723A Programmer’s Reference...
Page 101
The returned value is the binary-weighted sum of all bits set in the register. Examples The following command enables bit 4 (decimal value = 16) in the PTR register. STAT:QUES:PTR 16 The following query returns the bits enabled in the register. STAT:QUES:PTR? Typical Response: +16 See Also STATus:QUEStionable:NTRansition STATus:PRESet Keysight U2722A/U2723A Programmer’s Reference...
Page 102
STATus Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight U2722A/U2723A Programmer’s Reference...
SYSTem:VERSion? The SYSTem command subsystem is used to return slot description and channel count of the U2722A/U2723A when used in a chassis. This subsystem also returns the error numbers and messages from the U2722A/U2723A as well as sets the line frequency and queries the SCPI version.
The following shows the query when the U2722A/U2723A is slotted into slot 4 of chassis #1. SYST:CDES? Typical Response: +4, +1 Below is the query when the U2722A/U2723A is plugged into slot 2 of chassis #2. SYST:CDES? Typical Response: +2, +2 Keysight U2722A/U2723A Programmer’s Reference...
SYSTem Subsystem SYSTem:CHANnel[:COUNt]? Syntax SYSTem:CHANnel[:COUNt]? This query returns the number of output channel. Returned Query Format <NR1> Example Th following query returns the number of output channels. SYST:CHAN? Typical Response: +3 See Also SYSTem:CDEScription? Keysight U2722A/U2723A Programmer’s Reference...
– The error queue is cleared by the clear status (*CLS) command and when power is cycled. The errors are also cleared when you read the error queue. Returned Query Format <NR1>, <SRD> Example SYST:ERR? Typical Response: –101, “Invalid character” Keysight U2722A/U2723A Programmer’s Reference...
F50HZ: 50 Hz frequency line F50HZ <mode> F60HZ: 60 Hz frequency line Returned Query Format <CRD> Examples The following command sets the line frequency to 60 Hz. SYST:LFR F60HZ The following query returns the line frequency. SYST:LFR? Typical Response: F60Hz Keysight U2722A/U2723A Programmer’s Reference...
Programmable Instruments) standard in which the instrument complies with. Returned Query Format <SRD> The command returns a string in the form of “YYYY.V”, where YYYY represents the year of the version and V represents a version for that year. Example SYST:VERS? Typical Response: “1997.0” Keysight U2722A/U2723A Programmer’s Reference...
Keysight U2722A/U2723A USB Modular Source Measure Units Programmer’s Reference TRIGger Subsystem TRIGger:SOURce The chapter describes the TRIGger command subsystem which controls the remote triggering of the instrument. These commands specify the trigger source for the transient and measurement system, and also generate software triggers.
Selects the trigger source to NONE or STRG. TRIGger:SOURce? Queries the present trigger source. Returned Query Format <CRD> Examples The following command selects the trigger source to NONE. TRIG:SOUR NONE The following query returns the trigger source. TRIG:SOUR? Typical Response: NONE Keysight U2722A/U2723A Programmer’s Reference...
*WAI This chapter contains information on the IEEE-488.2 Common (*) Commands supported by the U2722A/U2723A. It also describes the universal command statements which form the nucleus of the GPIB programming understood by all instruments in the network. When combined with the programming language codes, the commands provide all management and data communication instructions for the system.
*CAL? This command performs a self-calibration of the instrument and returns a pass/ fail indication. Returned Query Format <NR1> The command returns “+0” (calibration test passed) or “+1” (calibration test failed). Example *CAL? Typical Response: +0 Keysight U2722A/U2723A Programmer’s Reference...
IEEE-488.2 Common Commands *CLS Syntax *CLS This command is used to clear the event registers in all register groups and also clears the error queue. Example The following command clears the event register bits. *CLS Keysight U2722A/U2723A Programmer’s Reference...
A command syntax error occurred (an error in the –100 range has been generated). 6 Not Used Always zero. 7 Power On Power has been turned off and on since the last time the event register was read or cleared. Keysight U2722A/U2723A Programmer’s Reference...
Page 115
If an execution error occurs, this condition will be reported to the Status Byte register (bit 5 will be set to high). *ESE 16 The following query returns the bits enabled in the register. *ESE? Typical Response: +16 See Also *ESR? Keysight U2722A/U2723A Programmer’s Reference...
– To be reported to the Standard Event register, the corresponding bits in the event register must be enabled using the *ESE/*ESE? command. – Once a bit is set, it will remain set until cleared by reading the event register or the clear status (*CLS) command. Keysight U2722A/U2723A Programmer’s Reference...
Page 117
For example, if bit 3 (decimal value = 8) and bit 7 (decimal value = 128) are enabled, the query command will return “+136”. Example The following query returns the bits enabled in the register. *ESR? Typical Response: +16 See Also *ESE/*ESE? Keysight U2722A/U2723A Programmer’s Reference...
The command returns a string with the following format. keysight TECHNOLOGIES,U2722A/U2723A,<Serial Number>,Rf.ff-c.cc f.ff = firmware revision number c.cc = measurement firmware version Example The following query returns the instrument’s identification string. *IDN? Typical Response: keysight TECHNOLOGIES, U2722A/U2723A, MY12345678, R1.00-1.00 Keysight U2722A/U2723A Programmer’s Reference...
*OPC does not prevent processing of subsequent commands, however, the OPC bit will not be set until all pending operation have completed. Returned Query Format <NR1> The command returns “1” to the output buffer. See Also *ESE/*ESE? *ESR? Keysight U2722A/U2723A Programmer’s Reference...
*RST This command resets the instrument to the default configuration. Refer to Chapter “Default Factory Settings” on page 137 for a complete listing of the instrument's default configuration. Example The following command resets the instrument. *RST Keysight U2722A/U2723A Programmer’s Reference...
“+68”. Parameter Item Type Range of values Defaul t value A decimal value that corresponds to the binary-weighted sum This is a required <enable_value> of the bits in the register. Refer to the table below. parameter. Keysight U2722A/U2723A Programmer’s Reference...
Page 122
For example, if bit 3 (decimal value = 8) and bit 7 (decimal value = 128) are enabled, the query command will return “+136”. Keysight U2722A/U2723A Programmer’s Reference...
Page 123
If an execution error occurs, this condition will be reported to the Status Byte register (bit 5 will be set to high). *SRE 16 The following query returns the bits enabled in the register. *SRE? Typical Response: +16 See Also *STB? Keysight U2722A/U2723A Programmer’s Reference...
= 8) and bit 6 (decimal value = 64), the corresponding decimal value would be 72 (8 + 64). – The Status Byte Enable register will be cleared once you execute the *SRE 0 command. Keysight U2722A/U2723A Programmer’s Reference...
Page 125
IEEE-488.2 Common Commands Returned Query Format <NR1> The command will return “1” to the output buffer. Example The following command reads the condition register (bits 3 and 4 are set). *STB? Typical Response: +24 See Also *CLS Keysight U2722A/U2723A Programmer’s Reference...
*TST? This query command performs a self-test of the instrument and returns a pass/fail indication. Remarks Please refer to the U2722A/U2723A USB Modular Source Measure Units User's Guide for the self-test return codes. Returned Query Format <NR1> The command returns “+0” (all tests passed) or a decimal value which is larger than 0 (one or more tests failed).
IEEE-488.2 Common Commands *WAI Syntax *WAI This command configures the instrument to wait for the completion of all pending operation before executing any additional commands over the interface. See Also *OPC/OPC? Keysight U2722A/U2723A Programmer’s Reference...
Page 128
IEEE-488.2 Common Commands THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight U2722A/U2723A Programmer’s Reference...
Keysight U2722A/U2723A USB Modular Source Measure Units Programmer’s Reference Error Messages Error Messages The U2722A/U2723A SCPI command errors are summarized in this chapter.
Configuration Mul tiple slave not allowed Multiple slaves are not allowed in the configuration. +121 Configuration master not allowed Status master is not allowed in the configuration. +246 Master Controller Busy The channel is busy. All input commands will be ignored. Keysight U2722A/U2723A Programmer’s Reference...
–109 Missing parameter Fewer parameters were received than expected for the command. You may have omitted one or more parameters that are required for this command. Keysight U2722A/U2723A Programmer’s Reference...
Page 132
Generic suffix error. –131 Invalid suffix A suffix was incorrectly specified for a numeric parameter. –134 Suffix too long The suffix contains more than 12 characters. –138 Suffix not allowed A suffix is not supported for this command. Keysight U2722A/U2723A Programmer’s Reference...
Page 133
Data was sent in arbitrary block format but is not allowed for this command. –170 Expression error Generic expression error. –171 Invalid expression The expression data element was invalid. –178 Expression data not allowed Expression data element was sent but is not allowed for this command. Keysight U2722A/U2723A Programmer’s Reference...
–240 Hard ware error The command could not be executed due to a hardware problem with the instrument. –241 Hard ware missing The command could not be executed due to missing hardware, such as an option. Keysight U2722A/U2723A Programmer’s Reference...
A condition causing an unterminated query error occurred. –430 Query DEADLOCKED A condition causing a deadlocked query error occurred. –440 Query UNTERMINATED after indefinite response A query was received in the same program message after a query indicating an indefinite response was executed. Keysight U2722A/U2723A Programmer’s Reference...
Page 136
Error Messages THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight U2722A/U2723A Programmer’s Reference...
Default Factory Settings Factory Default Settings The default factory settings are listed in this chapter. Remarks – These settings are used when the U2722A/U2723A modular SMU is powered on. – They are set once the *RST command is sent to the U2722A/U2723A.