For information about connecting instruments to USB, LAN, and GPIB interfaces and how to configure and troubleshoot these interfaces, refer to the Keysight USB/LAN/GPIB Interfaces Connectivity Guide. This guide is provided on the Keysight Automation Ready CD-ROM. Or you can download the guide from the Web at www.keysight.com/find/connectivity.
Page 11
Welcome The Keysight 53220A/230A provides a Web Interface that is built into the instrument. You can use this interface over LAN for remote access and control of the instrument via a Java™-enabled Web browser, such as Microsoft® Internet Explorer. To access and use the 53220A/230A Web Interface: 1.
Some parameters are enclosed in square brackets ( [ ] ). This indicates that the parameter is optional and can be omitted. The brackets are not sent with the command string. If you do not specify a value for an optional parameter, the instrument chooses a default value. Keysight 53220A/53230A Programmer's Reference...
Page 13
MAX to set the count to its maximum value, or DEF to set the count to its default value. Querying Parameter Settings You can query the current value of most parameters by adding a question mark ( ? ) to the command. For example, the following command sets the trigger count to 10 measurements: TRIG:COUN 10 Keysight 53220A/53230A Programmer's Reference...
Page 14
(e.g., M, k, m, or u). If a command accepts only certain specific values, the instrument will automatically round the input numeric parameters to the accepted values. The fol- lowing command requires a numeric parameter for the count value: SAMPle:COUNt {< count > | MINimum | MAXimum | DEFault} Keysight 53220A/53230A Programmer's Reference...
Page 15
Different programming languages and IEEE-488 interface cards provide access to this capability through their own unique commands. The status registers, the error queue, and all configuration states are left unchanged when a Device Clear message is received. Keysight 53220A/53230A Programmer's Reference...
Page 16
The instrument is prepared to accept a new command string. An overlapped command, if any, will be terminated with no "Operation Complete" indication (applies to the INIT command). ABORt command is the recommended method to terminate a measurement. Keysight 53220A/53230A Programmer's Reference...
The Instrument Preset (SYSTem:PRESet command) does the same. Example The following example aborts the measurement in progress. ABOR See Also *RST SYSTem:PRESet Keysight 53220A/53230A Programmer's Reference...
You should select the measurement function and active input channel(s) prior to sending the AUTo- scale command. Example The following example configures a frequency measurement, performs an autoscale, and makes a meas- urement on channel 1. CONF:FREQ READ? Typical Response: +1.21513398300000E+006 See Also *RST SYSTem:PRESet Keysight 53220A/53230A Programmer's Reference...
Trig In BNC is pulsed (low by default), and then sends the measurements to memory. The FETCh? command transfers the measurements from memory to the instrument's output buf- fer. CONF:FREQ 1200,0.003 TRIG:SOUR EXT Keysight 53220A/53230A Programmer's Reference...
Page 21
FETCh? INIT FETC? Typical Response: +1.21513398300000E+006 See Also INITiate[:IMMediate] Keysight 53220A/53230A Programmer's Reference...
Trig In BNC is pulsed (low by default), and then sends the measurements to memory. The FETCh? command transfers the measurements from memory to the instrument's output buf- fer. CONF:FREQ 4000 TRIG:SOUR EXT INIT FETC? Typical Response: +1.21513398300000E+006 See Also FETCh? READ? Keysight 53220A/53230A Programmer's Reference...
The READ? command places the instrument in the "wait-for-trigger" state, triggers a measurement when the rear-panel Trig In BNC is pulsed (low by default), sends the measurements to memory, and then trans- fers the measurements to the instrument output buffer. CONF:FREQ 1.0E6,.001 TRIG:SOUR EXT READ? Typical Response: +1.21513398300000E+006 Keysight 53220A/53230A Programmer's Reference...
Page 25
READ? See Also FETCh? FORMat:BORDer FORMat[:DATA] INITiate[:IMMediate] Keysight 53220A/53230A Programmer's Reference...
Page 26
For timestamp measurements, the command returns the prescaler value followed by a comma, followed by the measurements. The prescaler value is always returned in the format: +100. The measurements are returned in the Definite-Length Block format described above. Keysight 53220A/53230A Programmer's Reference...
Page 27
Example This command reads the two oldest measurements and erases them from memory. FORM:DAT ASC R? 2 Typical Response: #243+1.21513398300000E+006,+1.21513392700000E+006 See Also DATA:REMove? FETCh? FORMat:BORDer FORMat:DATA Keysight 53220A/53230A Programmer's Reference...
CALCulate Subsystem Introduction CALCulate Subsystem Introduction The CALCulate subsystem receives real-time data from the measurement hardware and optionally per- forms scaling and offset, statistics computation and/or limit checking. The data flow is show below: Keysight 53220A/53230A Programmer's Reference...
Instru- ment Preset (SYSTem:PRESet command). Return Format The query returns the response time: SLOW, MED, or FAST . Examples The following example enables a 50-point moving average filter on 1000 frequency measurements. Keysight 53220A/53230A Programmer's Reference...
Page 33
CALCulate1:SMOothing:RESPonse CONF:FREQ 1.0E6,.001 SAMP:COUN 1000 CALC:SMO:RESP MED CALC:SMO:STAT ON CALC:STAT ON READ? (1000 measurements) Typical Response: +9.99383828200000E+06,+9.99352315400000E+06,... See Also CALCulate1:SMOothing:STATe CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
Instru- ment Preset (SYSTem:PRESet command). Return Format The query returns the response time: SLOW, MED, or FAST . Examples The following example enables a 50-point moving average filter on 1000 frequency measurements. Keysight 53220A/53230A Programmer's Reference...
Page 35
CALCulate1:SMOothing:RESPonse CONF:FREQ 1.0E6,.001 SAMP:COUN 1000 CALC:SMO:RESP MED CALC:SMO:STAT ON CALC:STAT ON READ? (1000 measurements) Typical Response: +9.99383828200000E+06,+9.99352315400000E+06,... See Also CALCulate1:SMOothing:STATe CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
Instru- ment Preset (SYSTem:PRESet command). Return Format The query returns the response time: SLOW, MED, or FAST . Examples The following example enables a 50-point moving average filter on 1000 frequency measurements. Keysight 53220A/53230A Programmer's Reference...
Page 37
CALCulate1:SMOothing:RESPonse CONF:FREQ 1.0E6,.001 SAMP:COUN 1000 CALC:SMO:RESP MED CALC:SMO:STAT ON CALC:STAT ON READ? (1000 measurements) Typical Response: +9.99383828200000E+06,+9.99352315400000E+06,... See Also CALCulate1:SMOothing:STATe CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The query returns the current smoothing (moving average) filter state: 0 (OFF) or 1 (ON). Examples The following example enables a 50-point moving average filter on 1000 frequency measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 1000 CALC:SMO:RESP MED CALC:SMO:STAT ON CALC:STAT ON READ? (1000 measurements) Typical Response: +9.99383828200000E+06,+9.99352315400000E+06,... See Also CALCulate1:SMOothing:RESPonse CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The instrument resets the function to NULL after a Factory Reset (*RST command) or an Instrument Pre- (SYSTem:PRESet command). Return Format The query returns the s caling function in the form: NULL, PCT, PPM, PPB or SCAL. Keysight 53220A/53230A Programmer's Reference...
Page 40
CALCulate1:SCALe:FUNCtion Examples The following example enables the percent change scaling function referenced to the next measurement taken. CALC:SCAL:FUNC PCT CALC:SCAL:STAT ON CALC:STAT ON See Also CALCulate1:SCALe:GAIN CALCulate1:SCALe:OFFset CALCulate1:SCALe:INVert CALCulate1:SCALe:REFerence CALCulate1:SCALe:REFerence:AUTO CALCulate1:SCALe:STATE CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The instrument resets the function to NULL after a Factory Reset (*RST command) or an Instrument Pre- (SYSTem:PRESet command). Return Format The query returns the s caling function in the form: NULL, PCT, PPM, PPB or SCAL. Keysight 53220A/53230A Programmer's Reference...
Page 42
CALCulate1:SCALe:FUNCtion Examples The following example enables the percent change scaling function referenced to the next measurement taken. CALC:SCAL:FUNC PCT CALC:SCAL:STAT ON CALC:STAT ON See Also CALCulate1:SCALe:GAIN CALCulate1:SCALe:OFFset CALCulate1:SCALe:INVert CALCulate1:SCALe:REFerence CALCulate1:SCALe:REFerence:AUTO CALCulate1:SCALe:STATE CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
Instrument Preset (SYSTem:PRESet command). Return Format The query returns the gain value in the form +1.00000000000000E+000. Examples The following example enables the scaling function using the equation 100x-5. CALC:SCAL:GAIN 100.0 CALC:SCAL:OFFS 5.0 CALC:SCAL:STAT ON CALC:STAT ON Keysight 53220A/53230A Programmer's Reference...
Page 44
CALCulate1:SCALe:GAIN See Also CALCulate1:SCALe:FUNCtion CALCulate1:SCALe:OFFset CALCulate1:SCALe:STATE CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The query returns the current scale and offset state: 0 (OFF) or 1 (ON). Examples The following example enables the scaling function using the equation 100/x-5. CALC:SCAL:INV ON CALC:SCAL:GAIN 100.0 CALC:SCAL:OFFS 5.0 CALC:SCAL:STAT ON CALC:STAT ON See Also CALCulate1:SCALe:FUNCtion CALCulate1:SCALe:STATE CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
Instrument Preset (SYSTem:PRESet command). Return Format The query returns the offset value in the form +1.00000000000000E+006. Examples The following example enables the scaling function using the equation 100x-5. CALC:SCAL:GAIN 100.0 CALC:SCAL:OFFS 5.0 CALC:SCAL:STAT ON CALC:STAT ON Keysight 53220A/53230A Programmer's Reference...
Page 47
CALCulate1:SCALe:OFFSet See Also CALCulate1:SCALe:FUNCtion CALCulate1:SCALe:GAIN CALCulate1:SCALe:STATE CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The query returns the reference value in the form +0.00000000000000E+000. Examples The following example enables the NULL scaling function. The first measurement will be used as the ref- erence value. CALC:SCAL:FUNC NULL CALC:SCAL:REF:AUTO ON CALC:SCAL:STAT ON CALC:STAT ON READ? Keysight 53220A/53230A Programmer's Reference...
Page 49
CALCulate1:SCALe:REFerence The following example enables the NULL scaling function with 100.0 as the reference value. CALC:SCAL:FUNC NULL CALC:SCAL:REF 100.0 CALC:SCAL:STAT ON CALC:STAT ON READ? See Also CALCulate1:SCALe:FUNCtion CALCulate1:SCALe:REFerence:AUTO CALCulate1:SCALe:STATE CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The query returns the current scaling state: 0 (OFF) or 1 (ON). Examples The following example enables the NULL function with automatic reference selection enabled. CALC:SCAL:FUNC NULL CALC:SCAL:REF:AUTO ON CALC:SCAL:STAT ON CALC:STAT ON See Also CALCulate1:SCALe:FUNCtion CALCulate1:SCALe:REFerence CALCulate1:SCALe:STATe CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The query returns the current scaling state: 0 (OFF) or 1 (ON). Examples The following example enables scaling using the equation 100x-5. CALC:FUNC SCAL CALC:SCAL:GAIN 100.0 CALC:SCAL:OFFS 5.0 CALC:SCAL:INV OFF CALC:SCAL:STAT ON CALC:STAT ON See Also CALCulate1:SCALe:FUNCtion CALCulate1:SCALe:GAIN CALCulate1:SCALe:OFFset CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The following example enables the scaling function using the equation 100x-5 and displays "PSI" with measurements on the front panel. CALC:SCAL:GAIN 100.0 CALC:SCAL:OFFS 5.0 CALC:SCAL:UNIT "PSI" CALC:SCAL:UNIT:STAT ON CALC:SCAL:STAT ON CALC:STAT ON See Also CALCulate1:SCALe:STATE CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The following example enables the scaling function using the equation 100x-5 and displays "PSI" with measurements on the front panel. CALC:SCAL:GAIN 100.0 CALC:SCAL:OFFS 5.0 CALC:SCAL:UNIT "PSI" CALC:SCAL:UNIT:STAT ON CALC:SCAL:STAT ON CALC:STAT ON See Also CALCulate1:SCALe:STATE CALCulate1:STATe CALCulate1:SCALe:UNIT Keysight 53220A/53230A Programmer's Reference...
CALCulate1:LIMit:CLEar command is executed, after a Factory Reset (*RST com- mand) or after an Instrument Preset (SYSTem:PRESet command). Examples The following example clears the limit test results. CALC:LIM:CLE See Also CALCulate1:LIMit:STATe CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
CALCulate1:LIMit:CLEar command is executed, after a Factory Reset (*RST com- mand) or after an Instrument Preset (SYSTem:PRESet command). Examples The following example clears the limit test results. CALC:LIM:CLE See Also CALCulate1:LIMit:STATe CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
9.9MHz to 10.1MHz. Measurements above 10.1MHz will set bit 12 (Upper Limit Failed) of the questionable status register; measurements below 9.9MHz will set bit 11 (Lower Limit Failed). *CLS STAT:PRES CONF:FREQ 1.0E6,.001 SAMP:COUN 100 CALC:LIM:LOW 9.9E6 CALC:LIM:UPP 10.1E6 Keysight 53220A/53230A Programmer's Reference...
Page 58
CALCulate1:LIMit:LOWer CALC:LIM:STAT ON CALC:STAT ON INIT *WAI STAT:QUES? Typical Response: +4096 (at least one measurement was above the upper limit) See Also CALCulate1:LIMit:UPPer CALCulate1:STATe STATus Subsystem Introduction Keysight 53220A/53230A Programmer's Reference...
12 (Upper Limit Failed) of the questionable status register; measurements below 9.9MHz will set bit 11 (Lower Limit Failed). *CLS STAT:PRES CONF:FREQ 1.0E6,.001 SAMP:COUN 100 CALC:LIM:LOW 9.9E6 CALC:LIM:UPP 10.1E6 CALC:LIM:STAT ON CALC:STAT ON INIT Keysight 53220A/53230A Programmer's Reference...
Page 60
CALCulate1:LIMit:STATe *WAI STAT:QUES? Typical Response: +4096 (at least one measurement was above the upper limit) See Also CALCulate1:LIMit:CLEar CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
9.9MHz to 10.1MHz. Measurements above 10.1MHz will set bit 12 (Upper Limit Failed) of the questionable status register; measurements below 9.9MHz will set bit 11 (Lower Limit Failed). *CLS STAT:PRES CONF:FREQ 1.0E6,.001 SAMP:COUN 100 CALC:LIM:LOW 9.9E6 CALC:LIM:UPP 10.1E6 Keysight 53220A/53230A Programmer's Reference...
Page 62
CALCulate1:LIMit:UPPer CALC:LIM:STAT ON CALC:STAT ON INIT *WAI STAT:QUES? Typical Response: +4096 (at least one measurement was above the upper limit) See Also CALCulate1:LIMit:LOWer CALCulate1:STATe STATus Subsystem Introduction Keysight 53220A/53230A Programmer's Reference...
The following example returns the Allan deviation of 100 frequency measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 100 CALC:AVER:STAT ON CALC:STAT ON INIT wait for all reading to complete *WAI CALC:AVER:ADEV? Typical Response: +4.13500000E+001 See Also CALCulate1:AVERage:CLEar CALCulate1:AVERage:STATe CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The following example returns the Allan deviation of 100 frequency measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 100 CALC:AVER:STAT ON CALC:STAT ON INIT wait for all reading to complete *WAI CALC:AVER:ADEV? Typical Response: +4.13500000E+001 See Also CALCulate1:AVERage:CLEar CALCulate1:AVERage:STATe CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The following example returns the statistics of 100 frequency measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 100 CALC:AVER:STAT ON CALC:STAT ON INIT wait for all reading to complete *WAI CALC:AVER:ALL? Typical Response: +1.00520000E+006,+4.13500000E+001,+1.00512000E+006,+1.005270000E+006 See Also CALCulate1:AVERage:AVERage? CALCulate1:AVERage:CLEar CALCulate1:AVERage:COUNt? CALCulate1:AVERage:MAXimum? CALCulate1:AVERage:MINimum? CALCulate1:AVERage:PTPeak? Keysight 53220A/53230A Programmer's Reference...
The following example returns the mean of 100 frequency measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 100 CALC:AVER:STAT ON CALC:STAT ON INIT wait for all reading to complete *WAI CALC:AVER:AVER? Typical Response: +1.00520000E+006 See Also CALCulate1:AVERage:ALL? CALCulate1:AVERage:CLEar CALCulate1:AVERage:COUNt? CALCulate1:AVERage:STATe CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
CALCulate1:AVERage:CLEar command is executed, after a Factory Reset (*RST command) or after an Instrument Preset (SYSTem:PRESet command). Return Format This command has no query form. Examples The following command clears the stored statistical data. CALC:AVER:CLE See Also CALCulate1:AVERage:COUNt? CALCulate1:AVERage:STATe CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The query returns the number of measurements used to compute the current statistics values in the form +100. Examples The following example returns the number of measurements used to compute the current statistics val- ues. CALC:AVER:COUN:CURR? Typical Response: +73 See Also CALCulate1:AVERage:CLEar CALCulate1:AVERage:STATe CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The following example returns the maximum value of 100 frequency measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 100 CALC:AVER:STAT ON CALC:STAT ON INIT wait for all reading to complete *WAI CALC:AVER:MAX? Typical Response: +1.005270000E+006 See Also CALCulate1:AVERage:ALL? CALCulate1:AVERage:CLEar CALCulate1:AVERage:COUNt? CALCulate1:AVERage:STATe CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The following example returns the minimum value of 100 frequency measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 100 CALC:AVER:STAT ON CALC:STAT ON INIT wait for all reading to complete *WAI CALC:AVER:MIN? Typical Response: +1.00512000E+006 See Also CALCulate1:AVERage:ALL? CALCulate1:AVERage:CLEar CALCulate1:AVERage:COUNt? CALCulate1:AVERage:STATe CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The following example returns the peak-to-peak value of 100 frequency measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 100 CALC:AVER:STAT ON CALC:STAT ON INIT wait for all reading to complete *WAI CALC:AVER:PTP? Typical Response: +1.50000000E+002 See Also CALCulate1:AVERage:CLEar CALCulate1:AVERage:COUNt? CALCulate1:AVERage:STATe CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The following example returns the standard deviation of 100 frequency measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 100 CALC:AVER:STAT ON CALC:STAT ON INIT wait for all reading to complete *WAI CALC:AVER:SDEV? Typical Response: +4.13500000E+001 See Also CALCulate1:AVERage:ALL? CALCulate1:AVERage:CLEar CALCulate1:AVERage:STATe CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The query returns the current statistics computation state: 0 (OFF) or 1 (ON). Examples The following example returns the statistics of 100 frequency measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 100 CALC:AVER:STAT ON CALC:STAT ON INIT *WAI CALC:AVER:ALL? Typical Response: +1.00520000E+06,+1.00512000E+05,+1.005270000E+06,+4.13500000E+01 See Also CALCulate1:STATe Keysight 53220A/53230A Programmer's Reference...
The query returns the current calculate state: 0 (OFF) or 1 (ON). Examples The following example returns the statistics of 100 frequency measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 100 CALC:AVER:STAT ON CALC:STAT ON INIT *WAI CALC:AVER:ALL? Typical Response: +1.00520000000000E+006,+1.00512000000000E+005,+1.005270000000000E+006,+4.13500000- 000000E+001 See Also CALCulate1:AVERage:STATe CALCulate1:LIMit:STATe Keysight 53220A/53230A Programmer's Reference...
MEASure? READ? commands are executed, when the CALCulate2:TRANsform:HISTogram:CLEar command is executed, after a Factory Reset (*RST command) or after an Instrument Preset (SYSTem:PRESet command). Examples The following example clears the histogram data. CALC2:TEAN:HIST:CLE See Also CALCulate2:TRANsform:HISTogram:STATe Keysight 53220A/53230A Programmer's Reference...
The query returns the number of measurements counted in the current histogram data in the form +100. Examples The following example returns the number of measurements used to compute the current histogram data. CALC2:TRAN:HIST:COUN? Typical Response: +73 See Also CALCulate2:TRANsform:HISTogram:ALL? CALCulate2:TRANsform:HISTogram:STATe Keysight 53220A/53230A Programmer's Reference...
The following example enables an automatically scaled, 128-bin histogram computation of 1000 fre- quency measurements and returns the computed bin data. The automatic scaling is based on the first 100 measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 1000 CALC2:TRAN:HIST:RANG:AUTO ON CALC2:TRAN:HIST:RANG:AUTO:COUN 100 CALC2:TRAN:HIST:POIN 128 CALC2:TRAN:HIST:STAT ON Keysight 53220A/53230A Programmer's Reference...
Page 86
CALCulate2:TRANsform:HISTogram:DATA? INIT *WAI CALC2:TRAN:HIST:DATA? <102 bin counts> Typical Response: See Also CALCulate2:TRANsform:HISTogram:ALL? CALCulate2:TRANsform:HISTogram:STATe Keysight 53220A/53230A Programmer's Reference...
The automatic scaling is based on the first 100 meas- urements. CONF:FREQ 1.0E6,.001 SAMP:COUN 1000 CALC2:TRAN:HIST:RANG:AUTO ON CALC2:TRAN:HIST:RANG:AUTO:COUN 100 CALC2:TRAN:HIST:POIN 128 Keysight 53220A/53230A Programmer's Reference...
Page 88
CALCulate2:TRANsform:HISTogram:POINts CALC2:TRAN:HIST:STAT ON INIT *WAI CALC2:TRAN:HIST:ALL? Typical Response: +9.99383828200000E+006,+1.00513398300000E+006,+1000, <102 bin counts> See Also CALCulate2:TRANsform:HISTogram:RANGe:AUTO CALCulate2:TRANsform:HISTogram:RANGe:LOWer CALCulate2:TRANsform:HISTogram:RANGe:UPPer CALCulate2:TRANsform:HISTogram:STATe Keysight 53220A/53230A Programmer's Reference...
The query returns the current automatic selection state: 0 (OFF) or 1 (ON). Examples The following example enables an automatically scaled, 128-bin histogram computation of 1000 fre- quency measurements and returns the computed histogram, including the lower and upper range values, Keysight 53220A/53230A Programmer's Reference...
Page 90
The automatic scaling is based on the first 100 meas- urements. CONF:FREQ 1.0E6,.001 SAMP:COUN 1000 CALC2:TRAN:HIST:RANG:AUTO ON CALC2:TRAN:HIST:RANG:AUTO:COUN 100 CALC2:TRAN:HIST:POIN 128 CALC2:TRAN:HIST:STAT ON INIT *WAI CALC2:TRAN:HIST:ALL? <102 bin counts> Typical Response: +9.99383828200000E+006,+1.00513398300000E+006,+1000, See Also CALCulate2:TRANsform:HISTogram:RANGe:AUTO:COUNt CALCulate2:TRANsform:HISTogram:RANGe:LOWer CALCulate2:TRANsform:HISTogram:RANGe:UPPer CALCulate2:TRANsform:HISTogram:STATe Keysight 53220A/53230A Programmer's Reference...
The automatic scaling is based on the first 100 meas- urements. CONF:FREQ 1.0E6,.001 SAMP:COUN 1000 CALC2:TRAN:HIST:RANG:AUTO ON CALC2:TRAN:HIST:RANG:AUTO:COUN 100 CALC2:TRAN:HIST:POIN 128 CALC2:TRAN:HIST:STAT ON INIT *WAI CALC2:TRAN:HIST:ALL? Keysight 53220A/53230A Programmer's Reference...
Page 92
CALCulate2:TRANsform:HISTogram:RANGe:AUTO:COUNt Typical Response: +9.99383828200000E+006,+1.00513398300000E+006,+1000, <102 bin counts> See Also CALCulate2:TRANsform:HISTogram:RANGe:AUTO CALCulate2:TRANsform:HISTogram:RANGe:LOWer CALCulate2:TRANsform:HISTogram:RANGe:UPPer CALCulate2:TRANsform:HISTogram:STATe Keysight 53220A/53230A Programmer's Reference...
The following example enables an manually scaled, 128-bin histogram computation of 1000 frequency measurements and returns the computed histogram, including the lower and upper range values, the total measurement count, and the bin data. CONF:FREQ 1.0E6,.001 SAMP:COUN 1000 CALC2:TRAN:HIST:RANG:AUTO OFF Keysight 53220A/53230A Programmer's Reference...
Page 94
CALCulate2:TRANsform:HISTogram:RANGe:LOWer CALC2:TRAN:HIST:RANG:LOW 9.99E6 CALC2:TRAN:HIST:RANG:UPP 1.01E6 CALC2:TRAN:HIST:POIN 128 CALC2:TRAN:HIST:STAT ON INIT *WAI CALC2:TRAN:HIST:ALL? <102 bin counts> Typical Response: +9.99000000000000E+006,+1.01000000000000E+006,+1000, See Also CALCulate2:TRANsform:HISTogram:RANGe:AUTO CALCulate2:TRANsform:HISTogram:RANGe:UPPer Keysight 53220A/53230A Programmer's Reference...
The following example enables an manually scaled, 128-bin histogram computation of 1000 frequency measurements and returns the computed histogram, including the lower and upper range values, the total measurement count, and the bin data. CONF:FREQ 1.0E6,.001 SAMP:COUN 1000 CALC2:TRAN:HIST:RANG:AUTO OFF Keysight 53220A/53230A Programmer's Reference...
Page 96
CALCulate2:TRANsform:HISTogram:RANGe:UPPer CALC2:TRAN:HIST:RANG:LOW 9.99E6 CALC2:TRAN:HIST:RANG:UPP 1.01E6 CALC2:TRAN:HIST:POIN 128 CALC2:TRAN:HIST:STAT ON INIT *WAI CALC2:TRAN:HIST:ALL? <102 bin counts> Typical Response: +9.99000000000000E+006,+1.01000000000000E+006,+1000, See Also CALCulate2:TRANsform:HISTogram:RANGe:LOWer Keysight 53220A/53230A Programmer's Reference...
The automatic scaling is based on the first 100 meas- urements. CONF:FREQ 1.0E6,.001 SAMP:COUN 1000 CALC2:TRAN:HIST:RANG:AUTO ON CALC2:TRAN:HIST:RANG:AUTO:COUN 100 CALC2:TRAN:HIST:POIN 128 CALC2:TRAN:HIST:STAT ON INIT Keysight 53220A/53230A Programmer's Reference...
Page 98
CALCulate2:TRANsform:HISTogram:STATe *WAI CALC2:TRAN:HIST:ALL? Typical Response: +9.99383828200000E+006,+1.00513398300000E+006,+1000, <102 bin counts> See Also Keysight 53220A/53230A Programmer's Reference...
CALibration Subsystem Introduction The CALibration commands are used to calibrate the Keysight 53220A/230A. For a more detailed discussion of the calibration procedures, see the Keysight 53210A/53220A/53230A 350 MHz Counter Service Guide. Please refer to the Ser- vice Guide before attempting to calibrate the instrument. Improper use of the CALibration commands can adversely affect the accuracy and reliability of the instru- ment.
Before you can calibrate the instrument, you must unsecure it by entering the cor- rect security code. For a more detailed discussion of the calibration procedures, see the Keysight 53210A/53220A/53230A 350 MHz Counter Service Guide. Please refer to the Ser- vice Guide before attempting to calibrate the instrument.
The calibration count is also incremented when a calibration override is performed (see the Keysight 53210A/53220A/53230A 350 MHz Counter Service Guide for more information). You can read the cal- ibration count whether the instrument is secured or unsecured. The calibration count is stored in non-volatile memory, and does not change when power has been off,...
Page 102
CALibration:COUNt? See Also CALibration:ALL? CALibration:LEVel3? Keysight 53220A/53230A Programmer's Reference...
This is a required parameter Counter Service Guide Remarks Refer to the Keysight 53210A/53220A/53230A 350 MHz Counter Service Guide for detailed pro- cedures, including how to connect a calibration source, recommended equipment, the specified cal- ibration points, and so forth.
Page 104
CALibration:LEVel3? See Also CALibration:SECurity:STATe Keysight 53220A/53230A Programmer's Reference...
Remarks If you forget your security code, you can override the security feature. See the Keysight 53210A/53220A/53230A 350 MHz Counter Service Guide for more information. The security code is stored in non-volatile memory, and does not change when power has been off,...
Before you can calibrate the instrument, you must unsecure it by entering the correct security code. For a more detailed discussion of the calibration procedures, see the Keysight 53210A/53220A/53230A 350 MHz Counter Service Guide. Please refer to the Ser- vice Guide before attempting to calibrate the instrument.
Page 107
CALibration:SECurity:STATe Examples The following example unsecures the instrument using the factory default security code. CAL:SEC:STAT OFF,TEST_DUT165 The following example returns the current calibration security setting. CAL:SEC:STAT? Typical Response: 0 See Also CALibration:SECure:CODE Keysight 53220A/53230A Programmer's Reference...
For a more detailed discussion of the calibration procedures, see the Keysight 53210A/53220A/53230A 350 MHz Counter Service Guide. Please refer to the Ser- vice Guide before attempting to calibrate the instrument.
Page 109
The following example stores a message in calibration memory. CAL:STR "CAL: 21 Nov 2009" or CAL:STR 'CAL: 21 Nov 2009' The following example returns the message currently stored in calibration memory. CAL:STR? Typical Response: "CAL: 21 Nov 2005" See Also CALibration:SECurity:STATe Keysight 53220A/53230A Programmer's Reference...
Range of Values Default Value <value> Numeric See the Keysight 53220A/230A 350MHz Universal Counter/Timer Service Guide This is a required parameter Remarks Refer to the Keysight 53210A/53220A/53230A 350 MHz Counter Service Guide for detailed pro- cedures, including how to connect a calibration source, recommended equipment, the specified cal- ibration points, and so forth.
Page 111
CALibration:VALue See Also CALibration:ALL? Keysight 53220A/53230A Programmer's Reference...
Measurement Parameter: CONFigure Setting: Input configuration Range, low-pass filtering, coupling, impedance, noise rejec- tion are unchanged. See the CONFigure commands for the different meas- urement functions for information about level and slope. Keysight 53220A/53230A Programmer's Reference...
Page 113
The following program segment shows how to use the CONFigure command with the READ? command to make an externally-triggered measurement. The CONFigure command configures the instrument for fre- quency measurements. Note that the CONFigure command does not place the instrument in the "wait- for-trigger" state. Keysight 53220A/53230A Programmer's Reference...
Page 114
1,000,000 measurements in internal reading memory. The following program segment configures the instrument for frequency measurements, triggers the instrument to make one measurement using the INITiate command, and then stores the measurement in memory. CONF:FREQ 1.2E6,1 INIT FETC? Typical Response: +1.23239300000000E+006 Keysight 53220A/53230A Programmer's Reference...
<channel(s)> Expression(s) (@1) | (@2) | (@3) (@1) Remarks Available only on the Keysight 53230A. Note the parentheses around the <count> parameter. These are required by the SCPI standard. For channel 1 or 2, the input channel is configured for auto-leveling at 50% with a positive slope.
Page 116
CONFigure:ARRay:TSTamp See Also CONFigure? INITiate[:IMMediate] MEASure? READ? Keysight 53220A/53230A Programmer's Reference...
INPut:SLOPe) with auto-leveling disabled. As defined in the SCPI standard, < resolution > must be specified in absolute frequency (hertz), not as a fraction of the input signal frequency. The gate source (see SENSe:FREQuency:GATE:SOURCE) is set to TIME. Keysight 53220A/53230A Programmer's Reference...
Page 118
250 MHz signal on channel 2, makes one measurement using an external trigger, and then trans- fers the measurement to the instrument output buffer. CONF:FREQ 250E6,1e-4,(@2) TRIG:SOUR EXT;SLOP POS INIT FETCH? Typical Response: +2.50513398300000E+008 See Also CONFigure? INITiate[:IMMediate] Keysight 53220A/53230A Programmer's Reference...
(@3) Remarks Available only on the Keysight 53230A. Requires option 150. CONFigure and MEASure disable narrow burst mode. Because of this, measurements will return 9.91E37 (Not a Number) for bursts shorter than 10 microseconds. For such bursts, you should enable...
Expression (@3) (@3) Remarks Available only on the Keysight 53230A. Requires option 150. As defined in the SCPI standard, < resolution > must be specified in absolute frequency (hertz), not as a fraction of the input signal frequency. The gate source (see SENSe:FREQuency:GATE:SOURCE) is set to TIME.
Page 123
The following example configures the instrument for pulse repetition frequency measurements on chan- nel 3 using default parameters, makes two measurements, and then transfers the measurements to the instrument output buffer. CONF:FREQ:PRF (@3) SAMP:COUN 2 READ? Typical Response: +1.00230000000000E+003,+1.00170000000000E+003 See Also CONFigure? INITiate[:IMMediate] MEASure? READ? SENSe:FREQuency:GATE:SOURce SENSe:FREQuency:GATE:TIME Keysight 53220A/53230A Programmer's Reference...
Expression (@3) (@3) Remarks Available only on the Keysight 53230A. Requires option 150. As defined in the SCPI standard, < resolution > must be specified in absolute frequency (hertz), not as a fraction of the input signal frequency. The gate source (see SENSe:FREQuency:GATE:SOURCE) is set to TIME.
Page 125
The following example configures the instrument for pulse repetition interval measurements on channel 3 using default parameters, makes two measurements, and then transfers the measurements to the instru- ment output buffer. CONF:FREQ:PRI (@3) SAMP:COUN 2 READ? Typical Response: +1.00230000000000E-003,+1.00170000000000E-003 See Also CONFigure? INITiate[:IMMediate] MEASure? READ? SENSe:FREQuency:GATE:SOURce SENSe:FREQuency:GATE:TIME Keysight 53220A/53230A Programmer's Reference...
1.0E-15 * <expected> to Value corresponding to 1.0E-5* <expected> .1 second gate time MIN = 1.0E-15 * <expected> MAX = 1.0E-5 * <expected> <channel_pair> Pair of (@1),(@2) | (@1),(@3) | (@1),(@2) Expressions (@2),(@1) | (@2),(@3) | (@3),(@1) | (@3),(@2) Keysight 53220A/53230A Programmer's Reference...
Page 127
The following example configures the instrument for 10-digit frequency ratio measurements between channel 2 and channel 1, makes one measurement using an external trigger, and then transfers the meas- urement to the instrument output buffer. CONF:FREQ:RAT 1.2,1e-10,(@2),(@1) TRIG:SOUR EXT;SLOP POS Keysight 53220A/53230A Programmer's Reference...
Page 128
CONFigure:FREQuency:RATio INIT FETCH? Typical Response: +1.21513398300000E+001 See Also CONFigure? INITiate[:IMMediate] MEASure? READ? SENSe:FREQuency:GATE:SOURce SENSe:FREQuency:GATE:TIME Keysight 53220A/53230A Programmer's Reference...
READ? INITiate[:IMMediate] to start the measurement. Examples The following example configures the instrument for fall time measurements on channel 1 using default parameters, makes two measurements, and then transfers the measurements to the instrument output buffer. Keysight 53220A/53230A Programmer's Reference...
Page 130
The following example configures the instrument for fall time measurements on channel 2 with 20% and 80% reference levels, makes one measurement, and then transfers the measurement to the instrument output buffer. CONF:FTIM 20,80,(@2) READ? Typical Response: +5.02573000000000E-006 See Also CONFigure? INITiate[:IMMediate] MEASure? READ? Keysight 53220A/53230A Programmer's Reference...
The following example configures the instrument for duty cycle measurements on channel 1 using default parameters, makes two measurements, and then transfers the measurements to the instrument output buffer. CONF:NDUT SAMP:COUN 2 READ? Typical Response: +5.10520000000000E-001,+5.10370000000000E-001 Keysight 53220A/53230A Programmer's Reference...
Page 132
The following example configures the instrument for duty cycle measurements on channel 2 with a 1.2V reference level, makes one measurement using an external trigger, and then transfers the measurement to the instrument output buffer. CONF:NDUT 1.2V,(@2) TRIG:SOUR EXT;SLOP POS INIT FETCH? Typical Response: +4.82342300000000E+001 See Also CONFigure? INITiate[:IMMediate] MEASure? READ? Keysight 53220A/53230A Programmer's Reference...
The following example configures the instrument for pulse width measurements on channel 1 using default parameters, makes two measurements, and then transfers the measurements to the instrument output buffer. CONF:NWID SAMP:COUN 2 READ? Typical Response: +5.10520000000000E-006,+5.10370000000000E-006 Keysight 53220A/53230A Programmer's Reference...
Page 134
The following example configures the instrument for pulse width measurements on channel 2 with a 1.2V reference level, makes one measurement using an external trigger, and then transfers the measurement to the instrument output buffer. CONF:NWID 1.2V,(@2) TRIG:SOUR EXT;SLOP POS INIT FETC? Typical Response: +4.82342300000000E-006 See Also CONFigure? INITiate[:IMMediate] MEASure? READ? Keysight 53220A/53230A Programmer's Reference...
Range of Values Default Value <channel> Expression (@3) (@3) Remarks Available only on the Keysight 53230A. Requires option 150. READ? INITiate[:IMMediate] to start the measurement. Examples The following example configures the instrument for pulse width measurements on channel 3 using default parameters, makes two measurements, and then transfers the measurements to the instrument output buffer.
The following example configures the instrument for pulsed duty cycle measurements on channel 1 using default parameters, makes two measurements, and then transfers the measurements to the instrument output buffer. CONF:PDUT SAMP:COUN 2 READ? Typical Response: +5.10520000000000E-001,+5.10370000000000E-001 Keysight 53220A/53230A Programmer's Reference...
Page 137
1.2V reference level, makes one measurement using an external trigger, and then transfers the meas- urement to the instrument output buffer. CONF:PDUT 1.2V,(@2) TRIG:SOUR EXT;SLOP POS INIT FETC? Typical Response: +4.82342300000000E-001 See Also CONFigure? INITiate[:IMMediate] MEASure? READ? Keysight 53220A/53230A Programmer's Reference...
50% with a positive slope. Otherwise, the input channel is configured to use the currently programmed input threshold voltage and slope (see INPut:LEVel and INPut:SLOPe) with auto-leveling disabled. Keysight 53220A/53230A Programmer's Reference...
Page 139
The following example configures the instrument for 4-digit average period measurements of an approx- imately 250 MHz signal on channel 2, makes one measurement using an external trigger, and then trans- fers the measurement to the instrument output buffer. CONF:PER 4E-9,1e-12,(@2) TRIG:SOUR EXT;SLOP POS INIT FETC? Typical Response: +4.03337934613473E-009 Keysight 53220A/53230A Programmer's Reference...
Page 140
CONFigure:PERiod See Also CONFigure? CONFigure:SPERiod INITiate[:IMMediate] MEASure? READ? SENSe:FREQuency:GATE:SOURce SENSe:FREQuency:GATE:TIME Keysight 53220A/53230A Programmer's Reference...
The following example configures the instrument for phase measurements from channel 2 to channel 1, makes one measurement using an external trigger, and then transfers the measurement to the instrument output buffer. CONF:PHAS (@2),(@1) TRIG:SOUR EXT;SLOP POS INIT FETC? Typical Response +4.82342300000000E+001 Keysight 53220A/53230A Programmer's Reference...
Page 142
CONFigure:PHASe See Also CONFigure? INITiate[:IMMediate] MEASure? READ? Keysight 53220A/53230A Programmer's Reference...
The following example configures the instrument for pulse width measurements on channel 1 using default parameters, makes two measurements, and then transfers the measurements to the instrument output buffer. CONF:PWID SAMP:COUN 2 READ? Typical Response: +5.10520000000000E-006,+5.10370000000000E-006 Keysight 53220A/53230A Programmer's Reference...
Page 144
The following example configures the instrument for pulse width measurements on channel 2 with a 1.2V reference level, makes one measurement using an external trigger, and then transfers the measurement to the instrument output buffer. CONF:PWID 1.2V,(@2) TRIG:SOUR EXT;SLOP POS INIT FETC? Typical Response: +4.82342300000000E-006 See Also CONFigure? INITiate[:IMMediate] MEASure? READ? Keysight 53220A/53230A Programmer's Reference...
Range of Values Default Value <channel> Expression (@3) (@3) Remarks Available only on the Keysight 53230A. Requires option 150. READ? INITiate[:IMMediate] to start the measurement. Examples The following example configures the instrument for pulse width measurements on channel 3 using default parameters, makes two measurements, and then transfers the measurements to the instrument output buffer.
READ? INITiate[:IMMediate] to start the measurement. Examples The following example configures the instrument for rise time measurements on channel 1 using default parameters, makes two measurements, and then transfers the measurements to the instrument output buffer. Keysight 53220A/53230A Programmer's Reference...
Page 147
The following example configures the instrument for rise time measurements on channel 2 with 20% and 80% reference levels, makes one measurement, and then transfers the measurement to the instrument output buffer. CONF:RTIM 20,80,(@2) READ? Typical Response: +5.02573000000000E-006 See Also CONFigure? INITiate[:IMMediate] MEASure? READ? Keysight 53220A/53230A Programmer's Reference...
The following example configures the instrument for single-period measurements on channel 1 using default parameters, makes two measurements, and then transfers the measurements to the instrument output buffer. CONF:SPER SAMP:COUN 2 READ? Typical Response: +1.00230000000000E-007,+1.00170000000000E-007 See Also CONFigure? CONFigure:PERiod INITiate[:IMMediate] MEASure? Keysight 53220A/53230A Programmer's Reference...
The following example configures the instrument for time interval measurements from channel 1 to chan- nel 2, makes two measurements, and then transfers the measurements to the instrument output buffer. CONF:TINT (@1),(@2) SAMP:COUN 2 READ? Typical Response: +5.10520000000000E-006,+5.10370000000000E-006 See Also CONFigure? INITiate[:IMMediate] MEASure? Keysight 53220A/53230A Programmer's Reference...
The following example configures the instrument for continuous totalize measurements on channel 2 using default parameters, the totalize is started, and then, after 1 second, terminates the measurement and transfers the count to the instrument output buffer. CONF:TOT:CONT (@2) INIT <wait one second> ABOR FETC? Typical Response: +5.10500000000000E+003 Keysight 53220A/53230A Programmer's Reference...
Page 153
CONFigure:TOTalize:CONTinuous See Also CONFigure? CONFigure:TOTalize:TIMed INITiate[:IMMediate] INPut:LEVel SENSe:TOTalize:GATE:SOURce SENSe:TOTalize:GATE:TIME Keysight 53220A/53230A Programmer's Reference...
Range of Values Default Value <gate_time> Numeric 100 usec to 1000 sec with .1 sec 10 usec resolution or +9.9E+37 (INFinity) (Keysight 53220A) 1 usec to 1000 sec with 1 usec resolution or +9.9E+37 (INFinity) (Keysight 53230A) MIN = 100 usec (Keysight 53220A)
The short form of the function name is always returned (e.g., "FREQ", "PDUT", etc.). Examples The following example returns the present configuration of the meter (the quotes are also returned). CONF? Typical Response: "FREQ +1.20000000000000E+006,+1.00000000000000E-006,(@2)" See Also CONFigure Keysight 53220A/53230A Programmer's Reference...
DATA Subsystem Introduction DATA Subsystem Introduction The DATA commands allow you to access data points in reading memory, to determine how many points are stored, and to remove data. Command Summary DATA:LAST? DATA:POINts? DATA:POINts:EVENt:THReshold DATA:POINts:EVENt:THReshold? DATA:REMove? Keysight 53220A/53230A Programmer's Reference...
The format of the measurements is always ASCII (unaffected by the FORMat Subsystem com- mands). Examples The following example returns the last measurement taken by the meter. DATA:LAST? Typical Response: +1.21513398300000E-006 S See Also DATA:POINts? DATA:REMove? Keysight 53220A/53230A Programmer's Reference...
When the specified number of measurements have been stored in memory, the "Memory Threshold" bit (bit 9) is set to a "1" in the event register. For more information on the SCPI Status System for the Keysight 53220A/230A see Status System Introduction.
Page 160
DATA:POINts:EVENt:THReshold DATA:POIN:EVEN:THR 125 See Also DATA:POINts? Keysight 53220A/53230A Programmer's Reference...
Return Format The query returns the number of measurements in the reading memory in the form +1024. Examples The following example returns the number of measurements in the reading memory. DATA:POIN? Typical Response: +215 See Also DATA:POINts:EVENt:THReshold Keysight 53220A/53230A Programmer's Reference...
Instrument Preset (SYSTem:PRESet command). Return Format The query returns the specified number of measurements and then erases them from memory. The format of the measurements is controlled by the FORMat Subsystem commands. Keysight 53220A/53230A Programmer's Reference...
Page 163
The prescaler value is always returned in the format: +100. The format of the measurements is controlled by the FORMat Subsystem commands. Examples The following example returns 3 measurements (starting with the oldest measurements first) and erases them from memory. DATA:REM? 3 Typical Response: +4.27150000000000E+002,+1.32130000000000E+003,+3.65300000000000E+003 See Also DATA:POINts? FORMat:BORDer FORMat:DATA Keysight 53220A/53230A Programmer's Reference...
(SYSTem:PRESet command). It is set to 15 at power-on. Return Format The query returns the lower limit in the form + 15 . Examples The following example sets the number of significant digits displayed on the front to 6. DISP:DIG:MASK 6 See Also DISPlay:DIGit:MASK:AUTO Keysight 53220A/53230A Programmer's Reference...
Return Format The query returns the automatic selection state: 0 (OFF) or 1 (ON). Examples The following example enables automatic selection of the number of significant digits displayed for meas- urements. DISP:DIG:MASK:AUTO ON See Also DISPlay:DIGit:MASK Keysight 53220A/53230A Programmer's Reference...
(SYSTem:PRESet command). It is set to NUMeric at power-on. Return Format The query returns the current display mode: NUM, HIST, or TCH. Examples The following example selects displaying histogram data on the front panel. DISP:MODE HIST See Also CALCulate:TRANsform:HISTogram:STATe CALCulate:STATe Keysight 53220A/53230A Programmer's Reference...
(SYSTem:PRESet command). It is enabled at power-on. Return Format The query returns the display enable state: 0 (OFF) or 1 (ON). Examples The following example disables the front-panel display. DISP OFF See Also DISPlay:TEXT:CLEar DISPlay:TEXT Keysight 53220A/53230A Programmer's Reference...
The front-panel display is automatically cleared after a Factory Reset (*RST command), or after an Instrument Preset (SYSTem:PRESet command). Examples The following example clears the text message on the top line (the default) of the front panel. DISP:TEXT:CLE See Also DISPlay:TEXT DISPlay:STATe Keysight 53220A/53230A Programmer's Reference...
ASCII string enclosed in double quotes. If no message is displayed, a null string ("") is returned. Examples The following example displays a message on the front panel (the quotes are not displayed). DISP:TEXT "MEASURING..." or DISP:TEXT 'MEASURING...' See Also DISPlay:TEXT:CLEar Keysight 53220A/53230A Programmer's Reference...
The query returns the image as a definite-length binary block. Examples The following example captures and returns the front-panel display image in BMP format: HCOP:SDUM:DATA:FORM BMP HCOP:SDUM:DATA? Typical Response: A definite length binary block containing the image See Also HCOPy:SDUMp:DATA:FORMat Keysight 53220A/53230A Programmer's Reference...
The query returns the current image format: PNG or BMP. Examples The following example captures and returns the front-panel display image in BMP format: HCOP:SDUM:DATA:FORM BMP HCOP:SDUM:DATA? Typical Response: A definite length binary block containing the image See Also HCOPy:SDUMp:DATA? Keysight 53220A/53230A Programmer's Reference...
The instrument selects NORMal byte order after a Factory Reset (*RST command) or an Instrument Pre- (SYSTem:PRESet command). Return Format The query returns the byte order: NORM or SWAP. Examples The following example enables the "swapped" byte order mode. FORM:BORD SWAP See Also DATA:REMove? Keysight 53220A/53230A Programmer's Reference...
(*RST command) or an Instrument Preset (SYSTem:PRESet command). Return Format The query returns the data format: ASC,15, or REAL,64. Examples The following example specifies the data format to be 64-bit REAL. or FORM:DATA REAL FORM:DATA REAL,64 Keysight 53220A/53230A Programmer's Reference...
Page 177
FORMat:DATA See Also DATA:REMove? FETCh? FORMat:BORDer MEASure? READ? Keysight 53220A/53230A Programmer's Reference...
The phase range is set to AUTO when the instrument is shipped from the factory or after a SYSTem:SECurity:IMMediate command. Return Format The query returns the range: "AUTO", "POS" or "CENT". Examples The following example enables the 0° to 360° range for phase measurements. FORM:PHAS POS See Also CONFigure:PHASe MEASure:PHASe? SENSe:FUNCtion Keysight 53220A/53230A Programmer's Reference...
Page 180
This command takes about 10 seconds to execute. Return Format The query returns +0 if calibration passes, +1 if it fails. Examples The following example performs an auto-calibration: *CAL? Typical Response: +0 See Also CALibration Subsystem SYSTem:TEMPerature? SYSTem:TEMPerature:ACALibration? Keysight 53220A/53230A Programmer's Reference...
Page 181
Syntax *CLS Description This command clears the event registers in all register groups. This command also clears the Error queue. Examples The following example clears the event register bits and error queue. *CLS See Also SYSTem:ERRor? Keysight 53220A/53230A Programmer's Reference...
Page 182
For a complete listing of the error messages, see SCPI Error Messages. Execution Error An execution error occurred (an error in the -200 range has been generated). Command Error A command syntax error occurred (an error in the -100 range has been generated). Keysight 53220A/53230A Programmer's Reference...
Page 183
Status Byte Register (bit 5 will be set high). *ESE 16 The following example returns which bits are enabled in the register. *ESE? Typical Response: +16 See Also *ESR? *STB? Keysight 53220A/53230A Programmer's Reference...
Page 184
In order to be reported to the Standard Event Register, the corresponding bits in the event register must be enabled using the *ESE command. Once a bit is set, it remains set until cleared by reading the event register or the *CLS (clear status) com- mand. Keysight 53220A/53230A Programmer's Reference...
Page 185
(decimal value = 16) are set (and the corresponding bits are enabled), this query will return +20. Examples The following example reads the event register (bits 3 and 4 are set). *ESR? Typical Response: +24 See Also *ESE *CLS Keysight 53220A/53230A Programmer's Reference...
Page 186
Return Format The query returns a string with the following format: AGILENT TECHNOLOGIES,53220A,<Serial Number>, f.ff-b.bb-aa-p where: f.ff = Firmware revision number b.bb = Boot kernel revision number...
Page 187
The query returns an ASCII string of SCPI commands, delimited with semicolons (";") between the com- mands. Examples The following example returns the learn string. *LRN? Typical Response: A very long string of SCPI commands. See Also *RCL *SAV Keysight 53220A/53230A Programmer's Reference...
Page 188
Note the difference between the *OPC command and the *OPC? query command. The latter returns 1 to the output buffer at the completion of the current operation. Examples The following example sets the "Operation Complete" bit. *OPC See Also *OPC? Keysight 53220A/53230A Programmer's Reference...
Page 189
Complete" bit (bit 0) in the Standard Event register at the completion of the current operation. Return Format The query returns 1. Examples The following example sends "1" to the output buffer when pending operations are complete. *OPC? See Also *OPC Keysight 53220A/53230A Programmer's Reference...
Page 190
150 Pulse Microwave Measurement option installed <battery option> is one of: 0 No battery installed 300 Battery installed <GPIB option> is one of: No GPIB installed 400 GPIB installed Examples The following example returns the installed options: Keysight 53220A/53230A Programmer's Reference...
Page 191
*OPT? *OPT? Typical Response: 1,006,0,0,0 (OCXO and 6 GHz options are installed) See Also *IDN? Keysight 53220A/53230A Programmer's Reference...
Page 192
SYSTem:SECurity:IMMediate command deletes and sanitizes all stored states. Examples The following example recalls the instrument state previously stored in location 1. *RCL 1 See Also *SAV MEMory:STATe:DELete MMEMory:LOAD:STATe MMEMory:STORe:STATe Keysight 53220A/53230A Programmer's Reference...
Page 193
Factory Reset State for a complete listing of the instrument's Factory configuration. Remarks This command does not affect any previously-stored instrument states (see *SAV command). Examples The following example resets the instrument. *RST See Also SYSTem:PRESet Keysight 53220A/53230A Programmer's Reference...
Page 194
SYSTem:SECurity:IMMediate command deletes and sanitizes all stored states. Examples The following example stores the current instrument state in location 1. *SAV 1 See Also *RCL MEMory:STATe:DELete MMEMory:LOAD:STATe MMEMory:STORe:STATe Keysight 53220A/53230A Programmer's Reference...
Page 195
Request for Service (RQS) in the Status Byte. This RQS event may gen- erate a "call back" to your application as a type of asynchronous interrupt. For more information on the SCPI Status System for the Keysight 53220A/230A, see Status System Introduction.
Page 196
The following example enables bit 4 (decimal value = 16) in the enable register. *SRE 16 The following query returns which bits are enabled in the register. *SRE? Typical Response: +16 See Also *ESE *STB? STATus:OPERation:ENABle Keysight 53220A/53230A Programmer's Reference...
Page 198
Serial Poll but it is processed like any other instrument command. This is a read-only register and the bits are not cleared when you read the register. For more information on the SCPI Status System for the Keysight 53220A/230A, see Status System Introduction.
Page 199
5 (decimal value = 32) are set (and the corresponding bits are enabled), this command will return +40. Examples The following example reads the condition register (bits 3 and 5 are set). *STB? Typical Response: +40 See Also *SRE Keysight 53220A/53230A Programmer's Reference...
Page 200
After setting the trigger source, you must place the instrument in the "wait-for-trigger" state using the INITiate command. The *TRG command will not be accepted unless the instrument is in the "wait-for- trigger" state. Examples The following example triggers the instrument. TRIG:SOUR BUS INIT *TRG See Also TRIGger:SOURce Keysight 53220A/53230A Programmer's Reference...
Page 201
SCPI Error Messages. If one or more tests fail, see the KeysightKeysight 53210A/53220A/53230A 350 MHz Counter Service Guide for instructions on obtaining service. Following the *TST? command, the instrument issues a Factory Reset (*RST command).
Page 202
Remarks Configuration changes and measurements are considered pending operations. Therefore, *WAI will cause these changes to occur and completes. Examples The following example waits until all pending operations complete. *WAI See Also *OPC Keysight 53220A/53230A Programmer's Reference...
The following example makes a frequency measurement on channel 1. The input is configured for a DC- coupled 0.5V threshold with a negative slope. INP:COUP DC CONF:FREQ 1.2E6 INP:LEV .5 INP:SLOP NEG READ? Typical Response: +1.21513398300000E+006 See Also Keysight 53220A/53230A Programmer's Reference...
The following example makes a frequency measurement on channel 1. The input has the low-pass filter enabled and is configured for auto-leveling with a negative slope. INP:FILT ON CONF:FREQ 1.2E6 INP:SLOP NEG READ? Typical Response: +1.21513398300000E+006 See Also Keysight 53220A/53230A Programmer's Reference...
The query returns the input impedance in the form +5.00000000000000E+001. Examples The following example makes a frequency measurement on channel 1 The input is configured for a 50 ohm termination and auto-leveling with a negative slope. Keysight 53220A/53230A Programmer's Reference...
30% with a positive slope. (Note that CONFigure enables auto-lev- eling, but the INPut:LEVel:AUTO command is included for the example). INP:COUP AC CONF:FREQ 1.2E6 INP:LEV:AUTO ON INP:LEV:REL 30 READ? Typical Response: +1.21513398300000E+006 Keysight 53220A/53230A Programmer's Reference...
Page 209
INPut{1|2}:LEVel:AUTO See Also CONFigure INPut{1|2}:LEVel{1|2} INPut{1|2}:LEVel{1|2}:RELative MEASure? SYSTem:ALEVel:FREQuency Keysight 53220A/53230A Programmer's Reference...
Return Format The query returns the maximum input voltage in the form +1.25000000E+000. Examples The following example makes a maximum voltage measurement on channel 1. INP:LEV:MAX? Typical Response: +1.21500000E+000 See Also INPut{1|2}:PROBe SYSTem:ALEVel:FREQuency Keysight 53220A/53230A Programmer's Reference...
Return Format The query returns the minimum input voltage in the form +1.25000000E+000. Examples The following example makes a minimum voltage measurement on channel 1. INP:LEV:MIN? Typical Response: -1.21500000E+000 See Also INPut{1|2}:PROBe SYSTem:ALEVel:FREQuency Keysight 53220A/53230A Programmer's Reference...
Return Format The query returns the peak-to-peak voltage in the form +1.25000000E+000. Examples The following example makes a peak-to-peak voltage measurement on channel 1. INP:LEV:PTP? Typical Response: +2.43000000E+000 See Also INPut{1|2}:PROBe SYSTem:ALEVel:FREQuency Keysight 53220A/53230A Programmer's Reference...
When a 1:1 probe factor is selected (INPut{1|2}:PROBe set to 1), the available ranges are 5.0 and 50.0. When a 10:1 probe factor is selected (INPut{1|2}:PROBe set to 1), the available ranges are 50.0 and 500.0. Keysight 53220A/53230A Programmer's Reference...
Page 214
The following example makes a frequency measurement on channel 1. The input is configured for a DC- coupled 0.5V threshold with a negative slope. INP:COUP DC CONF:FREQ 1.2E6 INP:LEV .5 INP:SLOP NEG READ? Typical Response: +1.21513398300000E+006 See Also CONFigure INPut{1|2}:PROBe INPut{1|2}:PROTection? INPut{1|2}:LEVel:AUTO MEASure? Keysight 53220A/53230A Programmer's Reference...
The following example makes a frequency measurement on channel 1. The input is configured for an AC- coupled, auto-leveled threshold at 30% with a positive slope. (Note that CONFigure enables auto-lev- eling, but the INPut:LEVel:AUTO command is included for the example). INP:COUP AC CONF:FREQ 1.2E6 INP:LEV:AUTO ON Keysight 53220A/53230A Programmer's Reference...
Page 216
INPut{1|2}:LEVel{1|2}:RELative INP:LEV:REL 30 READ? Typical Response: +1.21513398300000E+006 See Also CONFigure INPut{1|2}:LEVel:AUTO MEASure? SYSTem:ALEVel:FREQuency Keysight 53220A/53230A Programmer's Reference...
The following example makes a frequency measurement on channel 1. The input has noise rejection enabled, and is configured auto-leveling with a negative slope. INP:NREJ ON CONF:FREQ 1.2E6 INP:SLOP NEG READ? Typical Response: +1.21513398300000E+006 See Also Keysight 53220A/53230A Programmer's Reference...
The following example makes a frequency measurement on channel 1 using a 10:1 probe. The threshold is set to 15V as referenced to the device under test. INP:PROB 10 INP:COUP DC INP:RANG 50 CONF:FREQ 1.2E6 INP:LEV 15 READ? Keysight 53220A/53230A Programmer's Reference...
Page 219
INPut{1|2}:PROBe Typical Response: +1.21513398300000E+006 See Also INPut{1|2}:LEVel INPut{1|2}:RANGe Keysight 53220A/53230A Programmer's Reference...
The query returns the current protection relay state: 0 (relay is closed) or 1 (relay has opened). Examples The following example queries the input protection on channel 1. INP1:PROT? Typical Response: 0 See Also INPut{1|2}:IMPedance INPut{1|2}:PROTection:CLEar Keysight 53220A/53230A Programmer's Reference...
(INPut {1|2}:IMPedance command). The instrument disables noise rejection after a Factory Reset (*RST command) or an Instrument Preset (SYSTem:PRESet command). Examples The following example resets the input protection on channel 1. INP:PROT:CLE See Also INPut{1|2}:IMPedance INPut{1|2}:PROTection? Keysight 53220A/53230A Programmer's Reference...
The query returns the input range in the form +5.00000000E+000. Examples The following example makes a frequency measurement on channel 1. The input is configured for the 50V range and a DC-coupled 12V threshold with a negative slope. INP:RANG 50 INP:COUP DC Keysight 53220A/53230A Programmer's Reference...
The following example makes a frequency measurement on channel 1. The input is configured for a DC- coupled 0.5V threshold with a negative slope. INP:COUP DC CONF:FREQ 1.2E6 INP:LEV .5 INP:SLOP NEG READ? Typical Response: +1.21513398300000E+006 See Also CONFigure MEASure? Keysight 53220A/53230A Programmer's Reference...
Range of Values Default Value <value> Numeric -6 or -12 dB Remarks Available only on the Keysight 53230A. Requires option 150. The instrument sets the pulse envelope threshold to -6 dB after a Factory Reset (*RST command) or an Instrument Preset (SYSTem:PRESet command).
Page 226
The query returns the pulse envelope threshold voltage in the form -6.00000000E+000. Examples The following example makes a positive ("on time") width measurement of a pulsed input signal on chan- nel 3 at a -12 dB threshold . CONF:PWID:BURS INP3:BURS:LEV -12 READ? Typical Response: +1.21513000000000E-006 See Also Keysight 53220A/53230A Programmer's Reference...
(> +19 dBm). Signal levels ≥ +27 dBM may damage the instrument. Return Format The query returns the relative input signal strength in the form +1. Examples The following example makes a relative strength measurement on channel 3. INP3:STR? Typical Response: +3 See Also Keysight 53220A/53230A Programmer's Reference...
Instru- ment Preset (SYSTem:PRESet command). Return Format The query returns the current LAN Status Indicator state: 0 (OFF) or 1 (ON). Examples The following example turns on the LAN Status Indicator. LXI:IDEN ON See Also Keysight 53220A/53230A Programmer's Reference...
SYSTem:SECur- ity:IMMediate command. Return Format The query returns the current mDNS enable state: 0 (OFF) or 1 (ON). Examples The following example turns on mDNS. LXI:MDNS:ENAB ON See Also Keysight 53220A/53230A Programmer's Reference...
The resolved mDNS hostname is in the form A-53220A-<serial>-N (Keysight 53220A) or A-53230A- <serial>-N (Keysight 53230A), where < serial > is the last 5 digits of the instrument's serial number. The - N, where N is an integer, is include only if necessary to make the name unique.
Instrument Preset (SYSTem:PRESet com- mand). The desired mDNS service name is set to "Keysight 53220A Universal Frequency Counter/Timer - <serial_ number>" (Keysight 53220A) or "Keysight 53230A Universal Frequency Counter/Timer - <serial_ number>" (Keysight 53230A), where <serial number > is the instrument's serial number, when the instru-...
The query returns the resolved mDNS service name as an ASCII string enclosed in double quotes. Examples The following example queries the resolved mDNS service name. LXI:MDNS:SNAM:RES? Typical Response: "Keysight 53230A Universal Frequency Counter/Timer - MY00000123" See Also LXI:MDNS:ENABle LXI:MDNS:SNAMe:DESired...
If the LAN interface or specific LAN services (VXI-11, sockets, ...) have been disabled by SYSTem:COMMunicate:ENABle, you must separately reenable the interface or services and power cycle the instrument for LAN to be operational. Examples The following example reset the LAN interface. LXI:RES See Also SYSTem:COMMunicate:ENABle Keysight 53220A/53230A Programmer's Reference...
If the LAN interface or specific LAN services (VXI-11, sockets, ...) have been disabled by SYSTem:COMMunicate:ENABle, you must separately reenable the interface or services and power cycle the instrument for LAN to be operational. Examples The following example restart the LAN interface. LXI:REST See Also SYSTem:COMMunicate:ENABle SYSTem:COMMunicate:LAN:UPDate Keysight 53220A/53230A Programmer's Reference...
Range, low-pass filtering, coupling, impedance, noise rejec- tion are unchanged. See the MEASure? commands for the different meas- urement functions for information about level and slope. Frequency Mode AUTO for frequency, frequency ratio, or average period, PRF or PRI measurements. Unchanged otherwise. Keysight 53220A/53230A Programmer's Reference...
Page 238
The default resolution is used for the measurement. MEAS:FREQ? 1.0E6 Typical Response: +1.03460000000000E+006 Keysight 53220A/53230A Programmer's Reference...
<channel(s)> Expression(s) (@1) | (@2) | (@3) (@1) Remarks Available only on the Keysight 53230A. Note the parentheses around the <count> parameter. These are required by the SCPI standard. For channel 1 or 2, the input channel is configured for auto-leveling at 50% with a positive slope.
Page 241
The following example configures the instrument to make 1,000 timestamp measurements on channel 1, makes the measurements, and then transfers the prescaler value followed by the measurements to the instrument output buffer. MEAS:ARR:TST? (1000) Typical Response: +100,+5.10520000000000E-006,+5.10370000000000E-006, ..(1,000 timestamps) See Also CONFigure? FETCh? READ? Keysight 53220A/53230A Programmer's Reference...
INPut:SLOPe) with auto-leveling disabled. As defined in the SCPI standard, < resolution > must be specified in absolute frequency (hertz), not as a fraction of the input signal frequency. The gate source (see SENSe:FREQuency:GATE:SOURCE) is set to TIME. Keysight 53220A/53230A Programmer's Reference...
Page 243
The following example configures the instrument for 10-digit frequency measurements of an approx- imately 1.2 MHz signal on channel 2, makes one measurement, and then transfers the measurement to the instrument output buffer. MEAS:FREQ? 1.2E6,1e-4,(@2) Typical Response: +1.21513398300000E+006 See Also CONFigure? FETCh? READ? Keysight 53220A/53230A Programmer's Reference...
Expression (@3) (@3) Remarks Available only on the Keysight 53230A. Requires option 150. CONFigure and MEASure disable narrow burst mode. Because of this, MEASure:FREQuency:BURSt? will return 9.91E37 (Not a Number) for bursts shorter than 10 microseconds. For such bursts, you...
Expression (@3) (@3) Remarks Available only on the Keysight 53230A. Requires option 150. As defined in the SCPI standard, < resolution > must be specified in absolute frequency (hertz), not as a fraction of the input signal frequency. The gate source (see SENSe:FREQuency:GATE:SOURCE) is set to TIME.
Page 248
The following example configures the instrument for 10-digit pulse repetition frequency measurements of an approximately 1.2 MHz pulsed signal on channel 2, makes one measurement, and then transfers the measurement to the instrument output buffer. MEAS:FREQ:PRF? 1.2E6,1e-4,(@2) Typical Response: +1.21513398300000E+006 See Also CONFigure? FETCh? READ? SENSe:FREQuency:GATE:SOURce SENSe:FREQuency:GATE:TIME Keysight 53220A/53230A Programmer's Reference...
Expression (@3) (@3) Remarks Available only on the Keysight 53230A. Requires option 150. As defined in the SCPI standard, < resolution > must be specified in absolute frequency (hertz), not as a fraction of the input signal frequency. The gate source (see SENSe:FREQuency:GATE:SOURCE) is set to TIME.
Page 250
The following example configures the instrument for 10-digit pulse repetition interval measurements of an approximately 1.2 MHz pulsed signal on channel 3, makes one measurement, and then transfers the measurement to the instrument output buffer. MEAS:FREQ:PRI? 0.833E-6,1e-16,(@3) Typical Response: +8.33337934613473E-007 See Also CONFigure? FETCh? READ? SENSe:FREQuency:GATE:SOURce SENSe:FREQuency:GATE:TIME Keysight 53220A/53230A Programmer's Reference...
1.0E-15 * <expected> to Value corresponding to 1.0E-5* <expected> .1 second gate time MIN = 1.0E-15 * <expected> MAX = 1.0E-5 * <expected> <channel_pair> Pair of (@1),(@2) | (@1),(@3) | (@1),(@2) Expressions (@2),(@1) | (@2),(@3) | (@3),(@1) | (@3),(@2) Keysight 53220A/53230A Programmer's Reference...
Page 252
The following example configures the instrument for frequency ratio measurements between channel 1 and channel 2 using default parameters, makes one measurement, and then transfers the measurement to the instrument output buffer. MEAS:FREQ:RAT? Typical Response: +1.00230000000000E+001 Keysight 53220A/53230A Programmer's Reference...
Page 253
The following example configures the instrument for 10-digit frequency ratio measurements between channel 2 and channel 1, makes one measurement, and then transfers the measurement to the instru- ment output buffer. MEAS:FREQ:RAT? 1.2,1e-10,(@2),(@1) Typical Response: +1.21513398300000E+001 See Also CONFigure? FETCh? READ? SENSe:FREQuency:GATE:SOURce SENSe:FREQuency:GATE:TIME Keysight 53220A/53230A Programmer's Reference...
(see SYSTem:ALEVel:FREQuency command). If <lower_reference> is greater than <upper_reference>, no error is generated, but the measurement res- ult is undefined. Keysight 53220A/53230A Programmer's Reference...
Page 255
The following example configures the instrument for fall time measurements on channel 2 with 20% and 80% reference levels, makes one measurement, and then transfers the measurement to the instrument output buffer. MEAS:FTIM? 20,80,(@2) Typical Response: +5.02573000000000E-006 See Also CONFigure? FETCh? READ? Keysight 53220A/53230A Programmer's Reference...
The query returns a single measurement as a fraction (not as percent). The format of the measurement is controlled by the FORMat Subsystem commands. Examples The following example configures the instrument for duty cycle measurements on channel 1 using default parameters, makes one measurement, and then transfers the measurement to the instrument output Keysight 53220A/53230A Programmer's Reference...
Page 257
The following example configures the instrument for duty cycle measurements on channel 2 with a 1.2V reference level, makes one measurement, and then transfers the measurement to the instrument output buffer. MEAS:NDUT? 1.2V,(@2) Typical Response: +4.82342300000000E-001 See Also CONFigure? FETCh? READ? Keysight 53220A/53230A Programmer's Reference...
The query returns a single measurement. The format of the measurement is controlled by the FORMat Subsystem commands. Examples The following example configures the instrument for pulse width measurements on channel 1 using default parameters, makes one measurement, and then transfers the measurement to the instrument Keysight 53220A/53230A Programmer's Reference...
Page 259
The following example configures the instrument for pulse width measurements on channel 2 with a 1.2V reference level, makes one measurement, and then transfers the measurement to the instrument output buffer. MEAS:NWID? 1.2V,(@2) Typical Response: +4.82342300000000E-006 See Also CONFigure? FETCh? READ? Keysight 53220A/53230A Programmer's Reference...
Type Range of Values Default Value <channel> Expression (@3) (@3) Remarks Available only on the Keysight 53230A. Requires option 150. Return Format The query returns a single measurement. The format of the measurement is controlled by the FORMat Subsystem commands.
The query returns a single measurement as a fraction (not as percent). The format of the measurement is controlled by the FORMat Subsystem commands. Examples The following example configures the instrument for duty cycle measurements on channel 1 using default parameters, makes one measurement, and then transfers the measurement to the instrument output Keysight 53220A/53230A Programmer's Reference...
Page 262
The following example configures the instrument for duty cycle measurements on channel 2 with a 1.2V reference level, makes one measurement, and then transfers the measurement to the instrument output buffer. MEAS:PDUT? 1.2V,(@2) Typical Response: +4.82342300000000E-001 See Also CONFigure? FETCh? READ? Keysight 53220A/53230A Programmer's Reference...
(see INPut:LEVel and INPut:SLOPe) with auto-leveling disabled. As defined in the SCPI standard, < resolution > must be specified in absolute time (seconds), not as a frac- tion of the input signal period. Keysight 53220A/53230A Programmer's Reference...
Page 264
The following example configures the instrument for 4-digit average period measurements of an approx- imately 250 MHz signal on channel 2, makes one measurement, and then transfers the measurement to the instrument output buffer. MEAS:PER? 4e-9,1e-12,(@2) Typical Response: +4.03337934613473E-009 See Also CONFigure? MEASure:SPERiod? Keysight 53220A/53230A Programmer's Reference...
MEAS:PHAS? Typical Response: +5.10520000000000E+001 The following example configures the instrument for phase measurements from channel 2 to channel 1, makes one measurement, and then transfers the measurement to the instrument output buffer. MEAS:PHAS? (@2),(@1) Keysight 53220A/53230A Programmer's Reference...
Page 267
MEASure:PHASe? Typical Response: +4.82342300000000E+001 See Also CONFigure? FETCh? READ? Keysight 53220A/53230A Programmer's Reference...
The query returns a single measurement. The format of the measurement is controlled by the FORMat Subsystem commands. Examples The following example configures the instrument for pulse width measurements on channel 1 using default parameters, makes one measurement, and then transfers the measurement to the instrument Keysight 53220A/53230A Programmer's Reference...
Page 269
The following example configures the instrument for pulse width measurements on channel 2 with a 1.2V reference level, makes one measurement, and then transfers the measurement to the instrument output buffer. MEAS:PWID? 1.2V,(@2) Typical Response: +4.82342300000000E-006 See Also CONFigure? FETCh? READ? Keysight 53220A/53230A Programmer's Reference...
Type Range of Values Default Value <channel> Expression (@3) (@3) Remarks Available only on the Keysight 53230A. Requires option 150. Return Format The query returns a single measurement. The format of the measurement is controlled by the FORMat Subsystem commands.
(see SYSTem:ALEVel:FREQuency command). If <lower_reference> is greater than <upper_reference>, no error is generated, but the measurement res- ult is undefined. Keysight 53220A/53230A Programmer's Reference...
Page 272
The following example configures the instrument for rise time measurements on channel 2 with 20% and 80% reference levels, makes one measurement, and then transfers the measurement to the instrument output buffer. MEAS:RTIM? 20,80,(@2) Typical Response: +5.02573000000000E-006 See Also CONFigure? FETCh? READ? Keysight 53220A/53230A Programmer's Reference...
Subsystem commands. Examples The following example configures the instrument for single-period measurements on channel 1 using default parameters, makes one measurement, and then transfers the measurement to the instrument out- put buffer. MEAS:SPER? Typical Response: +1.00230000000000E-007 Keysight 53220A/53230A Programmer's Reference...
Page 274
MEASure:SPERiod? See Also CONFigure? MEASure:PERiod? FETCh? READ? SENSe:TINTerval:GATE:SOURce Keysight 53220A/53230A Programmer's Reference...
The following example configures the instrument for time interval measurements from channel 1 to chan- nel 2, makes one measurement, and then transfers the measurements to the instrument output buffer. MEAS:TINT? (@1),(@2) READ? Typical Response: +5.10520000000000E-006 Keysight 53220A/53230A Programmer's Reference...
Page 276
MEASure:TINTerval? See Also CONFigure? FETCh? READ? SENSe:TINTerval:GATE:SOURce Keysight 53220A/53230A Programmer's Reference...
MEAS:TOT:TIM? Typical Response: +5.10500000000000E+003 The following example configures the instrument for 1 second timed totalize measurements on channel 2, makes one measurement, and then transfers the measurement to the instrument output buffer. Keysight 53220A/53230A Programmer's Reference...
MEMory:NSTates? MEMory:NSTates? Syntax MEMory:NSTates? Description This command returns the total number of memory locations available for state storage. This command always returns +5 (memory location 0 is included). Return Format The query returns +5. See Also Keysight 53220A/53230A Programmer's Reference...
MEMory:STATe:DELete MEMory:STATe:DELete:ALL commands delete, but do not sanitize, stored states. SYSTem:SECurity:IMMediate command deletes and sanitizes all stored states. Examples The following example deletes the contents of storage location 1. MEM:STAT:DEL 1 See Also *SAV *RCL MEMory:STATe:DELete:ALL Keysight 53220A/53230A Programmer's Reference...
MEMory:STATe:DELete:ALL commands delete, but do not sanitize, stored states. SYSTem:SECurity:IMMediate command deletes and sanitizes all stored states. Examples The following example deletes the contents of storage locations 0 through 4. MEM:STAT:DEL:ALL See Also *SAV *RCL MEMory:STATe:DELete Keysight 53220A/53230A Programmer's Reference...
The following example saves the current state in file MyFreqMeas.sta in the root directory of the internal flash file system and selects it to be used at power-on. MMEM:STOR:STAT "INT:\MyFreqMeas" MEM:STAT:REC:SEL "INT:\MyFreqMeas" MEM:STAT:REC:AUTO ON See Also MEMory:STATe:RECall:SELect Keysight 53220A/53230A Programmer's Reference...
The query returns which instrument state will be used at power on: 0, 1, 2, 3, or 4. Examples The following example saves the current state in state 2 and selects it to be used at power-on. *SAV 2 MEM:STAT:REC:SEL 2 MEM:STAT:REC:AUTO ON Keysight 53220A/53230A Programmer's Reference...
Page 286
The following example saves the current state in file MyFreqMeas.sta in the root directory of the internal flash file system and selects it to be used at power-on. MMEM:STOR:STAT "INT:\MyFreqMeas" MEM:STAT:REC:SEL "INT:\MyFreqMeas" MEM:STAT:REC:AUTO ON See Also MEMory:STATe:RECall:AUTO *SAV Keysight 53220A/53230A Programmer's Reference...
The query returns 0 if no state has been stored or if it has been deleted. It returns 1 if a valid state is stored in this location. Example The following example returns the state of storage location 3. MEM:STAT:VAL? 3 Typical Response: 0 See Also *RCL *SAV Keysight 53220A/53230A Programmer's Reference...
<file_type> is either STAT for STATe (.sta) files, ASC for DATA (.csv) files, FOLD for folders, or PREF for user preferences (.prf) files, null for all other file extensions; <file_size> is the size of the file in bytes. Keysight 53220A/53230A Programmer's Reference...
Page 290
<mem_used> value will not be zero even if no user files exist on the drive. Examples The following example returns a list of all files in the folder MyData on the front panel USB storage device. MMEM:CAT? "USB:\MyData" Typical Response: +1000000000,+327168572,"- command.exe,,375808","MyFreqMeas.sta,STAT,8192","Abc.csv,ASC,11265" See Also MMEMory:CATalog:DATA? MMEMory:CATalog:STATe? MMEMory:CDIRectory Keysight 53220A/53230A Programmer's Reference...
<file_type> is either STAT for STATe (.sta) files, ASC for DATA (.csv) files, FOLD for folders, or null for all other file extensions; <file_size> is the size of the file in bytes. If no data files exist, only <mem_used>,<mem_free> is returned. Keysight 53220A/53230A Programmer's Reference...
Page 292
<mem_used> value will not be zero even if no user files exist on the drive. Examples The following example returns a list of all data files in the folder MyData on the front panel USB storage device. MMEM:CAT:DATA? "USB:\MyData" Typical Response: +1000000000,+327168572,"Abc.csv,ASC,11265" See Also MMEMory:CATalog:ALL? MMEMory:CDIRectory MMEMory:STORe:DATA Keysight 53220A/53230A Programmer's Reference...
<file_type> is either STAT for STATe (.sta) files, ASC for DATA (.csv) files, FOLD for folders, or null for all other file extensions; <file_size> is the size of the file in bytes. If no state files exist, only <mem_used>,<mem_free> is returned. Keysight 53220A/53230A Programmer's Reference...
Page 294
<mem_used> value will not be zero even if no user files exist on the drive. Examples The following example returns a list of all state files in the folder MyData on the front panel USB storage device. MMEM:CAT? "USB:\MyData" Typical Response: +1000000000,+327168572,"MyFreqMeas.sta,STAT,8192" See Also MMEMory:CATalog:ALL? MMEMory:CDIRectory MMEMory:STORe:STATe Keysight 53220A/53230A Programmer's Reference...
The following example selects the folder "\Backup" on the internal flash file system as the default folder for MMEMory subsystem commands. MMEM:CDIR "INT:\Backup" The following example returns the default folder for MMEMory subsystem commands. MMEM:CDIR? Typical Response: "\" Keysight 53220A/53230A Programmer's Reference...
Page 296
MMEMory:CDIRectory See Also MMEMory:CATalog? MMEMory:CATalog:DATA? MMEMory:CATalog:STATe? MMEMory:COPY MMEMory:DELete MMEMory:LOAD:STATe MMEMory:MOVE MMEMory:STORe:DATA MMEMory:STORe:STATe Keysight 53220A/53230A Programmer's Reference...
To copy a file to a file of the same name in a different folder, you can specify just the <drive> and/or <path> for <file2>. Examples The following example copies the state file MyFreqMeas.sta from the root directory to the folder "Backup" on the internal flash file system. MMEM:COPY "INT:\MyFreqMeas.sta","INT:\Backup" See Also MMEMory:CDIRectory MMEMory:MOVE Keysight 53220A/53230A Programmer's Reference...
This command deletes files. To delete a folder, use the MMEMory:RDIRectory command. Examples The following example deletes the state file MyFreqMeas.sta from the root directory of the internal flash file system. MMEM:DEL "INT:\MyFreqMeas.sta" See Also MMEMory:CDIRectory Keysight 53220A/53230A Programmer's Reference...
<block> can be an IEEE 488.2 definite- or indefinite-length block. Examples The following example writes the word "Hello" to the file "\Myfile" on the internal flash file system. MMEM:DOWN:FNAM "INT:\Myfile" MMEM:DOWN:DATA #15Hello See Also MMEMory:DOWNload:FNAMe MMEMory:UPLoad? Keysight 53220A/53230A Programmer's Reference...
The query returns the file name as a quoted string. Examples The following example writes the word "Hello" to the file "\Myfile" on the internal flash file system. MMEM:DOWN:FNAM "INT:\Myfile" MMEM:DOWN:DATA #15Hello See Also MMEMory:DOWNload:DATA MMEMory:UPLoad? Keysight 53220A/53230A Programmer's Reference...
SENSe:ROSCillator:SOURce SENSe:ROSCillator:SOURce:AUTO SYSTem:ALEVel:FREQuency SYSTem:BATTery:ENABle SYSTem:BEEPer:STATe SYSTem:LANGuage SYSTem:TIMeout Examples The following example loads nonvolatile I/O settings and user preferences from the state file MyPrefer- ences.prf in the root directory of the internal flash file system. MMEM:LOAD:PREF "INT:\MyPreferences" Keysight 53220A/53230A Programmer's Reference...
Page 302
MMEMory:LOAD:PREFerences See Also MMEMory:CDIRectory MMEMory:STORe:PREFerences Keysight 53220A/53230A Programmer's Reference...
The specified file cannot be marked as hidden or system. Examples The following example loads the instrument state from the state file MyFreqMeas.sta in the root directory of the internal flash file system. MMEM:LOAD:STAT "INT:\MyFreqMeas" See Also MMEMory:CDIRectory MMEMory:STORe:STATe Keysight 53220A/53230A Programmer's Reference...
Any intermediate folders must exist and cannot be marked as hidden or system. This command will only create the last folder in <folder>. Examples The following example creates the folder "\Backup" on the internal flash file system. MMEM:MDIR "INT:\Backup" See Also MMEMory:CDIRectory MMEMory:RDIRectory Keysight 53220A/53230A Programmer's Reference...
To move a file to a file of the same name in a different folder, you can specify just the <drive>:<path> for <file2>. Examples The following example moves the state file MyFreqMeas.sta from the currently selected default directory to the folder "Backup" on the internal flash file system. MMEM:MOVE "MyFreqMeas.sta","INT:\Backup" See Also MMEMory:CDIRectory MMEMory:COPY Keysight 53220A/53230A Programmer's Reference...
The folder must be empty (no files stored in the folder). You cannot delete the folder selected by MMEMory:CDIRectory. Examples The following example removes the folder "\Backup" on the internal flash file system. MMEM:RDIR "INT:\Backup" See Also MMEMory:CDIRectory Keysight 53220A/53230A Programmer's Reference...
If the destination file exists, it will be overwritten, unless marked as a hidden or system file. Examples The following example stores all measurements in the reading memory to the data file MyFreqMeas.csv in the root directory of the internal flash file system. MMEM:STOR:DATA RDG_STORE,"INT:\MyFreqMeas" See Also MMEMory:CATalog:DATA? MMEMory:CDIRectory Keysight 53220A/53230A Programmer's Reference...
MEMory:STATe:RECall:SELect SENSe:ROSCillator:EXTernal:FREQuency SENSe:ROSCillator:INTernal:POWer:STANdby SENSe:ROSCillator:SOURce SENSe:ROSCillator:SOURce:AUTO SYSTem:ALEVel:FREQuency SYSTem:BATTery:ENABle SYSTem:BEEPer:STATe SYSTem:LANGuage SYSTem:TIMeout Examples The following example stores the current instrument state to the state file MyPreferences.prf in the root directory of the internal flash file system. MMEM:STOR:PREF "INT:\MyFreqMeas" Keysight 53220A/53230A Programmer's Reference...
Page 309
MMEMory:STORe:PREFerences See Also MMEMory:CDIRectory MMEMory:LOAD:PREFerences Keysight 53220A/53230A Programmer's Reference...
If the destination file exists, it will be overwritten, unless marked as a hidden or system file. Examples The following example stores the current instrument state to the state file MyFreqMeas.sta in the root dir- ectory of the internal flash file system. MMEM:STOR:STAT "INT:\MyFreqMeas" See Also *SAV MMEMory:CDIRectory MMEMory:LOAD:STATe Keysight 53220A/53230A Programmer's Reference...
The following example uploads the contents of the state file "Myfile.sta" in the root directory of the internal flash file system to the host computer. MMEM:UPL? "INT:\Myfile.sta" Typical Response: A definite length binary block containing the file contents See Also MMEMory:DOWNload Keysight 53220A/53230A Programmer's Reference...
(SYSTem:PRESet command). Return Format The query returns the output polarity: NORM or INV. Examples The following example enables generation of a negative-going measurement compete on the Gate In/Out BNC. OUTP:STAT ON OUTP:SLOP INV See Also OUTPut:STATe Keysight 53220A/53230A Programmer's Reference...
Trig In BNC on the counter, and the Gate In/Out BNC on the counter should be connected to the Channel Advance input on the multiplexer. CONF:FREQ 1.0E6,.001 TRIG:COUN 100;SOUR EXT;SLOP NEG OUTP:STAT ON;POL INV INIT <wait for all channels to be scanned> FETC? Typical Response: +5 Keysight 53220A/53230A Programmer's Reference...
Page 315
OUTPut:STATe See Also OUTPut:POLarity Keysight 53220A/53230A Programmer's Reference...
READ? INITiate[:IMMediate] command. The instrument sets the sample count to 1 after a Factory Reset ( *RST command) or a Preset (SYSTem:PRESet command). Return Format The query returns the sample count in the form +1. Keysight 53220A/53230A Programmer's Reference...
Page 318
The following example returns 10 sets of 5 frequency measurements on channel 1, using an external trig- ger to start each set of measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 5 TRIG:COUN 10 TRIG:SOUR EXT READ? Typical Response: +1.00520000000000E+006, ... (50 measurements) See Also TRIGger:COUNt Keysight 53220A/53230A Programmer's Reference...
TOTalize [{1 | 2}] On the Keysight 53230A, the following additional measurement functions are available: TSTamp [{1 | 2 | 3}] On the Keysight 53230A with option 150, the following additional measurement functions are available: FREQuency:BURSt [3] FREQuency:PRF [3] FREQuency:PRI [3]...
Page 323
The following example sets the function to measure frequency on channel 2 (double or single quotes are allowed). or FUNC 'FREQ 2' FUNC "FREQ 2" The following example returns the function selected (the quotes are also returned). FUNC? Typical Response: "FREQ 2" See Also CONFigure MEASure? Keysight 53220A/53230A Programmer's Reference...
SAMPle:COUNt measurements have been made. The instrument sets the gate source to TIME after a Factory Reset (*RST command) or an Instrument Preset (SYSTem:PRESet command). Keysight 53220A/53230A Programmer's Reference...
Page 325
The following example makes an internally-gated frequency measurement on channel 1 with a 1 second gate time: CONF:FREQ 1.2E6 FREQ:GATE:SOUR TIME FREQ:GATE:TIME 1.0 READ? Typical Response: +1.21513398300000E+006 See Also SENSe:FREQuency:GATE:TIME SENSe:FREQuency:GATE:POLarity SENSe:GATE:STARt:SOURce SENSe:GATE:STARt:SLOPe SENSe:GATE:STARt:DELay:SOURce SENSe:GATE:STARt:DELay:EVENts SENSe:GATE:STARt:DELay:TIME SENSe:GATE:STOP:SOURce SENSe:GATE:STOP:SLOPe SENSe:GATE:STOP:HOLDoff:SOURce SENSe:GATE:STOP:HOLDoff:EVENts SENSe:GATE:STOP:HOLDoff:TIME Keysight 53220A/53230A Programmer's Reference...
Type Range of Values Default Value <time> Numeric 100 usec to 1000 sec with .1 sec 10 usec resolution (Keysight 53220A) 1 usec to 1000 sec with 1 usec resolution (Keysight 53230A) MIN = 100 usec (Keysight 53220A) MIN = 1 usec (Keysight 53230A) MAX = 1000 sec...
Page 327
SENSe:FREQuency:GATE:TIME See Also SENSe:FREQuency:GATE:SOURce Keysight 53220A/53230A Programmer's Reference...
The following example makes a frequency measurement on channel 1 using external gating. The gate opens on a negative edge on the Gate In/Out BNC, and closes on the next positive edge: CONF:FREQ 1.2E6 FREQ:GATE:SOUR EXT FREQ:GATE:POL NEG READ? Typical Response: +1.21513398300000E+006 See Also SENSe:FREQuency:GATE:SOURce Keysight 53220A/53230A Programmer's Reference...
The query returns the frequency measurement mode: AUTO, REC, or CONT. Examples The following example makes a frequency measurement on channel 1 with a 1 second gate time using the reciprocal measurement technique: CONF:FREQ 1.2E6 FREQ:GATE:SOUR TIME FREQ:GATE:TIME 1.0 Keysight 53220A/53230A Programmer's Reference...
Page 330
SENSe:FREQuency:MODE FREQ:MODE REC READ? Typical Response: +1.21513398300000E+006 See Also Keysight 53220A/53230A Programmer's Reference...
When manual control, the gate window must be fully within the pulse envelope; oth- erwise, the measurement results will be unpredictable. Remarks Available only on the Keysight 53230A. Requires option 150. Automatic gate setup selection is always used for narrow pulse mode measurements (SENSe:FREQuency:BURSt:GATE:NARRow ON set).
Page 332
SENSe:FREQuency:BURSt:GATE:AUTO See Also SENSe:FREQuency:BURSt:GATE:DELay SENSe:FREQuency:BURSt:GATE:NARRow SENSe:FREQuency:BURSt:GATE:TIME Keysight 53220A/53230A Programmer's Reference...
10 nsec resolution MIN = 0.0 MAX = 10 sec Remarks Available only on the Keysight 53230A. Requires option 150. The instrument sets the gate open delay time to 0.0 (no delay) after a Factory Reset (*RST command) or an Instrument Preset (SYSTem:PRESet command).
Page 334
SENSe:FREQuency:BURSt:GATE:DELay FREQ:BURS:GATE:TIME 3E-6 READ? Typical Response: +1.00230000000000E+009 See Also SENSe:GATE:STARt:DELay:SOURce Keysight 53220A/53230A Programmer's Reference...
(pulse frequency). Narrow pulse mode must be enabled for bursts with a duration of 10 microseconds or less; it must be disabled for bursts with a duration longer than 20 microseconds. Remarks Available only on the Keysight 53230A. Requires option 150. Automatic gate setup selection (see SENSe:FREQuency:BURSt:GATE:AUTO) is always used for narrow pulse mode measurements.
1 usec 10 nsec resolution MIN = 1 usec MAX = 1000 sec Remarks Available only on the Keysight 53230A. Requires option 150. The instrument sets the gate time to 1 usec after a Factory Reset (*RST command) or an Instrument Pre- (SYSTem:PRESet command).
Page 337
SENSe:FREQuency:BURSt:GATE:TIME FREQ:BURS:GATE:TIME 3E-6 READ? Typical Response: +1.00230000000000E+009 See Also SENSe:GATE:STARt:DELay:SOURce Keysight 53220A/53230A Programmer's Reference...
The instrument sets the gate source to the Gate In/Out BNC after a Factory Reset (*RST command) or an Instrument Preset (SYSTem:PRESet command). Return Format The query returns the external gate source: BNC, INP, or INP2. Keysight 53220A/53230A Programmer's Reference...
The following example makes a frequency measurement on channel 1. The gate opens on a negative edge on the Gate In/Out BNC, and closes .25 seconds later: CONF:FREQ 1.2E6 FREQ:GATE:SOUR ADV GATE:STAR:SOUR EXT GATE:STAR:SLOP NEG GATE:STOP:SOUR EXT GATE:STOP:SLOP POS GATE:STOP:HOLD:SOUR TIME GATE:STOP:HOLD:TIME .25 GATE:EXT:SOUR BNC READ? Typical Response: +1.21513398300000E+006 Keysight 53220A/53230A Programmer's Reference...
Page 341
SENSe:GATE:STARt:SOURce See Also SENSe:GATE:EXTernal:SOURce SENSe:FREQuency:GATE:SOURce SENSe:TINTerval:GATE:SOURce SENSe:TOTalize:GATE:SOURce SENSe:GATE:STARt:SLOPe Keysight 53220A/53230A Programmer's Reference...
The following example makes a frequency measurement on channel 1. The gate opens on a negative edge on the Gate In/Out BNC, and closes .25 seconds later: CONF:FREQ 1.2E6 FREQ:GATE:SOUR ADV GATE:STAR:SOUR EXT GATE:STAR:SLOP NEG GATE:STOP:SOUR IMM GATE:STOP:HOLD:SOUR TIME GATE:STOP:HOLD:TIME .25 GATE:EXT:SOUR BNC READ? Typical Response: +1.21513398300000E+006 See Also SENSe:FREQuency:GATE:SOURce SENSe:TINTerval:GATE:SOURce Keysight 53220A/53230A Programmer's Reference...
Gate In/Out BNC, and, after .25 seconds, closes on the next positive edge on the BNC. CONF:FREQ 1.2E6 FREQ:GATE:SOUR ADV GATE:STAR:SOUR EXT GATE:STAR:SLOP NEG GATE:STAR:DEL:SOUR TIME GATE:STAR:DEL:TIME .1 GATE:STOP:SOUR EXT GATE:STOP:SLOP POS GATE:STOP:HOLD:SOUR TIME Keysight 53220A/53230A Programmer's Reference...
Page 345
SENSe:GATE:STARt:DELay:SOURce GATE:STOP:HOLD:TIME .25 GATE:EXT:SOUR BNC READ? Typical Response: +1.21513398300000E+006 See Also SENSe:GATE:STARt:DELay:EVENts SENSe:GATE:STARt:DELay:TIME Keysight 53220A/53230A Programmer's Reference...
Gate In/Out BNC, and, after .25 seconds, closes on the next positive edge on the BNC. CONF:FREQ 1.2E6 FREQ:GATE:SOUR ADV GATE:STAR:SOUR EXT GATE:STAR:SLOP NEG GATE:STAR:DEL:SOUR EVEN GATE:STAR:DEL:EVEN 5 GATE:STOP:SOUR EXT GATE:STOP:SLOP POS GATE:STOP:HOLD:SOUR TIME Keysight 53220A/53230A Programmer's Reference...
Page 347
SENSe:GATE:STARt:DELay:EVENts GATE:STOP:HOLD:TIME .25 GATE:EXT:SOUR BNC READ? Typical Response: +1.21513398300000E+006 See Also SENSe:GATE:STARt:DELay:SOURce Keysight 53220A/53230A Programmer's Reference...
Type Range of Values Default Value <time> Numeric 0.0 to 10 sec with 10 usec resolution (Keysight 53220A) 10 nsec resolution (Keysight 53230A) MIN = 0.0 MAX = 10 sec Remarks The instrument sets the gate open delay time to 0.0 (no delay) after a Factory Reset...
Page 349
SENSe:GATE:STARt:DELay:TIME Typical Response: +1.21513398300000E+006 See Also SENSe:GATE:STARt:DELay:SOURce Keysight 53220A/53230A Programmer's Reference...
The following example makes a frequency measurement on channel 1. The gate opens on a negative edge on the Gate In/Out BNC, and, after .25 seconds, closes on the next positive edge on the BNC. CONF:FREQ 1.2E6 FREQ:GATE:SOUR ADV GATE:STAR:SOUR EXT GATE:STAR:SLOP NEG GATE:STOP:SOUR EXT GATE:STOP:SLOP POS GATE:STOP:HOLD:SOUR TIME GATE:STOP:HOLD:TIME .25 Keysight 53220A/53230A Programmer's Reference...
Page 351
SENSe:GATE:STOP:SOURce GATE:EXT:SOUR BNC READ? Typical Response: +1.21513398300000E+006 See Also SENSe:GATE:EXTernal:SOURce SENSe:FREQuency:GATE:SOURce SENSe:TINTerval:GATE:SOURce SENSe:TOTalize:GATE:SOURce SENSe:GATE:STOP:SLOPe Keysight 53220A/53230A Programmer's Reference...
The following example makes a frequency measurement on channel 1. The gate opens .1 sec after a neg- ative edge on the Gate In/Out BNC, and, after .25 seconds, closes on the next positive edge on the BNC. CONF:FREQ 1.2E6 FREQ:GATE:SOUR ADV GATE:STAR:SOUR EXT GATE:STAR:SLOP NEG GATE:STAR:DEL:SOUR TIME GATE:STAR:DEL:TIME .1 GATE:STOP:SOUR EXT Keysight 53220A/53230A Programmer's Reference...
Page 355
SENSe:GATE:STOP:HOLDoff:SOURce GATE:STOP:SLOP POS GATE:STOP:HOLD:SOUR TIME GATE:STOP:HOLD:TIME .25 GATE:EXT:SOUR BNC READ? Typical Response: +1.21513398300000E+006 See Also SENSe:GATE:STOP:HOLDoff:EVENts SENSe:GATE:STOP:HOLDoff:TIME Keysight 53220A/53230A Programmer's Reference...
Gate In/Out BNC, and, after 5 events on the input signal, closes on the next positive edge on the BNC. CONF:FREQ 1.2E6 FREQ:GATE:SOUR ADV GATE:STAR:SOUR EXT GATE:STAR:SLOP NEG GATE:STAR:DEL:SOUR TIME GATE:STAR:DEL:TIME .1 GATE:STOP:SOUR EXT GATE:STOP:SLOP POS GATE:STOP:HOLD:SOUR EVEN Keysight 53220A/53230A Programmer's Reference...
Page 357
SENSe:GATE:STOP:HOLDoff:EVENts GATE:STOP:HOLD:EVEN 5 GATE:EXT:SOUR BNC READ? Typical Response: +1.21513398300000E+006 See Also SENSe:GATE:STOP:HOLDoff:SOURce Keysight 53220A/53230A Programmer's Reference...
<time> Numeric Time Interval measurements: 0.0 to 1000 sec with 0.0 sec 10 usec resolution or +9.9E+37 (INFinity) (Keysight 53220A) 0.0, or 30 nsec to 1000 sec with 10 nsec resolution or +9.9E+37 (INFinity) (Keysight 53230A) MIN = 0.0 sec MAX = 1000 sec...
Page 359
Gate In/Out BNC, and, after .25 seconds, closes on the next positive edge on the BNC. CONF:FREQ 1.2E6 FREQ:GATE:SOUR ADV GATE:STAR:SOUR EXT GATE:STAR:SLOP NEG GATE:STAR:DEL:SOUR TIME GATE:STAR:DEL:TIME .1 GATE:STOP:SOUR EXT GATE:STOP:SLOP POS GATE:STOP:HOLD:SOUR TIME GATE:STOP:HOLD:TIME .25 GATE:EXT:SOUR BNC READ? Typical Response: +1.21513398300000E+006 See Also SENSe:GATE:STOP:HOLDoff:SOURce SENSe:FREQuency:GATE:TIME SENSe:TOTalize:GATE:TIME Keysight 53220A/53230A Programmer's Reference...
Examples The following example checks for a valid reference signal on the Ext Ref In BNC: ROSC:SOUR EXT ROSC:EXT:CHEC ONCE See Also SENSe:ROSCillator:SOURce SENSe:ROSCillator:SOURce:AUTO Keysight 53220A/53230A Programmer's Reference...
Return Format The query returns the external reference signal frequency in the form +1.00000000E+007. Examples The following example specifies that a 1 MHz external reference is to be used: ROSC:FREQ 1E6 ROSC:SOUR EXT See Also SENSe:ROSCillator:SOURce SENSe:ROSCillator:SOURce:AUTO Keysight 53220A/53230A Programmer's Reference...
SYSTem:SECurity:IMMediate command. Return Format The query returns the gate source: INT or EXT. Examples The following example makes a frequency measurement with an external reference oscillator: ROSC:SOUR EXT MEAS:FREQ? 1.2E6 Typical Response: +1.21513398300000E+006 See Also SENSe:ROSCillator:EXTernal:FREQuency Keysight 53220A/53230A Programmer's Reference...
Standby power is disabled when the instrument is shipped from the factory or after a SYSTem:SECur- ity:IMMediate command. Return Format The query returns the gate source: 0 (OFF) or 1 (ON). Examples The following example disables standby power: ROSC:INT:POW:STAN OFF Keysight 53220A/53230A Programmer's Reference...
Page 365
SENSe:ROSCillator:INTernal:POWer:STANdby See Also Keysight 53220A/53230A Programmer's Reference...
The following example makes a frequency measurement using the external reference oscillator, if a valid signal is present on the Ext Ref In BNC; otherwise, the internal reference oscillator is used.. ROSC:SOUR:AUTO ON MEAS:FREQ? 1.0E6 Typical Response: +1.21513398300000E+006 Keysight 53220A/53230A Programmer's Reference...
Page 367
SENSe:ROSCillator:SOURce:AUTO See Also SENSe:ROSCillator:EXTernal:FREQuency SENSe:ROSCillator:SOURce Keysight 53220A/53230A Programmer's Reference...
The query returns the time interval gate source: IMM, EXT, or ADV. Examples The following example makes a time interval measurement on channel 1 with an external gate: CONF:TINT TINT:GATE:SOUR ADV GATE:STAR:SOUR EXT;SLOP POS READ? Typical Response: +1.21513398300000E-006 Keysight 53220A/53230A Programmer's Reference...
Page 369
SENSe:TINTerval:GATE:SOURce See Also SENSe:TINTerval:GATE:POLarity SENSe:GATE:STARt:SOURce SENSe:GATE:STARt:SLOPe SENSe:GATE:STARt:DELay:SOURce SENSe:GATE:STARt:DELay:EVENts SENSe:GATE:STARt:DELay:TIME SENSe:GATE:STOP:SOURce SENSe:GATE:STOP:SLOPe SENSe:GATE:STOP:HOLDoff:SOURce SENSe:GATE:STOP:HOLDoff:EVENts SENSe:GATE:STOP:HOLDoff:TIME Keysight 53220A/53230A Programmer's Reference...
The following example makes a rise time measurement on channel 1 using external gating. The meas- urement starts on a negative edge on the Gate In/Out BNC: CONF:RTIM 20,80 TINT:GATE:SOUR EXT TINT:GATE:POL NEG READ? Typical Response: +1.21513398300000E-006 See Also SENSe:TINTerval:GATE:SOURce Keysight 53220A/53230A Programmer's Reference...
The query returns the totalize count in the form +1.23450000000000E+004. Examples The following example configures the instrument to make a continuous totalize measurement, and returns the current totalize count after 1 second: CONF:TOT:CONT INIT <wait 1 second> TOT:DATA? Typical Response: +1.21510000000000E+004 See Also FETCh? READ? Keysight 53220A/53230A Programmer's Reference...
Remarks The instrument sets the gate source to TIME after a Factory Reset (*RST command) or an Instrument Preset (SYSTem:PRESet command). Return Format The query returns the totalize gate source: TIME, EXT, ADV, INP or INP2. Keysight 53220A/53230A Programmer's Reference...
Page 373
The following example makes an internally-gated totalize measurement on channel 1 with a 1 second gate time: FUNC "TOT" TOT:GATE:SOUR TIME TOT:GATE:TIME 1.0 READ? Typical Response: +1.21510000000000E+004 See Also SENSe:TOTalize:GATE:TIME SENSe:TOTalize:GATE:POLarity SENSe:GATE:STARt:SOURce SENSe:GATE:STARt:SLOPe SENSe:GATE:STARt:DELay:SOURce SENSe:GATE:STARt:DELay:EVENts SENSe:GATE:STARt:DELay:TIME SENSe:GATE:STOP:SOURce SENSe:GATE:STOP:SLOPe SENSe:GATE:STOP:HOLDoff:SOURce SENSe:GATE:STOP:HOLDoff:EVENts SENSe:GATE:STOP:HOLDoff:TIME Keysight 53220A/53230A Programmer's Reference...
Range of Values Default Value <time> Numeric 100 usec to 1000 sec with .1 sec 10 usec resolution or +9.9E+37 (INFinity) (Keysight 53220A) 1 usec to 1000 sec with 1 usec resolution or +9.9E+37 (INFinity) (Keysight 53230A) MIN = 100 usec (Keysight 53220A)
Page 375
SENSe:TOTalize:GATE:TIME TOT:GATE:TIME 1.0 READ? Typical Response: +1.21510000000000E+004 See Also SENSe:TOTalize:GATE:SOURce Keysight 53220A/53230A Programmer's Reference...
The following example makes a totalize measurement on channel 1 using external gating. The gate opens on a negative edge on the Gate In/Out BNC, and closes on the next positive edge: FUNC "TOT" TOT:GATE:SOUR EXT TOT:GATE:POL NEG READ? Typical Response: +1.21510000000000E+004 See Also SENSe:TOTalize:GATE:SOURce Keysight 53220A/53230A Programmer's Reference...
Numeric 10.0E3, 100.0E3, 1.0E6 800.0E3 or 1.0E6 MIN = 10.0E3 MAX = 1.0E6 Remarks Available only on the Keysight 53230A. The instrument sets the timestamp rate to 1.0E6 after a Factory Reset (*RST command) or after an Instrument Preset (SYSTem:PRESet command).
Page 378
SENSe:TSTamp:RATE See Also Keysight 53220A/53230A Programmer's Reference...
STATus Subsystem Introduction STATus Subsystem Introduction Keysight 53220A/230A Status System Diagram Printable PDF Version Keysight 53220A/53230A Programmer's Reference...
Configuration Change 2048 Instrument configuration has been changed, either from the front panel or from SCPI. Memory Threshold 4096 Programmed number of measurements have been stored in reading DATA:POINts:EVENt:THReashold memory (see command). Keysight 53220A/53230A Programmer's Reference...
Page 383
(see table above). For example, if bit 5 (decimal value = 32) and bit 9 (decimal value = 512) are set, this command will return +544. Example The following example reads the condition register (bit 5 is set). STAT:OPER:COND? Typical Response: +32 See Also STATus:OPERation:ENABle STATus:OPERation[:EVENt]? Keysight 53220A/53230A Programmer's Reference...
(Reserved for future use) Not Used (Reserved for future use) Not Used (Reserved for future use) Internal Reference Set to 1 while the instrument is using its internal reference; set to 0 when using an external reference. Keysight 53220A/53230A Programmer's Reference...
Page 385
= 512) are enabled, the query will return +528. Examples The following example enables bit 5 (decimal value = 32) in the enable register. STAT:OPER:ENAB 32 The following example returns which bits are enabled in the register. STAT:OPER:ENAB? Typical Response: +32 See Also *STB? Keysight 53220A/53230A Programmer's Reference...
SCPI. Memory Threshold 4096 Programmed number of measurements have been stored in reading DATA:POINts:EVENt:THReashold memory (see command). Global Error 8192 Set if any remote interface has an error in its error queue; cleared oth- erwise. Keysight 53220A/53230A Programmer's Reference...
Page 388
For example, if bit 4 (decimal value = 16) and bit 9 (decimal value = 512) are set, this command will return +528. Example The following example reads the event register (bit 9 is set). STAT:OPER? Typical Response: +512 See Also STATus:OPERation:ENABle Keysight 53220A/53230A Programmer's Reference...
This command clears all bits in the Questionable Dataenable register and the Standard Operation enable register. Remarks STATus Subsystem Introduction for an overview of the status system. Example The following example clears the enable register bits. STAT:PRES See Also STATus Subsystem Introduction Keysight 53220A/53230A Programmer's Reference...
Totalize A totalize measurement has overflowed and rolled over. Only reported as event. "0" is returned. Read the Event Register. Timebase error 1024 The external reference is selected, but no valid external reference signal is present. Keysight 53220A/53230A Programmer's Reference...
Page 391
(see table above). For example, if bit 12 (decimal value = 4096) is set, this command will return +4096. Example The following example reads the condition register (bit 12 is set). STAT:QUES:COND? Typical Response: +4096 See Also STATus:QUEStionable:ENABle STATus:QUEStionable[:EVENt]? Keysight 53220A/53230A Programmer's Reference...
Questionable Data Register group. The selected This command enables bits in the enable register bits are then reported to the Status Byte. For more information on the SCPI Status System for the Keysight, see the Status Sys- Diagram. Parameters...
Page 393
Examples The following example enables bit 9 (decimal value = 512) in the enable register. STAT:QUES:ENAB 512 The following example returns which bits are enabled in the register. STAT:QUES:ENAB? Typical Response: +512 See Also *STB? STATus:QUEStionable:CONDition? Keysight 53220A/53230A Programmer's Reference...
Questionable Data Register group. This is a read-only register and the bits are cleared when you read the register. For more information on the SCPI Status System for the Keysight, see the Status Sys- Diagram. Remarks The following table lists the bit definitions for the Questionable Data Register .
Page 396
For example, if bit 1 (decimal value = 2) and bit 9 (decimal value = 512) are set, this command will return +514. Example The following example reads the event register (bit 10 is set). STAT:QUES? Typical Response: +1024 See Also STATus:QUEStionable:CONDition? STATus:QUEStionable:ENABle? Keysight 53220A/53230A Programmer's Reference...
Page 398
SYSTem:COMMunicate:LAN:IPADdress SYSTem:COMMunicate:LAN:IPADdress? SYSTem:COMMunicate:LAN:MAC? SYSTem:COMMunicate:LAN:SMASk SYSTem:COMMunicate:LAN:SMASk? SYSTem:COMMunicate:LAN:TELNet:PROMpt SYSTem:COMMunicate:LAN:TELNet:PROMpt? SYSTem:COMMunicate:LAN:TELNet:WMESsage SYSTem:COMMunicate:LAN:TELNet:WMESsage? SYSTem:COMMunicate:LAN:UPDate SYSTem:COMMunicate:LAN:WINS SYSTem:COMMunicate:LAN:WINS? The Keysight 53220A/230A use the following LAN ports: •Port 5024 is used for SCPI Telnet sessions. •Port 5025 is used for SCPI Socket sessions. Keysight 53220A/53230A Programmer's Reference...
The query returns the enable state for the specified interface: 0 (OFF) or 1 (ON). Examples The following example disables the USB interface. SYST:COMM:ENAB OFF,USB The following example returns the state of the USB interface. SYST:COMM:ENAB? USB Typical Response: 0 Keysight 53220A/53230A Programmer's Reference...
Page 400
SYSTem:COMMunicate:ENABle See Also Remote Interface Configuration Commands Keysight 53220A/53230A Programmer's Reference...
The query returns the enable state for the specified interface: 0 (OFF) or 1 (ON). Examples The following example disables the USB interface. SYST:COMM:ENAB OFF,USB The following example returns the state of the USB interface. SYST:COMM:ENAB? USB Typical Response: 0 Keysight 53220A/53230A Programmer's Reference...
Page 402
SYSTem:COMMunicate:ENABle See Also Remote Interface Configuration Commands Keysight 53220A/53230A Programmer's Reference...
The GPIB address is set to 3 when the instrument is shipped from the factory or after a SYSTem:SECur- ity:IMMediate command. Return Format The query returns the GPIB address in the form "+22". Examples The following example sets the GPIB address. SYST:COMM:GPIB:ADDR 15 See Also SYSTem:COMMunicate:ENABle Keysight 53220A/53230A Programmer's Reference...
The query returns the Control connection port number. 0 is returned if the interface does not support a Socket Control connection. Example The following example returns the Control connection port number. SYST:COMM:LAN:CONT? Typical Response: 5000 See Also Keysight 53220A/53230A Programmer's Reference...
DHCP is enabled when the instrument is shipped from the factory or after a SYSTem:SECur- ity:IMMediate command. Return Format The query returns the DHCP enable state: 0 (OFF) or 1 (ON). Examples The following example disables DHCP. SYST:COMM:LAN:DHCP OFF SYST:COMM:LAN:UPD Keysight 53220A/53230A Programmer's Reference...
Page 406
SYSTem:COMMunicate:LAN:DHCP See Also SYSTem:COMMunicate:LAN:GATEway SYSTem:COMMunicate:LAN:IPADdress SYSTem:COMMunicate:LAN:SMASk Keysight 53220A/53230A Programmer's Reference...
"255.255.020.011" – the PC will interpret this address differently due to the leading zeros. The DNS server addresses are stored in non-volatile memory, and do not change when power has been off, after a Factory Reset (*RST command), or after an Instrument Preset (SYSTem:PRESet command). Keysight 53220A/53230A Programmer's Reference...
Page 408
DNS address, and that DHCP-assigned address can be read by specifying "CURRent". Examples The following example sets a static primary DNS address. SYST:COMM:LAN:DNS "198.105.232.4" SYST:COMM:LAN:UPD The following example returns the secondary DNS address currently being used by the instrument. SYST:COMM:LAN:DNS2? CURR Typical Response: "198.105.232.4" See Also SYSTem:COMMunicate:LAN:HOSTname Keysight 53220A/53230A Programmer's Reference...
The query reads the domain name and returns an ASCII string enclosed in double quotes. If a domain name has not been assigned, a null string ( " " ) is returned. Examples The following example returns the domain name currently being used by the instrument. SYST:COMM:LAN:DOM? Typical Response: "example.com" See Also SYSTem:COMMunicate:LAN:DHCP Keysight 53220A/53230A Programmer's Reference...
"255.255.020.011" will become "255.255.20.11" (a purely decimal expression). Be sure to enter the exact expression, "255.255.20.11", in your PC web software to address the instrument. Do not use "255.255.020.011" – the PC will interpret this address differently due to the leading zeros. Keysight 53220A/53230A Programmer's Reference...
Page 411
The following example sets the default gateway address. SYST:COMM:LAN:GAT "198.105.232.1" SYST:COMM:LAN:UPD The following example returns the default gateway address currently being used by the instrument. or SYST:COMM:LAN:GAT? SYST:COMM:LAN:GAT? CURR Typical Response: "0.0.0.0" See Also SYSTem:COMMunicate:LAN:DHCP SYSTem:COMMunicate:LAN:IPADdress SYSTem:COMMunicate:LAN:SMASk Keysight 53220A/53230A Programmer's Reference...
(*RST command), or after an Instrument Preset (SYSTem:PRESet command). The host name is set to "A-53220A-nnnnn" (Keysight 53220A) or "A-532320A-nnnnn" (Keysight 53230A) where nnnnn is the last 5 digits of the instrument's serial number when the instrument is shipped from the factory or after a SYSTem:SECurity:IMMediate command.
Page 413
( " " ) is returned. Examples The following example defines a host name. SYST:COMM:LAN:HOST "LAB1-CNTR" SYST:COMM:LAN:UPD The following example returns the host name currently being used by the instrument. or SYST:COMM:LAN:HOST? SYST:COMM:LAN:HOST? CURR Typical Response: "LAB1-CNTR" See Also SYSTem:COMMunicate:LAN:DHCP SYSTem:COMMunicate:LAN:DOMain Keysight 53220A/53230A Programmer's Reference...
"255.255.020.011" – the PC will interpret this address differently due to the leading zeros. If you are planning to use a static IP address on a Corporate LAN, contact your network administrator to obtain a fixed IP address to be used exclusively for your instrument. Keysight 53220A/53230A Programmer's Reference...
Page 415
The IP address is stored in non-volatile memory, and does not change when power has been off, after a Factory Reset (*RST command), or after an Instrument Preset (SYSTem:PRESet command). The IP address is set to "169.254.2.20" (Keysight 53220A) or "169.254.2.30" (Keysight 53230A) when the instrument is shipped from the factory or after a SYSTem:SECurity:IMMediate command.
The query reads the MAC address and returns an ASCII string enclosed in double quotes. The MAC address is represented as 12 hexadecimal characters. Example The following example returns the MAC address (the quotes are also returned). SYST:COMM:LAN:MAC? Typical Response: "0030D3001041" See Also Keysight 53220A/53230A Programmer's Reference...
"255.255.20.11", in your PC web software to address the instrument. Do not use "255.255.020.011" – the PC will interpret this address differently due to the leading zeros. A value of "0.0.0.0" or "255.255.255.255" indicates that subnetting is not being used. Keysight 53220A/53230A Programmer's Reference...
Page 418
Examples The following example sets the subnet mask. SYST:COMM:LAN:SMAS "255.255.255.0" SYST:COMM:LAN:UPD The following example returns the subnet mask currently being used by the instrument. or SYST:COMM:LAN:SMAS? SYST:COMM:LAN:SMAS? CURR Typical Response: "255.255.0.0" See Also SYSTem:COMMunicate:LAN:DHCP SYSTem:COMMunicate:LAN:GATEway SYSTem:COMMunicate:LAN:IPADdress Keysight 53220A/53230A Programmer's Reference...
Factory Reset (*RST command), or after an Instrument Preset (SYSTem:PRESet command). The command prompt is set to "53220A>" (Keysight 53220A) or "53230A>" (Keysight 53230A) when the instrument is shipped from the factory or after a SYSTem:SECurity:IMMediate command.
Page 420
SYSTem:COMMunicate:LAN:TELNet:PROMpt See Also SYSTem:COMMunicate:LAN:TELNet:WMESsage Keysight 53220A/53230A Programmer's Reference...
(*RST command), or after an Instrument Preset (SYSTem:PRESet command). The welcome message is set to "Welcome to Keysight's 53220A Universal Counter/Timer" (Keysight 53220A) or "Welcome to Keysight's 53230A Universal Counter/Timer" (Keysight 53230A) when the instrument is shipped from the factory or after a SYSTem:SECurity:IMMediate command.
SYST:COMM:LAN:DNS "198.105.232.4" SYST:COMM:LAN:DNS2 "198.105.232.5" SYST:COMM:LAN:GAT "198.105.232.1" SYST:COMM:LAN:HOST "LAB1-CNTR" SYST:COMM:LAN:IPAD "198.105.232.101" SYST:COMM:LAN:SMAS "255.255.255.0" SYST:COMM:LAN:WINS "198.105.232.4" SYST:COMM:LAN:WINS "198.105.232.5" SYST:COMM:LAN:UPD The following example configures the instrument back to use DHCP. SYST:COMM:LAN:DHCP ON SYST:COMM:LAN:UPD See Also SYSTem:COMMunicate:LAN:DHCP SYSTem:COMMunicate:LAN:DNS SYSTem:COMMunicate:LAN:GATeway SYSTem:COMMunicate:LAN:HOSTname SYSTem:COMMunicate:LAN:IPADdress Keysight 53220A/53230A Programmer's Reference...
"255.255.020.011" – the PC will interpret this address differently due to the leading zeros. The WINS addresses are stored in non-volatile memory, and do not change when power has been off, after a Factory Reset (*RST command), or after an Instrument Preset (SYSTem:PRESet command). Keysight 53220A/53230A Programmer's Reference...
Page 425
WINS address, and that DHCP assigned address can be read by specifying "CURRent". Examples The following example sets a static primary WINS address. SYST:COMM:LAN:WINS "198.105.232.4" SYST:COMM:LAN:UPD The following example returns the secondary WINS address currently being used by the instrument. SYST:COMM:LAN:WINS2? CURR Typical Response: "198.105.232.4" See Also SYSTem:COMMunicate:LAN:HOSTname Keysight 53220A/53230A Programmer's Reference...
This command returns a comma separated list of options that are currently licensed. Remarks Available only on the Keysight 53230A. Option 150 is the only licensed option currently available for the Keysight 53230A. Not all options installed in the instrument are returned, only those which require a license. Return Format The query returns a comma separated list of options;...
This command returns a comma separated list of options that are currently licensed. Remarks Available only on the Keysight 53230A. Option 150 is the only licensed option currently available for the Keysight 53230A. Not all options installed in the instrument are returned, only those which require a license. Return Format The query returns a comma separated list of options;...
This is a required parameter Remarks Available only on the Keysight 53230A. Option 150 is the only licensed option currently available for the Keysight 53230A. Deleting a license may affect the available measurement functions of the instrument. Example The following example delete the license for option 150 on the instrument: SYST:LIC:DEL "150"...
Syntax SYSTem:LICense:DELete:ALL Description This command deletes all licenses on the instrument. Remarks Available only on the Keysight 53230A. Deleting licenses may affect the available measurement functions of the instrument. Example The following example deletes all licenses on the instrument: SYST:LIC:DEL:ALL...
Remarks Available only on the Keysight 53230A. Option 150 is the only licensed option currently available for the Keysight 53230A. The option does not have to be installed in order for this query to return its description. However, you must know the option name, as the SYSTem:LICense:CATalog? query only returns installed options.
This command returns and clears one error message produced by the most recent SYSTem:LICense:INSTall command. Remarks Available only on the Keysight 53230A. The returned string can be up to 2096 bytes long. Return Format The query returns a definite-length block containing multi-line ASCII text, including embedded carriage return and line feed characters.
Description This command returns the number of error messages produced by the most recent SYSTem:LICense:INSTall command. Remarks Available only on the Keysight 53230A. Return Format The query returns a string enclosed in the form +1. Example The following example returns the number of errors produced by the most recent...
String A valid license file name Required if desired Remarks Available only on the Keysight 53230A. License files must have a ".lic" file extension. The format for <folder> is "[[<drive>:]<path>]", where <drive> can be INTernal or USB, and <path> is a folder path.
Page 434
The following example installs licenses from license files in the \Licenses folder on a front panel USB stor- age device: SYST:LIC:INST "USB:\Licenses" The following example installs licenses from the file "MyLicenses.lic" in the \Licenses folder on a front panel USB storage device: SYST:LIC:INST "USB:\Licenses\MyLicenses.lic" See Also SYSTem:LICense:DELete SYSTem:LICense:DELete:ALL Keysight 53220A/53230A Programmer's Reference...
This is a required parameter Remarks Available only on the Keysight 53230A. Option 150 is the only licensed option currently available for the Keysight 53230A. Return Format The query returns whether the option license is installed or not: 0 (not installed) or 1 (installed).
SYSTem:SECurity:IMMediate command. Return Format The query returns the minimum auto-leveling input frequency in the form +5.00000000E+001. Examples The following example sets the minimum auto-leveling input frequency to 10KHz: SYST:ALEV:FREQ 10E3 See Also INPut{1|2}:LEVel:AUTO INPut{1|2}:LEVel{1|2}:RELative Keysight 53220A/53230A Programmer's Reference...
The battery is disabled when the instrument is shipped from the factory or after a SYSTem:SECur- ity:IMMediate command. Return Format The query returns the battery enable state: 0 (OFF) or 1 (ON). Example The following example enables battery operation. SYST:BATT:ENAB ON See Also Keysight 53220A/53230A Programmer's Reference...
100% indicates a fully charged battery; 0%, a fully discharged battery. Return Format The query returns the battery level in the form +1.000000000E+002. Example The following example returns the battery level. SYST:BATT:LEV? Typical Response: +1.000000000E+002 See Also *CLS *SRE Keysight 53220A/53230A Programmer's Reference...
The query returns AC if the instrument is powered by the AC line, BATT if by the internal battery. If the battery option is not installed, it will always return AC. Example The following example queries the power source for the instrument. SYST:BATT:STAT? Typical Response: AC See Also Keysight 53220A/53230A Programmer's Reference...
The beeper is enabled when the instrument is shipped from the factory or after a SYSTem:SECur- ity:IMMediate command. Return Format The query returns the beeper enable state: 0 (OFF) or 1 (ON). Examples The following example disables the beeper state. SYST:BEEP:STAT OFF See Also SYSTem:BEEPer[:IMMediate] Keysight 53220A/53230A Programmer's Reference...
This command overrides the current beeper state (see the SYSTem:BEEPer:STATe command). This means that you can issue a single beep even if the beeper is turned off. Example The following example issues a single beep from the instrument. SYST:BEEP See Also SYSTem:BEEPer:STATe Keysight 53220A/53230A Programmer's Reference...
The date and time are unaffected by a Factory Reset (*RST command) or an Instrument Preset (SYSTem:PRESet command). Return Format The query returns the date in the form +2008,+12,+1. Examples The following example sets the date to December 1, 2008: SYST:DATE 2008,12,1 See Also SYSTem:TIME Keysight 53220A/53230A Programmer's Reference...
The front panel reports errors from all I/O sessions and clears them. To read the error queue from the front panel, use the Utility menu (press the [Utility] key). See the Keysight 53220A/230A 350MHz Universal Counter/Timer User's Guide for further information.
Page 444
SYSTem:ERRor? SYST:ERR? Typical Response: -101,"Invalid character" See Also *CLS *SRE Keysight 53220A/53230A Programmer's Reference...
7947 data bytes to follow.) The rest of the block of data consists of one command per line, each terminated with a New Line character. Example The following example returns the list of SCPI commands. SYST:HELP? Typical Response: In the list of commands: Keysight 53220A/53230A Programmer's Reference...
Page 446
SYSTem:HELP? /nquery/ indicates a command with no query. /qonly/ indicates a query only, with no command form. All other commands consist of command and query. See Also Command Quick Reference Keysight 53220A/53230A Programmer's Reference...
SCPI command set. Specify "53220A" or "53230A" for < language > to return the instrument to its native SCPI mode. In its native mode, the instrument follows the SCPI language syntax described in this SCPI Command Refer- ence.
Page 448
(*RST command), or after an Instrument Preset (SYSTem:PRESet command). The language is set to "53220A" or "53230A" when the instrument is shipped from the factory or after a SYSTem:SECurity:IMMediate command. Return Format The query the language mode as an ASCII string enclosed in double quotes: "53132A", "53220A", or "53230A".
The query returns GPIB, USB, VXI11, or LAN< IP Address > indicating the I/O interface being used by the querying computer. Example The following example returns which I/O interface is in use. SYST:LOCK:NAME? Typical Response: LAN169.254.149.35 See Also SYSTem:LOCK:OWNer? SYSTem:LOCK:RELease SYSTem:LOCK:REQuest? Keysight 53220A/53230A Programmer's Reference...
The query returns GPIB, USB, VXI11, LAN< IP Address >, or WEB< IP Address > indicating the I/O interface which currently has a lock. If no interfaces have a lock, "NONE" is returned. Example The following example returns which I/O interface currently has a lock. SYST:LOCK:OWN? Typical Response: LAN169.254.149.35 See Also SYSTem:LOCK:NAME? SYSTem:LOCK:RELease SYSTem:LOCK:REQuest? Keysight 53220A/53230A Programmer's Reference...
Page 452
SYSTem:LOCK:RELease Note that for each successful lock request, a lock release is required. Two requests require two releases. See Also SYSTem:LOCK:NAME? SYSTem:LOCK:OWNer? SYSTem:LOCK:REQuest? Keysight 53220A/53230A Programmer's Reference...
The query returns +1 if the lock request is granted or +0 if denied because another interface owns the lock. Example The following example requests a lock of the current I/O interface. SYST:LOCK:REQ? Typical Response: +1 See Also SYSTem:LOCK:NAME? SYSTem:LOCK:OWNer? SYSTem:LOCK:RELease Keysight 53220A/53230A Programmer's Reference...
This command presets the instrument to a known configuration. See Instrument Preset State for a com- plete listing of the instrument's Preset configuration. Remarks This command is identical in effect to the *RST command. Example The following example presets the instrument. SYST:PRES See Also *RST Keysight 53220A/53230A Programmer's Reference...
All I/O settings such as the GPIB address and IP address are returned to their factory settings. This command initializes all instrument settings to their Factory Reset (*RST command) values. Example The following example clears all instrument memory. SYST:SEC:IMM See Also *SAV *RCL *RST Keysight 53220A/53230A Programmer's Reference...
This command returns the current ambient temperature in degrees Celsius. Return Format The query returns the temperature in the form +2.53000000E+001. Example The following example queries the current temperature. SYST:TEMP? Typical Response: +2.53000000E+001 See Also SYSTem:TEMPerature:ACALibration? Keysight 53220A/53230A Programmer's Reference...
This command returns the ambient temperature in degrees Celsius at which the last auto-calibration was performed. Return Format The query returns the temperature in the form +2.53000000E+001. Example The following example queries the temperature at which the last auto-calibration temperature was per- formed. SYST:TEMP:ACAL? Typical Response: +2.53000000E+001 See Also SYSTem:TEMPerature? Keysight 53220A/53230A Programmer's Reference...
The date and time are unaffected by a Factory Reset (*RST command) or an Instrument Preset (SYSTem:PRESet command). Return Format The query returns the time in the form +13,+5,+1.000. Examples The following example sets the time to 1:05:01 p.m.: SYST:TIME 13,5,1 See Also SYSTem:DATE Keysight 53220A/53230A Programmer's Reference...
The timeout is disabled when the instrument is shipped from the factory or after a SYSTem:SECur- ity:IMMediate command. Return Format The query returns the timeout in the form +2.00000000E+000. For a infinite timeout, the query returns 9.9E37. Keysight 53220A/53230A Programmer's Reference...
Page 460
SYSTem:TIMeout Examples The following example sets the timeout to 10 seconds: SYST:TIM 10 See Also SENSe:FREQuency:GATE:TIME SENSe:TOTalize:GATE:TIME SENSe:GATE:STOP:HOLDoff:TIME SENSe:GATE:STOP:HOLDoff:EVENts TRIGger:DELay Keysight 53220A/53230A Programmer's Reference...
SCPI standard. You cannot query the SCPI version from the front panel. Return Format The query returns 1994.0. Example The following example returns the SCPI version. SYST:VERS? Typical Response: 1994.0 See Also Introduction to SCPI Language Keysight 53220A/53230A Programmer's Reference...
READ? INITiate[:IMMediate] command. The instrument sets the trigger count to 1 after a Factory Reset (*RST command) or an Instrument Pre- (SYSTem:PRESet command). Return Format The query returns the trigger count in the form +100. Keysight 53220A/53230A Programmer's Reference...
Page 464
The following example returns 10 sets of 5 frequency measurements on channel 1, using a positive-going external trigger to start each set of measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 5 TRIG:COUN 10 TRIG:SOUR EXT TRIG:SLOP POS READ? Typical Response: +1.00520000000000E+006, ... (50 measurements) See Also *RST ABORt SAMPle:COUNt TRIGger:SOURce Keysight 53220A/53230A Programmer's Reference...
The following example returns 10 sets of 5 frequency measurements on channel 1, using an external trig- ger and a 1.2 msec delay to start each set of measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 5 TRIG:COUN 10 TRIG:SOUR EXT TRIG:DEL .0012 READ? Typical Response: +1.00520000000000E+006, ... (50 measurements) Keysight 53220A/53230A Programmer's Reference...
Page 466
TRIGger:DELay See Also Keysight 53220A/53230A Programmer's Reference...
The following example returns 10 sets of 5 frequency measurements on channel 1, using a positive-going external trigger to start each set of measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 5 TRIG:COUN 10 TRIG:SOUR EXT TRIG:SLOP POS READ? Typical Response: +1.00520000000000E+006, ... (50 measurements) See Also TRIGger:SOURce Keysight 53220A/53230A Programmer's Reference...
Examples The following example returns 10 sets of 5 frequency measurements on channel 1, using a positive-going external trigger to start each set of measurements. CONF:FREQ 1.0E6,.001 SAMP:COUN 5 TRIG:COUN 10 TRIG:SOUR EXT TRIG:SLOP POS READ? Keysight 53220A/53230A Programmer's Reference...
Page 469
TRIGger:SOURce Typical Response: +1.00520000000000E+006, ... (50 measurements) See Also *TRG TRIGger:SLOPe Keysight 53220A/53230A Programmer's Reference...
Self-Test Errors (601...) Calibration Errors (700...) The Keysight 53220A/230A return error messages in accord with the SCPI standard. A record of up to 20 errors can be stored in the instrument's error queue. Each remote interface I/O ses- sion (GPIB, USB, VXI-11, Telnet/Sockets) has its own interface-specific error queue. Errors appear in the error queue of the I/O session that caused the error.
Page 471
-140, "Character data error" -141, "Invalid character data" -144, "Character data too long" -148, "Character data not allowed" -150, "String data error" -151, "Invalid string data" -158, "String data not allowed" -160, "Block data error" -161, "Invalid block data" Keysight 53220A/53230A Programmer's Reference...
Page 472
-221, "Settings conflict; cannot auto-level input channel used as gate; INP:LEV set to 0V, auto-level off" -221, "Settings conflict; cannot delete state selected and enabled for automatic power-on recall" -221, "Settings conflict; cannot gate time interval-type measurement with baseband channel; SENS:GATE:EXT:SOUR set to BNC" Keysight 53220A/53230A Programmer's Reference...
Page 476
+514, "Not allowed" +514, "Not allowed; Instrument locked by another I/O session" +521, "Communications: input buffer overflow" +522, "Communications: output buffer overflow" +532, "Not able to achieve requested resolution" +540, "Cannot use overload as math reference" Keysight 53220A/53230A Programmer's Reference...
Page 477
Any failure of these tests will generate a SCPI error with additional test failure information. Refer to the Keysight 53210A/53220A/53230A 350 MHz Counter Service Guide for more information. The following is the list of test numbers and descriptions: +901, "Self Test failed;...
Page 478
SCPI Error Messages Calibration Errors The following errors indicate failures that may occur during a calibration. Refer to the Keysight 53220A/230AService Guide for more information. +701, "Calibration error; security defeated" +702, "Calibration error; calibration memory is secured" +703, "Calibration error; secure code provided was invalid"...
Keysight 53220A/230A Command Quick Reference Keysight 53220A/230A Command Quick Reference Printable PDF Version Syntax Conventions Braces ( { } ) enclose the parameter choices for a given command string. The braces are not sent with the command string. A vertical bar ( | ) separates multiple parameter choices for a given command string. The bar is not sent with the command string.
The power-on state may be different than what is shown in the tables if you have enabled the power-on state recall mode. This mode is entered from the Utility menu. See the Keysight 53220A/230A 350MHz Universal Counter/Timer User's Guide for further information.
Page 492
Smoothing Response FAST Scaling State Disabled Gain factor 1.0 Offset 0.0 Limit testing State Disabled Lower limit 0.0 Upper limit 0.0 Statistics State Disabled Histogram State Disabled Number of Bins 100 Automatic Range Value Selection Enabled Keysight 53220A/53230A Programmer's Reference...
Page 493
Display State On *RST SYSTem:PRESet Unaffected by Display Text Cleared *RST SYSTem:PRESet Unaffected by Reading Memory Cleared Error Queue *CLS Cleared at power on or by the command. *RST SYSTem:PRESet Unaffected by or front panel reset. Keysight 53220A/53230A Programmer's Reference...
Page 495
2 LAN setting changes must be followed by the SYSTem:COMMunicate:LAN:UPDate command to take effect. 3 Where nnnnn represents the last 5 digits of the instrument serial number. The Keysight 53220A/230A use the following LAN ports: • Port 5024 is used for SCPI Telnet sessions.
SENSe:EVENt{1|2}:LEVel subsystem commands. The 53220A/230A use the same reference level for both edges. If you require different references levels for the two edges, you can accomplish this by using the time interval measurement function instead of pulse width or duty cycle.
Page 497
11. The 53131A/132A SCPI macro capability is not supported, including the *DMC, *EMC, *EMC?, *GMC?, *LMC?, *PMC, MEMory:DELete:MACRo, and MEMory:FREE:MACRo? commands. 12. The 53220A/230A do not include an RS-232 port, and do not support hard copy output. The asso- ciated HCOPy:CONTinuous and SYStem:COMMunicate:SERial subsystem SCPI commands of the 53131A/132A are accepted by the 53220A/230A, but have no effect on the instrument.
Need help?
Do you have a question about the 53220A and is the answer not in the manual?
Questions and answers