Used Agilent Agilent Used N5173B Manual

Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176 - TestEquipmentDepot.com
Keysight X-Series Signal Generators
N5171B/72B/73B EXG N5181B/82B/83B MXG
SCPI Command Reference

Notices

No part of this manual may be reproduced in any form or by any means (including electronic storage and retrieval or translation into a foreign language) without prior agreement and written consent from Keysight Technologies, Inc. as governed by United States and international copyright laws.
Trademark Acknowledgments
Manual Part Number
N5180-90057
Edition
Edition 1, April 2016
Supersedes: September 2014
Printed in USA/Malaysia
Published by: Keysight Technologies
1400 Fountaingrove Parkway Santa Rosa, CA 95403
Warranty
THE MATERIAL CONTAINED IN THIS DOCUMENT IS PROVIDED “AS IS,” AND IS SUBJECT TO BEING CHANGED, WITHOUT NOTICE, IN FUTURE EDITIONS. FURTHER, TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, KEYSIGHT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED WITH REGARD TO THIS MANUAL AND ANY INFORMATION CONTAINED HEREIN, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. KEYSIGHT SHALL NOT BE LIABLE FOR ERRORS OR FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH THE FURNISHING, USE, OR PERFORMANCE OF THIS DOCUMENT OR ANY INFORMATION CONTAINED HEREIN. SHOULD KEYSIGHT AND THE USER HAVE A SEPARATE WRITTEN AGREEMENT WITH WARRANTY TERMS
COVERING THE MATERIAL IN THIS DOCUMENT THAT CONFLICT WITH THESE TERMS, THE WARRANTY TERMS IN THE SEPARATE AGREEMENT WILL CONTROL.
Technology Licenses
The hardware and/or software described in this document are furnished under a license and may be used or copied only in accordance with the terms of such license.
U.S. Government Rights
The Software is “commercial computer software,” as defined by Federal Acquisition Regulation (“FAR”) 2.101. Pursuant to FAR
12.212 and 27.405-3 and Department of Defense FAR Supplement (“DFARS”) 227.7202, the U.S. government acquires commercial computer software under the same terms by which the software is customarily provided to the public. Accordingly, Keysight provides the Software to U.S. government customers under its standard commercial license, which is embodied in its End User License Agreement (EULA) The license set forth in the EULA represents the exclusive authority by which the U.S. government may use, modify, distribute, or disclose the Software. The EULA and the license set forth therein, does not require or permit, among other things, that Keysight: (1) Furnish technical information related to commercial computer software or commercial computer software documentation that is not customarily provided to the public; or (2) Relinquish to, or otherwise provide, the government rights in excess of these rights customarily provided to the public to use, modify, reproduce, release, perform, display, or disclose commercial computer software or commercial computer software
documentation. No additional government requirements beyond those set forth in the EULA shall apply, except to the extent that those terms, rights, or licenses are explicitly required from all providers of commercial computer software pursuant to the FAR and the DFARS and are set forth specifically in writing elsewhere in the EULA. Keysight shall be under no obligation to update, revise or otherwise modify the Software. With respect to any technical data as defined by FAR 2.101, pursuant to FAR 12.211 and 27.404.2 and DFARS 227.7102, the U.S. government acquires no greater than Limited Rights as defined in FAR 27.401 or DFAR 227.7103-5 (c), as applicable in any technical data.
Safety Notices
A CAUTION notice denotes a hazard. It calls attention to an operating procedure, practice, or the like that, if not correctly performed or adhered to, could result in damage to the product or loss of important data. Do not proceed beyond a CAUTION notice until the indicated conditions are fully understood and met.
A WARNING notice denotes a hazard. It calls attention to an operating procedure, practice, or the like that, if not correctly performed or adhered to, could result in personal injury or death. Do not proceed beyond a WARNING notice until the indicated conditions are fully understood and met.
3
4

Table of Co n tents

1. SCPI Basics
Command Reference Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
SCPI Command Listings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Key and Data Field Cross Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Supported Field. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
SCPI Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Common Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Command Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Command Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Command Parameters and Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Program Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
File Name Variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
File Types and Directory Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
MSUS (Mass Storage Unit Specifier) Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Quote Usage with SCPI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Binary, Decimal, Hexadecimal, and Octal Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Contents
2. Basic Function Commands
Correction Subsystem ([:SOURce]:CORRection) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
:FLATness:FREQuency. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
:FLATness:INITialize:FSTep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
:FLATness:LOAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
:FLATness:PAIR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
:FLATness:POINts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
:FLATness:PRESet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
:FLATness:STEP:POINts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
:FLATness:STEP:STARt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
:FLATness:STEP:STOP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
:FLATness:STORe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
:PMETer:CHANnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
:PMETer:COMMunicate:LAN:DEVice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
:PMETer:COMMunicate:LAN:IP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
:PMETer:COMMunicate:LAN:PORT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
:PMETer:COMMunicate:TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
:PMETer:COMMunicate:USB:DEVice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
:PMETer:COMMunicate:USB:LIST?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Digital Modulation Subsystem—N5172B/82B ([:SOURce]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
:BURSt:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
:DM:CORRection:OPTimization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
:DM:EXTernal:INPut:ATTen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
:DM:EXTernal:INPut:ATTen:AUTO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
:DM:EXTernal:INPut:ATTen:LEVel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
:DM:EXTernal:INPut:ATTen:LEVel:MEASurement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
5
Contents
:DM:EXTernal:INPut:ATTen:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
:DM:EXTernal:POLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
:DM:INTernal:CHANnel:CORRection[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
:DM:INTernal:CHANnel:OPTimization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
:DM:INTernal:EQUalization:FILTer:SELect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
:DM:INTernal:EQUalization:FILTer:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
:DM:IQADjustment:DELay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
:DM:IQADjustment:EXTernal:CMRange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
:DM:IQADjustment:EXTernal:COFFset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
:DM:IQADjustment:EXTernal:DIOFfset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
:DM:IQADjustment:EXTernal:DQOFfset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
:DM:IQADjustment:EXTernal:INPut:GAIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
:DM:IQADjustment:EXTernal:IOFFset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
:DM:IQADjustment:EXTernal:QOFFset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
:DM:IQADjustment:EXTernal:QSKew . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
:DM:IQADjustment:GAIN. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
:DM:IQADjustment:IOFFset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
:DM:IQADjustment:PHASe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
:DM:IQADjustment:QOFFset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
:DM:IQADjustment:QSKew . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
:DM:IQADjustment:SKEW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
:DM:IQADjustment[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
:DM:POLarity[:ALL] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
:DM:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
:DM:SRATio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
:DM:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Frequency Subsystem ([:SOURce]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
:FREQuency:CENTer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
:FREQuency:CHANnels:BAND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
:FREQuency:CHANnels:NUMBer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
:FREQuency:CHANnels[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
:FREQuency[:CW] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
:FREQuency:FIXed. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
:FREQuency:LSPurs:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
:FREQuency:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
:FREQuency:MULTiplier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
:FREQuency:OFFSet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
:FREQuency:OFFSet:STATe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
:FREQuency:REFerence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
:FREQuency:REFerence:SET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
:FREQuency:REFerence:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
:FREQuency:SPAN. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
:FREQuency:STARt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
:FREQuency:STOP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
:PHASe:REFerence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
:PHASe[:ADJust] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
:ROSCillator:BANDwidth:EXTernal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
:ROSCillator:FREQuency:BBG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
6 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Contents
:ROSCillator:FREQuency:EXTernal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
:ROSCillator:OVEN:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
:ROSCillator:OVEN:TUNE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
:ROSCillator:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
:ROSCillator:SOURce:AUTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
:ROSCillator:OVEN:TUNE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
List/Sweep Subsystem ([:SOURce]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
:LIST:CPOint?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
:LIST:DIRection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
:LIST:DWELl. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
:LIST:DWELl:POINts?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
:LIST:DWELl:TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
:LIST:FREQuency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
:LIST:FREQuency:POINts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
:LIST:MANual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
:LIST:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
:LIST:OPTions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
:LIST:POWer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
:LIST:POWer:POINts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
:LIST:RETRace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
:LIST:TRIGger:EXTernal:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
:LIST:TRIGger:INTernal:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
:LIST:TRIGger:SLOPe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
:LIST:TRIGger:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
:LIST:TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
:LIST:TYPE:LIST:INITialize:FSTep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
:LIST:TYPE:LIST:INITialize:PRESet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
:LIST:WAVeform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
:LIST:WAVeform:POINts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
:SWEep:ATTen:PROTection[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
:SWEep:CPOINt? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
:SWEep:DWELl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
:SWEep[:FREQuency]:STEP[:LINear]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
:SWEep[:FREQuency]:STEP:LOGarithmic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
:SWEep:GENeration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
:SWEep:POINts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
:SWEep:SPACing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Marker Subsystem–N5173B/83B ([:SOURce]). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
:MARKer:AMPLitude[:STATe]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
:MARKer:AMPLitude:VALue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
:MARKer:AOFF. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
:MARKer:DELTa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
:MARKer:MODe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
:MARKer:REFerence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
:MARKer[0]|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19:FREQuency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .98
:MARKer[0]|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Power Subsystem ([:SOURce]:POWer). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
:ALC:BANDwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
7
Contents
:ALC:BANDwidth|BWIDth:AUTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
:ALC:LEVel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
:ALC:SEARch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
:ALC:SEARch:REFerence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
:ALC:SEARch:REFerence:LEVel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
:ALC:SEARch:SPAN:START . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
:ALC:SEARch:SPAN:STOP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
:ALC:SEARch:SPAN:TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
:ALC:SEARch:SPAN[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
:ALC:SOURce. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
:ALC:SOURce:EXTernal:COUPling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
:ALC:SOURce:PMServo:CHANnel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
:ALC:SOURce:PMServo:INCRement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
:ALC:SOURce:PMServo:MAXimum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
:ALC:SOURce:PMServo:SERRor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
:ALC:SOURce:PMServo:STARt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
:ALC:SOURce:PMServo:STOP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
:ALC[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
:ALC:TRANsition:REFerence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
:ALCHold:EXTernal:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
:ALCHold:EXTernal[:STATe]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
:ALTernate:AMPLitude. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
:ALTernate:TRIGger:EXTernal[:SOURce]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
:ALTernate:TRIGger[:SOURce] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
:ALTernate[:STATe]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
:ATTenuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
:ATTenuation:AUTO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
:ATTenuation:BYPass. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
:HARMonics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
[:LEVel][:IMMediate]:OFFSet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
[:LEVel][:IMMediate][:AMPLitude] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
[:LEVel]:MINimum:LIMit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
NOISe:[STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
:PROTection[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
:REFerence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
:REFerence:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
:STARt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
:STOP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
:USER:MAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
:USER:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Vector Modulation Subsystem—N5172B/82B ([:SOURce]:IQ). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
:AUX:INPut:STRobe[:MODE] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
:AUX:INPut:STRobe:SLOPe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
:AUX:OPERating:MODE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
:AUX:OUTPut:STRobe:SLOPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
:OUTPut:IMPairments:AWGN:BANDwidth|BWIDth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
:OUTPut:IMPairments:AWGN:EBNO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
8 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Contents
:OUTPut:IMPairments:AWGN:IBWidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
:OUTPut:IMPairments:AWGN:IBWidth:AUTO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
:OUTPut:IMPairments:AWGN:MUX SUM|SIGNal|NOISe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
:OUTPut:IMPairments:AWGN:POWer:CONTrol[:MODE] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
:OUTPut:IMPairments:AWGN:POWer:NOISe:CHANnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
:OUTPut:IMPairments:AWGN:POWer:NOISe:TOTal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
:OUTPut:IMPairments:AWGN:POWer:SIGNal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
:OUTPut:IMPairments:AWGN:SBRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
:OUTPut:IMPairments:AWGN:SNR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
:OUTPut:IMPairments:AWGN:SNRFormat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
:OUTPut:IMPairments:AWGN[:STATe]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
:OUTPut:IMPairments:PHASe:NOISe:F1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
:OUTPut:IMPairments:PHASe:NOISe:F2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
:OUTPut:IMPairments:PHASe:NOISe:LMID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
:OUTPut:IMPairments:PHASe:NOISe[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
:OUTPut[1]:TRIGger:CONTinuous[:TYPE] FREE|TRIGger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
:OUTPut[1]:TRIGger:EXTernal:DELay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
:OUTPut[1]:TRIGger:EXTernal:POLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
:OUTPut[1]:TRIGger:EXTernal:SOURce. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
:OUTPut[1]:TRIGger:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
:OUTPut[1]:TRIGger:STATus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
3. System Commands
Calibration Subsystem (:CALibration) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
:ALC:MODulator:BIAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
:BBG:SKEW RFOut|EXTernal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
EXTernal[1]|2:DC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
:IQ:DC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
:IQ:DEFault . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
:IQ:FULL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
:IQ:STARt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
:IQ:STOP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
:IQ:TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
:IQ:[:USER] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Communication Subsystem (:SYSTem:COMMunicate) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
:GPIB:ADDRess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
:GTLocal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
:LAN:CONFig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
:LAN:DEFaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
:LAN:DESCription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
:LAN:DHCP:EXPires. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
:LAN:DHCP:OBTained . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
:LAN:DHCP:SERVer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
:LAN:DNS:DYNamic. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
:LAN:DNS[:SERVer] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
:LAN:DOMain. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
:LAN:GATeway. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
:LAN:HOSTname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
9
Contents
:LAN:IDENtify. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
:LAN:IP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
:LAN:MDNS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
:LAN:RESTart. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
:LAN:SUBNet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Diagnostic Subsystem (:DIAGnostic[:CPU]:INFOrmation) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
:CCOunt:ATTenuator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
:CCOunt:PON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
:CCOunt:PROTection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
:DISPlay:OTIMe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
:LICense:AUXiliary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
:LICense:WAVeform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
:OPTions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
:OPTions:DETail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
:OTIMe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
:REVision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
:SDATe? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
:WLICence[:VALue] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Display Subsystem (:DISPlay). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
:ANNotation:AMPLitude[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
:ANNotation:AMPLitude:UNIT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
:ANNotation:FREQuency[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
:ANNotation:CLOCk:DATE:FORMat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
:ANNotation:CLOCk[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
:BRIGhtness. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
:CAPTure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
:CMAP:DEFault . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
:REMote. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
[:WINDow][:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
IEEE 488.2 Common Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
*CLS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
*ESE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
*ESE? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
*ESR?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
*IDN? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
*OPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
*OPC? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
*OPT?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
*PSC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
*PSC?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
*RCL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
*RST. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
*SAV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
*SRE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
*SRE?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
*STB? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
*TRG. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
*TST? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
10 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Contents
*WAI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Memory Subsystem (:MEMory). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
:CATalog:BINary? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
:CATalog:BIT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
:CATalog:DMOD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
:CATalog:FIR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
:CATalog:FSK? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
:CATalog:IQ?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
:CATalog:LIST? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
:CATalog:MDMod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
:CATalog:MTONe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
:CATalog:PTRain?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
:CATalog:SEQ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
:CATalog:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
:CATalog:STATe? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
:CATalog:UFLT? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
:CATalog[:ALL]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
:COPY[:NAME] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
:DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
:DATA:APPend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
:DATA:BIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
:DATA:BIT:INSert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
:DATA:FIR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
:DATA:FSK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
:DATA:IQ. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
:DATA:PRAM:FILE:BLOCk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
:DATA:PRAM:FILE:LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
:DATA:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
:DELete:ALL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
:DELete:BINary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
:DELete:BIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
:DELete:DMOD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
:DELete:FIR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
:DELete:FSK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
:DELete:IQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
:DELete:LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
:DELete:MDMod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
:DELete:MTONe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
:DELete:PTRain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
:DELete:SEQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
:DELete:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
:DELete:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
:DELete:UFLT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
:DELete[:NAME]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
:EXPort[:ASCii]:PTRain. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
:EXPort[:ASCii]:SEParator:COLumn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
:EXPort[:ASCii]:SEParator:DECimal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
:FREE[:ALL] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
11
Contents
:IMPort[:ASCii]:PTRain. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
:IMPort[:ASCii]:SEParator:DECimal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
:LOAD:LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
:LOAD:PTRain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
:MOVE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
:SIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
:STATe:COMMent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
:STORe:LIST. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
:STORe:PTRain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
:CATalog. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
:COPY. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
:DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
:DELete:NVWFm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
:DELete:WFM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
:DELete[:NAME]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
:HEADer:CLEar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
:HEADer:DESCription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
:HEADer:ID?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
:LOAD:LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
:LOAD:PTRain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
:LOAD:WFM:ALL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
:MOVE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
:STORe:LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
:STORe:PTRain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
:STORe:WFM:ALL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Output Subsystem (:OUTPut) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
:BLANking:AUTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
:BLANking:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
:MODulation[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Route Subsystem (:ROUTe) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
[:CONNectors]:EVENt[:OUTPut] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
HARDware:DGENerator:INPut:BPOLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
HARDware:DGENerator:INPut:CPOLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
HARDware:DGENerator:INPut:DPOLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
HARDware:DGENerator:INPut:SPOLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
HARDware:DGENerator:IPOLarity:BGATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
HARDware:DGENerator:IPOLarity:CLOCk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
HARDware:DGENerator:IPOLarity:DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
HARDware:DGENerator:IPOLarity:SSYNc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
HARDware:DGENerator:OPOLarity:CLOCk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
HARDware:DGENerator:OPOLarity:DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
HARDware:DGENerator:OPOLarity:SSYNc. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
HARDware:DGENerator:OUTPut:CPOLarity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
HARDware:DGENerator:OUTPut:DCS[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
HARDware:DGENerator:OUTPut:DPOLarity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
HARDware:DGENerator:OUTPut:SPOLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
LINE:PTRigger[1]|2:BNC:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
12 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Contents
[:CONNectors]:BBTRigger[1]|2[:OUTPut] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
[:CONNectors]:PTRig[:OUTPut] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
[:CONNectors]:SOUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
[:CONNectors]:TRIGger1:OUTPut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
[:CONNectors]:TRIGger[2]:OUTPut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Status Subsystem (:STATus) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
:OPERation:CONDition? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
:OPERation:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
:OPERation:NTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
:OPERation:PTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
:OPERation:SUPPress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
:OPERation[:EVENt]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
:PRESet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
:QUEStionable:BERT:CONDition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
:QUEStionable:BERT:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
:QUEStionable:BERT:NTRansition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
:QUEStionable:BERT:PTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
:QUEStionable:BERT[:EVENt] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
:QUEStionable:CALibration:CONDition?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
:QUEStionable:CALibration:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
:QUEStionable:CALibration:NTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
:QUEStionable:CALibration:PTRansition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
:QUEStionable:CALibration[:EVENt]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
:QUEStionable:CONDition? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
:QUEStionable:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
:QUEStionable:FREQuency:CONDition? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
:QUEStionable:FREQuency:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
:QUEStionable:FREQuency:NTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
:QUEStionable:FREQuency:PTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
:QUEStionable:FREQuency[:EVENt]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
:QUEStionable:MODulation:CONDition? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
:QUEStionable:MODulation:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
:QUEStionable:MODulation:NTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
:QUEStionable:MODulation:PTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
:QUEStionable:MODulation[:EVENt]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
:QUEStionable:NTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
:QUEStionable:POWer:CONDition? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
:QUEStionable:POWer:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
:QUEStionable:POWer:NTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
:QUEStionable:POWer:PTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
:QUEStionable:POWer[:EVENt]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
:QUEStionable:PTRansition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
:QUEStionable[:EVENt]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
System Subsystem (:SYSTem) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
:CAPability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
:DATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
:ERRor:CODE[:NEXt] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
:ERRor[:NEXt] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
13
Contents
:ERRor:SCPI[:SYNTax] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
:FILesystem:STORage:EXTernal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
:FILesystem:STORage:EXTernal:PATH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
:FILesystem:STORage:TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
:FILesystem:STORage:TYPE:AUTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
:IDN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
:LANGuage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
:LICense:AUS[:DATE]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
:LICense:[FPACk]:WAVeform:ADD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
:LICense:[FPACk]:WAVeform:CLEar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
:LICense:[FPACk]:WAVeform:FREE? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
:LICense:[FPACk]:WAVeform:IDList?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
:LICense:[FPACk]:WAVeform:LOCK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
:LICense:[FPACk]:WAVeform:REPLace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
:LICense:[FPACk]:WAVeform:STATus?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
:LICense:[FPACk]:WAVEform:USED? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
:LICense:INSTall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
:LICense:LIST. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
:LICense:REMove . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
:LOG:SCPI ON/OFF/1/0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
:OPT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
:PDOWn. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
:PMETer[1]|2:CHANnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
:PMETer[1]|2:COMMunicate:LAN:DEVice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
:PMETer[1]|2:COMMunicate:LAN:IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
:PMETer[1]|2:COMMunicate:LAN:PORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
:PMETer[1]|2:COMMunicate:TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
:PMETer[1]|2:COMMunicate:USB:DEVice. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
:PMETer[1]|2:COMMunicate:USB:LIST? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
:PMETer[1]|2:MEASure? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
:PMETer[1]|2:SENSe:AVERage:COUNt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
:PMETer[1]|2:SENSe:AVERage:COUNt:AUTO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
:PMETer[1]|2:SENSe:AVERage[:STATe]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
:PMETer[1]|2:SENSe:FREQuency[:CW|:FIXed] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
:PMETer[1]|2:UNIT:POWer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
:PMETer[1]|2[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
:PMETer:PASSthrough. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
:PMETer:PASSthrough:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
:PMETer:PASSthrough:TIMeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
:PMETer:SENSe:CORRection:GAIN2[:INPut][:MAGNitude] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
:PMETer:SENSe:FREQuency[:CW]:COUPling[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
:PMETer:SENSe:FREQuency[:CW]:MULTiplier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
:PMETer:SENSe:FREQuency[:CW]:OFFSet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
:PON:TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
:PRESet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
:PRESet:ALL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
:PRESet:LANGuage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
:PRESet:PERSistent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
14 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Contents
:PRESet:TYPE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
:PRESet:USER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
:PRESet:USER:SAVE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
:SANalyzer:COMMunicate:LAN:DEVice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
:SANalyzer:COMMunicate:LAN:IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
:SANalyzer:COMMunicate:LAN:PORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
:SANalyzer:COMMunicate:TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
:SECurity:DISPlay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
:SECurity:DISPlay:RESTricted . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
:SECurity:ERASeall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
:SECurity:SANitize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
:SSAVer:DELay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
:SSAVer:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
:SSAVer:STATe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
:TIME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
:VERSion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
Trigger Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
:ABORt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
:INITiate:CONTinuous[:ALL]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
:INITiate[:IMMediate][:ALL] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
:TRIGger:EXTernal:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
:TRIGger:INTernal:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
:TRIGger:OUTPut[1]|2:POLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
:TRIGger[:SEQuence]:SLOPe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
:TRIGger[:SEQuence]:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
:TRIGger[:SEQuence]:TIMer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
:TRIGger[:SEQuence][:IMMediate] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
:TSWeep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Unit Subsystem (:UNIT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
:POWer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
:VOLT:TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
4. Analog Modulation Commands
Amplitude Modulation Subsystem–Option UNT ([:SOURce]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
:AM[1]|2[:DEPTh]:EXPonential. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
:AM[1]|2[:DEPTh][:LINear] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
:AM[1]|2[:DEPTh][:LINear]:TRACk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
:AM[:DEPTh]:STEP[:INCRement]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
:AM[1]|2:EXTernal[1]|2:COUPling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
:AM[1]|2:EXTernal[1]|2:IMPedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
:AM[1]|2:INTernal:DUAL:FUNCtion2:AMPLitude:PERCent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
:AM[1]|2:INTernal:DUAL:FUNCtion2:POFFset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
:AM[1]|2:INTernal:DUAL:FUNCtion[1]|2:FREQuency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
:AM[1]|2:INTernal:DUAL:FUNCtion[1]|2:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
:AM[1]|2:INTernal:DUAL:FUNCtion[1]|2:SHAPe:RAMP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
:AM[1]|2:INTernal:FUNCtion[1]|2:FREQuency. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
:AM[1]|2:INTernal:FUNCtion[1]|2:POFFset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
:AM[1]|2:INTernal:FUNCtion[1]|2:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
15
Contents
:AM[1]|2:INTernal:FUNCtion[1]|2:SHAPe:RAMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
:AM[1]|2:INTernal:NOISe[1]|2:TYPe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
:AM[1]|2:INTernal:SWEep:FUNCtion:FREQuency:STARt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
:AM[1]|2:INTernal:SWEep:FUNCtion:FREQuency:STOP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
:AM[1]|2:INTernal:SWEep:FUNCtion:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
:AM[1]|2:INTernal:SWEep:FUNCtion:SHAPe:RAMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
:AM[1]|2:INTernal:SWEep:RATE[1]|2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
:AM[1]|2:INTernal:SWEep:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
:AM[1]|2:INTernal:SWEep:TIME:COUPled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
:AM[1]|2:INTernal:SWEep:TIME[1]|2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
:AM[1]|2:INTernal:SWEep:TRIGger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
:AM[1]|2:INTernal:SWEep:TRIGger:EXTernal:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
:AM[1]|2:INTernal:SWEep:TRIGger:INTernal:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
:AM[1]|2:INTernal:SWEep:TRIGger:SLOPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
:AM:MODE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
:AM[1]|2:SOURce. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
:AM[1]|2:STATe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
:AM[1]|2:TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
:AM:WIDeband:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
Frequency Modulation Subsystem–Option UNT ([:SOURce]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
:FM[1]|2:EXTernal[1]|2:COUPling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
:FM[1]|2:EXTernal[1]|2:IMPedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
:FM[1]|2:INTernal:DUAL:FUNCtion2:AMPLitude:PERCent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
:FM[1]|2:INTernal:DUAL:FUNCtion2:POFFset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
:FM[1]|2:INTernal:DUAL:FUNCtion[1]|2:FREQuency. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
:FM[1]|2:INTernal:DUAL:FUNCtion[1]|2:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
:FM[1]|2:INTernal:DUAL:FUNCtion[1]|2:SHAPe:RAMP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
:FM:INTernal:FREQuency:STEP[:INCRement] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
:FM[1]|2:INTernal:FUNCtion[1]|2:FREQuency. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
:FM[1]|2:INTernal:FUNCtion[1]|2:POFFset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
:FM[1]|2:INTernal:FUNCtion[1]|2:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
:FM[1]|2:INTernal:FUNCtion[1]|2:SHAPe:RAMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
:FM[1]|2:INTernal:NOISe[1]|2:TYPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
:FM[1]|2:INTernal:SWEep:FUNCtion:FREQuency:STARt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
:FM[1]|2:INTernal:SWEep:FUNCtion:FREQuency:STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
:FM[1]|2:INTernal:SWEep:FUNCtion:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
:FM[1]|2:INTernal:SWEep:FUNCtion:SHAPe:RAMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
:FM[1]|2:INTernal:SWEep:RATE[1]|2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
:FM[1]|2:INTernal:SWEep:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
:FM[1]|2:INTernal:SWEep:TIME:COUPled. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
:FM[1]|2:INTernal:SWEep:TIME[1]|2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
:FM[1]|2:INTernal:SWEep:TRIGger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
:FM[1]|2:INTernal:SWEep:TRIGger:EXTernal:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
:FM[1]|2:INTernal:SWEep:TRIGger:INTernal:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
:FM[1]|2:INTernal:SWEep:TRIGger:SLOPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
:FM[1]|2:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
:FM[1]|2:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
:FM[1]|2[:DEViation]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
16 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Contents
:FM[:DEViation]:STEP[:INCRement] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Low Frequency Output Subsystem ([:SOURce]:LFOutput) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
:AMPLitude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
:DUAL:FUNCtion2:AMPLitude:PERCent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
:DUAL:FUNCtion2:POFFset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
:DUAL:FUNCtion[1]|2:FREQuency. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
:DUAL:FUNCtion[1]|2:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
:DUAL:FUNCtion[1]|2:SHAPe:RAMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
:FUNCtion[1]|2:FREQuency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
:FUNCtion[1]|2:PERiod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
:FUNCtion[1]|2:POFFset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
:FUNCtion[1]|2:PWIDth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
:FUNCtion[1]|2:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
:FUNCtion[1]|2:SHAPe:RAMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
:LOAD:IMPedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
:NOISe[1]|2:TYPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
:OFFset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
:SOURce:MONitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
:SWEep:FUNCtion:FREQuency:STARt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
:SWEep:FUNCtion:FREQuency:STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
:SWEep:FUNCtion:SHAPe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
:SWEep:FUNCtion:SHAPe:RAMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
:SWEep:RATE[1]|2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
:SWEep:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
:SWEep:TIME:COUPled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
:SWEep:TIME[1]|2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
:SWEep:TRIGger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
:SWEep:TRIGger:EXTernal:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
:SWEep:TRIGger:INTernal:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
:SWEep:TRIGger:SLOPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Phase Modulation Subsystem–Option UNT ([:SOURce]). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
:PM[1]|2:BANDwidth|BWIDth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
:PM[1]|2:EXTernal[1]|2:COUPling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
:PM[1]|2:EXTernal[1]|2:IMPedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
:PM[1]|2:INTernal:DUAL:FUNCtion2:AMPLitude:PERCent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
:PM[1]|2:INTernal:DUAL:FUNCtion2:POFFset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
:PM[1]|2:INTernal:DUAL:FUNCtion[1]|2:FREQuency. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
:PM[1]|2:INTernal:DUAL:FUNCtion[1]|2:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
:PM[1]|2:INTernal:DUAL:FUNCtion[1]|2:SHAPe:RAMP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
:PM:INTernal:FREQuency:STEP[:INCRement] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
:PM[1]|2:INTernal:FUNCtion[1]|2:FREQuency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
:PM[1]|2:INTernal:FUNCtion[1]|2:POFFset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
:PM[1]|2:INTernal:FUNCtion[1]|2:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
:PM[1]|2:INTernal:FUNCtion[1]|2:SHAPe:RAMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
:PM[1]|2:INTernal:NOISe[1]|2:TYPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
:PM[1]|2:INTernal:SWEep:FUNCtion:FREQuency:STARt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
17
Contents
:PM[1]|2:INTernal:SWEep:FUNCtion:FREQuency:STOP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
:PM[1]|2:INTernal:SWEep:FUNCtion:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
:PM[1]|2:INTernal:SWEep:FUNCtion:SHAPe:RAMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
:PM[1]|2:INTernal:SWEep:RATE[1]|2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
:PM[1]|2:INTernal:SWEep:SHAPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
:PM[1]|2:INTernal:SWEep:TIME:COUPled. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
:PM[1]|2:INTernal:SWEep:TIME[1]|2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
:PM[1]|2:INTernal:SWEep:TRIGger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
:PM[1]|2:INTernal:SWEep:TRIGger:EXTernal:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
:PM[1]|2:INTernal:SWEep:TRIGger:INTernal:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
:PM[1]|2:INTernal:SWEep:TRIGger:SLOPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
:PM[1]|2:SOURce. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
:PM[1]|2:STATe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
:PM[1]|2[:DEViation] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
:PM[:DEViation]:STEP[:INCRement] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Pulse Modulation Subsystem–Option UNU and UNW and Option 320 ([:SOURce]) . . . . . . . . . . . . . . . . . . . . . . . 296
:PULM:EXTernal:POLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
:PULM:INTernal:DELay:STEP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
:PULM:INTernal:DELay[1]|2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
:PULM:INTernal:FREQuency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
:PULM:INTernal:FREQuency:STEP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
:PULM:INTernal:PERiod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
:PULM:INTernal:PERiod:STEP[:INCRement] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
:PULM:INTernal:PWIDth:STEP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
:PULM:INTernal:PWIDth[1]|2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
:PULM:INTernal:TRAin:LIST:PRESet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
:PULM:INTernal:TRAin:OFFTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
:PULM:INTernal:TRAin:OFFTime:POINts?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
:PULM:INTernal:TRAin:ONTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
:PULM:INTernal:TRAin:ONTime:POINts? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
:PULM:INTernal:TRAin:REPetition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
:PULM:INTernal:TRAin:REPetition:POINts? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
:PULM:INTernal:TRAin:TRIGger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
:PULM:INTernal:TRAin:TRIGger:IMMediate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
:PULM:INTernal:VIDeo:POLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
:PULM:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
:PULM:SOURce:INTernal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
:PULM:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
5. Arb Commands
All Subsystem–N5172B/82B ([:SOURce]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
:RADio:ALL:OFF. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
Dmodulation Subsystem–N5172B/82B with Option 431
([:SOURce]:RADio:DMODulation:ARB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
:BASeband:FREQuency:OFFSet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
:BASeband:FREQuency:OFFSet:PHASe:RESet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
:FILTer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
:FILTer:ALPHa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
18 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Contents
:FILTer:BBT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
:FILTer:CHANnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
:HEADer:CLEar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
:HEADer:SAVE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
:IQ:MODulation:ATTen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
:IQ:MODulation:ATTen:AUTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
:MDEStination:AAMPlitude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
:MDEStination:ALCHold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
:MDEStination:PULSe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
:MODulation:ASK[:DEPTh]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
:MODulation:FSK[:DEViation] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
:MODulation[:TYPE] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
:MODulation:UFSK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
:MODulation:UIQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
:MODulation:UQPSk[:GAIN] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
:MPOLarity:MARKer1|2|3|4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
:NOISe:BANDwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
:NOISe:CBRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
:NOISe:CBWidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
:NOISe:CN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
:NOISe:CNFormat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
:NOISe:EBNO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
:NOISe:MUX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
:NOISe:POWer:CARRier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
:NOISe:POWer:CONTrol[:MODE]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
:NOISe:POWer:NOISe:CHANnel? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
:NOISe:POWer:NOISe:TOTal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
:NOISe[:STATe]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
:PHASe:NOISe:F1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
:PHASe:NOISe:F1:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
:PHASe:NOISe:F2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
:PHASe:NOISe:F2:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
:PHASe:NOISe:LMID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
:PHASe:NOISe:LMID:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
:PHASe:NOISe[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
:PHASe:NOISe:TRACe? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
:PLAY:COMPleted? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
:PLAY:WCOMpleted?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
:RETRigger. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
:SCLock:RATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
:SETup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
:SETup:MCARrier. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
:SETup:MCARrier:PHASe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
:SETup:MCARrier:STORe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
:SETup:MCARrier:TABLe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
:SETup:MCARrier:TABLe:NCARriers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
:SETup:STORe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
:SRATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
19
Contents
:TRIGger:TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
:TRIGger:TYPE:CONTinuous[:TYPE] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
:TRIGger:TYPE:GATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
:TRIGger[:SOURce] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
:TRIGger[:SOURce]:EXTernal:DELay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
:TRIGger[:SOURce]:EXTernal:DELay:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
:TRIGger[:SOURce]:EXTernal:SLOPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
:TRIGger[:SOURce]:EXTernal[:SOURce] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
Dual ARB Subsystem–N5172B/82B ([:SOURce]:RADio:ARB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
:BASeband:FREQuency:OFFSet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
:BASeband:FREQuency:OFFSet:PHASe:RESet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
:CLIPping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
:DOPRotection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
:FILTer:ALPHa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
:FILTer:BBT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
:FILTer:CHANnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
:FILTer:TYPE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
:FILTer[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
:GENerate:SINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
:GENerate:TEST:WAVeforms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
:HEADer:CLEar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
:HEADER:NOISe:RMS[:OVERride]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
:HEADer:RMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
:HEADer:SAVE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
:IQ:MODulation:ATTen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
:IQ:MODulation:ATTen:AUTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
:MARKer:CLEar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
:MARKer:CLEar:ALL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
:MARKer:ROTate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
:MARKer[:SET] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
:MBSync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
:MBSync:NASLaves. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
:MBSync:NSLaves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
:MBSync:SLISten. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
:MBSync:SREFerence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
:MBSync:SSLaves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
:MDEStination:AAMPlitude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
:MDEStination:ALCHold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
:MDEStination:PULSe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
:MPOLarity:MARKer1|2|3|4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
:NOISe:BANDwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
:NOISe:CBRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
:NOISe:CBWidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
:NOISe:CN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
:NOISe:CNFormat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
:NOISe:EBNO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
:NOISe:MUX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
20 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Contents
:NOISe:POWer:CARRier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
:NOISe:POWer:CONTrol[:MODE]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
:NOISe:POWer:NOISe:CHANnel? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
:NOISe:POWer:NOISe:TOTal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
:NOISe[:STATe]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
:PHASe:NOISe:F1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
:PHASe:NOISe:F1:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
:PHASe:NOISe:F2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
:PHASe:NOISe:F2:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
:PHASe:NOISe:LMID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
:PHASe:NOISe:LMID:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
:PHASe:NOISe[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
:PHASe:NOISe:TRACe? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
:PLAY:COMPleted? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
:PLAY:WCOMpleted?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
:REGister[:STATus] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
:RETRigger. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
:RSCaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
:SCALing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
:SCLock:RATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
:SEQuence[:MWAVeform] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
:TRIGger:TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
:TRIGger:TYPE:CONTinuous[:TYPE] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
:TRIGger:TYPE:GATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
:TRIGger:TYPE:SADVance[:TYPE] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
:TRIGger:TYPE:SINGle:REPeat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
:TRIGger[:SOURce] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
:TRIGger[SOURce]:EXTernal:DELay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
:TRIGger[:SOURce]:EXTernal:DELay:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
:TRIGger[:SOURce]:EXTernal:SLOPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
:TRIGger[:SOURce]:EXTernal[:SOURce] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
:WAVeform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
:WAVeform:NHEAders. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
:WAVeform:SEGMents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
LARB Subsystem–N5172B/82B ([:SOURce]:RADio:LARB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
Multitone Subsystem–N5172B/82B ([:SOURce]:RADio:MTONe:ARB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
Creating a Multitone Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
:ALIGnment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
:BASEband:FREQuency:OFFSet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
:BASeband:FREQuency:OFFSet:PHASe:RESet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
:HEADer:CLEar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
:HEADer:SAVE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
:IQ:MODulation:ATTen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
:IQ:MODulation:ATTen:AUTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
:MDEStination:AAMPlitude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
:MDEStination:ALCHold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
21
Contents
:MDEStination:PULSe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
:MPOLarity:MARKer1|2|3|4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
:NOISe:BANDwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
:NOISe:CBRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
:NOISe:CBWidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
:NOISe:CN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
:NOISe:CNFormat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
:NOISe:EBNO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
:NOISe:MUX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
:NOISe:POWer:CARRier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
:NOISe:POWer:CONTrol[:MODE] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
:NOISe:POWer:NOISe:CHANnel? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398
:NOISe:POWer:NOISe:TOTal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398
:NOISe[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398
:PHASe:NOISe:F1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
:PHASe:NOISe:F1:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
:PHASe:NOISe:F2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
:PHASe:NOISe:F2:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
:PHASe:NOISe:LMID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
:PHASe:NOISe:LMID:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
:PHASe:NOISe[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
:PHASe:NOISe:TRACe? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
:SCLock:RATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
:SETup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
:SETup:STORe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
:SETup:TABLe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
:SETup:TABLe:FSPacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
:SETup:TABLe:NTONes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
:SETup:TABLe:PHASe:INITialize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
:SETup:TABLe:PHASe:INITialize:SEED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
:SETup:TABLe:ROW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
Two Tone Subsystem–N5172B/82B ([:SOURce]:RADio:TTONe:ARB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
:ALIGnment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
:APPly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
:BASEband:FREQuency:OFFSet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
:BASeband:FREQuency:OFFSet:PHASe:RESet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
:FSPacing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
:HEADer:CLEar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
:HEADer:SAVE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
:IQ:MODulation:ATTen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
:IQ:MODulation:ATTen:AUTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
:MDEStination:ALCHold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
:MDEStination:PULSe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
:MPOLarity:MARKer1|2|3|4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
:NOISe:BANDwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
:NOISe:CBRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
:NOISe:CBWidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
22 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Contents
:NOISe:CN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
:NOISe:CNFormat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
:NOISe:EBNO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
:NOISe:MUX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418
:NOISe:POWer:CARRier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418
:NOISe:POWer:CONTrol[:MODE]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
:NOISe:POWer:NOISe:CHANnel? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
:NOISe:POWer:NOISe:TOTal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
:NOISe[:STATe]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
:PHASe:NOISe:F1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
:PHASe:NOISe:F1:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
:PHASe:NOISe:F2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
:PHASe:NOISe:F2:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
:PHASe:NOISe:LMID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
:PHASe:NOISe:LMID:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
:PHASe:NOISe[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
:PHASe:NOISe:TRACe? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
:SCLock:RATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
6. Digital Signal Interface Module Commands
Digital Subsystem—Option 003 and 004 ([:SOURce]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
:DIGital:CLOCk:CPS 1|2|4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
:DIGital:CLOCk:PHASe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
:DIGital:CLOCk:POLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
:DIGital:CLOCk:RATE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
:DIGital:CLOCk:REFerence:FREQuency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
:DIGital:CLOCk:SKEW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
:DIGital:CLOCk:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
:DIGital:DATA:ALIGnment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
:DIGital:DATA:BORDer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
:DIGital:DATA:DIRection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
:DIGital:DATA:INEGate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
:DIGital:DATA:INPut:ATTen:AUTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
:DIGital:DATA:INPut:ATTen:LEVel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
:DIGital:DATA:INPut:BASeband:FREQuency:OFFSet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
:DIGital:DATA:INPut:BASeband:FREQuency:OFFSet:PHASe:RESet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
:DIGital:DATA:INPut:FILTer:ALPHa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
:DIGital:DATA:INPut:FILTer:BBT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
:DIGital:DATA:INPut:FILTer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
:DIGital:DATA:INPut:FILTer:CHANnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
:DIGital:DATA:INPut:IQ:SCALe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
:DIGital:DATA:INPut:MDEStination:AAMPlitude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
:DIGital:DATA:INPut:MDEStination:ALCHold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
:DIGital:DATA:INPut:MDEStination:PULSe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
:DIGital:DATA:INPut:MPOLarity:MARKer1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
:DIGital:DATA:INPut:NOISe:BANDwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
:DIGital:DATA:INPut:NOISe:CBRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
23
Contents
:DIGital:DATA:INPut:NOISe:CBWidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
:DIGital:DATA:INPut:NOISe:CN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
:DIGital:DATA:INPut:NOISe:CNFormat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
:DIGital:DATA:INPut:NOISe:EBNO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
:DIGital:DATA:INPut:NOISe:MUX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
:DIGital:DATA:INPut:NOISe:POWer:CARRier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442
:DIGital:DATA:INPut:NOISe:POWer:CONTrol[:MODE] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442
:DIGital:DATA:INPut:NOISe:POWer:NOISe:CHANnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
:DIGital:DATA:INPut:NOISe:POWer:NOISe:TOTal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444
:DIGital:DATA:INPut:PHASe:NOISe:F1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444
:DIGital:DATA:INPut:PHASe:NOISe:F1:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
:DIGital:DATA:INPut:PHASe:NOISe:F2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
:DIGital:DATA:INPut:PHASe:NOISe:F2:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446
:DIGital:DATA:INPut:PHASe:NOISe:LMID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446
:DIGital:DATA:INPut:PHASe:NOISe:LMID:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
::DIGital:DATA:INPut:PHASe:NOISe:TRACe? <startFreq:1 - 100MHz>,<stopFreq:1 - 100MHz>,<numSamples:1
- 8192> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
:DIGital:DATA:INPut:PHASe:NOISe[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
:DIGital:DATA:INPut:NOISe:POWer:NOISe:CHANnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
:DIGital:DATA:INPut:NOISe[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
:DIGital:DATA:IQSWap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
:DIGital:DATA:NFORmat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
:DIGital:DATA:OUTPut:IGain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
:DIGital:DATA:OUTPut:IOFFset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
:DIGital:DATA:OUTPut:POLarity:FRAMe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
:DIGital:DATA:OUTPut:QGain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
:DIGital:DATA:OUTPut:QOFFset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452
:DIGital:DATA:OUTPut:ROTation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452
:DIGital:DATA:OUTPut:SCALing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
:DIGital:DATA:OUTPut:SSI:BPFRam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
:DIGital:DATA:OUTPut:SSI:SDELay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
:DIGital:DATA:OUTPut:STYPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454
:DIGital:DATA:POLarity:IQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454
:DIGital:DATA:QNEGate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455
:DIGital:DATA:SIZE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455
:DIGital:DATA:TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455
:DIGital:DIAGnostic:LOOPback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456
:DIGital:LOGic[:TYPE] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
:DIGital:PCONfig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
:DIGital:PRESet:PTHRough . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458
:DIGital[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458
7. Bit Error Rate Test (BERT) Commands
Calculate Subsystem (:CALCulate:BERT[:BASeband]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
:COMParator:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
:COMParator:THReshold. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
:COMParator[:STATe]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
:DISPlay:MODE:. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
24 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Contents
:DISPlay:UPDate:. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
Data Subsystem (:DATA). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
:BERT:AUXout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
:BERT[:BASeband][:DATA] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
Input Subsystem (:INPut:BERT[: BASeband]). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
:CGATe:DELay:CLOCk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
:CGATe:DELay:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
:CGATe:DELay:TIME. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
:CGATe:DELay[:STATe]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
:CGATe:POLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
:CGATe[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
:CLOCk:DELAy:RESolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
:CLOCk:DELAy:TIME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
:CLOCk:DELAy[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
:CLOCk:POLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
:DATA:POLarity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
Route Subsystem (:ROUTe:LINE:BERT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
:CLOCk:BNC:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
:DATA:BNC:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
:GATE:BNC:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
Sense Subsystem (:SENSe:BERT[:BASeband]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
:PRBS:FUNCtion:SPIGnore:DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
:PRBS:FUNCtion:SPIGnore[:STATe]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
:PRBS[:DATA] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
:RSYNc:THReshold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
:RSYNc[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
:STOP:CRITeria:EBIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
:STOP:CRITeria[:SELect] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
:TBITs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
:TRIGger:BDELay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
:TRIGger:BDELay:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
:TRIGger:COUNt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
:TRIGger:EXTernal[:SOURce] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
:TRIGger:POLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
:TRIGger[:SOURce] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477
8. Real–Time Commands
All Subsystem–N5172B/82B ([:SOURce]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480
:RADio:ALL:OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480
AWGN Real–Time Subsystem–Option 403 ([:SOURce]:RADio:AWGN:RT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481
:BWIDth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481
:CBWidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481
:IQ:MODulation:ATTen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481
:IQ:MODulation:ATTen:AUTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482
:POWer:CONTrol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482
:POWer:NOISe:CHANnel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
25
Contents
:RATio. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
Custom Subsystem–Option 431([:SOURce]:RADio:CUSTom). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484
:ALPha . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484
:BASeband:FREQuency:OFFSet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484
:BASeband:FREQuency:OFFSet:PHASe:RESet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484
:BBT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
:BRATe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
:BURSt:SHAPe:FALL:DELay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 487
:BURSt:SHAPe:FALL:TIME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 487
:BURSt:SHAPe:FDELay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 488
:BURSt:SHAPe:FTIMe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 488
:BURSt:SHAPe:RDELay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 489
:BURSt:SHAPe:RISE:DELay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 489
:BURSt:SHAPe:RISE:TIME. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 490
:BURSt:SHAPe:RTIMe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 490
:BURSt:SHAPe[:TYPE] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
:CHANnel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
:DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492
:DATA:FIX4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492
:DATA:PRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493
:DENCode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493
:EDATa:DELay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493
:EDCLock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494
:FILTer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494
:IQ:MODulation:ATTen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
:IQ:MODulation:ATTen:AUTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
:IQ:SCALe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496
:MODulation:ASK[:DEPTh] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496
:MODulation:FSK[:DEViation] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496
:MODulation:MSK[:PHASe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
:MODulation:UFSK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
:MODulation:UIQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498
:MODulation[:TYPE]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498
:NOISe:BANDwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
:NOISe:CBRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
:NOISe:CBWidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
:NOISe:CN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
:NOISe:CNFormat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
:NOISe:EBNO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501
:NOISe:MUX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501
:NOISe:POWer:CARRier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 502
:NOISe:POWer:CONTrol[:MODE] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 502
:NOISe:POWer:NOISe:CHANnel? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503
:NOISe:POWer:NOISe:TOTal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503
:NOISe[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504
:PHASe:NOISe:F1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504
:PHASe:NOISe:F1:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505
26 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Contents
:PHASe:NOISe:F2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505
:PHASe:NOISe:F2:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505
:PHASe:NOISe:LMID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505
:PHASe:NOISe:LMID:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506
:PHASe:NOISe[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506
:PHASe:NOISe:TRACe? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506
:POLarity[:ALL]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
:RETRigger. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
:SRATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508
:STANdard:SELect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510
:TRIGger:TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510
:TRIGger:TYPE:CONTinuous[:TYPE] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511
:TRIGger:TYPE:GATE:ACTive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511
:TRIGger[:SOURce] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 512
:TRIGger[:SOURce]:EXTernal:DELay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513
:TRIGger[:SOURce]:EXTernal:DELay:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514
:TRIGger[:SOURce]:EXTernal:SLOPe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514
:TRIGger[:SOURce]:EXTernal[:SOURce] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515
[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515
Phase Noise Subsystem–Option 432 ([SOURce:RADio:PHASe:NOISe) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
:F1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
:F1:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
:F2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
:F2:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517
:LMID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517
:LMID:ACTual? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517
[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 518
:TRACe? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 518
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
27
Contents
28 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Documentation Overview
Getting Started Guide
User’s Guide
—Safety Information — Receiving the Instrument — Environmental & Electrical Requirements —Basic Setup — Accessories — Operation Verification — Regulatory Information
Signal Generator Overview — Setting Preferences & Enabling Options — Basic Operation — Optimizing Performance — Using Analog Modulation (Option UNT) — Using Pulse Modulation (Option UNW and 320) — Basic Digital Operation – No BBG Option Installed — Basic Digital Operation (Option 653/655/656/657) — Adding Real–Time Noise to a Signal (Option 403) — Real–Time Phase Noise Impairments (Option 432) — Custom Digital Modulation (Option 431) — Multitone and Two–Tone Waveform Generator (Option 430) — Working in a Secure Environment — Troubleshooting
Programming Guide
SCPI Reference
Programming Compatibility Guide
Getting Started with Remote Operation — Using IO Interfaces — Programming Examples — Programming the Status Register System — Creating and Downloading Files — Creating and Downloading User–Data Files
—SCPI Basics — Basic Function Commands — LXI System Commands — System Commands — Analog Modulation Commands —Arb Commands — Real–Time Commands
Provides a listing of SCPI commands and programming codes for
signal generator models that are supported by the Keysight EXG and MXG X- Series signal generators.
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 29
Service Guide
Troubleshooting —Replaceable Parts — Assembly Replacement — Post–Repair Procedures — Safety and Regulatory Information — Instrument History
Key Help
a
Key function description — Related SCPI commands
a. Press the Help hardkey, and then the key for which you wish help.
30 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Keysight X-Series Signal Generators N5171B/72B/73B EXG and N5181B/82B/83B MXG
SCPI Command Reference

1 SCPI Basics

This chapter describes how SCPI information is organized and presented in this guide. An overview of the SCPI language is also provided. This chapter contains the following major sections:
Command Reference Information on page 32
SCPI Basics on page 33
31
SCPI Basics Command Reference Information

Command Reference Information

SCPI Command Listings

The Table of Contents lists the Standard Commands for Programmable Instruments (SCPI) without the parameters. The SCPI subsystem name will generally have the first part of the command in parenthesis that is repeated in all commands within the subsystem. The title(s) beneath the subsystem name is the remaining command syntax. The following example demonstrates this listing:
Communication Subsystem (:SYSTem:COMMunicate) :LAN:IP
:LAN:SUBNet
The following examples show the complete commands from the above Table of Contents listing:
:SYSTem:COMMunicate:LAN:IP :SYSTem:COMMunicate:LAN:SUBNet

Key and Data Field Cross Reference

The index is set up so applicable key and data field names can be cross-referenced to the appropriate SCPI command. There are two headings in the index where the key and data field names can be found:
— individual softkey, or data field name (i.e. To look up the communication
subsystem topic on Default Gateway softkey refer to Default Gateway softkey.)
— subsystem name (i.e. To look for the Default Gateway softkey (in the
Communication Subsystem), refer to the heading labeled: “communication subsystem keys”.)

Supported Field

Within each command section, the “Supported” heading describes which signal generator configurations are supported by the SCPI command. When “All Models” is shown next to this heading, all signal generator configurations are supported by the SCPI command. When “All with Option xxx” is shown next to this heading, only the stated option(s) is supported.
32 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference

SCPI Basics

Common Terms

SCPI Basics SCPI Basics
This section describes the general use of the SCPI language forKeysight X-Series signal generators. It is not intended to teach you everything about the SCPI language; the SCPI Consortium or IEEE can provide that level of detailed information. For a list of the specific commands available for the signal generator, refer to the table of contents.
For additional information, refer to the following publications:
— IEEE Standard 488.1-2003, IEEE Standard For Higher Performance Protocol
for the Standard Digital Interface for Programmable Instrumentation. New York, NY, 2003.
— IEEE Standard 488.2-1992, IEEE Standard Codes, Formats, Protocols and
Command Commands for Use with ANSI/IEEE Standard 488.1-1987. New York, NY, 1998.
The following terms are used throughout the remainder of this section:
Command A command is an instruction in SCPI consisting of
mnemonics (keywords), parameters (arguments), and punctuation. You combine commands to form messages that control instruments.
Controller A controller is any device used to control the signal
generator, for example a computer or another instrument.
Event Command Some commands are events and cannot be queried. An
event has no corresponding setting; it initiates an action at a particular time.
Program Message A program message is a combination of one or more
properly formatted commands. Program messages are sent by the controller to the signal generator.
Query A query is a special type of command used to instruct
the signal generator to make response data available to the controller. A query ends with a question mark. Generally you can query any command value that you set.
Response Message A response message is a collection of data in
specific SCPI formats sent from the signal generator to the controller. Response messages tell the controller about the internal state of the signal generator.
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 33
SCPI Basics SCPI Basics

Command Syntax

A typical command is made up of keywords prefixed with colons (:). The keywords are followed by parameters. The following is an example syntax statement:
[:SOURce]:PULM:INTernal:FREQuency <frequency>|MAXimum|MINimum|UP|DOWN
In the example above, the :INTernal:FREQuency portion of the command immediately follows the :PULM portion with no separating space. The portion following the :INTernal, <frequency>|MAXimum|MINimum|UP|DOWN, are the parameters (argument for the command statement). There is a separating space (white space) between the command and its parameter.
Additional conventions in syntax statements are shown in Table 1-1 and Table
1-2.
Table 1-1 Special Characters in Command Syntax
Characters Meaning Example
| A vertical stroke between keywords or parameters
indicates alternative choices. For parameters, the effect of the command varies depending on the choice.
[ ] Square brackets indicate that the enclosed keywords
or parameters are optional when composing the command. These implied keywords or parameters will be executed even if they are omitted.
< > Angle brackets around a word (or words) indicate they
are not to be used literally in the command. They represent the needed item.
[:SOURce]:AM: MOD DEEP|NORMal
DEEP or NORMal are the choices.
[:SOURce]:FREQuency[:CW ]?
SOURce and CW are optional items.
[:SOURce]:FREQuency: STARt <value><unit>
In this command, the words <value> and <unit> should be replaced by the actual frequency and unit.
:FREQuency:STARt 2.5GHz
34 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
SCPI Basics SCPI Basics
Table 1-2 Command Syntax
Characters, Keywords, and Syntax Example
Upper-case lettering indicates the minimum set of characters required to execute the command. But, each mode of the command must be in either short form or the complete long form (no in-between). Example:
Correct:
:FREQ :FREQuency
Incorrect:
:FREQuenc
Lower-case lettering indicates the portion of the command that is optional; it can either be included with the upper-case portion of the command or omitted. This is the flexible format principle called forgiving listening. Refer to
Responses” on page 37
When a colon is placed between two command mnemonics, it moves the current path down one level in the command tree. Refer to
“Command Tree” on page 36 more information on
command paths.
If a command requires more than one parameter, you must separate adjacent parameters using a comma. Parameters are not part of the command path, so commas do not affect the path level.
“Command Parameters and
for more information.
[:SOURce]:FREQuency[:CW]?,
FREQ is the minimum requirement.
:FREQuency
Either :FREQ, :FREQuency, or :FREQUENCY is correct.
:TRIGger:OUTPut:POLarity?
TRIGger is the root level keyword for this
command.
[:SOURce]:LIST: DWELl <value>,<value>
A semicolon separates two commands in the same program message without changing the current path.
White space characters, such as <tab> and <space>, are generally ignored as long as they do not occur within or between keywords.
However, you must use white space to separate the command from the parameter, but this does not affect the current path.
:FREQ 2.5GHz;:POW 10dBm
:FREQ uency or :POWer :LEVel
are not allowed.
A <space> between :LEVel and 6.2 is mandatory.
:POWer:LEVel 6.2
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 35
SCPI Basics SCPI Basics

Command Types

Commands can be separated into two groups: common commands and subsystem commands. Figure 1-1, shows the separation of the two command groups.
Common commands are used to manage status registers, synchronization, and data storage and are defined by IEEE 488.2. They are easy to recognize because they all begin with an asterisk. For example *IDN?, *OPC, and *RST are common commands. Common commands are not part of any subsystem and the signal generator interprets them in the same way, regardless of the current path setting.
Subsystem commands are distinguished by the colon (:). The colon is used at the beginning of a command statement and between keywords, as in :FREQuency[:CW?]. Each command subsystem is a set of commands that roughly correspond to a functional block inside the signal generator. For example, the power subsystem (:POWer) contains commands for power generation, while the status subsystem (:STATus) contains commands for controlling status registers.
Figure 1-1 Command Types

Command Tree

Most programming tasks involve subsystem commands. SCPI uses a structure for subsystem commands similar to the file systems on most computers. In SCPI, this command structure is called a command tree and is shown in Figure
1-2.
36 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
SCPI Basics SCPI Basics
Figure 1-2 Simplified Command Tree
The command closest to the top is the root command, or simply “the root.” Notice that you must follow a particular path to reach lower level commands. In the following example, :POWer represents AA, :ALC represents BB,
:SOURce represents GG. The complete command path is :POWer:ALC:SOURce? (:AA:BB:GG).
Paths Through the Command Tree
To access commands from different paths in the command tree, you must understand how the signal generator interprets commands. The parser, a part of the signal generator firmware, decodes each message sent to the signal generator. The parser breaks up the message into component commands using a set of rules to determine the command tree path used. The parser keeps track of the current path (the level in the command tree) and where it expects to find the next command statement. This is important because the same keyword may appear in different paths. The particular path is determined by the keyword(s) in the command statement.
A message terminator, such as a <new line> character, sets the current path to the root. Many programming languages have output statements that automatically send message terminators.
The current path is set to the root after the line-power is cycled or when
*RST is sent.

Command Parameters and Responses

SCPI defines different data formats for use in program and response messages. It does this to accommodate the principle of forgiving listening and precise talking. For more information on program data types refer to IEEE 488.2.
Forgiving listening means the command and parameter formats are flexible.
For example, with the :FREQuency:REFerence:STATe ON|OFF|1|0 command, the signal generator accepts :FREQuency:REFerence:STATe ON,
:FREQuency:REFerence:STATe 1, :FREQ:REF:STAT ON, :FREQ:REF:STAT 1 to turn on the frequency reference mode.
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 37
SCPI Basics SCPI Basics
Each parameter type has one or more corresponding response data types. A setting that you program using a numeric parameter returns either real or integer response data when queried. Response data (data returned to the controller) is more concise and restricted, and is called precise talking.
Precise talking means that the response format for a particular query is always the same.
For example, if you query the power state (:POWer:ALC:STATe?) when it is on, the response is always 1, regardless of whether you previously sent :POWer:ALC:STATe 1 or :POWer:ALC:STATe ON. Table shows the response for a given parameter type.
Parameter Types Response Data Types
Numeric Real, Integer
Extended Numeric Real, Integer
Discrete Discrete
Boolean Numeric Boolean
String String
Definite Block
Arbitrary byte data
a
a. (i.e. text, binary, discrete, real, integer, etc.-).
Numeric Parameters
Numeric parameters are used in both common and subsystem commands. They accept all commonly used decimal representations of numbers including optional signs, decimal points, and scientific notation.
If a signal generator setting is programmed with a numeric parameter which can only assume a finite value, it automatically rounds any entered parameter which is greater or less than the finite value. For example, if a signal generator has a programmable output impedance of 50 or 75 ohms, and you specified
76.1 for the output impedance, the value is rounded to 75. The following are examples of numeric parameters:
100 no decimal point required
100. fractional digits optional
1.23 leading signs allowed
4.56E<space>3 space allowed after the E in exponential
7.89E001 use either E or e in exponential
+256 leading + allowed
.5 digits left of decimal point optional
38 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
SCPI Basics SCPI Basics
Extended Numeric Parameters
Most subsystems use extended numeric parameters to specify physical quantities. Extended numeric parameters accept all numeric parameter values and other special values as well.
The following are examples of extended numeric parameters:
100 any simple numeric value
1.2GHz GHz can be used for exponential (E009)
200MHz MHz can be used for exponential (E006)
100mV negative 100 millivolts
10DEG 10 degrees
Extended numeric parameters also include the following special
parameters:
DEFault resets the parameter to its default value
UP increments the parameter
DOWN decrements the parameter
MINimum sets the parameter to the smallest possible value
MAXimum sets the parameter to the largest possible value
Discrete Parameters
Discrete parameters use mnemonics to represent each valid setting. They have a long and a short form, just like command mnemonics. You can mix upper and lower case letters for discrete parameters.
The following examples of discrete parameters are used with the command :TRIGger[:SEQuence]:SOURce BUS|IMMediate|EXTernal.
BUS GPIB, LAN, or USB triggering
IMMediate immediate trigger (free run)
EXTernal external triggering
Although discrete parameters look like command keywords, do not confuse the two. In particular, be sure to use colons and spaces properly. Use a colon to separate command mnemonics from each other and a space to separate parameters from command mnemonics.
The following are examples of discrete parameters in commands:
TRIGger:SOURce BUS
TRIGger:SOURce IMMediate
TRIGger:SOURce EXTernal
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 39
SCPI Basics SCPI Basics
Boolean Parameters
Boolean parameters represent a single binary condition that is either true or false. The two-state boolean parameter has four arguments. The following list shows the arguments for the two-state boolean parameter:
ON boolean true, upper/lower case allowed
OFF boolean false, upper/lower case allowed
1 boolean true
0 boolean false
String Parameters
String parameters allow ASCII strings to be sent as parameters. Single or double quotes are used as delimiters.
The following are examples of string parameters:
'This is valid'
"This is also valid"
'SO IS THIS'
Real Response Data
Real response data represent decimal numbers in either fixed decimal or scientific notation. Most high-level programming languages that support signal generator input/output (I/O) handle either decimal or scientific notation transparently.
The following are examples of real response data:
+4.000000E+010, 9.990000E+002
9.990000E+002
+4.0000000000000E+010
+1
0
40 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
SCPI Basics SCPI Basics
Integer Response Data
Integer response data are decimal representations of integer values including optional signs. Most status register related queries return integer response data.
The following are examples of integer response data:
0 signs are optional
+100 leading + allowed
100 leading allowed
256 never any decimal point
Discrete Response Data
Discrete response data are similar to discrete parameters. The main difference is that discrete response data only returns the short form of a particular mnemonic, in all upper case letters.
The following are examples of discrete response data:
IMM
EXT
INT
NEG
Numeric Boolean Response Data
Boolean response data returns a binary numeric value of one or zero.
String Response Data
String response data are similar to string parameters. The main difference is that string response data returns double quotes, rather than single quotes. Embedded double quotes may be present in string response data. Embedded quotes appear as two adjacent double quotes with no characters between them.
The following are examples of string response data:
"This is a string"
"one double quote inside brackets: [""]"
"Hello!"
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 41
SCPI Basics SCPI Basics

Program Messages

The following commands will be used to demonstrate the creation of program messages:
[:SOURce]:FREQuency:STARt [:SOURce]:FREQuency:STOP
[:SOURce]:FREQuency[:CW] [:SOURce]:POWer[:LEVel]:OF FSet
Example 1
:FREQuency:STARt 500MHz;STOP 1000MHz
This program message is correct and will not cause errors; STARt and STOP are at the same path level. It is equivalent to sending the following message:
FREQuency:STARt 500MHz;FREQuency:STOP 1000MHz
Example 2
:POWer 10DBM;:OFFSet 5DB
This program message will result in an error. The message makes use of the default POWer[:LEVel] node (root command). When using a default node, there is no change to the current path position. Since there is no command OFFSet at the root level, an error results.
The following example shows the correct syntax for this program message:
:POWer 10DBM;:POWer:OFFSet 5DB
Example 3
:POWer:OFFSet 5DB;POWer 10DBM
This program message results in a command error. The path is dropped one level at each colon. The first half of the message drops the command path to the lower level command OFFSet; POWer does not exist at this level.
The POWer 10DBM command is missing the leading colon and when sent, it causes confusion because the signal generator cannot find POWer at the POWer:OFFSet level. By adding the leading colon, the current path is reset to the root. The following shows the correct program message:
:POWer:OFFSet 5DB;:POWer 10DBM
Example 4
FREQ 500MHz;POW 4DBM
In this example, the keyword short form is used. The program message is correct because it utilizes the default nodes of :FREQ[:CW] and :POW[:LEVel]. Since default nodes do not affect the current path, it is not necessary to use a leading colon before FREQ or POW.
42 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
SCPI Basics SCPI Basics

File Name Variables

File name variables designate a data file and file path. File name variables are used in the SCPI command syntax whenever files are accessed. The name of the file is always required, but the file path can sometimes be optional or be designated using different formats. The following table shows these different file path formats:
Format File Name Variable Example
Format 1 "<file name>" "Test_Data"
Format 2 "<file name@msus>"
Format 3 "<msus:file name>" "SEQ:Test_Data"
Format 4 "</user/directory/file name>" "/USER/SEQ/Test_Data"
"Test_Data@SEQ"
a
a. Included for backwards compatibility. Not a recommended syntax.
Formats 2–4 offer programming flexibility and are equivalent. Format 1 can only be used with SCPI commands that imply the path name as part of the command syntax. Typically, SCPI load commands that access user-data files do not need to have a file path designated.
See Table 1-3 on page 45 for information on file types and directories.
The maximum length for a file name is 23 characters, excluding the file path.
Example Using Format 1
:CORR:FLAT:LOAD "FLAT_DATA"
The preceding example loads user-flatness data from a file called FLAT_DATA located in the USERFLAT directory. No file path is needed as the command syntax implies the directory where the file is located.
Example Using Format 2
:MEM:COPY "IQ_DATA@SNVWFM","Test_DATA@WFM1"
The preceding example copies a file named IQ_DATA located in the WAVEFORM directory to a file named Test_DATA in volatile waveform memory (BBG).
Example Using Format 3
:MEM:COPY "SNVWFM:IQ_DATA","WFM1:Test_DATA"
The preceding example copies a file named IQ_DATA located in the WAVEFORM directory to a file named Test_DATA in volatile waveform memory (BBG).
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 43
SCPI Basics SCPI Basics
Example Using Format 4
:MEM:COPY "/USER/WAVEFORM/IQ_DATA","/USER/BBG1/WAVEFORM/IQ_DATA"
The preceding example copies a file named IQ_DATA located in the WAVEFORM directory to a file named IQ_DATA in volatile waveform memory (BBG).
The following examples show commands, with different formats, that can be used to download a waveform file named Test_Data into the signal generator’s volatile waveform memory (BBG):
Command Syntax Format 3
:MEMory:DATA "WFM1:Test_Data",#ABC
Command Syntax Format 4
:MEMory:DATA "/USER/BBG1/WAVEFORM/Test_Data",#ABC
These commands are equivalent. The data block, #ABC, is described as follows:
# This character indicates the beginning of the data block
A Number of digits in the byte count B
B Byte count in C
C Waveform data
Refer to “:DATA” on page 163 and the Programming Guide for more information on data blocks and downloading waveform data.

File Types and Directory Structure

The signal generator uses a computer directory model structure for file storage. The top level directory is called the USER directory. All other directories are subdirectories located under the USER directory. Each subdirectory is dedicated to the type of data stored. For example, the BIN directory is used to store binary data whereas the MARKERS directory is used to store marker data.
44 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
SCPI Basics SCPI Basics
When the USB media is used, the files on the USB media are stored in a single directory (i.e.
USER/). Each file has an extension (i.e. .waveform, .list,
.markers, .state, etc.-). The SCPI commands use the paths shown in Table
1-3 on page 45 and the associated examples. But when viewed, the USB
media, will not display these directories. Instead the file extensions will be displayed. For more information on the USB media capability refer to the Programming Guide and to the Users Guide.
The instrument’s directory /USER/NONVOLATILE contains either the internal storage and USB media non-volatile files stored with the filename extensions: .waveform, .list, .markers, .state, etc.-. This directory is useful when ftp is used.
The following table lists signal generator the subdirectories and file paths where file types are stored.
Table 1-3 File Types and Directory Structures
File System File Type File Path MSUS Path
a
BINARY
HDR1 - volatile arbitrary waveform header file
LIST - sweep list file LIST /USER/LIST LIST:
MKR1 - volatile arbitrary waveform marker file
NVHDR - non-volatile arbitrary waveform
header file
NVMKR - non-volatile arbitrary waveform
marker file
NVWFM - non-volatile arbitrary waveform file
SEQ - ARB sequence file
STATE STATE /USER/STATE STATE:
USERFLAT - user-flatness file UFLT /USER/USERFLAT USERFLAT:
WFM1 - volatile waveform file
a
a
a
a
BIN /USER/BIN BINARY:
a
HDR1 /USER/BBG1/HEADER HDR1:
a
MKR1 /USER/BBG1/MARKERS MKR1:
NVHDR /USER/HEADER NVHDR:
NVMKR /USER/MARKERS NVMKR:
a
NVWFM /USER/WAVEFORM NVWFM:
SEQ /USER/SEQ SEQ:
WAVEFORM /USER/BBG1/WAVEFORM WFM1:
a. This feature does not apply to analog signal generator models.

MSUS (Mass Storage Unit Specifier) Variable

The variable "<msus>" enables a command to be file type specific when working with user files. Some commands use it as the only command parameter, while others can use it in conjunction with a file name when a command is not file type specific. When used with a file name, it is similar to
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 45
SCPI Basics SCPI Basics
Format 2 in the File Name Variables section on page 43. The difference is the file type specifier (msus) occupies its own variable and is not part of the file name syntax.
The following examples illustrate the usage of the variable "<msus>" when it is the only command parameter:
Command Syntax with the msus variable
:MMEMory:CATalog? "<msus>"
Command Syntax with the file system
:MMEMory:CATalog? "LIST:"
The variable "<msus>" is replaced with "LIST:". When the command is executed, the output displays only the files from the List file system.The following examples illustrate the usage of the variable "<file name>" with the variable "<msus>":
Command Syntax with the file name and msus variables
:MMEMory:DELete[:NAME] "<file name>",["<msus>"]
Command Syntax with the file name and file system
:MMEMory:DELete:NAME "LIST_1","LIST:"
The command from the above example cannot discern which file system LIST_1 belongs to without a file system specifier and will not work without it. When the command is properly executed, LIST_1 is deleted from the List file system.
The following example shows the same command, but using Format 2 from the File Name Variables section on page 43:
:MMEMory:DELete:NAME "LIST_1@LIST"
When a file name is a parameter for a command that is not file system specific, either format ("<file name>","<msus>" or "<file name@msus>") will work.
Refer to Table 1-3 on page 45 for a listing of the file systems and types.

Quote Usage with SCPI Commands

As a general rule, programming languages require that SCPI commands be enclosed in double quotes as shown in the following example:
":FM:EXTernal:IMPedance 600"
However when a string is the parameter for a SCPI command, additional quotes or other delimiters may be required to identify the string. Your programming language may use two sets of doublequotes, one set of single quotes, or back slashes with quotes to signify the string parameter. The following examples illustrate these different formats:
46 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
SCPI Basics SCPI Basics
"MEMory:LOAD:LIST ""myfile""" used in BASIC programming
languages
"MEMory:LOAD:LIST \"myfile\"" used in C, C++, Java, and PERL
"MEMory:LOAD:LIST 'myfile'" accepted by most programming
languages
Consult your programming language reference manual to determine the correct format.

Binary, Decimal, Hexadecimal, and Octal Formats

Command values may be entered using a binary, decimal, hexadecimal, or octal format. When the binary, hexadecimal, or octal format is used, their values must be preceded with the proper identifier. The decimal format (default format) requires no identifier and the signal generator assumes this format when a numeric value is entered without one. The following list shows the identifiers for the formats that require them:
— #B identifies the number as a binary numeric value (base-2).
— #H identifies the number as a hexadecimal alphanumeric value (base-16).
— #Q identifies the number as a octal alphanumeric value (base-8).
The following are examples of SCPI command values and identifiers for the decimal value 45:
#B101101 binary equivalent
#H2D hexadecimal equivalent
#Q55 octal equivalent
The following example sets the RF output power to 10 dBm (or the equivalent value for the currently selected power unit, such as DBUV or DBUVEMF) using the hexadecimal value 000A:
:POW #H000A
A unit of measure, such as dBm or mV, will not work with the values when using a format other than decimal.
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 47
SCPI Basics SCPI Basics
48 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Keysight X-Series Signal Generators N5171B/72B/73B EXG and N5181B/82B/83B MXG
SCPI Command Reference

2 Basic Function Commands

This chapter provides SCPI descriptions for subsystems dedicated to signal generator operations common to most MXG and EXG X-Series signal generators.
This chapter contains the following major sections:
Correction Subsystem ([:SOURce]:CORRection) on page 50
Digital Modulation Subsystem—N5172B/82B ([:SOURce]) on page 56
Frequency Subsystem ([:SOURce]) on page 70
List/Sweep Subsystem ([:SOURce]) on page 83
Marker Subsystem–N5173B/83B ([:SOURce]) on page 96
Power Subsystem ([:SOURce]:POWer) on page 99
Vector Modulation Subsystem—N5172B/82B ([:SOURce]:IQ) on page 118
49
Basic Function Commands Correction Subsystem ([:SOURce]:CORRection)

Correction Subsystem ([:SOURce]:CORRection)

:FLATness:FREQuency

Supported All Models
[:SOURce]:CORRection:FLATness:FREQuency? <point>
This command returns the frequency value of the <point> queried.
Range 1 to 3,201
Key Entry # Points

:FLATness:INITialize:FSTep

Supported All Models
The current flatness data will be overwritten once this command is executed. If needed, save the current data. Refer to the command for storing user flatness files.
:FLATness:STORe
[:SOURce]:CORRection:FLATness:INITialize:FSTep
This command replaces the loaded user flatness data with the settings from the current step array data points.
The maximum number of user flatness points is 3,201. When copying the step array settings over to a user flatness file, ensure that the number of points in the step array do not exceed the maximum user flatness points.
See also “:FLATness:STEP:POINts” on page 51.
Range 1 to 3,201
Key Entry Load Cal Array From Step Array

:FLATness:LOAD

Supported All Models
[:SOURce]:CORRection:FLATness:LOAD "<file name>"
This command loads a user–flatness correction file. The "<file name>" variable is the name of the file located in the Catalog of USERFLAT Files. The directory path is implied in the command and need not be specified in the file name parameter. For more information on file name syntax, refer to “File Name
Variables” on page 43.
Key Entry Load From Selected File
50 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Correction Subsystem ([:SOURce]:CORRection)

:FLATness:PAIR

Supported All Models
[:SOURce]:CORRection:FLATness:PAIR <freq.>[<freq suffix>], <corr.>[<corr suffix>]
This command sets a frequency and amplitude correction pair.
The maximum number of points that can be entered is 3,201.
<corr.> This variable is the power correction.
Range Frequency range varies and is model dependent. Refer
Key Entry Configure Cal Array

:FLATness:POINts

Supported All Models
to the instrument’s Data Sheet.
[:SOURce]:CORRection:FLATness:POINts?
This query returns the number of points in the user–flatness correction file.

:FLATness:PRESet

Supported All Models
The current correction data will be overwritten once this command is executed. Save the current data if needed. Refer to command for storing user–flatness files.
[:SOURce]:CORRection:FLATness:PRESet
This command presets the user–flatness correction to a factory–defined setting that consists of one point.
Key Entry Preset List

:FLATness:STEP:POINts

Supported All Models
[:SOURce]:CORRection:FLATness:STEP:POINts <points> |MAXimum|MINimum|DEFault| [:SOURce]:CORRection:FLATness:STEP:POINts?[MAXimum|MINimum]
:FLATness:STORe
This command is used to define the number of points in the user flatness calibration step array.
See also :FLATness:STEP:STARt and :FLATness:STEP:STOP commands.
*RST 2
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 51
Basic Function Commands Correction Subsystem ([:SOURce]:CORRection)
Range 2 to 3,201
Key Entry # Points

:FLATness:STEP:STARt

Supported All Models
[:SOURce]:CORRection:FLATness:STEP:STARt <freq><unit> |MAXimum|MINimum|DEFault| [:SOURce]:CORRection:FLATness:STEP:STARt? [MAXimum|MINimum]
This command sets the start frequency for the user flatness calibration step array. See also, :FLATness:STEP:POINts and :FLATness:STEP:STOP commands.
*RST The preset value is model/option dependent. Refer to
Range The range is model/option dependent. Refer to the
Key Entry Freq Start
the instrument’s Data Sheet.
instrument’s Data Sheet.

:FLATness:STEP:STOP

Supported All Models
[:SOURce]:CORRection:FLATness:STEP:STOP <freq><unit> |MAXimum|MINimum|DEFault| [:SOURce]:CORRection:FLATness:STEP:STOP? [MAXimum|MINimum]
This command sets the stop frequency for the user flatness calibration step array. See also, :FLATness:STEP:POINts and :FLATness:STEP:STARt commands.
*RST The preset value is model/option dependent. Refer to
Range The range is model/option dependent. Refer to the
Key Entry Freq Stop

:FLATness:STORe

Supported All Models
[:SOURce]:CORRection:FLATness:STORe "<file name>"
the instrument’s Data Sheet.
instrument’s Data Sheet.
This command stores the current user–flatness correction data to a file named by the :CORRection:FLATness:STORe command. The directory path is implied in the command and need not be specified in the "<file name>" variable.
Key Entry Store To File
52 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Correction Subsystem ([:SOURce]:CORRection)
Remarks For information on file name syntax, refer to “File Name
Variables” on page 43.

:PMETer:CHANnel

Supported All Models
[:SOURce]:CORRection:PMETer:CHANnel A|B
[:SOURce]:CORRection:PMETer:CHANnel?
This command selects the channel setting on the external power meter for user flatness calibration.
Default Channel A
Key Entry Power Meter Channel A B
Remarks The setting enabled by this command is not affected by
signal generator power–on, preset, or *RST.

:PMETer:COMMunicate:LAN:DEVice

Supported All Models
[:SOURce]:CORRection:PMETer:COMMunicate:LAN:DEVice <deviceName> [:SOURce]:CORRection:PMETer:COMMunicate:LAN:DEVice?
This command enters a VXI–11 device name for a power meter that is being controlled by the signal generator for user flatness calibration. If connecting directly to the power meter, enter the name as specified on your power meter documentation. If connecting through a LAN–GPIB gateway, enter the SICL address of the power meter.
Key Entry PM VXI–11 Device Name
Remarks The setting enabled by this command is not affected by
signal generator power–on, preset, or *RST.

:PMETer:COMMunicate:LAN:IP

Supported All Models
[:SOURce]:CORRection:PMETer:COMMunicate:LAN:IP <ipAddress> [:SOURce]:CORRection:PMETer:COMMunicate:LAN:IP?
This command sets the internet protocol (IP) address for a power meter that is controlled by the signal generator for user flatness calibration. If connecting to a GPIB power meter through a LAN–GPIB gateway, this command sets the IP address of the gateway.
Key Entry Power Meter IP Address
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 53
Basic Function Commands Correction Subsystem ([:SOURce]:CORRection)
Remarks The setting enabled by this command is not affected by
signal generator power–on, preset, or *RST.
Ensure that the power meter IP address is different from the signal generator address.

:PMETer:COMMunicate:LAN:PORT

Supported All Models
[:SOURce]:CORRection:PMETer:COMMunicate:LAN:PORT <portNumber> [:SOURce]:CORRection:PMETer:COMMunicate:LAN:PORT?
This command sets the IP port number on the power meter that is controlled by the signal generator for users flatness calibration.
Key Entry Power Meter IP Port
5025 Standard mode. The command enables standard mode
for simple programming.
5024 Telnet mode. The command enables the telnet SCPI
service for programming.
For firmware versions <A.01.51, the default telnet mode is 5023. For firmware versions A.01.51 and greater, telnet port 5023 is still available for backwards compatibility.
Remarks The setting enabled by this command is not affected by
signal generator power–on, preset, or *RST.
For more information on standard mode and telnet SCPI mode, refer to the Programming Guide.

:PMETer:COMMunicate:TYPE

Supported All Models
[:SOURce]:CORRection:PMETer:COMMunicate:TYPE SOCKets|SOCKETS|VXI11|USB [:SOURce]:CORRection:PMETer:COMMunicate:TYPE?
This command sets the type of control connection for communication with the external power meter for user flatness calibration.
Default Sockets
Key Entry Connection Type
SOCKets or SOCKETS The command enables the power meter for sockets LAN
control through the signal generator.
54 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Correction Subsystem ([:SOURce]:CORRection)
VXI11 The command enables the power meter for VXI-11
control through the signal generator. A power meter with GPIB can be controlled through VXI-11 using a LAN-GPIB gateway.
USB The command enables the power meter for USB control
through the signal generator.
Remarks The setting enabled by this command is not affected by
signal generator power–on, preset, or *RST.

:PMETer:COMMunicate:USB:DEVice

Supported All Models
[:SOURce]:CORRection:PMETer:COMMunicate:USB:DEVice <device>
[:SOURce]:CORRection:PMETer:COMMunicate:USB:DEVice?
This command selects the USB device to be used for user flatness calibration. The query returns the USB device identification.
Key Entry USB Device
Remarks The setting enabled by this command is not affected by
signal generator power–on, preset, or *RST.

:PMETer:COMMunicate:USB:LIST?

Supported All Models
[:SOURce]:CORRection:PMETer:COMMunicate:USB:LIST?
The query returns a listing of all connected USB devices.
Key Entry USB Device
Remarks The setting enabled by this command is not affected by
signal generator power–on, preset, or *RST.

[:STATe]

Supported All Models
[:SOURce]:CORRection[:STATe] ON|OFF|1|0 [:SOURce]:CORRection[:STATe]?
This command enables or disables the user–flatness corrections.
*RST 0
Key Entry Flatness Off On
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 55
Basic Function Commands Digital Modulation Subsystem—N5172B/82B ([:SOURce])

Digital Modulation Subsystem—N5172B/82B ([:SOURce])

:BURSt:STATe

Supported N5172B/82B
[:SOURce]:BURSt:STATe ON|OFF|1|0 [:SOURce]:BURSt:STATe?
This command enables or disables the burst envelope function.
*RST 0
Key Entry Burst Envelope Off On

:DM:CORRection:OPTimization

Supported N5172B/82B
[:SOURce]:DM:CORRection:OPTimization RFOut|EXTernal [:SOURce]:DM:CORRection:OPTimization?
This command enables the internal optimized path to accommodate I/Q signals.
EXT This choice applies correction terms to provide a
calibrated signal at the IQ output. When the I/Q Output is selected, the RF signals at the RF Output are uncalibrated.
RFO This choice applies correction terms to provide a
calibrated signal at the RF output. When the RF Output is selected, the I/Q signals at the I/Q Output are uncalibrated.
*RST RFO
Key Entry Correction Optimized Path

:DM:EXTernal:INPut:ATTen

Supported N5172B/82B
[:SOURce]:DM:EXTernal:INPut:ATTen <val><unit> [:SOURce]:DM:EXTernal:INPut:ATTen?
This command sets the attenuation level for the external I/Q signals being modulated through the signal generator RF path. The variable <val> is expressed in decibels (dB).
Example
:DM:EXT:INP:ATT 10
The preceding example sets the modulator attenuator to 10 dB.
56 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Digital Modulation Subsystem—N5172B/82B ([:SOURce])
*RST +2.00000000E+000
Range 0 to 40 dB
Key Entry Modulator Atten Manual Auto

:DM:EXTernal:INPut:ATTen:AUTO

Supported N5172B/82B
[:SOURce]:DM:EXTernal:INPut:ATTen:AUTO ON|OFF|1|0 [:SOURce]:DM:EXTernal:INPut:ATTen:AUTO?
This command enables or disables the external I/Q attenuator auto mode. The auto mode will be switched to manual if the signal generator receives a AUTO OFF or AUTO 0 command.
ON (1) This choice sets the external I/Q attenuator to auto
mode which optimizes the attenuation setting for the current signal generator settings.
OFF (0) This choice sets the attenuator to manual mode and
holds the attenuator at its current setting.
Example
:DM:EXT:INP:ATT:AUTO OFF
The preceding example sets the external I/Q attenuator to manual mode.
*RST 1
Key Entry Modulator Atten Manual Auto

:DM:EXTernal:INPut:ATTen:LEVel

Supported N5172B/82B
[:SOURce]:DM:EXTernal:INPut:ATTen:LEVel <val><volt_units> [:SOURce]:DM:EXTernal:INPut:ATTen:LEVel?
This command sets the I/Q signal voltage level at the external I/Q inputs. The voltage level set with this command is used as the input level setting for automatic attenuation.
Example
:DM:EXT:INP:ATT:LEV 100MV
The preceding example sets the voltage level for the I and Q inputs to 100 millivolts.
*RST +4.00000000E001
Range .05 to 1 Volt
Key Entry I/Q Output Atten
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 57
Basic Function Commands Digital Modulation Subsystem—N5172B/82B ([:SOURce])

:DM:EXTernal:INPut:ATTen:LEVel:MEASurement

Supported N5172B/82B
[:SOURce]:DM:EXTernal:INPut:ATTen:LEVel:MEASurement
This command measures the RMS value of the external I/Q signal. The external input level must be set to Measure.
Key Entry Do External Input Level Measurement

:DM:EXTernal:INPut:ATTen:MODE

Supported N5172B/82B
[:SOURce]:DM:EXTernal:INPut:ATTen:MODE DEFault|MANual|MEASure [:SOURce]:DM:EXTernal:INPut:ATTen:MODE?
This command selects the external measurement used to set the attenuator level. The modulation attenuation must be in Auto mode and is enabled by the :DM:EXTernal:INPut:ATTen:AUTO command.
DEFault Use this choice to set the external I/Q input level to the
MANual Use this choice to manually set the external input level.
MEASurement This choice uses a real–time measurement of the
Example
:DM:EXT:INP:ATT:MODE MAN
The preceding example sets manual as the method for setting the external I/Q input level.
*RST DEFault
Key Entry Ext Input Level (nnn mV) Default Man Meas

:DM:EXTernal:POLarity

default value of 500.0 mV.
The input level is set by using the :DM:EXTernal:INPut:ATTen:LEVel command.
external input level to set the attenuator level. The measurement will be used to set the attenuator level setting and is performed by using the :DM:EXTernal:INPut:ATTen:LEVel:MEASurement command.
Supported N5172B/82B
[:SOURce]:DM:EXTernal:POLarity NORMal|INVert|INVerted [:SOURce]:DM:EXTernal:POLarity?
58 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Digital Modulation Subsystem—N5172B/82B ([:SOURce])
This command, for backward compatibility with older signal generator models, selects normal or inverted I/Q routing of signals going out of the rear-panel I and Q output connectors. In the inverted mode, the Q input is routed to the I modulator and the I input is routed to the Q modulator.
Example
:DM:EXT:POL INV
The preceding example inverts I and Q signal routing.
*RST NORM
Key Entry Int Phase Polarity Normal Invert

:DM:INTernal:CHANnel:CORRection[:STATe]

Supported N5172B/82B
[:SOURce]:DM:INTernal:CHANnel:CORRection[:STATe] ON|OFF|1|0 [:SOURce]:DM:INTernal:CHANnel:CORRection[:STATe]?
This command enables and disables the RF and baseband magnitude and phase corrections across the 160 MHz baseband bandwidth, at the current frequency.
When this feature is on, arbitrary frequency switching while the baseband is on will take up to an additional 3.3ms (typical) to 6.8ms the first time that frequency is specified. After that, switching to that frequency will take up to an additional 1.3ms. Up to 1024 unique frequencies can be cached before the oldest cache will be forgotten. If a frequency sweep is activated, then the calculation and caching will occur up front for the first 1024 unique frequencies, and all further unique frequencies will have the characteristics of arbitrary frequency switching.
If the I/Q correction optimized path is set to Ext I/Q Output, then only the baseband corrections are applied and the frequency switching is unaffected.
This correction is convolved with the ACP internal I/Q channel optimization filter and the equalization filter, if they are active. The resulting filter is truncated to 256 taps.
Example
:DM:INT:CHAN:CORR ON
The preceding example enables the internal channel correction calibration.
Key Entry Int Channel Correction Off On

:DM:INTernal:CHANnel:OPTimization

Supported N5172B/82B
[:SOURce]:DM:INTernal:CHANnel:OPTimization EVM|ACP [:SOURce]:DM:INTernal:CHANnel:OPTimization?
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 59
Basic Function Commands Digital Modulation Subsystem—N5172B/82B ([:SOURce])
This command selects between optimizing the internal I/Q channel for EVM (in channel performance) at the expense of ACP (out of channel performance) or optimizing for ACP at the expense of EVM.
EVM is an 80% Nyquist filter (160 MHz wide) with a wide transition band. When an equalization filter is active, this filter is not active.
ACP is an 80% Nyquist filter (160 MHz wide) with a narrow transition band, thus reducing images for wide-band signals. This filter will be convolved with the active equalization filter, the result of which will be truncated to the center 256 taps.
*RST EVM
Key Entry Optimize Int I/Q Channel EVM ACP

:DM:INTernal:EQUalization:FILTer:SELect

Supported N5172B/82B
[:SOURce]:DM:INTernal:EQUalization:FILTer:SELect "Filter" [:SOURce]:DM:INTernal:EQUalization:FILTer:SELect?
This command selects the FIR file to use as the equalization filter. Equalization filters are typically complex and must have an oversample ratio of 1. The filter must not have more than 256 taps (512 coefficients for a complex filter). The equalization filter operates at 200 MHz, so all equalization filters must be resampled to 200 MHz if they are sampled at some other rate.
*RST No file selected
Key Entry Select Filter

:DM:INTernal:EQUalization:FILTer:STATe

Supported N5172B/82B
[:SOURce]:DM:INTernal:EQUalization:FILTer:STATe ON|OFF|1|0 [:SOURce]:DM:INTernal:EQUalization:FILTer:STATe?
This command enables or disables the I/Q internal equalization filter. This filter can be used to correct and/or impair the RF and external I/Q outputs for the internal I/Q source. This filter will be convolved with the ACP internal I/Q Channel Optimization filter if that filter is selected, the result of which will be truncated to the center 256 taps. The equalization filter operates at 200 MHz, so all equalization filters must be resampled to 200 MHz if they are sampled at some other rate.
Applying I/Q Delay or I/Q Timing Skew will reduce the actual number of coefficients available in the hardware by 2 taps for every integral step of 5ns of delay or 10 ns of skew.
*RST Off
60 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Digital Modulation Subsystem—N5172B/82B ([:SOURce])
Key Entry Int Equalization Off On

:DM:IQADjustment:DELay

Supported N5172B/82B
[:SOURce]:DM:IQADjustment:DELay <value><unit> [:SOURce]:DM:IQADjustment:DELay?
This command enables you to change the absolute phase of both I and Q with respect to triggers and markers. A positive value delays I and Q. This value affects both the external I/Q out signals and the baseband signal modulated on the RF output. This adjustment does not affect external I/Q inputs.
The variable <value> is expressed in seconds.
*RST +0.00000000E+000
Range −400 το 400 νανοσεχονδσ (νσ)
Key Entry I/Q Delay
Remarks This command is effective only if the state of the I/Q
adjustment function is set to ON. Refer to the :DM:IQADjustment[:STATe] command.

:DM:IQADjustment:EXTernal:CMRange

Supported N5172B/82B
[:SOURce]:DM:IQADjustment:EXTernal:CMRange COARse|FINE [:SOURce]:DM:IQADjustment:EXTernal:CMRange?
This command sets the common mode offset range voltage (COARse or FINE) for both the in–phase (I) and quadrature–phase (Q) signals going out of the rear panel I and Q output connectors.
The common mode offset range is expressed in units of volts (mV–V). The COARse range corresponds to a pre–existing adjustment range of ±2.5 V. When the FINE range is enabled, the common mode offset is limited to ±100 mV.
*RST COAR
Range 2.5 to 2.5 V (Coarse), 100 to 100 mV (Fine)
Key Entry Common Mode I/Q Offset Range
Remarks This command is effective only if the state of the I/Q
adjustment function is set to on. Refer to the :DM:IQADjustment[:STATe] command.

:DM:IQADjustment:EXTernal:COFFset

Supported N5172B/82B
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 61
Basic Function Commands Digital Modulation Subsystem—N5172B/82B ([:SOURce])
[:SOURce]:DM:IQADjustment:EXTernal:COFFset <value> [:SOURce]:DM:IQADjustment:EXTernal:COFFset?
This command sets the common mode offset voltage for both the in–phase (I) and quadrature–phase (Q) signals going to the rear panel I and Q output connectors.
The variable <value> is expressed in units of volts (mV–V).
*RST +0.00000000E+000
Range 2.5 to 2.5 V
Key Entry Common Mode I/Q Offset
Remarks This command is effective only if the state of the I/Q
adjustment function is set to ON. Refer to the :DM:IQADjustment[:STATe] command.

:DM:IQADjustment:EXTernal:DIOFfset

Supported N5172B/82B
[:SOURce]:DM:IQADjustment:EXTernal:DIOFfset <value> [:SOURce]:DM:IQADjustment:EXTernal:DIOFfset?
This command sets the differential offset voltage for an in–phase (I) signal routed to the I output connectors.
The variable <value> is expressed in units of volts (mV–V).
*RST +0.00000000E+000
Range 25 to 25 mV
Key Entry Diff. Mode I Offset
Remarks This command is effective only if the state of the I/Q
adjustment function is set to ON. Refer to the :DM:IQADjustment[:STATe] command.

:DM:IQADjustment:EXTernal:DQOFfset

Supported N5172B/82B
[:SOURce]:DM:IQADjustment:EXTernal:DQOFfset <value> [:SOURce]:DM:IQADjustment:EXTernal:DQOFfset?
This command sets the differential offset voltage for a quadrature–phase (Q) signal routed to the Q output connectors.
*RST +0.00000000E+000
Range 25 to 25 mV
Key Entry Diff. Mode Q Offset
62 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Digital Modulation Subsystem—N5172B/82B ([:SOURce])
Remarks This command is effective only if the state of the I/Q
adjustment function is set to ON. Refer to the :DM:IQADjustment[:STATe] command.

:DM:IQADjustment:EXTernal:INPut:GAIN

Supported N5172B/82B
[:SOURce]:DM:IQADjustment:EXTernal:INPut:GAIN <val> [:SOURce]:DM:IQADjustment:EXTernal:INPut:GAIN?
This command adjusts the External Input I/Q Gain Balance.
The variable <val> is expressed in units of decibels (dB), and the minimum increment is 0.001dB.
*RST +0.00000000E+000
Range 1 to 1
Key Entry External Input I/Q Gain Balance

:DM:IQADjustment:EXTernal:IOFFset

Supported N5172B/82B
[:SOURce]:DM:IQADjustment:EXTernal:IOFFset <value> [:SOURce]:DM:IQADjustment:EXTernal:IOFFset?
This command sets the offset voltage for a signal applied to the external I Input connector.
The variable <value> is expressed in units of volts (mV–V).
*RST +0.00000000E+000
Key Entry External Input I Offset
Range 100 to 100 mV
Remarks This command is effective only if the state of the I/Q
adjustment function is set to ON. Refer to the :DM:IQADjustment[:STATe] command.

:DM:IQADjustment:EXTernal:QOFFset

Supported N5172B/82B
[:SOURce]:DM:IQADjustment:EXTernal:QOFFset <value> [:SOURce]:DM:IQADjustment:EXTernal:QOFFset?
This command sets the offset voltage for a signal applied to the External Q Input connector.
The variable <value> is expressed in units of volts (mV–V).
*RST +0.00000000E+000
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 63
Basic Function Commands Digital Modulation Subsystem—N5172B/82B ([:SOURce])
Range 100 to 100 mV
Key Entry External Input Q Offset
Remarks This command is effective only if the state of the I/Q
adjustment function is set to ON. Refer to the :DM:IQADjustment[:STATe] command.

:DM:IQADjustment:EXTernal:QSKew

Supported N5172B/82B
[:SOURce]:DM:IQADjustment:EXTernal:QSKew <value> [:SOURce]:DM:IQADjustment:EXTernal:QSKew?
This Q phase angle adjustment is uncalibrated.
This command adjusts the phase angle (quadrature skew) between the I and Q vectors by increasing or decreasing the Q phase angle. This command adjusts the signals externally input to the signal generator’s front-panel Q input connector. For more information on this connector, refer to the User’s Guide.
The <value> variable is expressed in degrees with a minimum resolution of 0.1.
If the signal generator is operating at frequencies greater than 3.3 GHz, quadrature skew settings greater than ±5 degrees will not be within specifications.
Positive skew increases the angle from 90 degrees while negative skew decreases the angle from 90 degrees. When the quadrature skew is zero, the phase angle between the I and Q vectors is 90 degrees.
This command is effective only if the state of the I/Q adjustment function is set to ON. Refer to the :DM:IQADjustment[:STATe] command.
Example
:DM:IQAD:EXT:QSK 4.5
The preceding example increases the phase angle by 4.5 degrees.
*RST +0.00000000E+000
Range 200 to +200
Key Entry Quadrature Angle Ad justment
64 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Digital Modulation Subsystem—N5172B/82B ([:SOURce])

:DM:IQADjustment:GAIN

Supported N5172B/82B
[:SOURce]:DM:IQADjustment:GAIN <value><unit> [:SOURce]:DM:IQADjustment:GAIN?
This command adjusts the ratio of I to Q while preserving the composite, vector magnitude. Adding gain (+x dB) to the signal increases the I component and decreases the Q component proportionally. Reducing gain (–x dB) decreases the I component and increases the Q component proportionally.
The variable <value> is expressed in units of decibels (dB).
*RST +0.00000000E+000
Range 1 to 1
Key Entry I/Q Gain Balance
Remarks This command is effective only if the state of the I/Q
adjustment function is set to ON. Refer to the :DM:IQADjustment[:STATe] command.

:DM:IQADjustment:IOFFset

Supported N5172B/82B
[:SOURce]:DM:IQADjustment:IOFFset <value><unit> [:SOURce]:DM:IQADjustment:IOFFset?
This command adjusts the I channel offset value.
When using this command to minimize the LO feedthrough signal, optimum performance is achieved when the command is sent after all other I/Q path commands are executed, such as those that change the internal phase polarity or adjust the modulator attenuator. If other adjustments are made after minimizing is performed, the LO feedthrough signal may increase.
The variable <value> is expressed in units of percent with a minimum resolution of 0.025.
*RST +0.00000000E+000
Range 20.000 to 20.000
Key Entry I Offset
Remarks This command is effective only if the state of the I/Q
adjustment function is set to ON. Refer to the :DM:IQADjustment[:STATe] command.
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 65
Basic Function Commands Digital Modulation Subsystem—N5172B/82B ([:SOURce])

:DM:IQADjustment:PHASe

Supported N5172B/82B
[:SOURce]:DM:IQADjustment:PHASe <value><unit> [:SOURce]:DM:IQADjustment:PHASe?
This feature allows adjustment of the absolute phase of the internal I/Q channel by rotating both I and Q, and so adjusting the relative phase of the RF carrier. For MXGs with Option 012, this is the only way to adjust the phase for a unit with an external LO.
The I/Q signal will be scaled down by 0.7071 for all phase offsets except 0. Use -360 or +360, if it is desirable to maintain a constant power level with the ALC off while adjusting the I/Q phase.
The variable <value> is expressed in units of degrees with a resolution of 0.01 degrees. <unit> can be nothing or DEG for degrees.
*RST +0.00000000E+000
Range 360.000 to 360.000
Key Entry I/Q Phase

:DM:IQADjustment:QOFFset

Supported N5172B/82B
[:SOURce]:DM:IQADjustment:QOFFset
[:SOURce]:DM:IQADjustment:QOFFset?
This command adjusts the Q channel offset value.
When using this command to minimize the LO feedthrough signal, optimum performance is achieved when the command is sent after all other I/Q path commands are executed, such as those that change the internal phase polarity or adjust the modulator attenuator. If other adjustments are made after minimizing is performed, the LO feedthrough signal may increase.
The variable <value> is expressed in units of percent with a minimum resolution of 0.025.
*RST +0.00000000E+000
Range 20.000 to 20.000
Key Entry Q Offset
Remarks This command is effective only if the state of the I/Q
adjustment function is set to on. Refer to the :DM:IQADjustment[:STATe] command.
66 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Digital Modulation Subsystem—N5172B/82B ([:SOURce])

:DM:IQADjustment:QSKew

Supported N5172B/82B
[:SOURce]:DM:IQADjustment:QSKew <value> [:SOURce]:DM:IQADjustment:QSKew?
This command adjusts the phase angle (quadrature skew) between the I and Q vectors by increasing or decreasing the Q phase angle.
The <value> variable is expressed in degrees with a minimum resolution of 0.1.
If the signal generator is operating at frequencies greater than 3.3 GHz, quadrature skew settings greater than ±5 degrees will not be within specifications.
Positive skew increases the angle from 90 degrees while negative skew decreases the angle from 90 degrees. When the quadrature skew is zero, the phase angle between the I and Q vectors is 90 degrees.
This command is effective only if the state of the I/Q adjustment function is set to ON. Refer to the :DM:IQADjustment[:STATe] command.
Example
:DM:IQAD:QSK 4.5
The preceding example increases the phase angle by 4.5 degrees.
*RST +0.00000000E+000
Range 1E1 to +1E1
Key Entry Quadrature Angle Ad justment

:DM:IQADjustment:SKEW

Supported N5172B/82B
[:SOURce]:DM:IQADjustment:SKEW <value> [:SOURce]:DM:IQADjustment:SKEW?
This command changes the I/Q skew which is a time delay difference between the I and Q signals. Equal and opposite skew is applied to both I and Q and affects the RF Output and I/Q output paths simultaneously. A positive value delays the I signal relative to the Q signal, and a negative value delays the Q signal relative to the I signal.
Example
:DM:IQAD:SKEW 5E–9
The preceding example sets the time delay difference between the I and Q signals to 5 nanoseconds.
*RST +0.00000000E+000
Range 800 to +800 ns
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 67
Basic Function Commands Digital Modulation Subsystem—N5172B/82B ([:SOURce])
Key Entry I/Q Skew

:DM:IQADjustment[:STATe]

Supported N5172B/82B
[:SOURce]:DM:IQADjustment[:STATe] ON|OFF|1|0 [:SOURce]:DM:IQADjustment[:STATe]?
This command enables or disables the I/Q adjustments.
Example
:DM:IQAD 1
The preceding example enables I/Q adjustments.
*RST 0
Key Entry I/Q Adjustments Off On
Key Path I/Q > I/Q Adjustments Off On

:DM:POLarity[:ALL]

Supported N5172B/82B
[:SOURce]:DM:POLarity[:ALL] NORMal|INVert [:SOURce]:DM:POLarity?
This command sets the digital phase polarity.
NORMal This choice selects normal phase polarity for the I and Q
signals.
INVert This choice inverts the Q channel signal.
*RST NORM
Key Entry Int Phase Polarity Normal Invert

:DM:SOURce

Supported N5172B/82B
[:SOURce]:DM:SOURce EXTernal|INTernal|SUM [:SOURce]:DM:SOURce?
This command selects the I/Q modulator source.
This softkey is found under the I/Q menu.
EXTernal This choice selects a 50 ohm impedance for the I and Q
input connectors and routes the applied signals to the I/Q modulator.
68 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Digital Modulation Subsystem—N5172B/82B ([:SOURce])
INTernal This choice selects the internal baseband generator as
the source for the I/Q modulator and requires Option 65x.
Sum This choice selects the internal baseband generator and
combines that signal with an external source and routes the applied signals to the I/Q modulator and requires Option 65x.
*RST INT
Key Entry

:DM:SRATio

[:SOURce]:DM:SRATio <val><unit> [:SOURce]:DM:SRATio?
This command sets the power level difference (ratio) between the source one and source two signals when the two signals are summed together. A positive ratio value reduces the amplitude for source two, while a negative ratio value reduces the amplitude for source one.

:DM:STATe

[:SOURce]:DM:STATe ON|OFF|1|0 [:SOURce]:DM:STATe?
External Internal Sum
Supported N5172B/82B
*RST +0.00000000E+000
Range ± 50 dB
Key Entry Summing Ratio (SRC1/SRC2) x.xx dB
Supported N5172B/82B
This command enables or disables the I/Q modulator.
The I/Q modulator is enabled whenever a digital format is turned on.
The I/Q annunciator will be shown on the signal generator display whenever the I/Q modulator is on.
ON (1) This choice enables the internal I/Q modulator.
OFF (0) This choice disables the internal I/Q modulator. You can
turn off the I/Q with this choice even though a digital format is enabled. With this configuration, the RF output signal will not be modulated, but the I/Q signals may be present at the rear panel I and Q outputs depending on the rear panel output selection.
*RST 0
Key Entry I/Q Off On
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 69
Basic Function Commands Frequency Subsystem ([:SOURce])

Frequency Subsystem ([:SOURce])

:FREQuency:CENTer

Supported All Models
[:SOURce]:FREQuency:CENTer <num>[<freq_suffix>]|UP|DOWN [:SOURce]:FREQuency:CENTer? [MAXimum|MINimum]
This command sets the center frequency for a step sweep. The center frequency symmetrically divides the selected frequency span and is coupled to the start and stop frequency settings. The frequency range and reset values are dependent on the signal generator model and option number.
The query returns the start and stop frequencies if the optional MAXimum or MINimum are used.
*RST The preset value is model/option dependent. Refer to
the instrument’s Data Sheet.
Range The range is model/option dependent. Refer to the
instrument’s Data Sheet.
Example
:FREQ:CENT .5 GHz
The preceding example sets the center frequency for a sweep to .5 GHz.
Key Entry Freq Center

:FREQuency:CHANnels:BAND

Supported All Models
[:SOURce]:FREQuency:CHANnels:BAND NBASe|NMOBile|BPGSm|MPGSm|BEGSm|MEGSm| BRGSm|MRGSm|BDCS|MDCS|BPCS|MPCS|B450|GM450|B480|B850BDCS|M48 0|B850|M850|B8|M8|B15|M15|B390|B420|B460|B915|M380|M410|M450 |M870|PHS|DECT [:SOURce]:FREQuency:CHANnels:BAND?
This command sets the frequency of the signal generator by specifying a frequency channel band. The frequency channel state must be enabled for this command to work.
Refer to the :FREQuency:CHANnels[:STATe] command.
SCPI Parameter Frequency Channel Band
Standard
Selected
NBASe Standard Base NADC
NMOBile Standard Mobile NADC
70 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Frequency Subsystem ([:SOURce])
SCPI Parameter Frequency Channel Band
Selected
BPGSm P-Gsm 900 Base GSM
MPGSm P-Gsm 900 Mobile GSM
BEGSm E-Gsm 900 Base GSM
MEGSm E-Gsm 900 Mobile GSM
BRGSm R-Gsm 900 Base GSM
MRGSm R-Gsm 900 Mobile GSM
BDCS DCS 1800 Base GSM
MDCS DCS 1800 Mobile GSM
BPCS PCS 1900 Base GSM
MPCS PCS 1900 Mobile GSM
B450 Gsm 450 Base GSM
GM450 Gsm 450 Mobile GSM
B480 Gsm 480 Base GSM
Standard
M480 Gsm 480 Mobile GSM
B850 Gsm 850 Base GSM
M850 Gsm 850 Mobile GSM
B8 800MHz Base PDC
M8 800MHz Mobile PDC
B15 1500MHz Base PDC
M15 1500MHz Mobile PDC
B390 Base 390-400 TETRA
B420 Base 420-430 TETRA
B460 Base 460-470 TETRA
B915 Base 915-921 TETRA
M380 Mobile 380-390 TETRA
M410 Mobile 410-420 TETRA
M450 Mobile 450-460 TETRA
M870 Mobile 870-876 TETRA
PHS Standard PHS PHS
DECT Standard DECT DECT
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 71
Basic Function Commands Frequency Subsystem ([:SOURce])
Example
:FREQ:CHAN:BAND DECT
The preceding example sets the frequency band to standard DECT.
*RST BPGS
Key Entry
P-GSM Base E-GSM Base R-GSM
Base
PCS Base GSM 450 Base
GSM 480
Base
NADC Base
800MHz Base 1500MHz
Base
Tetra Base 390/400
Tetra Base
Tetra Base 420/430
PHS Standard
Tetra Base 460/470
DECT Standard
915/921
P-GSM Mobile
PCS Mobile
E-GSM Mobile
GSM 450 Mobile
R-GSM Mobile
GSM 480 Mobile
DCS Base
GSM 850 Base
DCS Mobile
GSM 850 Mobile
NADC Mobile
Tetra Mobile 380/390
800MHz Mobile 1500MHz Mobile
Tetra Mobile 410/420
Tetra Mobile 450/460
Tetra Mobile 870/876

:FREQuency:CHANnels:NUMBer

Supported All Models
[:SOURce]:FREQuency:CHANnels:NUMBer <number> [:SOURce]:FREQuency:CHANnels:NUMBer?
This command sets the frequency of the signal generator by specifying a channel number of a given frequency band.
The channel band and channel state must be enabled for this command to work. Refer to the :FREQuency:CHANnels[:STATe] command.
72 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Frequency Subsystem ([:SOURce])
Example
:FREQ:CHAN:NUMB 24
The preceding example sets the channel number to 24 for the current band.
*RST +1
Range P-GSM Base/Mobile: 1–24
E-GSM and R-GSM Base/Mobile: 1–1023
DCS Base/Mobile: 512–885
PCS Base/Mobile: 512–900
GSM-450 Base/Mobile: 259–293
GSM-480 Base/Mobile: 306–340
GSM-850 Base/Mobile: 128–251
NADC Base/Mobile: 1–1023
800MHz Base/Mobile: 0–640
1500MHz Base/Mobile: 0–960
TETRA 380/390 Mobile: 3600–4000
TETRA 390/4000 Base: 3600–4000
TETRA 410/420 Mobile: 800–1200
TETRA 420/430 Base: 800–1200
TETRA 460/470: 2400 through 2800 2400–2800
TETRA 870/876 Mobile: 600–640
TETRA 915/921 Base: 600–940
PHS Standard: 1–255
DECT Standard: 0–9
Key Entry Channel Number

:FREQuency:CHANnels[:STATe]

Supported All Models
[:SOURce]:FREQuency:CHANnels[:STATe] ON|OFF|1|0 [:SOURce]:FREQuency:CHANnels[:STATe]?
This command enables or disables the frequency channel and band selection. The signal generator frequency will be set to the channel frequency when the state is on. To set frequency channel bands refer to the :FREQuency:CHANnels:BAND command.
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 73
Basic Function Commands Frequency Subsystem ([:SOURce])
Example
:FREQ:CHAN ON
The preceding example turns on the frequency channel.
*RST 0
Key Entry Freq Channels Off On

:FREQuency[:CW]

Supported All Models
[:SOURce]:FREQuency[:CW] <value><unit> [:SOURce]:FREQuency[:CW]?
This command sets the signal generator output frequency.
*RST The preset value is model/option dependent. Refer to
Range The range is model/option dependent. Refer to the
the instrument’s Data Sheet.
instrument’s Data Sheet.
Remarks A frequency change may affect the current output

:FREQuency:FIXed

Supported All Models
[:SOURce]:FREQuency:FIXed <val><unit>|UP|DOWN [:SOURce]:FREQuency:FIXed?
This command sets the signal generator output frequency, or increments or decrements the current RF frequency setting.
<val> A frequency value.
UP Increases the current frequency setting by the value set
DOWN Decreases the current frequency setting by the value set
*RST Option 501: +10000000000000E+09
power. Refer to the [:LEVel][:IMMediate][:AMPLitude] command for the correct specified frequency and amplitude settings. To set the frequency mode refer to the :FREQuency:MODE command.
with the front-panel up-arrow key.
with the front-panel down-arrow key.
Option 503: +30000000000000E+09
Option 506: +60000000000000E+09
74 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Frequency Subsystem ([:SOURce])
Range Option 501: 9kHz–1GHz
Option 503: 9kHz–3GHz
Option 506: 9kHz–6GHz
Remarks To set the frequency mode to FIXed, refer to

:FREQuency:LSPurs:STATe

Supported All Models
[:SOURce]:FREQuency:LSPurs:STATe ON|OFF|1|0 [:SOURce]:FREQuency:LSPurs:STATe?
:FREQuency:MODE.
A frequency change may affect the current output power. Refer to [:LEVel][:IMMediate][:AMPLitude] for the correct specified frequency and amplitude settings.
This command enables the mode to improve non-harmonics performance (low spurs mode). Enabling this mode affects switching speed.
1 This choice enables the mode to improve
0 This choice disables the mode to improve
*RST 0
Key Entry Improve non-harmonics

:FREQuency:MODE

Supported All Models
[:SOURce]:FREQuency:MODE CW|FIXed|LIST [:SOURce]:FREQuency:MODE?
This command sets the frequency mode of the signal generator to CW or swept.
CW and FIXed These choices are synonymous with one another and
non-harmonics.
non-harmonics.
stops a frequency sweep, allowing the Keysight MXG to operate at a set frequency. Refer to the :FREQuency[:CW] command for setting the frequency in the CW mode and to the :FREQuency:FIXed command for setting the frequency in the FIXed mode.
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 75
Basic Function Commands Frequency Subsystem ([:SOURce])
LIST This choice selects the swept frequency mode. If sweep
To perform a frequency and amplitude sweep, you must also select LIST as the power mode. See the amplitude sweep.
*RST CW
Key Entry Freq Freq Off

:FREQuency:MULTiplier

Supported All Models
[:SOURce]:FREQuency:MULTiplier <value> [:SOURce]:FREQuency:MULTiplier?
triggering is set to immediate along with continuous sweep mode, executing the command starts the LIST or STEP frequency sweep.
:MODE command for selecting the list mode for an
This command sets the multiplier for the signal generator carrier frequency. This displayed frequency equals the actual frequency times the multiplier.
*RST +1.00000000E+000
Range Negative values: -1000 to -0.001
Key Entry Freq Multiplier
Remarks For any multiplier other than one, the MULT indicator is

:FREQuency:OFFSet

Supported All Models
[:SOURce]:FREQuency:OFFSet <value><unit> [:SOURce]:FREQuency:OFFSet?
This command sets the frequency offset.
The query of this command returns a value equal to the original output frequency times the multiplier value, plus the frequency offset value. This displayed frequency equals the actual frequency times the multiplier.
Positive values: 0.001 to 1000
shown in the frequency area of the display.
When an offset has been entered, the OFFS indicator is turned on in the frequency area of the display.
The frequency offset state is turned on when any non–zero value is entered; entering zero will turn it off. Refer to the :FREQuency:OFFSet:STATe command for setting the offset state independent of entering offset values.
76 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Frequency Subsystem ([:SOURce])
*RST +0.0000000000000E+00
Range 200 to 200 GHz
Key Entry Freq Offset

:FREQuency:OFFSet:STATe

Supported All Models
[:SOURce]:FREQuency:OFFSet:STATe ON|OFF|1|0 [:SOURce]:FREQuency:OFFSet:STATe?
This command enables or disables the offset frequency.
*RST 0
Key Entry Freq Offset
Remarks Entering OFF (0) will set the frequency offset to 0 Hz.

:FREQuency:REFerence

Supported All Models
[:SOURce]:FREQuency:REFerence <value><unit> [:SOURce]:FREQuency:REFerence?
This command sets the output reference frequency.
*RST +0.0000000000000E+00
Range The range is model/option dependent. Refer to the
instrument’s Data Sheet.
Key Entry Freq Ref Set

:FREQuency:REFerence:SET

Supported All Models
[:SOURce]:FREQuency:REFerence:Set
This command sets the current CW output frequency, along with any offset, as a 0 hertz reference value.
*RST +0.0000000000000E+00
Key Entry Freq Ref Set

:FREQuency:REFerence:STATe

Supported All Models
[:SOURce]:FREQuency:REFerence:STATe ON|OFF|1|0 [:SOURce]:FREQuency:REFerence:STATe?
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 77
Basic Function Commands Frequency Subsystem ([:SOURce])
This command enables or disables the frequency reference mode.
When the frequency reference mode is on, subsequent frequency parameters are set relative to the reference value.
*RST 0
Key Entry Freq Ref Off On

:FREQuency:SPAN

Supported All Models
[:SOURce]:FREQuency:SPAN <num>[<freq_suffix>]|UP|DOWN [:SOURce]:FREQuency:SPAN? [MAXimum|MINimum]
This command sets the length of the frequency range for a step sweep. Span setting is symmetrically divided by the selected center frequency and is coupled to the start and stop frequency settings. The span range is dependent on the signal generator model and option number.
Example
:FREQ:SPAN 100MHz
The preceding example sets the frequency span to 100 megahertz.
*RST +0.0000000000000E+00
Key Entry Freq Span

:FREQuency:STARt

Supported All Models
[:SOURce]:FREQuency:STARt <value><unit> [:SOURce]:FREQuency:STARt?
This command sets the first frequency point in a step sweep.
*RST The preset value is model/option dependent. Refer to
Range The range is model/option dependent. Refer to the
Key Entry Freq Start

:FREQuency:STOP

the instrument’s Data Sheet.
instrument’s Data Sheet.
Supported All Models
[:SOURce]:FREQuency:STOP <value><unit> [:SOURce]:FREQuency:STOP?
This command sets the last frequency point in a step sweep.
78 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Frequency Subsystem ([:SOURce])
*RST The preset value is model/option dependent. Refer to
Range The range is model/option dependent. Refer to the
Key Entry Freq Stop

:PHASe:REFerence

Supported All Models
[:SOURce]:PHASe:REFerence
This command sets the current output phase as a zero reference.
Subsequent phase adjustments are set relative to the new reference.
Key Entry Phase Ref Set

:PHASe[:ADJust]

the instrument’s Data Sheet.
instrument’s Data Sheet.
Supported All Models
[:SOURce]:PHASe[:ADJust] <value><unit> [:SOURce]:PHASe[:ADJust]?
This command adjusts the phase of the modulating signal.
The query will only return values in radians.
*RST +0.00000000E+000
Range Radians: –3.14 to 3.14 RAD Degrees: –180 to 179 DEG
Key Entry Adjust Phase

:ROSCillator:BANDwidth:EXTernal

Supported All Models
[:SOURce]:ROSCillator:BANDwidth:EXTernal <value>[<units>]|NARRow|WIDE|MINimum|MAXimum|DEFault [:SOURce]:ROSCillator:BANDwidth:EXTernal? |MINimum|MAXimum|
This command selects the external frequency bandwidth as the source for the measurement.
For values greater than 9.5 Hz, 73 Hz is used.
*RST +9.50000000E+000
Range .5 or 73 Hz
Key Entry Ref Oscillator Ext Band wid th
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 79
Basic Function Commands Frequency Subsystem ([:SOURce])

:ROSCillator:FREQuency:BBG

Supported All Models
[:SOURce]:ROSCillator:FREQuency:EXTernal <value> [:SOURce]:ROSCillator:FREQuency:EXTernal?
This command sets the frequency of the internal baseband generator reference oscillator.
*RST +1.0000000000000E+07 Hz
Range +1.0000000000000E+06 to
+5.0000000000000E+07 Hz
Key Entry Ref Oscillator Ext Freq

:ROSCillator:FREQuency:EXTernal

Supported All Models
[:SOURce]:ROSCillator:FREQuency:EXTernal <value> [:SOURce]:ROSCillator:FREQuency:EXTernal?
This command makes External Ref Frequency the active function. The value that you enter sets the frequency of the external reference oscillator.
*RST +1.0000000000000E+07 Hz
Range +1.0000000000000E+06 to
Key Entry Ref Oscillator Ext Freq
Remarks If the entered frequency does not match the frequency

:ROSCillator:OVEN:STATe

Supported All Models
[:SOURce]:ROSCillator:OVEN:STATe ON|OFF|1|0 [:SOURce]:ROSCillator:OVEN:STATe?
This command turns the 10 MHz oven oscillator on or off.
*RST 1
Key Entry Oven Oscillator On Off
+5.0000000000000E+07 Hz
of the entered reference, an unlocked condition will occur and an error message will appear.
80 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Frequency Subsystem ([:SOURce])

:ROSCillator:OVEN:TUNE

Supported All Models
[:SOURce]:ROSCillator:OVEN:TUNE <value> [:SOURce]:ROSCillator:OVEN:TUNE?
This command tunes the internal oven oscillator frequency.
The user value offsets the factory tuned value (the value is added to the factory calibrated DAC value). The tune value of 0 sets the factory calibrated value.
*RST +0.00000000E+000
Range 4096 to +4096
Key Entry Oven Oscillator Tune

:ROSCillator:SOURce

Supported All Models
[:SOURce]:ROSCillator:SOURce INTernal|EXTernal|BBG [:SOURce]:ROSCillator:SOURce?
This command sets the current reference oscillator source: INT (internal), EXT (external), or BBG (internal baseband generator).

:ROSCillator:SOURce:AUTO

Supported All Models
[:SOURce]:ROSCillator:SOURce:AUTO ON|OFF|1|0 [:SOURce]:ROSCillator:SOURce:AUTO?
This command enables or disables the ability of the signal generator to automatically select between the internal and an external reference oscillator.
ON (1) This choice enables the signal generator to detect when
a valid reference signal is present at the 10 MHz IN connector and automatically switches from internal to external frequency reference.
OFF (0) This choice selects the internal reference oscillator and
disables the automatic switching capability between the internal and an external frequency reference.
*RST 1
Key Entry Ref Oscillator Source Auto Off On
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 81
Basic Function Commands Frequency Subsystem ([:SOURce])

:ROSCillator:OVEN:TUNE

Supported All Models
[:SOURce]:ROSCillator:OVEN:TUNE <value> [:SOURce]:ROSCillator:OVEN:TUNE?
This command tunes the internal VCTXCO oscillator frequency.
The user value offsets the factory tuned value (the value is added to the factory calibrated DAC value). The tune value of 0 sets the factory calibrated value.
*RST +0.00000000E+000
Range 8192 to +8191
Key Entry Ref Oscillator Tune
82 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands List/Sweep Subsystem ([:SOURce])

List/Sweep Subsystem ([:SOURce])

A complete sweep setup requires commands from other subsystems. Table shows the function and location of these other commands.
Table 2-1 Location of Commands from the other Subsystems
Sweep Type Function Command Location Key Entry under
Sweep/List key
List and Step Configuring frequency sweep
Configuring amplitude sweep
Configuring frequency and amplitude sweep
Enables or Disables the waveform sweep
Set up and control sweep triggering
List Load a list sweep file
Store list sweep data to a file
Selects the waveform for the current waveform sequence
List Sweep Options Flags
This command enables specific options during a list sweep.
a
b
page 75 Freq Off On
page 114 Amptd Off On
page 75
page 114
Freq & Amptd
Off On
page 387 Waveform Off
On
page 241 See the “Trigger
Subsystem”
page 184 Load From
Selected File
page 180 Store To File
page 75
no softkey
page 84
page 92
page 86
no softkey. Refer to
Table 2-2 on page 87
Step Start frequency sweep
Store list sweep data to a file
Start amplitude sweep
Stop amplitude sweep
page 78 Freq Start
page 180 Store To File
page 116 Amptd Start
page 116 Amptd Stop
a. Execute both commands to start or stop a frequency and amplitude sweep. b. For point to point triggering, see “:LIST:TRIGger:SOURce” on page 90.

:LIST:CPOint?

Supported All Models
[:SOURce]:LIST:CPOint?
This query returns the current sweep point.
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 83
Basic Function Commands List/Sweep Subsystem ([:SOURce])

:LIST:DIRection

Supported All Models
[:SOURce]:LIST:DIRection UP|DOWN [:SOURce]:LIST:DIRection?
This command sets the direction of a list or step sweep.
UP This choice enables a sweep in an ascending order:
DOWN This choice reverses the direction of the sweep.
*RST UP
Key Entry Sweep Direction Down Up

:LIST:DWELl

— first to last point for a list sweep
— start to stop for a step sweep
Supported All Models
[:SOURce]:LIST:DWEL1 <value>,<value> [:SOURce]:LIST:DWEL1?
This command sets the dwell time for the current list sweep points.
Dwell time is used when IMMediate is the trigger source. Refer to the :LIST:TRIGger:SOURce command for the trigger setting.
The dwell time is the amount of time the sweep is guaranteed to pause after setting the frequency and/or power for the current point.
The setting enabled by this command is not affected by signal generator power–on, preset, or *RST.
The variable <value> is expressed in units of seconds with a 0.000001 (mS).
The dwell time (<value>) does not begin until the signal generator has settled for the current frequency and/or amplitude change.
Range 100E–6

:LIST:DWELl:POINts?

Supported All Models
[:SOURce]:LIST:DWELl:POINts?
This command queries the signal generator for the number of dwell points in the current list sweep file.
84 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands List/Sweep Subsystem ([:SOURce])

:LIST:DWELl:TYPE

Supported All Models
[:SOURce]:LIST:DWEL1:TYPE LIST|STEP [:SOURce]:LIST:DWEL1:TYPE?
This command toggles the dwell time for the list sweep points between the values defined in the list sweep and the value for the step sweep.
LIST This choice selects the dwell times from the list sweep.
STEP This choice selects the dwell time from the step sweep.
*RST LIST
Key Entry Dwell Type List Step
Refer to the :LIST:DWELl command for setting the list dwell points.
Refer to the :SWEep:DWELl command for setting the step dwell.

:LIST:FREQuency

Supported All Models
[:SOURce]:LIST:FREQuency <value>,<value> [:SOURce]:LIST:FREQuency?
This command sets the frequency values for the current list sweep points.
The maximum number of list sweep points is 3,201.
The variable <value> is expressed in units of hertz (Hz).
The setting enabled by this command is not affected by signal generator power–on, preset, or *RST.
Range The range is model/option dependent. Refer to the

:LIST:FREQuency:POINts

Supported All Models
[:SOURce]:LIST:FREQuency:POINts?
This command queries the current list sweep file for the number of frequency points.
instrument’s Data Sheet.

:LIST:MANual

Supported All Models
[:SOURce]:LIST:MANual <value>|UP|DOWN [:SOURce]:LIST:MANual?
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 85
Basic Function Commands List/Sweep Subsystem ([:SOURce])
This command sets a list or step sweep point as the current sweep point controlling the frequency and power output.
If list or step mode is controlling frequency or power, or both, then the indexed point in the respective list(s) will be used.
Entering a value with this command will have no effect, unless MANual is the selected mode. Refer to the :LIST:MODE command for setting the proper mode.
If the point selected is beyond the length of the longest enabled list, then the point will be set to the maximum possible point, and an error will be generated.

:LIST:MODE

[:SOURce]:LIST:MODE AUTO|MANual [:SOURce]:LIST:MODE?
Range List Sweep: 1 to 3,201 Step Sweep: 2 to 65535
Key Entry Manual Point
Supported All Models
This command sets the operating mode for the current list or step sweep.
AUTO This choice enables the selected sweep type to perform
MANual This choice enables you to select a single sweep point.
*RST AUTO
Key Entry Manual Mode Off On

:LIST:OPTions

Supported All Models
[:SOURce]:LIST:OPTions <val>,<val>
[:SOURce]:LIST:OPTions?
[:SOURce]:LIST:OPTions:POINts?
This command enables specific options during a list sweep. The command adds the capability to suppress FM, fM, and AM on any list sweep point. Additionally, frequency, power, and/or a waveform transition can be suppressed resulting in no synthesizer, no output, or no waveform playing interruption during a transition.
a sweep of all points.
The selected point controls the frequency and/or amplitude according to the sweep type. Refer to the :LIST:MANual command for selecting a sweep point.
86 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands List/Sweep Subsystem ([:SOURce])
This is a SCPI command only feature. There is no signal generator user interface displayed indication that these option flags are in use. The option flag list is preset to empty when list sweep is preset with the defaults. Otherwise, the option flag changes are persistent.
See also “:LIST:TYPE:LIST:INITialize:PRESet” on page 91.
Table 2-2 List Sweep Options Flag.
Bit # Bit Value Option if set
0 1 Suppress Frequency Change
12 Suppress Power Change
24 Suppress Waveform Change
3 8 Suppress FM and fM
416Suppress AM
The table represents the value of a bit flag.
If a bit is not set, then the option is ignored (not applied).
If FM, fM is not turned on, the FM, fM suppression does nothing.
The FM, fM should be typically as in CW mode.
The AM suppressing is accomplished by grounding the input to the AM modulator, no other reconfiguration of HW is performed.
The AM should be set up in CW mode.
Example
FM:DEV 1E6
FM:STAT ON
LIST:FREQ 1E9,2E9,3E9,4E9
LIST:OPT 8,0,8,0
The preceding example sets up FM then a frequency list of 1, 2, 3, 4 GHz and suppresses FM on every other list sweep point (points 1 and 3 will have FM suppressed, points 2 & 4 will have FM enabled).

:LIST:POWer

Supported All Models
[:SOURce]:LIST:POWer <value>,<value> [:SOURce]:LIST:POWer?
This command sets the amplitude for the current list sweep points.
The maximum number of list sweep points is 3,201.
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 87
Basic Function Commands List/Sweep Subsystem ([:SOURce])
Range See also [:LEVel][:IMMediate][:AMPLitude] command for
Remarks The setting enabled by this command is not affected by

:LIST:POWer:POINts

Supported All Models
[:SOURce]:LIST:POWer:POINts?
This command queries the number of power points in the current list sweep file.

:LIST:RETRace

Supported All Models
[:SOURce]:LIST:RETRace ON|OFF|1|0 [:SOURce]:LIST:RETRace?
output power ranges.
signal generator power–on, preset, or *RST.
This command configures the sweep to retrace to the first sweep point, or stop at the last sweep point upon completion of each sweep.
ON (1) The sweep retraces to the first sweep point.
OFF (0) The sweep stays at the last sweep point of the
completed sweep and stays there until sweep is initiated and triggered again. When sweep is initiated and triggered again, the sweep point moves to the first point of the sweep.
*RST 1
Key Entry Sweep Retrace Off On

:LIST:TRIGger:EXTernal:SOURce

Supported All Models
:LIST:TRIGger:EXTernal:SOURce TRIGger[1]|TRIGger2|PULSe :LIST:TRIGger:EXTernal:SOURce?
This command selects the external trigger source. With external triggering, the selected bi-directional BNC is configured as an input.
TRIGger1 This choice selects the TRIG 1 BNC as the external
trigger source for triggering sweep, point and function generator sweeps.
TRIGger2 This choice selects the TRIG 2 BNC as the external
trigger source for triggering sweep, point and function generator sweeps.
88 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands List/Sweep Subsystem ([:SOURce])
PULSe This choice selects the PULSE BNC as the external
trigger source for triggering sweep, point and function generator sweeps.
Example
:LIST:TRIG:EXT:SOUR PULS
The preceding example sets the external trigger source to the PULSE BNC.
*RST TRIGger1
Key Entry
Trigger 1 Trigger 2 Pulse

:LIST:TRIGger:INTernal:SOURce

Supported All Models
:LIST:TRIGger:INTernal:SOURce PVIDeo|PSYNc :LIST:TRIGger:INTernal:SOURce?
This command selects the internal trigger source.
PVIDeo This choice selects Pulse Video as the internal trigger
source for triggering sweep, point and function generator sweeps.
PSYNc This choice selects Pulse Sync as the internal trigger
source for triggering sweep, point and function generator sweeps.
Example
:LIST:TRIG:INT:SOUR PVID
The preceding example sets the internal trigger source to Pulse Video.
*RST PSYN
Key Entry
Pulse Video Pulse Sync

:LIST:TRIGger:SLOPe

Supported All Models
:LIST:TRIGger:SLOPe POSitive|NEGative :LIST:TRIGger:SLOPe?
This command sets the polarity of an external signal at the TRIG 1, TRIG 2, or PULSE BNC (see :LIST:TRIGger:EXTernal:SOURce) or internal Pulse Video or Pulse Sync signal (see :LIST:TRIGger:INTernal:SOURce) that will trigger a list or step sweep.
POSitive The signal generator triggers an event when it detects a
rising edge on the source signal
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 89
Basic Function Commands List/Sweep Subsystem ([:SOURce])
NEGative The signal generator triggers an event when it detects a
*RST POS
Key Entry Int/Ext Trigger Polarity Neg Pos

:LIST:TRIGger:SOURce

Supported All Models
[:SOURce]:LIST:TRIGger:SOURce BUS|IMMediate|EXTernal|INTernal|KEY|TIMer|MANual [:SOURce]:LIST:TRIGger:SOURce?
This command sets the point trigger source for a list or step sweep event.
BUS This choice enables GPIB triggering using the *TRG or
IMMediate This choice enables immediate triggering of the sweep
falling edge on the source signal
GET command, or LAN and USB triggering using the *TRG command.
event.
Example
:LIST:TRIG:SOUR BUS
The preceding example sets the trigger source to the instrument BUS.
Key Entry

:LIST:TYPE

EXTernal This choice enables the triggering of a sweep event by
an externally applied signal at the TRIGGER IN connector.
INTernal This choice enables the triggering of a sweep event by
an internal Pulse Video or Pulse Sync signal.
KEY This choice enables triggering by pressing the
front-panel Trigger hardkey.
TIMer This choice enables the trigger timer.
*RST IMM
Bus Free
Run
Supported All Models
Ext Int
Trigger Key
Timer Trigger
[:SOURce]:LIST:TYPE LIST|STEP [:SOURce]:LIST:TYPE?
This command toggles between the two types of sweep.
90 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands List/Sweep Subsystem ([:SOURce])
LIST This type of sweep has arbitrary frequencies and
amplitudes.
STEP This type of sweep has equally spaced frequencies and
amplitudes.
*RST STEP
Key Entry Sweep Type List Step

:LIST:TYPE:LIST:INITialize:FSTep

Supported All Models
The current list sweep data will be overwritten once this command is executed. If needed, save the current data. Refer to the “:STORe:LIST” command for storing list sweep files.
[:SOURce]:LIST:TYPE:LIST:INITialize:FSTep
This command replaces the loaded list sweep data with the settings from the current step sweep data points.
You can load only one sweep list at a time.
The maximum number of list sweep points is 3,201. When copying the step sweep settings over to a list sweep, ensure that the number of points in the step sweep do not exceed the maximum list sweep points.
Key Entry Load List From Step Sweep

:LIST:TYPE:LIST:INITialize:PRESet

Supported All Models
The current list sweep data will be overwritten once this command is executed. If needed, save the current data. Refer to the “:STORe:LIST” command for storing list sweep files.
[:SOURce]:LIST:TYPE:LIST:INITialize:PRESet
This command replaces the current list sweep data with a factory–defined file consisting of one point at a frequency, amplitude, and dwell time.
Key Entry Preset List
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 91
Basic Function Commands List/Sweep Subsystem ([:SOURce])

:LIST:WAVeform

Supported N5172B/82B
The current list sweep data will be overwritten once this command is executed. If needed, save the current data. Refer to the “:STORe:LIST” command for storing list sweep files.
[:SOURce]:LIST:WAVeform <name>,<name> [:SOURce]:LISt:WAVeform?
This command sets the waveform values for the current list waveform sequence.
Except for the sample clock rate, unspecified fields in the header result in
default settings of the dual arb’s settings being used (i.e. not the current
the
arb’s settings
of the waveform file being played. If the sample clock rate is unspecified in the file header, the instrument generates a header error.
). The sample clock rate must be specified for the file header
Example
:LIST:WAV "WFM1:RAMP_TEST_WFM","WFM1:SINE_TEST_WFM"
The preceding example loads the waveforms RAMP_TEST_WFM and SINE_TEST_WFM into the waveform section of the List Table.
Remarks The setting enabled by this command is not affected by
signal generator power–on, preset, or *RST.

:LIST:WAVeform:POINts

Supported N5172B/82B
[:SOURce]:LIST:WAVeform:POINts?
This query returns the number of waveform points in the current list sweep file.

:SWEep:ATTen:PROTection[:STATe]

Supported All Models
[:SOURce]:SWEep:ATTen:PROTection[:STATe] ON|OFF|1|0 [:SOURce]:SWEep:ATTen:PROTection[:STATe]?
This command enables protection for the mechanical attenuator by automatically turning on Atten Hold during frequency and/or power step sweeps.
92 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands List/Sweep Subsystem ([:SOURce])
This may cause unleveled RF output to occur for certain sweep configurations. Disabling this attenuator protection will allow the sweep to optimally set both the automatic leveling control (ALC) and output attenuation at each sweep point.
ON (1) This choice enables attenuator protection.
OFF (0) This choice disables attenuator protection. When the
Example
:SWE:ATT:PROT 0
The preceding example disables attenuator protection.
*RST 1
Key Entry Step Atten Protection On Off

:SWEep:CPOINt?

attenuator protection is disabled, the step dwell time will be set to a minimum of 50 ms as a precaution.
Supported All Models
[:SOURce]:SWEep:CPOINt?
This query returns the current sweep point in any mode.

:SWEep:DWELl

Supported All Models
[:SOURce]:SWEep:DWELl <value> [:SOURce]:SWEep:DWELl?
This command enables you to set the dwell time for a step sweep.
The variable <value> is expressed in units of seconds with a 0.001 resolution.
The dwell time is the amount of time the sweep is guaranteed to pause after setting the frequency and/or power for the current point.
The dwell time (<value>) does not begin until the signal generator has settled for the current frequency and/or amplitude change.
*RST +2.00000000E003
Range 0.0001 to 100
Key Entry Step Dwell
Remarks Dwell time is used when the trigger source is set to
IMMediate. Refer to the :LIST:TRIGger:SOURce command for the trigger setting.
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 93
Basic Function Commands List/Sweep Subsystem ([:SOURce])

:SWEep[:FREQuency]:STEP[:LINear]

Supported All Models
[:SOURce]:SWEep[:FREQuency]:STEP:[LINear] <value><unit> [:SOURce]:SWEep[:FREQuency]:STEP:[LINear]?
This command sets the step size for a linear step sweep in frequency (difference between frequency points).
The variable <value> is expressed in units of frequency, specifies by the variable <unit> (as Hz, kHz, MHz, or GHz).
NOTE: Setting the step size will determine the number of points in the step sweep based on the current start and stop frequencies. Due to the integer number of step points, the step size may be adjusted in order to yield a true linear sweep between the start and stop frequencies.
*RST 0.00 Hz
Key Entry LIN Freq Step

:SWEep[:FREQuency]:STEP:LOGarithmic

Supported All Models
[:SOURce]:SWEep[:FREQuency]:STEP:LOGarithmic <value> [:SOURce]:SWEep[:FREQuency]:STEP:LOGarithmic?
This command sets the step size for a logarithmic step sweep in frequency (ratio between frequency points).
The variable <value> is expressed as a percentage (%).
NOTE: Setting the step size will determine the number of points in the step sweep based on the current start and stop frequencies. Due to the integer number of step points, the step size may be adjusted in order to yield a true linear sweep between the start and stop frequencies.
*RST 0.00
Key Entry LOG Freq Step

:SWEep:GENeration

Supported All Models
[:SOURce]:SWEep:GENeration ANALog|STEPped [:SOURce]:SWEep:GENeration?
This command sets the sweep type.
ANALog This choice selects an analog sweep.
STEPped This choice selects a step sweep.
Example
94 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands List/Sweep Subsystem ([:SOURce])
:SWE:GEN STEP
The preceding example selects a step sweep.
*RST STEP
Key Entry Sweep Type

:SWEep:POINts

Supported All Models
[:SOURce]:SWEep:POINts <value> [:SOURce]:SWEep:POINts?
This command defines the number of step sweep points.
*RST 101
Range 2 to 65535
Key Entry # Points

:SWEep:SPACing

Supported All Models
[:SOURce]:SWEep:SPACing LINear|LOGarithmic [:SOURce]:SWEep:SPACing?
This command enables the signal generator linear or logarithmic sweep modes. These commands require the signal generator to be in step mode.
The instrument uses the specified start frequency, stop frequency, and number of points for both linear and log sweeps.
*RST LIN
Key Entry Step Spacing LIN LOG
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 95
Basic Function Commands Marker Subsystem–N5173B/83B ([:SOURce])

Marker Subsystem–N5173B/83B ([:SOURce])

:MARKer:AMPLitude[:STATe]

Supported N5173B/83B
[:SOURce]:MARKer:AMPLitude[:STATe] ON|OFF|1|0 [:SOURce]:MARKer:AMPLitude[:STATe]?
This command sets the amplitude marker state for the currently activated markers. When the state is switched on, the RF output signal exhibits a spike with a magnitude relative to the power level at each marker’s set frequency. (To set the magnitude of the spike, refer to the :MARKer:AMPLitude:VALue command.)
Example
:MARK:AMPL ON
The preceding example enables amplitude markers.
*RST 0
Key Entry Amplitude Markers Off On

:MARKer:AMPLitude:VALue

Supported N5173B/83B
[:SOURce]:MARKer:AMPLitude:VALue <num>[DB] [:SOURce]:MARKer:AMPLitude:VALue?
This command sets the relative power for the amplitude spikes at each marker’s set frequency when the amplitude marker mode is activated. (To activate the amplitude markers, refer to the :MARKer:AMPLitude[:STATe] command.)
Example
:MARK:AMPL:VAL 4DB
The preceding example sets the relative marker power to 4 dB for all markers.
*RST 2 dB
Range 10 to +10 dB
Key Entry Marker Value

:MARKer:AOFF

Supported N5173B/83B
[:SOURce]:MARKer:AOFF
This command turns off all active markers.
96 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Basic Function Commands Marker Subsystem–N5173B/83B ([:SOURce])
Key Entry Turn Off Markers

:MARKer:DELTa

Supported N5173B/83B
[:SOURce]:MARKer:DELTa? <num>,<num>
This query returns the frequency difference between two amplitude markers. The variables <num> are used to designate the marker numbers.
Example
:MARK:DELT? 1,2
The preceding example returns the frequency difference between amplitude markers 1 and 2.
Range 0 to 19

:MARKer:MODe

Supported N5173B/83B
[:SOURce]:MARKer:MODE FREQuency|DELTa [:SOURce]:MARKer:MODE?
This command sets the frequency mode for all markers.
FREQuency The frequency values for the markers are absolute.
DELTa The frequency values for the markers are relative to the
Example
:MARK:MODE DELT
The preceding example sets the marker mode to delta.
*RST FREQuency
Key Entry

:MARKer:REFerence

designated reference marker. The reference marker must be designated before this mode is selected. (See the :MARKer:REFerence command to select a reference marker.)
Marker Delta Off On
Supported N5173B/83B
[:SOURce]:MARKer:REFerence <marker> [:SOURce]:MARKer:REFerence?
This command designates the reference marker when using markers in delta mode. The variable <marker> designates the marker number.
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 97
Basic Function Commands Marker Subsystem–N5173B/83B ([:SOURce])
Example
:MARK:REF 6
The preceding example sets marker 6 as the reference marker.
*RST 0
Range 0 to 19
Key Entry
Delta Ref Set

:MARKer[0]|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19:FREQuency

Supported N5173B/83B
[:SOURce]:MARKer[0]|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|1 7|18|19:FREQuency <freq>|MAXimum|MINimum [:SOURce]:MARKer[0]|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|1
7|18|19:FREQuency? [MAXimum|MINimum]
This command sets the marker frequency. The frequency value must be between the start and stop frequencies set for the sweep.
Example
:MARK6 ON
The preceding example turns marker 6 on.
*RST 0
Key Entry
Marker On Off

:MARKer[0]|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19[:STATe]

Supported N5173B/83B
[:SOURce]:MARKer[0]|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|1 7|18|19[:STATe] ON|OFF|1|0 [:SOURce]:MARKer[0]|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|1 7|18|19[:STATe]?
This command turns a marker on or off. Marker 0 is the default if the marker designator [n] is not specified.
Example
:MARK6 ON
The preceding example turns marker 6 on.
*RST 0
Key Entry
98 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Marker On Off
Basic Function Commands Power Subsystem ([:SOURce]:POWer)

Power Subsystem ([:SOURce]:POWer)

:ALC:BANDwidth

Supported All Models
[:SOURce]:POWer:ALC:BANDwidth|BWIDth <num>freq suffix] [:SOURce]:POWer:ALC:BANDwidth|BWIDth?
This command overrides the signal generator's automatic ALC bandwidth selection with the users specific selection. For waveforms with varying amplitudes, high crest factors, or both, the recommended ALC loop bandwidth is the low bandwidth setting of the generator. Limiting the loop bandwidth of the ALC circuit will prevent the ALC from sampling the fast rising edges of pulsed waveforms. A limited, or narrow bandwidth will result in a longer ALC sample time and a more accurate representation of the signal's level.
*RST 200 (2kHz when ALC:BAND:BWID is set to AUTO)
Key Entry
Remarks Use this command when the ALC state is set to On. This
Auto 200 Hz 2 kHz 20 kHz
command will override the automatic ALC bandwidth selection set by the :ALC:BANDwidth|BWIDth:AUTO command.

:ALC:BANDwidth|BWIDth:AUTO

Supported All Models
[:SOURce]:POWer:ALC:BANDwidth|BWIDth:AUTO ON|OFF|1|0 [:SOURce]:POWer:ALC:BANDwidth|BWIDth:AUTO?
This command turns the bandwidth (BW) auto state on or off.
The bandwidth auto function allows the signal generator to automatically select a bandwidth for the automatic leveling control (ALC) circuit.
ON (1) This choice allows the signal generator to automatically
select an ALC BW. The selection of the ALC BW depends on the signal generator modulation type.
OFF (0) This choice disables automatic selection of the ALC BW.
*RST 1
Key Entry Auto
Remarks For more information on ALC bandwidth, refer to the
User’s Guide.
Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference 99
Basic Function Commands Power Subsystem ([:SOURce]:POWer)

:ALC:LEVel

[:SOURce]:POWer:ALC:LEVel <value><unit> [:SOURce]:POWer:ALC:LEVel?
This command sets the automatic leveling control (ALC) level. Use this command after setting the attenuation auto mode to On. Refer to :ATTenuation:AUTO command for setting the attenuation auto mode.
The ALC is used to maintain the signal generator’s output power level by compensating for power fluctuations due to drift, band changes, or load variations. After you set the ALC level, the signal generator’s output power is monitored and corrected so that the power level setting is maintained.
Example
:POW:ALC:LEV 10DB
The preceding example sets the ALC to 10 dB.
Supported All Models
*RST +1.00000000E+000

:ALC:SEARch

[:SOURce]:POWer:ALC:SEARch ON|OFF|1|0|ONCE [:SOURce]:POWer:ALC:SEARch?
This command executes a power search routine that temporarily activates the ALC, calibrates the power of the current RF output, and then disconnects the ALC circuitry. The power search mode is active only when the ALC state is Off, and the RF output is On.
Range –20 to 20
Key Entry Set ALC Level
Supported All Models
ON (1) This choice sets the power search mode to automatic
(Auto). In automatic mode, the power search calibration routine is executed whenever an instrument setting is modified that affects RF output power. This includes changes to frequency, amplitude and modulation.
OFF (0) This choice sets the power search mode to Manual and
disables the automatic power search calibration routine. The power level must be calibrated by explicitly sending the ONCE command. If there is a change in frequency or amplitude the ONCE command must be sent again.
100 Keysight EXG and MXG X-Series Signal Generators SCPI Command Reference
Loading...