Agilent 4155C SCPI Command Reference

SCPI Command Reference
Agilent 4155C Semiconductor Parameter Analyzer
Agilent 4156C Precision Semiconductor Parameter Analyzer
Agilent Part No. 04156-90060
Printed in Japan January 2001
Edition 1
Legal Notice
Copyright © 2001 Agilent Technologies
This document contains information which is protected by copyright. All rights are reserved. Reproduction, adaptation, or translation without prior written permission is prohibited, except as allowed under the copyright laws.
Product Warranty
Agilent Technologies warrant Agilent Technologies hardware, accessories and supplies against defects in materials and workmanship for the period of one year from the warranty start date specified below. If Agilent Technologies receive notice of such defects during the warranty period, Agilent Technologies will, at its option, either repair or replace products which prove to be defective. Replacement products may be either new or like-new.
Warranty service of this product will be performed at Agilent Technologies. Buyer shall prepay shipping charges to Agilent Technologies and Agilent Technologies shall pay shipping charges to return the product to Buyer. However, Buyer shall pay all shipping charges, duties, and taxes for products returned to Agilent Technologies from another country.
Agilent Technologies do not warrant that the operation of Agilent Technologies products will be uninterrupted or error free. If Agilent is unable, within a reasonable time, to repair or replace any product to a condition as warranted, customer will be entitled to a refund of the purchase price upon prompt return of the product.
The Agilent Technologies products may contain remanufactured parts equivalent to new in performance or may have been subject to incidental use.
The warranty period begins on the date of delivery or on the date of installation if installed by Agilent Technologies. If customer schedules or delays Agilent Technologies installation more than 30 days after delivery, warranty begins on the 31st day from delivery.
Warranty does not apply to defects resulting from (a) improper or inadequate maintenance or calibration, (b) software, interfacing, parts or supplies not supplied by Agilent Technologies, (c) unauthorized modification or misuse, (d) operation outside of the published environmental specifications for the product, or (e) improper site preparation or maintenance.
2 Agilent 4155C/4156C SCPI Command Reference, Edition 1
To the extent allowed by local law, the above warranties are exclusive and no other warranty or condition, whether written or oral, is expressed or implied and Agilent Technologies specifically disclaim any implied warranties or conditions of merchantability, satisfactory quality, and fitness for a particular purpose.
Agilent Technologies will be liable for damage to tangible property per incident up to the greater of $300,000 or the actual amount paid for the product that is the subject of the claim, and for damages for bodily injury or death, to the extent that all such damages are determined by a court of competent jurisdiction to have been directly caused by a defective Agilent Technologies product.
To the extent allowed by local law, the remedies in this warranty statement are customers sole and exclusive remedies. Expect as indicated above, in no event will Agilent Technologies or its suppliers be liable for loss of date or for direct, special, incidental, consequential (including lost profit or date), or other damage, whether based in contract, tort, or otherwise.
For consumer transactions in Australia and New Zealand: the warranty terms contained in this statement, except to the extent lawfully permitted, do not exclude, restrict or modify and are in addition to the mandatory statutory rights applicable to the sale of this product to you.
Assistance
Product maintenance agreements and other customer assistance agreements are available for Agilent Technologies products.
For any assistance, contact your nearest Agilent Technologies Sales Office.
Certification
Agilent Technologies Inc. certifies that this product met its published specifications at the time of shipment from the factory. Agilent further certifies that its calibration measurements are traceable to the National Institute of Standards and Technology (NIST), to the extent allowed by the Institute’s calibration facility, and to the calibration facilities of other International Standards Organization members.
Agilent 4155C/4156C SCPI Command Reference, Edition 1 3
Printing History
Edition 1: January 2001
Microsoft, Windows, MS-DOS and Excel are registered trademarks of Microsoft Corporation.
NFS is a trademark of Sun Microsystems, Inc.
UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Limited.
4 Agilent 4155C/4156C SCPI Command Reference, Edition 1
In This Manual
Agilent 4155C/4156C provides three command modes to control the 4155C/4156C via GPIB interface. You can control the 4155C/4156C using one of the following command modes.
4155/4156 SCPI command mode
SCPI means Standard Commands for Programmable Instruments. This mode is the default mode of the 4155C/4156C, and allows you to control all functions of the 4155C/4156C.
4155/4156 FLEX command mode
FLEX means Fast Language for EXecution. This mode allows you to control measurement functions of the 4155C/4156C. Command execution is faster than the SCPI command mode.
4145 syntax command mode
This mode allows you to execute the 4145A/B programs on the 4155C/4156C directly with little or no modification. In this command mode, you cannot control all functions of the 4155C/4156C.
To confirm the present control mode, see the language mode indicator on the screen, or enter the CMD? command.
Language mode indicator The indicator is located between the fourth primary softkey and
the fifth primary softkey, and next to the screen lock indicator. The meaning of the indicator is as follows:
S: SCPI command mode
F: FLEX command mode
4: 4145 syntax command mode
CMD? command This query command returns the present command mode. The
response is as follows:
0: SCPI command mode
1: FLEX command mode
2: 4145 syntax command mode
This command is effective for all command mode.
Agilent 4155C/4156C SCPI Command Reference, Edition 1 5
This manual describes about the 4155C/4156C SCPI command set, and consists of the following chapters:
Functional Syntax Conventions
Explains the functional syntax required to create program messages that are transmitted to a 4155C/4156C.
Response Message Syntax
Explains the syntax of the response messages from the 4155C/4156C.
Status Reporting Structure
Explains the status reporting structure of the 4155C/4156C.
Common Commands
Lists SCPI common commands available for the 4155C/4156C, and provides description, command syntax, example statements, and so on.
SCPI Commands
Lists device specific SCPI commands of the 4155C/4156C, and provides description, command syntax, example statements, and so on.
Error Messages
Lists the 4155C/4156C error messages, and provides error number, error message and description.
For information about the 4155C/4156C FLEX command set and the 4145 Syntax command set, refer to GPIB Command Reference.
See User's Guide General Information and User's Guide Measurement and Analysis for information about the 4155C/4156C itself.
Refer to Programmer's Guide to make a program and use built-in Instrument BASIC.
Text Conventions
The following text conventions are used in this manual:
Screen Text Represents text that appears on screen of the 4155C/4156C.
Italic Refers to a related document, or is used for emphasis.
6 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Contents
1. Functional Syntax Conventions
Program Message Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Subsystem Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Common Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Parameter Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
(Decimal) Numeric Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
String Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Character Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
Arbitrary Block Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10
Non-decimal Numeric Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11
Boolean Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12
2. Response Message Syntax
NR1 Numeric Response Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
NR2 numeric response data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
NR3 Numeric Response Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Hexadecimal Numeric Response Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Octal Numeric Response Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Binary Numeric Response Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
String Response Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
Character Response Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
Definite Length Arbitrary Block Response Data . . . . . . . . . . . . . . . . . . . . . . . . 2-11
Indefinite length arbitrary block response data . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
3. Status Reporting Structure
Status Byte Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Service Request Enable Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Agilent 4155C/4156C SCPI Command Reference, Edition 1 Contents-1
Contents
Standard Event Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
Standard Event Status Enable Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
Output Queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
Operation Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
Questionable Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
Emergency Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
Measurement/Stress Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15
4. Common Commands
*CAL? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
*CLS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
*ESE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
*ESR? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
*IDN? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
*OPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
*OPT? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
*PCB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
*RST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
*SRE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
*STB? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-15
*TRG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16
*TST? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17
*WAI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18
Contents-2 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Contents
5. SCPI Commands
CALibration Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
:CALibration[:ALL]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5
:CALibration:AUTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6
:CALibration:ERRor? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
:CALibration:SELected? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
DATA | TRACe Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9
:DATA|:TRACe:CATalog? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10
:DATA|:TRACe[:DATA] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
:DATA|:TRACe:DEFine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13
:DATA|:TRACe:DELete:ALL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14
:DATA|:TRACe:DELete[:NAME] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14
:DATA|:TRACe:FREE? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14
:DATA|:TRACe:POINts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-15
:DATA|:TRACe:STATus? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16
:DATA|:TRACe:UNIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17
DIAGnostic Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-18
:DIAGnostic:TEST:ABORt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-19
:DIAGnostic:TEST:CONTinue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-19
:DIAGnostic:TEST:ERRor? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-20
:DIAGnostic:TEST[:EXECute] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-20
:DIAG:TEST:RESult? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-23
DISPlay Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-24
:DISPlay:BRIGhtness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25
:DISPlay:CMAP:COLor<n>:HSL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-26
:DISPlay:CMAP:DEFault . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-27
:DISPlay:CONTrast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-27
:DISPlay[:WINDow]:ALLocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-28
:DISPlay[:WINDow][:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-29
Agilent 4155C/4156C SCPI Command Reference, Edition 1 Contents-3
Contents
FORMat Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-30
:FORMat:BORDer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-31
:FORMat[:DATA] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-32
HCOPy Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-33
:HCOPy:ABORt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-36
:HCOPy:DATA? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-36
:HCOPy:DESTination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-36
:HCOPy:DEVice:CMOD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-38
:HCOPy:DEVice:COLor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-39
:HCOPy:DEVice:LANGuage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-40
:HCOPy:DEVice:RESolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-40
:HCOPy[:IMMediate] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-41
:HCOPy:INIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-41
:HCOPy:ITEM:ALL:DATA? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-42
:HCOPy:ITEM:ALL[:IMMediate] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-42
:HCOPy:ITEM:ANNotation:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-42
:HCOPy:ITEM:ANNotation2:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-43
:HCOPy:ITEM:FFEed:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-44
:HCOPy:ITEM:LABel:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-44
:HCOPy:ITEM:LABel:TEXT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-45
:HCOPy:ITEM:TDSTamp:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-46
:HCOPy:ITEM:PNUMber:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-46
:HCOPy:ITEM[:WINDow]:TEXT:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-47
:HCOPy:ITEM[:WINDow]:TEXT2:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . 5-48
:HCOPy:ITEM[:WINDow]:TEXT3:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . 5-48
:HCOPy:ITEM[:WINDow]:TRACe:DATA? . . . . . . . . . . . . . . . . . . . . . . . . . 5-49
:HCOPy:ITEM[:WINDow]:TRACe:GRATicule:STATe . . . . . . . . . . . . . . . . 5-50
:HCOPy:ITEM[:WINDow]:TRACe[:IMMediate] . . . . . . . . . . . . . . . . . . . . . 5-50
:HCOPy:ITEM[:WINDow]:TRACe:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . 5-51
:HCOPy:LINDex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-52
:HCOPy:OPAGe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-52
Contents-4 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Contents
:HCOPy:PAGE:COLumn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-53
:HCOPy:PAGE:DIMensions:LLEFt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-54
:HCOPy:PAGE:DIMensions:QUADrant<n> . . . . . . . . . . . . . . . . . . . . . . . . . 5-54
:HCOPy:PAGE:DIMensions:URIGht . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-55
:HCOPy:PAGE:DIMensions:WHOLe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-55
:HCOPy:PAGE:FDIRection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-56
:HCOPy:PAGE:LENGth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-56
:HCOPy:PAGE:LINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-57
:HCOPy:PAGE:SIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-58
:HCOPy:PAGE:UNIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-58
:HCOPy:PAGE:WIDTh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-59
:HCOPy:SDUMp:DATA? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-60
:HCOPy:SDUMp[:IMMediate] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-60
:HCOPy:TRAiler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-61
MMEMory Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-62
:MMEMory:CATalog? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-63
:MMEMory:CDIRectory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-64
:MMEMory:COPY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-65
:MMEMory:DELete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-66
:MMEMory:DESTination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-67
:MMEMory:INITialize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-69
:MMEMory:LOAD:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-70
:MMEMory:LOAD:TRACe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-71
:MMEMory:MOVE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-72
:MMEMory:NAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-73
:MMEMory:STORe:SSHeet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-74
:MMEMory:STORe:SSHeet:DELimiter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-74
:MMEMory:STORe:SSHeet:LINDex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-75
:MMEMory:STORe:SSHeet:SMARK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-76
:MMEMory:STORe:SSHeet:UNIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-76
:MMEMory:STORe:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-77
Agilent 4155C/4156C SCPI Command Reference, Edition 1 Contents-5
Contents
:MMEMory:STORe:TRACe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-78
PAGE Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-79
:PAGE:CHAN Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-81
:PAGE:CHANnels[:CDEFinition]:ALL:DISable . . . . . . . . . . . . . . . . . . . . . . 5-83
:PAGE:CHANnels[:CDEFinition]:COMMent . . . . . . . . . . . . . . . . . . . . . . . . 5-83
:PAGE:CHANnels[:CDEFinition]:DEFault . . . . . . . . . . . . . . . . . . . . . . . . . . 5-84
:PAGE:CHANnels[:CDEFinition]:GNDU:DISable . . . . . . . . . . . . . . . . . . . . 5-84
:PAGE:CHANnels[:CDEFinition]:GNDU:MODE? . . . . . . . . . . . . . . . . . . . . 5-84
:PAGE:CHANnels[:CDEFinition]:GNDU:VNAMe . . . . . . . . . . . . . . . . . . . 5-85
:PAGE:CHANnels[:CDEFinition][:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . 5-85
:PAGE:CHANnels[:CDEFinition]:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-86
:PAGE:CHANnels[:CDEFinition]:PGU<n>:DISable . . . . . . . . . . . . . . . . . . 5-86
:PAGE:CHANnels[:CDEFinition]:PGU<n>:MODE . . . . . . . . . . . . . . . . . . . 5-86
:PAGE:CHANnels[:CDEFinition]:PGU<n>:STANdby . . . . . . . . . . . . . . . . . 5-87
:PAGE:CHANnels[:CDEFinition]:PGU<n>:VNAMe . . . . . . . . . . . . . . . . . . 5-88
:PAGE:CHANnels[:CDEFinition]:SMU<n>:DISable . . . . . . . . . . . . . . . . . . 5-88
:PAGE:CHANnels[:CDEFinition]:SMU<n>:FUNCtion . . . . . . . . . . . . . . . . 5-89
:PAGE:CHANnels[:CDEFinition]:SMU<n>:INAMe . . . . . . . . . . . . . . . . . . 5-90
:PAGE:CHANnels[:CDEFinition]:SMU<n>:MODE . . . . . . . . . . . . . . . . . . . 5-91
:PAGE:CHANnels[:CDEFinition]:SMU<n>:SRESistance . . . . . . . . . . . . . . 5-92
:PAGE:CHANnels[:CDEFinition]:SMU<n>:STANdby . . . . . . . . . . . . . . . . . 5-92
:PAGE:CHANnels[:CDEFinition]:SMU<n>:VNAMe . . . . . . . . . . . . . . . . . . 5-93
:PAGE:CHANnels[:CDEFinition]:VMU<n>:DCHarge . . . . . . . . . . . . . . . . . 5-94
:PAGE:CHANnels[:CDEFinition]:VMU<n>:DISable . . . . . . . . . . . . . . . . . . 5-95
:PAGE:CHANnels[:CDEFinition]:VMU<n>:MODE . . . . . . . . . . . . . . . . . . 5-95
:PAGE:CHANnels[:CDEFinition]:VMU<n>:VNAMe . . . . . . . . . . . . . . . . . 5-96
:PAGE:CHANnels[:CDEFinition]:VSU<n>:DISable . . . . . . . . . . . . . . . . . . 5-96
:PAGE:CHANnels[:CDEFinition]:VSU<n>:FUNCtion . . . . . . . . . . . . . . . . . 5-97
:PAGE:CHANnels[:CDEFinition]:VSU<n>:MODE? . . . . . . . . . . . . . . . . . . 5-98
:PAGE:CHANnels[:CDEFinition]:VSU<n>:STANdby . . . . . . . . . . . . . . . . . 5-98
:PAGE:CHANnels[:CDEFinition]:VSU<n>:VNAMe . . . . . . . . . . . . . . . . . . 5-99
Contents-6 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Contents
:PAGE:CHANnels:MATrix:CONNection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-99
:PAGE:CHANnels:MATrix:CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-100
:PAGE:CHANnels:MATrix:GPIB:ADDRess. . . . . . . . . . . . . . . . . . . . . . . . . 5-101
:PAGE:CHANnels:UFUNction:CATalog? . . . . . . . . . . . . . . . . . . . . . . . . . . 5-101
:PAGE:CHANnels:UFUNction:DEFine . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-102
:PAGE:CHANnels:UFUNction:DELete:ALL . . . . . . . . . . . . . . . . . . . . . . . . 5-103
:PAGE:CHANnels:UFUNction:DELete[:NAME] . . . . . . . . . . . . . . . . . . . . 5-103
:PAGE:CHANnels:UFUNction[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-104
:PAGE:CHANnels:UVARiable:CATalog? . . . . . . . . . . . . . . . . . . . . . . . . . . 5-104
:PAGE:CHANnels:UVARiable:DEFine . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-105
:PAGE:CHANnels:UVARiable:DELete:ALL . . . . . . . . . . . . . . . . . . . . . . . . 5-106
:PAGE:CHANnels:UVARiable:DELete[:NAME] . . . . . . . . . . . . . . . . . . . . 5-106
:PAGE:CHANnels:UVARiable[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-106
:PAGE:DISP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-107
:PAGE:DISPlay:ANALysis:INTerpolate . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-110
:PAGE:DISPlay:ANALysis:LINE(1|2):ASELect . . . . . . . . . . . . . . . . . . . . . 5-110
:PAGE:DISPlay:ANALysis:LINE(1|2):GRADient . . . . . . . . . . . . . . . . . . . . 5-111
:PAGE:DISPlay:ANALysis:LINE(1|2):MODE . . . . . . . . . . . . . . . . . . . . . . 5-112
:PAGE:DISPlay:ANALysis:LINE(1|2):POINt(1|2) :AFTer . . . . . . . . . . . . . 5-112
:PAGE:DISPlay:ANALysis:LINE(1|2):POINt(1|2) :AFTer:STATe . . . . . . . 5-113
:PAGE:DISPlay:ANALysis:LINE(1|2):POINt(1|2):MODE . . . . . . . . . . . . . 5-114
:PAGE:DISPlay:ANALysis:LINE(1|2):POINt(1|2) :POSition . . . . . . . . . . . 5-114
:PAGE:DISPlay:ANALysis:LINE(1|2):POINt(1|2):X . . . . . . . . . . . . . . . . . 5-115
:PAGE:DISPlay:ANALysis:LINE(1|2):POINt(1|2):Y . . . . . . . . . . . . . . . . . 5-116
:PAGE:DISPlay:ANALysis:LINE(1|2):TANGent:AFTer . . . . . . . . . . . . . . . 5-116
:PAGE:DISPlay:ANALysis:LINE(1|2):TANGent:AFTer :STATe . . . . . . . . 5-117
:PAGE:DISPlay:ANALysis:LINE(1|2):TANGent :POSition . . . . . . . . . . . . 5-118
:PAGE:DISPlay:ANALysis:MARKer:AFTer . . . . . . . . . . . . . . . . . . . . . . . . 5-118
:PAGE:DISPlay:ANALysis:MARKer:AFTer:STATe . . . . . . . . . . . . . . . . . . 5-119
:PAGE:DISPlay:ANALysis:MARKer:DISable . . . . . . . . . . . . . . . . . . . . . . . 5-120
:PAGE:DISPlay:ANALysis:MARKer:POSition . . . . . . . . . . . . . . . . . . . . . . 5-120
Agilent 4155C/4156C SCPI Command Reference, Edition 1 Contents-7
Contents
:PAGE:DISPlay:ANALysis[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-121
:PAGE:DISPlay[:SETup]:DRESOL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-121
:PAGE:DISPlay[:SETup]:DVARiables:DELete:ALL . . . . . . . . . . . . . . . . . 5-122
:PAGE:DISPlay[:SETup]:DVARiables:DELete[:NAME]. . . . . . . . . . . . . . . 5-122
:PAGE:DISPlay[:SETup]:DVARiables[:SELect] . . . . . . . . . . . . . . . . . . . . . 5-123
:PAGE:DISPlay[:SETup]:GRAPhics:GRID . . . . . . . . . . . . . . . . . . . . . . . . . 5-124
:PAGE:DISPlay[:SETup]:GRAPhics:LPARam . . . . . . . . . . . . . . . . . . . . . . 5-124
:PAGE:DISPlay[:SETup]:GRAPhics:X|:Y1|:Y2:DELete . . . . . . . . . . . . . . . 5-125
:PAGE:DISPlay[:SETup]:GRAPhics:X|:Y1|:Y2:MAX . . . . . . . . . . . . . . . . 5-125
:PAGE:DISPlay[:SETup]:GRAPhics:X|:Y1|:Y2:MIN . . . . . . . . . . . . . . . . . 5-126
:PAGE:DISPlay[:SETup]:GRAPhics:X|:Y1|:Y2:NAME . . . . . . . . . . . . . . . 5-127
:PAGE:DISPlay[:SETup]:GRAPhics:X|:Y1|:Y2:SCALe . . . . . . . . . . . . . . . 5-127
:PAGE:DISPlay[:SETup]:LIST:DELete:ALL . . . . . . . . . . . . . . . . . . . . . . . 5-128
:PAGE:DISPlay[:SETup]:LIST:DELete[:NAME] . . . . . . . . . . . . . . . . . . . . 5-128
:PAGE:DISPlay[:SETup]:LIST[:SELect] . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-129
:PAGE:DISPlay[:SETup][:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-129
:PAGE:DISPlay[:SETup]:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-130
:PAGE:GLIS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-131
:PAGE:GLISt[:GRAPhics]:AANalysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-133
:PAGE:GLISt[:GRAPhics]:ASELect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-133
:PAGE:GLISt[:GRAPhics]:CURSor:DIRect:X|:Y1|:Y2 . . . . . . . . . . . . . . . 5-133
:PAGE:GLISt[:GRAPhics]:CURSor[:STATe] . . . . . . . . . . . . . . . . . . . . . . . 5-134
:PAGE:GLISt[:GRAPhics]:DISPlay:DVARiables . . . . . . . . . . . . . . . . . . . . 5-135
:PAGE:GLISt[:GRAPhics]:DISPlay:OVERlay:STOVerlay . . . . . . . . . . . . . 5-135
:PAGE:GLISt[:GRAPhics]:DISPlay:OVERlay[:PLANe] . . . . . . . . . . . . . . 5-136
:PAGE:GLISt[:GRAPhics]:DISPlay:OVERlay:SINFo . . . . . . . . . . . . . . . . 5-136
:PAGE:GLISt[:GRAPhics]:DISPlay:GRID . . . . . . . . . . . . . . . . . . . . . . . . . 5-137
:PAGE:GLISt[:GRAPhics]:DISPlay:LPARam . . . . . . . . . . . . . . . . . . . . . . . 5-137
:PAGE:GLISt[:GRAPhics]:INTerpolate . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-138
:PAGE:GLISt[:GRAPhics]:LINE:CTMarker . . . . . . . . . . . . . . . . . . . . . . . . 5-138
:PAGE:GLISt[:GRAPhics]:LINE:GRADient . . . . . . . . . . . . . . . . . . . . . . . . 5-139
Contents-8 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Contents
:PAGE:GLISt[:GRAPhics]:LINE:LSELect . . . . . . . . . . . . . . . . . . . . . . . . . 5-139
:PAGE:GLISt[:GRAPhics]:LINE:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-140
:PAGE:GLISt[:GRAPhics]:LINE:SCURsor . . . . . . . . . . . . . . . . . . . . . . . . . 5-140
:PAGE:GLISt[:GRAPhics]:LINE[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . 5-141
:PAGE:GLISt[:GRAPhics]:MARKer:DIRect:X|:Y1|:Y2 . . . . . . . . . . . . . . . 5-141
:PAGE:GLISt[:GRAPhics]:MARKer:LIMit . . . . . . . . . . . . . . . . . . . . . . . . . 5-142
:PAGE:GLISt[:GRAPhics]:MARKer:SKIP . . . . . . . . . . . . . . . . . . . . . . . . . 5-142
:PAGE:GLISt[:GRAPhics]:MARKer[:STATe] . . . . . . . . . . . . . . . . . . . . . . . 5-143
:PAGE:GLISt[:GRAPhics][:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-143
:PAGE:GLISt[:GRAPhics]:SCALing:AUTO . . . . . . . . . . . . . . . . . . . . . . . . 5-143
:PAGE:GLISt[:GRAPhics]:SCALing:CANCel . . . . . . . . . . . . . . . . . . . . . . 5-144
:PAGE:GLISt[:GRAPhics]:SCALing:CENTer . . . . . . . . . . . . . . . . . . . . . . . 5-144
:PAGE:GLISt[:GRAPhics]:SCALing:CTMarker . . . . . . . . . . . . . . . . . . . . . 5-144
:PAGE:GLISt[:GRAPhics]:SCALing:ZOOM . . . . . . . . . . . . . . . . . . . . . . . . 5-145
:PAGE:GLISt:LIST:ASELect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-145
:PAGE:GLISt:LIST:MARKer:DIRect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-146
:PAGE:GLISt:LIST:MARKer:SKIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-147
:PAGE:GLISt:LIST:MARKer[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-147
:PAGE:GLISt:LIST[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-147
:PAGE:KSW Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-148
:PAGE:KSWeep:CURSor:X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-149
:PAGE:KSWeep:CURSor:Y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-149
:PAGE:KSWeep:DISPlay:DIRection:X . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-150
:PAGE:KSWeep:DISPlay:DIRection:Y . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-151
:PAGE:KSWeep:DISPlay:GRID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-151
:PAGE:KSWeep:DISPlay:REGion:X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-152
:PAGE:KSWeep:DISPlay:REGion:Y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-152
:PAGE:KSWeep[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-153
:PAGE:KSWeep:SCOpy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-153
:PAGE:KSWeep:VAR1:EXTent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-153
:PAGE:KSWeep:VAR1:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-154
Agilent 4155C/4156C SCPI Command Reference, Edition 1 Contents-9
Contents
:PAGE:KSWeep:VAR1:POINts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-155
:PAGE:KSWeep:VAR1:POLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-156
:PAGE:KSWeep:VAR1:RANGe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-156
:PAGE:KSWeep:VAR1:STIMe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-157
:PAGE:KSWeep:Y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-158
:PAGE:MEAS Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-159
:PAGE:MEASure:MSETup:ITIMe:LONG:APERture? . . . . . . . . . . . . . . . . 5-165
:PAGE:MEASure:MSETup:ITIMe:LONG[:NPLCycle] . . . . . . . . . . . . . . . 5-165
:PAGE:MEASure:MSETup:ITIMe:MEDium:APERture? . . . . . . . . . . . . . . 5-166
:PAGE:MEASure:MSETup:ITIMe:MEDium:NPLCycles? . . . . . . . . . . . . . 5-166
:PAGE:MEASure:MSETup:ITIMe[:MODE] . . . . . . . . . . . . . . . . . . . . . . . . 5-167
:PAGE:MEASure:MSETup:ITIMe:SHORt[:APERture] . . . . . . . . . . . . . . . 5-168
:PAGE:MEASure:MSETup:ITIMe:SHORt:NPLCycles? . . . . . . . . . . . . . . . 5-169
:PAGE:MEASure:MSETup[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-169
:PAGE:MEASure:MSETup:SMU<n>|:VMU<n> :RANGe . . . . . . . . . . . . . 5-170
:PAGE:MEASure:MSETup:SMU<n>|:VMU<n>:RANGe:MODE . . . . . . . 5-171
:PAGE:MEASure:MSETup:WTIMe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-172
:PAGE:MEASure:MSETup:ZCANcel:SMU<n>?|:VMU<n>? . . . . . . . . . . 5-172
:PAGE:MEASure:MSETup:ZCANcel[:STATe] . . . . . . . . . . . . . . . . . . . . . . 5-173
:PAGE:MEASure:OSEQuence[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-174
:PAGE:MEASure:OSEQuence:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-174
:PAGE:MEASure:OSEQuence:OSEQuence . . . . . . . . . . . . . . . . . . . . . . . . 5-174
:PAGE:MEASure:OSEQuence:TRIGger:FUNCtion . . . . . . . . . . . . . . . . . . 5-175
:PAGE:MEASure:OSEQuence:TRIGger:POLarity . . . . . . . . . . . . . . . . . . . 5-176
:PAGE:MEASure:OSEQuence:TRIGger[:STATe] . . . . . . . . . . . . . . . . . . . . 5-176
:PAGE:MEASure:OSEQuence:TRIGger:TIME . . . . . . . . . . . . . . . . . . . . . . 5-177
:PAGE:MEASure:PGUSetup:CONStant:PGU<n>[:SOURce] . . . . . . . . . . . 5-178
:PAGE:MEASure:PGUSetup[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-178
:PAGE:MEASure:PGUSetup:PULSe:PGU<n>:BASE . . . . . . . . . . . . . . . . 5-179
:PAGE:MEASure:PGUSetup:PULSe:PGU<n>:COUNt . . . . . . . . . . . . . . . 5-180
:PAGE:MEASure:PGUSetup:PULSe:PGU<n>:DELay . . . . . . . . . . . . . . . . 5-181
Contents-10 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Contents
:PAGE:MEASure:PGUSetup:PULSe:PGU<n>:IMPedance . . . . . . . . . . . . . 5-182
:PAGE:MEASure:PGUSetup:PULSe:PGU<n>:LEADing . . . . . . . . . . . . . . 5-183
:PAGE:MEASure:PGUSetup:PULSe:PGU<n>:PEAK . . . . . . . . . . . . . . . . 5-184
:PAGE:MEASure:PGUSetup:PULSe:PGU<n>:PERiod . . . . . . . . . . . . . . . 5-185
:PAGE:MEASure:PGUSetup:PULSe:PGU<n>:TRAiling . . . . . . . . . . . . . . 5-186
:PAGE:MEASure:PGUSetup:PULSe:PGU<n>:WIDTh . . . . . . . . . . . . . . . 5-187
:PAGE:MEASure:QSCV:CINTeg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-188
:PAGE:MEASure:QSCV:CNAMe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-189
:PAGE:MEASure:QSCV:CONStant:SMU<n>:COMPliance . . . . . . . . . . . . 5-190
:PAGE:MEASure:QSCV:CONStant:SMU<n>[:SOURce] . . . . . . . . . . . . . . 5-191
:PAGE:MEASure:QSCV:CONStant:VSU<n>[:SOURce] . . . . . . . . . . . . . . 5-192
:PAGE:MEASure:QSCV:DELay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-193
:PAGE:MEASure:QSCV:HTIMe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-194
:PAGE:MEASure:QSCV:IINTeg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-195
:PAGE:MEASure:QSCV:LCANcel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-196
:PAGE:MEASure:QSCV:LNAMe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-197
:PAGE:MEASure:QSCV[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-197
:PAGE:MEASure:QSCV:RANGe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-198
:PAGE:MEASure:QSCV:SSTop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-199
:PAGE:MEASure:QSCV:UNIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-200
:PAGE:MEASure:QSCV:VAR1:COMPliance . . . . . . . . . . . . . . . . . . . . . . . 5-201
:PAGE:MEASure:QSCV:VAR1:CSTEp . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-202
:PAGE:MEASure:QSCV:VAR1:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-203
:PAGE:MEASure:QSCV:VAR1:STARt . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-204
:PAGE:MEASure:QSCV:VAR1:STEP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-205
:PAGE:MEASure:QSCV:VAR1:STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-206
:PAGE:MEASure:QSCV:ZCANcel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-207
:PAGE:MEASure:SAMPling:CONStant:SMU<n>:COMPliance . . . . . . . . 5-208
:PAGE:MEASure:SAMPling:CONStant:SMU<n>[:SOURce] . . . . . . . . . . 5-209
:PAGE:MEASure:SAMPling:CONStant:VSU<n>[:SOURce] . . . . . . . . . . . 5-210
:PAGE:MEASure:SAMPling:FILTer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-211
:PAGE:MEASure:SAMPling:HTIMe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-211
Agilent 4155C/4156C SCPI Command Reference, Edition 1 Contents-11
Contents
:PAGE:MEASure:SAMPling:IINTerval . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-212
:PAGE:MEASure:SAMPling[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-212
:PAGE:MEASure:SAMPling:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-212
:PAGE:MEASure:SAMPling:PERiod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-213
:PAGE:MEASure:SAMPling:PERiod:AUTO . . . . . . . . . . . . . . . . . . . . . . . 5-214
:PAGE:MEASure:SAMPling:POINts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-214
:PAGE:MEASure:SAMPling:SCONdition:ECOunt . . . . . . . . . . . . . . . . . . . 5-215
:PAGE:MEASure:SAMPling:SCONdition:EDELay . . . . . . . . . . . . . . . . . . 5-216
:PAGE:MEASure:SAMPling:SCONdition:EVENt . . . . . . . . . . . . . . . . . . . 5-216
:PAGE:MEASure:SAMPling:SCONdition:NAME . . . . . . . . . . . . . . . . . . . 5-217
:PAGE:MEASure:SAMPling:SCONdition[:STATe] . . . . . . . . . . . . . . . . . . 5-218
:PAGE:MEASure:SAMPling:SCONdition:THReshold . . . . . . . . . . . . . . . . 5-218
:PAGE:MEASure[:SWEep]:CONStant:SMU<n>:COMPliance . . . . . . . . . 5-219
:PAGE:MEASure[:SWEep]:CONStant:SMU<n>[:SOURce] . . . . . . . . . . . 5-220
:PAGE:MEASure[:SWEep]:CONStant:VSU<n>[:SOURce] . . . . . . . . . . . . 5-221
:PAGE:MEASure[:SWEep]:DELay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-222
:PAGE:MEASure[:SWEep]:HTIMe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-222
:PAGE:MEASure[:SWEep][:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-223
:PAGE:MEASure[:SWEep]:PULSe:BASE . . . . . . . . . . . . . . . . . . . . . . . . . 5-223
:PAGE:MEASure[:SWEep]:PULSe:PERiod . . . . . . . . . . . . . . . . . . . . . . . . 5-224
:PAGE:MEASure[:SWEep]:PULSe:WIDTh . . . . . . . . . . . . . . . . . . . . . . . . 5-224
:PAGE:MEASure[:SWEep]:SSTop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-225
:PAGE:MEASure[:SWEep]:VAR1:COMPliance . . . . . . . . . . . . . . . . . . . . . 5-226
:PAGE:MEASure[:SWEep]:VAR1:MODE . . . . . . . . . . . . . . . . . . . . . . . . . 5-226
:PAGE:MEASure[:SWEep]:VAR1:PCOMpliance . . . . . . . . . . . . . . . . . . . . 5-227
:PAGE:MEASure[:SWEep]:VAR1:PCOMpliance:STATe . . . . . . . . . . . . . . 5-228
:PAGE:MEASure[:SWEep]:VAR1:SPACing . . . . . . . . . . . . . . . . . . . . . . . . 5-229
:PAGE:MEASure[:SWEep]:VAR1:STARt . . . . . . . . . . . . . . . . . . . . . . . . . . 5-230
:PAGE:MEASure[:SWEep]:VAR1:STEP . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-230
:PAGE:MEASure[:SWEep]:VAR1:STOP . . . . . . . . . . . . . . . . . . . . . . . . . . 5-231
:PAGE:MEASure[:SWEep]:VAR2:COMPliance . . . . . . . . . . . . . . . . . . . . . 5-232
:PAGE:MEASure[:SWEep]:VAR2:PCOMpliance . . . . . . . . . . . . . . . . . . . . 5-232
Contents-12 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Contents
:PAGE:MEASure[:SWEep]:VAR2:PCOMpliance:STATe . . . . . . . . . . . . . . 5-233
:PAGE:MEASure[:SWEep]:VAR2:POINts . . . . . . . . . . . . . . . . . . . . . . . . . 5-234
:PAGE:MEASure[:SWEep]:VAR2:STARt . . . . . . . . . . . . . . . . . . . . . . . . . . 5-234
:PAGE:MEASure[:SWEep]:VAR2:STEP . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-235
:PAGE:MEASure[:SWEep]:VARD:COMPliance . . . . . . . . . . . . . . . . . . . . . 5-236
:PAGE:MEASure[:SWEep]:VARD:OFFSet . . . . . . . . . . . . . . . . . . . . . . . . . 5-237
:PAGE:MEASure[:SWEep]:VARD:PCOMpliance . . . . . . . . . . . . . . . . . . . . 5-238
:PAGE:MEASure[:SWEep]:VARD:PCOMpliance:STATe . . . . . . . . . . . . . . 5-239
:PAGE:MEASure[:SWEep]:VARD:RATio . . . . . . . . . . . . . . . . . . . . . . . . . . 5-240
:PAGE:SCON Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-241
:PAGE:SCONtrol:KSWeep[:STARt] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-242
:PAGE:SCONtrol[:MEASurement]:APPend . . . . . . . . . . . . . . . . . . . . . . . . 5-242
:PAGE:SCONtrol[:MEASurement]:REPeat . . . . . . . . . . . . . . . . . . . . . . . . . 5-243
:PAGE:SCONtrol[:MEASurement]:SINGle . . . . . . . . . . . . . . . . . . . . . . . . . 5-243
:PAGE:SCONtrol:STANdby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-244
:PAGE:SCONtrol:STATe? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-244
:PAGE:SCONtrol:STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-245
:PAGE:SCONtrol:STRess[:STARt] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-245
:PAGE:SCONtrol:TRIGger:INPut? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-245
:PAGE:SCONtrol:TRIGger:OUTPut:LEVel . . . . . . . . . . . . . . . . . . . . . . . . . 5-246
:PAGE:SCONtrol:TRIGger:OUTPut[:PULSe] . . . . . . . . . . . . . . . . . . . . . . . 5-246
:PAGE:SCONtrol:ZERO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-246
:PAGE:STR Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-247
:PAGE:STRess[:CDEFinition]:ALL:DISable . . . . . . . . . . . . . . . . . . . . . . . . 5-250
:PAGE:STRess[:CDEFinition]:COMMent . . . . . . . . . . . . . . . . . . . . . . . . . . 5-250
:PAGE:STRess[:CDEFinition]:GNDU:DISable . . . . . . . . . . . . . . . . . . . . . . 5-250
:PAGE:STRess[:CDEFinition]:GNDU:FUNCtion? . . . . . . . . . . . . . . . . . . . 5-251
:PAGE:STRess[:CDEFinition]:GNDU:MODE? . . . . . . . . . . . . . . . . . . . . . . 5-251
:PAGE:STRess[:CDEFinition]:GNDU:NAME . . . . . . . . . . . . . . . . . . . . . . . 5-252
:PAGE:STRess[:CDEFinition][:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-252
:PAGE:STRess[:CDEFinition]:PGU<n>:DISable . . . . . . . . . . . . . . . . . . . . 5-253
Agilent 4155C/4156C SCPI Command Reference, Edition 1 Contents-13
Contents
:PAGE:STRess[:CDEFinition]:PGU<n>:FUNCtion . . . . . . . . . . . . . . . . . . 5-253
:PAGE:STRess[:CDEFinition]:PGU<n>:MODE . . . . . . . . . . . . . . . . . . . . . 5-254
:PAGE:STRess[:CDEFinition]:PGU<n>:NAME . . . . . . . . . . . . . . . . . . . . . 5-254
:PAGE:STRess[:CDEFinition]:SELector<n>:MEASure . . . . . . . . . . . . . . . 5-255
:PAGE:STRess[:CDEFinition]:SELector<n>:STRess . . . . . . . . . . . . . . . . . 5-256
:PAGE:STRess[:CDEFinition]:SMU<n>:DISable . . . . . . . . . . . . . . . . . . . . 5-256
:PAGE:STRess[:CDEFinition]:SMU<n>:FUNCtion . . . . . . . . . . . . . . . . . . 5-257
:PAGE:STRess[:CDEFinition]:SMU<n>:MODE . . . . . . . . . . . . . . . . . . . . . 5-258
:PAGE:STRess[:CDEFinition]:SMU<n>:NAME . . . . . . . . . . . . . . . . . . . . . 5-259
:PAGE:STRess[:CDEFinition]:TRIGger:POLarity . . . . . . . . . . . . . . . . . . . 5-260
:PAGE:STRess[:CDEFinition]:TRIGger[:STATe] . . . . . . . . . . . . . . . . . . . . 5-260
:PAGE:STRess[:CDEFinition]:VSU<n>:DISable . . . . . . . . . . . . . . . . . . . . 5-261
:PAGE:STRess[:CDEFinition]:VSU<n>:FUNCtion . . . . . . . . . . . . . . . . . . 5-261
:PAGE:STRess[:CDEFinition]:VSU<n>:MODE? . . . . . . . . . . . . . . . . . . . . 5-262
:PAGE:STRess[:CDEFinition]:VSU<n>:NAME . . . . . . . . . . . . . . . . . . . . . 5-262
:PAGE:STRess:FORCe:ACCumulate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-263
:PAGE:STRess:FORCe[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-263
:PAGE:STRess:FORCe:STATus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-264
:PAGE:STRess:SETup:ACCumulate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-264
:PAGE:STRess:SETup:CONStant:PGU<n>[:SOURce] . . . . . . . . . . . . . . . . 5-265
:PAGE:STRess:SETup:CONStant:SMU<n>:COMPliance . . . . . . . . . . . . . 5-266
:PAGE:STRess:SETup:CONStant:SMU<n>[:SOURce] . . . . . . . . . . . . . . . 5-267
:PAGE:STRess:SETup:CONStant:VSU<n>[:SOURce] . . . . . . . . . . . . . . . . 5-268
:PAGE:STRess:SETup:DURation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-268
:PAGE:STRess:SETup:FILTer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-269
:PAGE:STRess:SETup:HTIMe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-270
:PAGE:STRess:SETup[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-270
:PAGE:STRess:SETup:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-270
:PAGE:STRess:SETup:PCOunt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-271
:PAGE:STRess:SETup:PULSe:PGU<n>:BASE . . . . . . . . . . . . . . . . . . . . . 5-272
:PAGE:STRess:SETup:PULSe:PGU<n>:DELay . . . . . . . . . . . . . . . . . . . . . 5-272
:PAGE:STRess:SETup:PULSe:PGU<n>:IMPedance . . . . . . . . . . . . . . . . . 5-273
Contents-14 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Contents
:PAGE:STRess:SETup:PULSe:PGU<n>:LEADing . . . . . . . . . . . . . . . . . . . 5-274
:PAGE:STRess:SETup:PULSe:PGU<n>:PEAK . . . . . . . . . . . . . . . . . . . . . . 5-275
:PAGE:STRess:SETup:PULSe:PGU<n>:PERiod . . . . . . . . . . . . . . . . . . . . . 5-276
:PAGE:STRess:SETup:PULSe:PGU<n>:TRAiling . . . . . . . . . . . . . . . . . . . 5-276
:PAGE:STRess:SETup:PULSe:PGU<n>:WIDTh . . . . . . . . . . . . . . . . . . . . . 5-277
:PAGE:STRess:SETup:SSTop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-278
:PAGE:SYST Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-279
:PAGE:SYSTem:CDIagnostic[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-280
:PAGE:SYSTem:COLor[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-280
:PAGE:SYSTem:CONFig[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-280
:PAGE:SYSTem:FILer[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-280
:PAGE:SYSTem:MISC[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-281
:PAGE:SYSTem:PRINt[:MENU] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-281
PROGram Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-282
:PROGram:CATalog? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-284
:PROGram[:SELected]:DEFine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-284
:PROGram[:SELected]:DELete[:SELected] . . . . . . . . . . . . . . . . . . . . . . . . . 5-285
:PROGram[:SELected]:DELete:ALL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-285
:PROGram[:SELected]:EXECute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-285
:PROGram[:SELected]:MALLocate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-286
:PROGram[:SELected]:NAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-286
:PROG[:SELected]:NUMBer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-286
:PROG[:SELected]:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-287
:PROG[:SELected]:STRing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-288
:PROG[:SELected]:WAIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-288
STATus Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-289
:STATus:EMERgency:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-291
:STATus:EMERgency[:EVENt]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-291
:STATus:MEASurement:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-292
:STATus:MEASurement[:EVENt]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-292
Agilent 4155C/4156C SCPI Command Reference, Edition 1 Contents-15
Contents
:STATus:OPERation:CONDition? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-293
:STATus:OPERation:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-293
:STATus:OPERation[:EVENt]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-294
:STATus:OPERation:NTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-294
:STATus:OPERation:PTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-295
:STATus:PRESet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-295
:STATus:QUEStionable:CONDition? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-296
:STATus:QUEStionable:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-297
:STATus:QUEStionable[:EVENt]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-297
:STATus:QUEStionable:NTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-298
:STATus:QUEStionable:PTRansition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-299
SYSTem Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-300
:SYSTem:BEEPer:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-302
:SYSTem:COMMunicate:GPIB:RDEVice:ADDRess . . . . . . . . . . . . . . . . . 5-302
:SYSTem:COMMunicate:NETwork:FILEr:DELete . . . . . . . . . . . . . . . . . . . 5-303
:SYSTem:COMMunicate:NETwork:FILEr:NET:DIRectory . . . . . . . . . . . . 5-304
:SYSTem:COMMunicate:NETwork:FILEr:NET:IPADdress . . . . . . . . . . . . 5-305
:SYSTem:COMMunicate:NETwork:FILEr:NET:NAME . . . . . . . . . . . . . . . 5-306
:SYSTem:COMMunicate:NETwork:FILEr:SET . . . . . . . . . . . . . . . . . . . . . 5-307
:SYSTem:COMMunicate:NETwork:PRINter:DELete . . . . . . . . . . . . . . . . . 5-308
:SYSTem:COMMunicate:NETwork:PRINter:NET:GRAPhoption . . . . . . . 5-309
:SYSTem:COMMunicate:NETwork:PRINter:NET:IPADdress . . . . . . . . . . 5-310
:SYSTem:COMMunicate:NETwork:PRINter:NET:NAME . . . . . . . . . . . . . 5-311
:SYSTem:COMMunicate:NETwork:PRINter:NET:TEXToption . . . . . . . . . 5-312
:SYSTem:COMMunicate:NETwork:PRINter:NET:TYPE . . . . . . . . . . . . . . 5-313
:SYSTem:COMMunicate:NETwork:PRINter:SET . . . . . . . . . . . . . . . . . . . 5-314
:SYSTem:COMMunicate:NETwork[:SELF]:GATEway . . . . . . . . . . . . . . . . 5-315
:SYSTem:COMMunicate:NETwork[:SELF]:GROUpid . . . . . . . . . . . . . . . 5-316
:SYSTem:COMMunicate:NETwork[:SELF]:IPADdress . . . . . . . . . . . . . . . 5-317
:SYSTem:COMMunicate:NETwork[:SELF]:NAME . . . . . . . . . . . . . . . . . . 5-318
:SYSTem:COMMunicate:NETwork[:SELF]:SNETmask . . . . . . . . . . . . . . . 5-319
Contents-16 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Contents
:SYSTem:COMMunicate:NETwork[:SELF]:USERid . . . . . . . . . . . . . . . . . 5-320
:SYSTem:CONFig:ALL? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-321
:SYSTem:CONFig:CREVision?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-322
:SYSTem:CONFig:ETHErnet? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-322
:SYSTem:CONFig:SLOT?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-323
:SYSTem:DATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-324
:SYSTem:ERRor? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-324
:SYSTem:LANGuage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-325
:SYSTem:LFRequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-325
:SYSTem:NTMOut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-326
:SYSTem:SSAVer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-327
:SYSTem:TIME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-328
:SYSTem:VERSion? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-329
6. Error Messages
No Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
Command Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
Execution Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
Device-Dependent Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-11
Query Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-12
Agilent 4155C/4156C SCPI Command Reference, Edition 1 Contents-17
Contents
Contents-18 Agilent 4155C/4156C SCPI Command Reference, Edition 1

1 Functional Syntax Conventions

Agilent 4155C/4156C SCPI Command Reference, Edition 1
Functional Syntax Conventions
Functional syntax is required to create program messages that are transmitted to Agilent 4155C/4156C.
1-2 Agilent 4155C/4156C SCPI Command Reference, Edition 1

Program Message Syntax

Program messages are composed of sequences of commands.
Figure 1-1 Program Message Syntax
Figure 1-1 shows the syntax of a program message.
You can send multiple commands in the same message by separating them with a semicolon. Refer to the following example:
Functional Syntax Conventions
Program Message Syntax
To terminate a program message, use one of the three program message terminators, which are <newline>, <^END> or <newline><^END>.
<^END> means that EOI is asserted on the GPIB interface at the same time the last data byte is sent.
Agilent 4155C/4156C SCPI Command Reference, Edition 1 1- 3
Functional Syntax Conventions Program Message Syntax

Subsystem Command Syntax

Figure 1-2 shows the syntax of subsystem commands:
Figure 1-2 Subsystem Command Syntax
Query requires ? at the end of the command header.
Many command <mnemonic>s have both long and a short form. For example, CHAN is the short form and CHANNELS is the long form of CHANnels.
Command <mnemonic> is not case sensitive, so ChAnNeLs is just as valid as CHANNELS.
1-4 Agilent 4155C/4156C SCPI Command Reference, Edition 1

Common Command Syntax

Figure 1-3 shows the syntax of common commands:
Figure 1-3 Common Command Syntax
Query requires ? at the end of the command header.
Command <mnemonic> is not case sensitive.
Functional Syntax Conventions
Program Message Syntax
Agilent 4155C/4156C SCPI Command Reference, Edition 1 1- 5
Functional Syntax Conventions Parameter Types

Parameter Types

The following data types of command parameters are available:
(Decimal) Numeric
String
Character
Arbitrary Block
Non-decimal Numeric
Boolean

(Decimal) Numeric Parameter

A (decimal) numeric parameter type is decimal data including optional signs, decimal points, and scientific notation defined as follows:
Figure 1-4 (Decimal) Numeric Parameter
1-6 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Functional Syntax Conventions
Parameter Types
where <exponent> is defined as follows:
The following shows example numeric parameters that pass the same value:
:PAGE:MEAS:CONS:SMU1 123 :PAGE:MEAS:CONS:SMU1 +123. :PAGE:MEAS:CONS:SMU1 1.23e 100 :PAGE:MEAS:CONS:SMU1 1.23E+100
For some numeric parameters, you can use the following character parameters to specify the minimum or maximum allowable value:
MINimum minimum allowable value.
MAXimum maximum allowable value.
For commands that allow MIN or MAX parameter, you can use MIN or MAX to query the minimum or maximum allowable value.
Refer to the following examples:
:PAGE:MEAS:CONS:SMU1 MAX specify the maximum allowable value
:PAGE:MEAS:CONS:SMU1? MAX query the maximum allowable value
Agilent 4155C/4156C SCPI Command Reference, Edition 1 1- 7
Functional Syntax Conventions Parameter Types

String Parameter

A string parameter type is defined as follows:
Figure 1-5 String Parameter
<inserted> or <inserted> means when you want to actually use or in the string. For example, for the string don’t, you must enter ’don’’t’.
String parameter is case sensitive.
Refer to the following examples:
:PAGE:CHAN:COMM 'This is the example'
specifies string: This is the example
:PAGE:CHAN:COMM 'This is the ""example""'
specifies string: This is the "example"
1-8 Agilent 4155C/4156C SCPI Command Reference, Edition 1

Character Parameter

A character parameter type is for command parameters that have a specific number of allowed settings. For example, the allowed parameters for :PAGE:CHAN:CDEF:MODE command are SWEep and SAMPling.
Figure 1-6 Character Parameter
Many <program mnemonic>s have a long form and a short form. For example, you can use SWE as short form of SWEEP.
<program mnemonic> is not case sensitive. For example, the following have the same meaning:
:PAGE:CHAN:MODE SWEEP :PAGE:CHAN:MODE Sweep
Functional Syntax Conventions
Parameter Types
Agilent 4155C/4156C SCPI Command Reference, Edition 1 1- 9
Functional Syntax Conventions Parameter Types

Arbitrary Block Parameter

An arbitrary block parameter type is used for binary data transmission and defined as follows:
Figure 1-7 Definite Length Arbitrary Block Parameter
The single decimal digit <non-zero> digit specifies how many <digit>s will follow. The decimal number <digit>s specifies how many <8-bit data byte>s will follow.
Figure 1-8 Indefinite Length Arbitrary Block Parameter
For indefinite length data, use zero 0 digit as shown above.
1-10 Agilent 4155C/4156C SCPI Command Reference, Edition 1

Non-decimal Numeric Parameter

A non-decimal numeric parameter type allows passing numeric information other than decimal (base 10) numeric data.
There are three types of non-decimal numeric parameters:
Figure 1-9 Non-decimal Numeric Parameter
Functional Syntax Conventions
Parameter Types
Agilent 4155C/4156C SCPI Command Reference, Edition 1 1-11
Functional Syntax Conventions Parameter Types

Boolean Parameter

A boolean parameter type represents a single binary condition that is either true or false and is defined as follows:
Figure 1-10 Boolean Parameter
1-12 Agilent 4155C/4156C SCPI Command Reference, Edition 1

2 Response Message Syntax

Agilent 4155C/4156C SCPI Command Reference, Edition 1
Response Message Syntax
Figure 2-1 shows the syntax for response messages.
Figure 2-1 Response Message Syntax
Response messages may contain both commas and semicolons as separators. When a single query command returns multiple values, a comma is used to separate each data item. When multiple queries are sent in the same message, the groups of data items corresponding to each query are separated by a semicolon.
<newline><^END> is always sent as a response message terminator.
A <response data> can be the following data types:
NR1 numeric response data
NR2 numeric response data
NR3 numeric response data
Hexadecimal numeric response data
Octal numeric response data
Binary numeric response data
String response data
Character response data
Definite length arbitrary block response data
Indefinite length arbitrary block response data
2-2 Agilent 4155C/4156C SCPI Command Reference, Edition 1

NR1 Numeric Response Data

An NR1 numeric response data is decimal data defined as follows:
Figure 2-2 NR1 Numeric Response Data
Response Message Syntax
NR1 Numeric Response Data
Agilent 4155C/4156C SCPI Command Reference, Edition 1 2- 3
Response Message Syntax NR2 numeric response data

NR2 numeric response data

An NR2 numeric response data is decimal data defined as follows:
Figure 2-3 NR2 Numeric Response Data
2-4 Agilent 4155C/4156C SCPI Command Reference, Edition 1

NR3 Numeric Response Data

An NR3 numeric response data is decimal data defined as follows:
Figure 2-4 NR3 numeric response data
Response Message Syntax
NR3 Numeric Response Data
Agilent 4155C/4156C SCPI Command Reference, Edition 1 2- 5
Response Message Syntax Hexadecimal Numeric Response Data

Hexadecimal Numeric Response Data

A hexadecimal numeric response data is defined as follows:
Figure 2-5 Hexadecimal Numeric Response Data
2-6 Agilent 4155C/4156C SCPI Command Reference, Edition 1

Octal Numeric Response Data

An octal numeric response data is defined as follows:
Figure 2-6 Octal Numeric Response Data
Response Message Syntax
Octal Numeric Response Data
Agilent 4155C/4156C SCPI Command Reference, Edition 1 2- 7
Response Message Syntax Binary Numeric Response Data

Binary Numeric Response Data

A binary numeric response data is defined as follows:
Figure 2-7 Binary Numeric Response Data
2-8 Agilent 4155C/4156C SCPI Command Reference, Edition 1

String Response Data

A string response data is defined as follows:
Figure 2-8 String Response Data
Response Message Syntax
String Response Data
Agilent 4155C/4156C SCPI Command Reference, Edition 1 2- 9
Response Message Syntax Character Response Data

Character Response Data

A character response data is similar to character parameter. The main difference is that character response data returns only the short form of a particular mnemonic, in all uppercase letters.
Figure 2-9 Character Response Data
where <response mnemonic> is defined as follows:
Figure 2-10 <response mnemonic>
2-10 Agilent 4155C/4156C SCPI Command Reference, Edition 1

Definite Length Arbitrary Block Response Data

Definite Length Arbitrary Block Response Data
A definite length arbitrary block response data is for a large number of related data and defined as follows:
Figure 2-11 Definite Length Arbitrary Block Response Data
The single decimal digit <non-zero digit> specifies how many <digit>s will follow.
The decimal number <digit>s specifies how many <8-bit data byte>s will follow.
Response Message Syntax
Agilent 4155C/4156C SCPI Command Reference, Edition 1 2-11
Response Message Syntax Indefinite length arbitrary block response data

Indefinite length arbitrary block response data

An indefinite length arbitrary block response data is defined as follows:
Figure 2-12 Indefinite Length Arbitrary Block Response Data
2-12 Agilent 4155C/4156C SCPI Command Reference, Edition 1

3 Status Reporting Structure

Agilent 4155C/4156C SCPI Command Reference, Edition 1
Status Reporting Structure
This section describes the status reporting structure used in Agilent 4155C/4156C. These are IEEE488.2 status structures except for the following:
Standard Operation Status Register (for SCPI)
Questionable Status Register (for SCPI)
Emergency Status Register (for 4155C/4156C)
Measurement Stress/Status Register (for 4155C/4156C)
For more information about these non-IEEE488.2 status structures, see “STATus Subsystem in Chapter 5.
In general, the status data structure is used to "request service" or indicate a specific condition (for example, operation complete) via SRQ (Service Request). Note that the user may be notified that certain events have occurred even if the user did not request the information.
Refer to the following figures for a model of the status data structure.
Figure 3-1 Status Reporting Structure
3-2 Agilent 4155C/4156C SCPI Command Reference, Edition 1

Status Byte Register

The Status Byte register contains bits related to the instrument's Status Byte (STB) summary messages, Request Service (RQS) messages, and Master Summary Status (MSS) messages. Refer to Figure 3-2 and Table 3-1.
Figure 3-2 Status Byte Register
Status Reporting Structure
Status Byte Register
The Status Byte Register can be read with either a serial poll or the *STB? common query command (refer to Chapter 4).
Serial poll is a low-level GPIB command that can be executed by SPOLL in HP BASIC, such as the following:
Status=SPOLL(@Hp4155)
Both serial poll and STB? read the Status Byte Register identically, but have following difference:
SPOLL returns RQS for bit6
STB? returns MSS for bit6
RQS and MSS are always the same value, so returned Status Byte value is always the same for these two methods.
In general, use serial polling (not *STB?) inside interrupt service routines. Use *STB? in other cases (not in interrupt service routine) when you want to know the value of Status Byte.
Agilent 4155C/4156C SCPI Command Reference, Edition 1 3- 3
Status Reporting Structure Status Byte Register
Table 3-1 Status Byte Register
Bit Definition Explanation
0 Emergency Status Bit
Summary Message
1 Measurement/Stress
Status Bit Summary Message
2 NOT USED Always zero.
3 Questionable Status Bit
Summary Message
4 Message Available
(MAV) Queue Summary Message
5 Standard Event Status
Bit (ESB) Summary Message
6 Request Service (RQS)
Message
Master Summary Status (MSS) Summary Message
Indicates whether one or more of the enabled Emergency Status Register bits is set.
Indicates whether one or more of the enabled Measurement/Stress Status Register bits is set.
Indicates whether one or more of the enabled Questionable Status Register bits is set.
Indicates whether the Output Queue is empty.
Indicates whether one or more of the enabled Standard Events Status Register bits is set.
Indicates whether a SRQ (Service Request) has occurred.
Indicates that the instrument has at least one reason for requesting service.
7 Operation Status Bit
Summary Message
3-4 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Indicates whether one or more of the enabled Operation Status Register bits is set.

Service Request Enable Register

The Service Request Enable Register is an 8-bit register that can be used by the programmer to select which summary messages in the Status Byte Register may cause service requests. Refer to Figure 3-3.
Figure 3-3 Service Request Enable Register
Status Reporting Structure
Service Request Enable Register
Agilent 4155C/4156C SCPI Command Reference, Edition 1 3- 5
Status Reporting Structure Standard Event Status Register

Standard Event Status Register

The Standard Event Status Register has specific events assigned to specific bits. Refer to Figure 3-4 and Table 3-2.
Figure 3-4 Standard Event Status Register
3-6 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Table 3-2 Standard Event Status Register
Bit Definition Explanation
Status Reporting Structure
Standard Event Status Register
0 Operation Complete
(OPC)
1 Request Control
(RQC)
2 Query Error (QYE) An attempt is being made to read data
3 Device Dependent
Error (DDE)
4 Execution Error
(EXE)
5 Command Error
(CME)
6 Not Used Always 0.
This event bit has meaning only if a request to monitor is set by the *OPC command. Refer to "*OPC" earlier in this chapter. This bit is set to 1 if there are no pending operations.
This event bit indicates to the controller that instrument is requesting permission to become the active controller-in-charge.
from the Output Queue when no data is present or pending.
Data in the Output Queue has been lost.
This event bit indicates that an error has occurred which is neither a Command Error, a Query Error, or an Execution Error.
Syntax of command is correct, but cannot be executed due to some condition of instrument.
A command syntax error has been detected.
7 Power On (PON) This event bit indicates that an off-to-on
transition has occurred in instrument's power supply.
8 to 15 Reserved Always 0.
Agilent 4155C/4156C SCPI Command Reference, Edition 1 3- 7
Status Reporting Structure Standard Event Status Enable Register

Standard Event Status Enable Register

The Standard Event Status "Enable" Register is an 8-bit register that can be used by the program to select which bits of Standard Event Status Register are enabled. The enabled bits are ORed together, and reported to the ESB bit (Bit5) of the Status Byte Register.
The 8 bits of this register correspond to the 8 bits of the Standard Event Status Register. Refer to Figure 3-4.
3-8 Agilent 4155C/4156C SCPI Command Reference, Edition 1

Output Queue

The Output Queue stores response messages until they are read. If an unread message exists, Bit4 (Message Available - MAV) of the Status Byte Register is set to
1. So, Bit4 is used to synchronize information exchange with the controller. Refer to Figure 3-5.
Figure 3-5 Output Queue
Status Reporting Structure
Output Queue
The Response Formatter places Data Byte Messages and END messages into the Output Queue in response to query commands. These messages are removed from the Output Queue as they are read by the controller. As long as the Output Queue contains an unread message, MAV is 1.
Agilent 4155C/4156C SCPI Command Reference, Edition 1 3- 9
Status Reporting Structure Operation Status Register

Operation Status Register

This register consists of CONDITION, TRANSITION FILTER, EVENT, and event enable (MASK) registers.
You enable the desired bits of the EVENT register by using the MASK register. 1 enables, 0 masks the corresponding bit of EVENT register. The MASK register is set by the :STATus:OPERation:ENABle command.
The TRANSITION FILTER register consists of positive and negative transition filters.
If a bit in the positive transition filter is set to 1, then a 0 to 1 transition in the corresponding bit of the CONDITION register causes a 1 to be written in the corresponding EVENT register bit. The positive transition filter is set by the :STATus:OPERation:PTRansition command.
If a bit in the negative transition filter is set to 1, then a 1 to 0 transition in the corresponding bit of the CONDITION register causes a 1 to be written in the corresponding EVENT register bit. The negative transition filter is set by the :STATus:OPERation:NTRansition command.
See STATus Subsystem in Chapter 5 for details about these commands.
Figure 3-6 Operation Status Register
This is a standard SCPI register, but non-IEEE488.2.
3-10 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Table 3-3 Operation Status Register
Bit Definition Explanation
0 Calibrating 4155C/4156C is currently performing a
1 to 2 NOT USED Always zero.
3 Sweeping A sweep is in progress.
4 Measuring 4155C/4156C is actively measuring (sweep
5 Waiting for Trigger 4155C/4156C is currently waiting for a
6 to 7 NOT USED Always zero.
8 Standby 4155C/4156C is currently in the standby
9 Stressing 4155C/4156C is currently in the stress forcing
Status Reporting Structure
Operation Status Register
calibration.
or sampling measurement).
trigger input.
state.
state.
10 to 11 NOT USED Always zero.
12 Printing A print/plot operation is in progress.
13 NOT USED Always zero.
14 Program running A user-defined program is currently in the run
state.
15 NOT USED Always zero.
Agilent 4155C/4156C SCPI Command Reference, Edition 1 3-11
Status Reporting Structure Questionable Status Register

Questionable Status Register

This register consists of CONDITION, TRANSITION FILTER, EVENT, and event enable (MASK) registers.
You enable the desired bits of the EVENT register by using the MASK register. 1 enables, 0 masks the corresponding bit of EVENT register. The MASK register is set by the :STATus:QUEStionable:ENABle command.
The TRANSITION FILTER register consists of positive and negative transition filters.
If a bit in the positive transition filter is set to 1, then a 0 to 1 transition in the corresponding bit of the CONDITION register causes a 1 to be written in the corresponding EVENT register bit. The positive transition filter is set by the :STATus:QUEStionable:PTRansition command.
If a bit in the negative transition filter is set to 1, then a 1 to 0 transition in the corresponding bit of the CONDITION register causes a 1 to be written in the corresponding EVENT register bit. The negative transition filter is set by the :STATus:QUEStionable:NTRansition command.
See STATus Subsystem in Chapter 5 for details about these commands.
Figure 3-7 Questionable Status Register
This is a standard SCPI register, but non-IEEE488.2.
3-12 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Table 3-4 QUEStionable Status Register
Bit Definition Explanation
0 Voltage This bit indicates whether the 4155C/4156C
1 Current This bit indicates whether the 4155C/4156C
2 to 6 NOT USED These bits are always zero.
7 CALibration This bit indicates whether the 4155C/4156C
8 to 15 NOT USED These bits are always zero.
Status Reporting Structure
Questionable Status Register
forced or measured voltage without error.
forced or measured current without error.
completed the self-calibration without error.
Agilent 4155C/4156C SCPI Command Reference, Edition 1 3- 13
Status Reporting Structure Emergency Status Register

Emergency Status Register

This register consists of EVENT and event enable (MASK) registers.
You enable the desired bits of the EVENT register by using the MASK register. 1 enables, 0 masks the corresponding bit of EVENT register. The MASK register is set by the :STATus:EMERgency:ENABle command. See STATus Subsystem in Chapter 5 for details about this command.
Figure 3-8 Emergency Status Register
This register is not a standard SCPI register.
Table 3-5 EMERgency Status Register
Bit Definition Explanation
0 Shut down This bit is set when SMU output is shut down
1 Interlock open This bit is set when the fixture lid is opened.
2 to 15 NOT USED These bits are always zero.
3-14 Agilent 4155C/4156C SCPI Command Reference, Edition 1
by the instrument to prevent damage to SMU.

Measurement/Stress Status Register

This register consists of EVENT and event enable (MASK) registers.
You enable the desired bits of the EVENT register by using the MASK register. 1 enables, 0 masks the corresponding bit of EVENT register. The MASK register is set by the :STATus:MEASurement:ENABle command. See STATus Subsystem in Chapter 5 for details about this command.
Figure 3-9 Measurement/Stress Status Register
Status Reporting Structure
Measurement/Stress Status Register
This register is not a standard SCPI register.
Table 3-6 Measurement/Stress Status Register
Bit Definition Explanation
0 A/D Overflow This bit is set if A/D converter overflows.
1 Oscillation Status This bit is set if SMU oscillates.
2 NOT USED This bit is always zero.
3 Compliance Status This bit is set if SMU reaches compliance.
4 to 7 NOT USED These bits are always zero.
8 PGU Status This bit is set if PGU reaches the current limit.
9 to 15 NOT USED These bits are always zero.
Agilent 4155C/4156C SCPI Command Reference, Edition 1 3- 15
Status Reporting Structure Measurement/Stress Status Register
3-16 Agilent 4155C/4156C SCPI Command Reference, Edition 1

4 Common Commands

Agilent 4155C/4156C SCPI Command Reference, Edition 1
Common Commands
This chapter describes common commands and queries of IEEE 488.2.
The following table shows some common commands that are supported for the 4155C/4156C.
Table 4-1 Common Commands
Mnemonic Name
*CAL? Calibration Query
*CLS Clear Status
*ESE(?) Standard Event Status Enable Command (Query)
*ESR? Standard Event Status Register Query
*IDN? Identification Query
*OPC(?) Operation Complete Command (Query)
*OPT? Option Identification Query
*PCB Pass Control Back Command
*RST Reset Command
*SRE(?) Service Request Enable Command (Query)
*STB? Read Status Byte Query
*TRG Trigger Command
*TST? Self-Test Query
*WAI Wait-to-Continue Command
4-2 Agilent 4155C/4156C SCPI Command Reference, Edition 1

*CAL?

This query command performs a full calibration of the instrument, then returns a <numeric_value> to indicate the calibration result.
Query response error_no <newline><^END>
error_no Explanation
0PASS
1FAIL
Response data type is NR1.
Common Commands
*CAL?
Example OUTPUT @Hp4155;"*CAL?"
ENTER @Hp4155;A
Agilent 4155C/4156C SCPI Command Reference, Edition 1 4- 3
Common Commands *CLS

*CLS

This command clears the Status Byte Register, the Standard Event Status Register, and the Error Queue. This command does not clear the enable registers. Refer to Chapter 3.
Also, this command stops the monitoring of pending operations by the *OPC command.
This command does not have query form.
Syntax *CLS
Example
OUTPUT @Hp4155;"*CLS"
4-4 Agilent 4155C/4156C SCPI Command Reference, Edition 1

*ESE

This command sets the bits of the Standard Event Status "Enable" Register. 1 enables, 0 masks.
Syntax *ESE mask_number
Parameter
Parameter Type Explanation
Common Commands
*ESE
mask_number decimal or
non-decimal numeric
Query response mask_number <newline><^END>
mask_number is decimal numeric value that is the sum of the binary-weighted
values for each bits. Response data type is NR1.
Semantics The Standard Event Status "Enable" Register determines which bits of the Standard
Event Status Register are enabled. Enabled bits are ORed together, and the result is reported to bit5 of the Status Byte Register.
The Standard Event Status "Enable" Register consists of 16 bits, but only the lower 8 bits are used, which correspond to the bits of the Standard Event Status Register.
Refer to Chapter 3 for details about the Standard Event Status "Enable" Register operation.
You can send a mask_number parameter in decimal numeric or non-decimal numeric type.
numeric value that is the sum of the binary-weighted values for the desired bits
Agilent 4155C/4156C SCPI Command Reference, Edition 1 4- 5
Common Commands *ESE
The following table shows the bits of the Standard Event Status Register and binary-weighted decimal value.
bit
0 1 OPC (Operation Complete)
1 2 RQC (Request Control)
2 4 QYE (Query ERROR)
3 8 DDE (Device-Dependent ERROR)
4 16 EXE (Execution ERROR)
5 32 CME (Command ERROR)
664 NOT USED
7 128 PON (Power on)
Example The following four lines enable the same bit (CME bit):
OUTPUT @Hp4155;"*ESE 32" using decimal numeric
OUTPUT @Hp4155;"*ESE #B100000" using binary numeric
OUTPUT @Hp4155;"*ESE #Q40" using octal numeric
OUTPUT @Hp4155;"*ESE #H20" using hexadecimal numeric
binary-
weight
description
The following is example for query:
OUTPUT @Hp4155;"*ESE?" ENTER @Hp4155;A
4-6 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Common Commands

*ESR?

*ESR?
This query command returns the present contents of the Standard Event Status Register.
Syntax *ESR?
Query response register <newline><^END>
Parameter Type Explanation
register NR1 0 to 255 (decimal integer value that is the sum of the
binary-weighted values for the set bits)
Semantics The following table shows the bits of the Standard Event Status Register. Refer to
Chapter 3 for details about the register.
binary-
bit
weight
description
0 1 OPC (Operation Complete)
1 2 RQC (Request Control)
2 4 QYE (Query ERROR)
3 8 DDE (Device-Dependent ERROR)
4 16 EXE (Execution ERROR)
5 32 CME (Command ERROR)
6 64 URQ NOT USED
7 128 PON (Power on)
Example OUTPUT @Hp4155;"*ESR?"
ENTER @Hp4155;A
Agilent 4155C/4156C SCPI Command Reference, Edition 1 4- 7
Common Commands *IDN?

*IDN?

This query command returns the ID of your 4155C/4156C.
Syntax *IDN?
Query response HEWLETT-PACKARD,model,0,revision <newline><^END>
Response Type Explanation
model character 4155C or 4156C
revision character HOSTC revision : SMUC revision : ADC revision
Example DIM A$[50]
OUTPUT @Hp4155;"*IDN?" ENTER @Hp4155;A$ PRINT A$
An example result of above program is:
HEWLETT-PACKARD,4155C,0,01.00:01.00:01.00
4-8 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Common Commands

*OPC

*OPC
This command starts to monitor pending operations, and sets/clears the Operation Complete (OPC) bit in the Standard Event Status Register as follows:
If there is no pending operation, sets the OPC bit to 1.
If there are any pending operations, sets the OPC bit to 0. The bit will be set to 1
again when all pending operations are completed.
So, *OPC command is required to enable the OPC bit. To stop monitoring pending operations (disable OPC bit), execute the *CLS command.
For details about the Standard Event Status Register, refer to Chapter 3. Also, see *WAI command.
When the operations initiated by the following commands are finished, the OPC bit in the Standard Event Status Register is set:
:PAGE:SCONtrol[:MEASurement]:SINGle
:PAGE:SCONtrol[:MEASurement]:APPend
:PAGE:SCONtrol:STRess[:STARt]
:PAGE:SCONtrol:KSWeep[:STARt]
:DIAGnostic:TEST[:EXECute]
:HCOPy[:IMMediate]
:HCOPy:ITEM:ALL[:IMMediate]
:HCOPy:ITEM[:WINDow]:TRACe[:IMMEdiate]
:HCOPy:SDUMp[:IMMediate]
Syntax *OPC
Query response 1 <newline><^END>
*OPC? places ASCII character 1 into the Output Queue when all pending operations are completed.
For details about the Output Queue, refer to Chapter 3.
Example OUTPUT @Hp4155;"*OPC"
The following example is for query:
OUTPUT @Hp4155;"*OPC?" ENTER @Hp4155;A
Agilent 4155C/4156C SCPI Command Reference, Edition 1 4- 9
Common Commands *OPT?

*OPT?

This query command returns the reportable device options, which are the units in the expander.
Syntax *OPT?
Query response 0|GNDU,0|SMU5,0|SMU6,0|PGU <newline><^END>
Example DIM A$[20]
OUTPUT @Hp4155;"*OPT?" ENTER @Hp4155;A$
4-10 Agilent 4155C/4156C SCPI Command Reference, Edition 1

*PCB

This command is used to tell a potential controller which address should be used when passing control back.
This command does not have query form.
Syntax *PCB address{ ,second_address}
Parameter
Parameter Type Explanation
address numeric 0 to 30
second_address numeric 0 to 30
Common Commands
*PCB
Agilent 4155C/4156C SCPI Command Reference, Edition 1 4-11
Common Commands *RST

*RST

This command performs an instrument reset.
Syntax *RST
4-12 Agilent 4155C/4156C SCPI Command Reference, Edition 1

*SRE

This command sets the Service Request "Enable" Register bits. 1 enables, 0 masks.
Syntax *SRE mask number
Parameter
Parameter Type Explanation
Common Commands
*SRE
mask_number decimal or
non-decimal numeric
Query response mask_number <newline><^END>
mask_number is decimal numeric value that is the sum of the binary-weighted
values for each bits. Response data type is NR1.
Semantics The Service Request "Enable" Register determines which bits of the Status Byte
Register are enabled. Enabled bits are ORed together, and the result is reported to the Master Summary Status.
The Service Request "Enable" Register consists of 8 bits: Bit0 to Bit7. Bit6 is not defined, and is always 0.
Refer to Chapter 3 for details about the Service Request "Enable" Register.
You can send a mask_number parameter in decimal numeric or non-decimal numeric type.
The following table shows the bits of the Status Byte Register.
binary-
bit
weight
0 1 EMERgency Status
numeric value that is the sum of the binary-weighted values for the desired bits
description
1 2 Measurement/Stress Status
2 4 NOT USED
3 8 QUEStionable Status
Agilent 4155C/4156C SCPI Command Reference, Edition 1 4- 13
Common Commands *SRE
binary-
bit
weight
4 16 MAV (Message Available summary-message)
5 32 ESB (Event Status Bit)
6 64 MSS (Master Summary Status)
7 128 OPERation Status
Example The following following four lines enable the same bits (bit 7, 4, 1):
OUTPUT @Hp4155;"*SRE 146" using decimal numeric
OUTPUT @Hp4155;"*SRE #B10010010" using binary numeric
OUTPUT @Hp4155;"*SRE #Q222" using octal numeric
OUTPUT @Hp4155;"*SRE #H92" using hexadecimal numeric
The following is example for query:
description
OUTPUT @Hp4155;"*SRE?" ENTER @Hp4155;A
4-14 Agilent 4155C/4156C SCPI Command Reference, Edition 1

*STB?

This query command reads the Status Byte Register (reads Master Summary Status bit, not Request for Service Message).
Syntax *STB?
Query response register <newline><^END>
Parameter Type Explanation
register NR1 0 to 255 (decimal integer value that is the sum of the
binary-weighted values for the set bits)
Semantics The following table shows the bits of the Status Byte Register.
binary-
bit
weight
description
Common Commands
*STB?
0 1 EMERgency Status
1 2 Measurement/Stress Status
2 4 NOT USED
3 8 QUEStionable Status
4 16 MAV (Message Available summary-message)
5 32 ESB (Event Status Bit)
6 64 MSS (Master Summary Status)
7 128 OPERation Status
Example OUTPUT @Hp4155;"*STB?"
ENTER @Hp4155;A
Agilent 4155C/4156C SCPI Command Reference, Edition 1 4- 15
Common Commands *TRG

*TRG

This command causes the following action depending on present display page.
If the present display page is the Stress Group page (STRESS CHANNEL DEFINITION, STRESS SETUP or STRESS FORCE), this command starts the stress force operation.
This action is as same as PAGE:SCONtrol:STRess[:STARt] command.
If the present display page is KNOB SWEEP page, this command generates error "Init ignored"(-213).
If the present display page is not the Stress Group page or KNOB SWEEP page, this command starts the single measurement operation.
This action is as same as PAGE:SCONtrol[:MEASurement]:SINGle command.
If this command is received while the 4155C/4156C is in the measurement or stress state, this command generates error "Init ignored"(-213).
Syntax *TRG
4-16 Agilent 4155C/4156C SCPI Command Reference, Edition 1

*TST?

This query command executes an internal self-test, then returns the result.
Syntax *TST?
Query response pass/fail_code <newline><^END>
pass/fail code Explanation
0 pass
1 fail
Common Commands
*TST?
Example OUTPUT @Hp4155;"*TST?"
ENTER @Hp4155;A
Agilent 4155C/4156C SCPI Command Reference, Edition 1 4- 17
Common Commands *WAI

*WAI

This command stops execution of any commands until the Operation Complete (OPC) bit is set to 1, which means there is no pending operation. Refer to *OPC command.
Syntax *WAI
Example OUTPUT @Hp4155;"*WAI"
4-18 Agilent 4155C/4156C SCPI Command Reference, Edition 1

5 SCPI Commands

Agilent 4155C/4156C SCPI Command Reference, Edition 1
SCPI Commands
This chapter explains the SCPI commands available for Agilent 4155C/4156C in alphabetical order.
SCPI commands
SCPI is a universal programming language for electronic test and measurement instruments, and based on IEEE 488.1 and IEEE 488.2.
SCPI commands are divided into two types: subsystem commands and common commands.
Subsystem commands
Subsystem commands are mostly measurement related and some are general purpose. Subsystem commands have a hierarchical structure distinguished by the colon used between keywords.
The following subsystems are included:
CALibration performs system calibration.
DIAGnostic performs system diagnostics.
DISPlay controls display condition.
FORMat sets a data format for transferring numeric and array
information.
HCOPy performs print/plot function.
MMEMory provides mass storage capability.
PAGE defines the fields on the user interface pages of the
4155C/4156C and controls the user interface page operation.
PROGram generates and controls the user-defined Instrument BASIC
program resident in an instrument.
STATus controls the status reporting structures.
SYSTem controls other functions, which are not related to instrument
performance.
TRACe | DATA provides user variable operation.
Common commands
Common commands are not measurement related, and are defined by IEEE
488.2. All common commands begin with an asterisk, such as *RST. Refer to Chapter 4.
5-2 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Textual Notation
CAPITAL LETTERS Capital letters are the minimally required letters of the
< > Angular brackets indicate that the word or words enclosed
[ ] Square brackets are used to enclose optional information not
| The vertical bar can be read as "or" and is used to separate
{ } Braces (or curly brackets) are used to enclose one or more
NOTE CMD? Command
This command returns the current control language mode of the 4155C/4156C. This command has only the query form.
SCPI Commands
command or query program header. Lowercase letters are the long form (complete spelling), which you can omit if desired.
represent something other than themselves.
required for execution of the command sequence.
alternative parameter options.
parameters that may be included zero or more times.
Syntax CMD?
Query response language_mode <terminator>
language_mode is NR1 response data type.
<terminator> depends on the language mode.
The values of language_mode and <terminator> are as follows:
Value Control Language Mode <terminator>
0 SCPI command control mode <LF^EOI>
1 Agilent FLEX command control mode
<LF^EOI>
(US mode or US42 mode)
2 4145 syntax command control mode <CR/LF^EOI>
Example
OUTPUT @Hp4155;"CMD?" ENTER @Hp4155;A
Agilent 4155C/4156C SCPI Command Reference, Edition 1 5- 3
SCPI Commands

CALibration Subsystem

The CALibration subsystem has the function of performing system calibration.
The following table is the command tree of CALibration subsystem.
Command Parameter
:CALibration
[:ALL]?
:AUTO 0 | 1 | OFF | ON
:ERRor? <test_number>
:SELected? <test_number>
5-4 Agilent 4155C/4156C SCPI Command Reference, Edition 1

:CALibration[:ALL]?

This command performs a full calibration of the instrument, then returns a numeric_value that indicates the result of the calibration.
A zero is returned if calibration is completed successfully. Otherwise, one is returned.
In addition to the error reported by this query response, the 4155C/4156C still reports calibration errors through the normal status-reporting mechanism.
This command has query form only.
Syntax :CALibration [ :ALL] ?
Query response result <newline><^END>
Result Explanation
0PASS
1FAIL
SCPI Commands
:CALibration[:ALL]?
The data type of result is NR1 response data.
Example OUTPUT @Hp4155;":CAL?"
ENTER @Hp4155;A
Agilent 4155C/4156C SCPI Command Reference, Edition 1 5- 5
SCPI Commands :CALibration:AUTO

:CALibration:AUTO

This command sets whether the instrument automatically performs calibration every 30 minutes.
At *RST, this value is set to OFF.
Syntax :CALibration: AUTO OFF | ON | 0 | 1
Parameter
Parameter Type Explanation
OFF or 0 boolean Do not perform auto calibration
ON or 1 boolean Perform auto calibration
Query response 0 | 1 <newline><^END>
Example OUTPUT @Hp4155;":CAL:AUTO ON"
OUTPUT @Hp4155;":CAL:AUTO?" ENTER @Hp4155;A
5-6 Agilent 4155C/4156C SCPI Command Reference, Edition 1

:CALibration:ERRor?

This command returns a list of the calibration error numbers for the specified calibration item.
A zero is returned if no errors are detected.
If more than seven errors are detected, only the first seven errors are returned.
Syntax :CALibration:ERRor? test_number
Parameter
Parameter Type Explanation
test_number numeric item number of the calibration
111 : ALL Unit
100 : VSU1,2/VMU1,2
101 : SMU1
102 : SMU2
103 : SMU3
104 : SMU4
105 : SMU5
106 : SMU6
107 : PGU1,2
108 : GNDU
109 : ADC
SCPI Commands
:CALibration:ERRor?
Query response error_list <newline><^END>
error_list is a comma-separated list of error numbers.
The data type of error_list is string response data, but does not contain double quote characters at the beginning and end of the string.
When no errors are detected, 0 is returned.
Example OUTPUT @Hp4155;":CAL:ERR? 101"
ENTER @Hp4155;A$
Agilent 4155C/4156C SCPI Command Reference, Edition 1 5- 7
SCPI Commands :CALibration:SELected?

:CALibration:SELected?

This command performs the specified calibration item (test_number) of the instrument, then returns a number that indicates the calibration result.
A zero is returned if calibration is completed successfully. Otherwise, a non-zero value (error number) is returned.
In addition to the error reported by this query response, the 4155C/4156C still reports calibration errors through the normal status-reporting mechanism.
This command has query form only.
Syntax :CALibration:SELected? test_number
Parameter
Parameter Type Explanation
test_number numeric item number of the calibration
100 : VSU1,2/VMU1,2
101 : SMU1
102 : SMU2
103 : SMU3
104 : SMU4
105 : SMU5
106 : SMU6
107 : PGU1,2
108 : GNDU
109 : ADC
Query response result <newline><^END>
Result Explanation
0PASS
1FAIL
2 DONE
3 NOT DONE
Example OUTPUT @Hp4155;":CAL:SEL? 101"
ENTER @Hp4155;A
5-8 Agilent 4155C/4156C SCPI Command Reference, Edition 1
SCPI Commands

DATA | TRACe Subsystem

DATA | TRACe subsystem sets or loads user variables and reads out the values of other data variables.
The following table is the command tree of DATA subsystem.
Command Parameter
:DATA|TRACe
:CATalog?
[:DATA] <variable_name>, (<block>|<numeric_value>
{,<numeric_value>})
:DEFine <variable_name> [,<numeric_value>]
:DELete
:ALL
[:NAME] <variable_name>
:FREE?
:POINts <variable> [,<numeric_value>]
:UNIT <variable_name> [,<unit>]
:STATus? <variable_name>
Agilent 4155C/4156C SCPI Command Reference, Edition 1 5- 9
SCPI Commands :DATA|:TRACe:CATalog?

:DATA|:TRACe:CATalog?

This command returns a comma-separated list that contains the names of scientific constant, read out functions, and all data variables.
The data variables are:
VNAMEs and INAMEs defined by :PAGE:CHANnels:CDEFinition subsystem.
User functions defined by :PAGE:CHANnels:UFUNction subsystem.
User variables defined by :DATA | :TRACe subsystem (this subsystem).
PGU output data defined by :PAGE:MEASure:PGUSetup subsystem.
Time data of sampling measurement
Index of the measurement result data.
If no data variables are defined, a single empty string is returned.
This command has query form only.
Syntax :DATA | :TRACe:CATalog?
Query response data_variable_list <newline><^END>
data_variable_list is string response data type, but does not contain double quote characters at the beginning and end of the string.
Example OUTPUT @Hp4155;":DATA:CAT?"
ENTER @Hp4155;A$
5-10 Agilent 4155C/4156C SCPI Command Reference, Edition 1
SCPI Commands

:DATA|:TRACe[:DATA]

:DATA|:TRACe[:DATA]
This command assigns the specified values to the specified user variable.
The user variable must first be defined by the :DATA|:TRACe:DEFine or :PAGE:CHANnels:UVARiable:DEFine command, or on the CHANNELS: USER VARIABLE DEFINITION page.
To transfer a block of data (REAL), you must set up the format by using FORMat Subsystem commands. Block transfer is fast because the block is directly loaded into the specified user variable.
To transfer ASCII data, the default is ASCII, so you do not need to set up the format unless you changed it to REAL. ASCII transfer is slower than block transfer because the data is transferred in ASCII, then converted and loaded into the specified user variable.
If the data source is a single numeric_value, each element of the specified user variable is set to the numeric_value.
Also, you can specify a different numeric_value for each element of the user variable.
If the number of numeric_values are less than the defined size of user variable, the remaining data elements are filled with last sent data.
If too many numeric_values are sent, the 4155C/4156C generates error -223 (too much data), and the extra data are ignored.
The query of this command returns the data values for the specified data variable, according to the format determined by commands in the FORMat subsystem. For the possible data variables that you can specify, see the previous command (:DATA:CATalog?).
Syntax :DATA | :TRACe [ :DATA] user_variable_name,(block_data | numeric_value
{,numeric_value})
Query syntax is as follows:
:DATA | :TRACe [ :DATA]? data_variable_name
Agilent 4155C/4156C SCPI Command Reference, Edition 1 5-11
Parameter
SCPI Commands :DATA|:TRACe[:DATA]
Parameter Type Explanation
user_variable_name string or
character
block arbitrary
block
numeric_value numeric numeric value
When user_variable_name is sent as character parameter type, all alpha characters are treated as uppercase in the 4155C/4156C.
Query response data_variable_data <newline><^END>
The data format of data_variable_data is determined by the FORMat Subsystem (ASCii or REAL).
Example OUTPUT @Hp4155;":TRAC 'Vdata',1,2,3,4,5"
OUTPUT @Hp4155;":TRAC? 'Vdata'" ENTER @Hp4155;A(*)
user variable name to fill
block of data whose format is determined by the FORMat Subsystem
5-12 Agilent 4155C/4156C SCPI Command Reference, Edition 1
SCPI Commands

:DATA|:TRACe:DEFine

:DATA|:TRACe:DEFine
This command defines (allocates and initializes) a new user variable.
The first parameter specifies the new user variable name. The second parameter specifies the size of user variable.
A new user variable is allocated with the specified number of data elements. The user variable is initialized with invalid data.
If the second parameter is omitted, the new user variable size is the number of VAR1 steps for sweep measurement, or the number of the sample points for sampling measurement mode.
This command does not have query form.
Syntax :DATA | :TRACe:DEFine user_variable_name [ , user_variable_size]
Parameter
Parameter Type Explanation
user_variable_name string or
character
user_variable_size numeric size of the user variable
When user_variable_name is sent as character parameter type, all alpha characters are treated as upper case in the 4155C/4156C.
Example OUTPUT @Hp4155;":TRAC:DEF 'Vdata',1024"
user variable name to define
Agilent 4155C/4156C SCPI Command Reference, Edition 1 5- 13
SCPI Commands :DATA|:TRACe:DELete:ALL

:DATA|:TRACe:DELete:ALL

This command deletes all the user variable names on the CHANNELS: USER VARIABLE DEFINITION page.
This command does not have query form.
Syntax :DATA | :TRACe:DELete:ALL
Example OUTPUT @Hp4155;":TRAC:DEL:ALL"

:DATA|:TRACe:DELete[:NAME]

This command deletes the specified user variable name on the CHANNELS: USER VARIABLE DEFINITION page.
This command does not have query form.
Syntax :DATA | :TRACe:DELete [ :NAME] user_variable_name
Parameter
Parameter Type Explanation
user_variable_name string or
character
When user_variable_name is sent in character program data format, all alpha characters are treated as upper case in the 4155C/4156C.
Example OUTPUT @Hp4155;":TRAC:DEL 'Vdata'"
user variable name to delete

:DATA|:TRACe:FREE?

This command returns the amount of user memory space available for data variables.
This command has query form only.
Syntax :DATA | :TRACe:FREE?
5-14 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Query response available,used <newline><^END>
available is the available data variable memory space in bytes.
used is the used data variable memory space in bytes.
Both are returned in NR1 response data format.
SCPI Commands

:DATA|:TRACe:POINts

Example OUTPUT @Hp4155;":TRAC:FREE?"
ENTER @Hp4155;A,B
:DATA|:TRACe:POINts
This command resizes the number of elements in an already defined user variable.
The first parameter specifies the name of the user variable to resize.
The optional second parameter specifies the new size for the specified user variable. If this parameter is omitted, the new user variable size is the number of VAR1 steps for sweep measurement, or the number of the sampling points for sampling measurement.
Syntax :DATA | :TRACe:POINts user_variable_name [ ,user_variable_size]
Parameter
Parameter Type Explanation
user_variable_name string or
character
user_variable_size numeric new size of the user variable
Query response user_variable_size <newline><^END>
user variable name to resize
The data type of user_variable_size is NR1 response data format.
Example OUTPUT @Hp4155;":TRAC:POIN 'Vdata',2048"
OUTPUT @Hp4155;":TRAC:POIN? 'Vdata'" ENTER @Hp4155;A
Agilent 4155C/4156C SCPI Command Reference, Edition 1 5- 15
SCPI Commands :DATA|:TRACe:STATus?

:DATA|:TRACe:STATus?

This command returns the status of the specified data variable.
This command has query form only.
Syntax :DATA | :TRACe:STATus? data_variable_name
Parameter
Parameter Type Explanation
data_variable_name string or
Query response status <newline><^END>
bit binary-weight description
0 1 Stack Register Overflow
1 2 Calculation error
2 4 Insufficient data
3 8 Not used (always 0)
4 16 A/D converter overflow occurs.
5 32 SMU or VSU oscillates.
6 64 Other SMU reaches its compliance setting.
7 128 This SMU reaches its compliance setting.
8 to 15 Not used (always 0)
If the ASCii transfer format was selected by the FORMat subsystem, status is an integer value that is the sum of the binary-weighted values for the bits in NR1 response data format.
If the REAL transfer format was selected by the FORMat subsystem, status is definite length block data with 16-bit integer format. The length of the returned block depends on the specified data_variable_name.
data variable name
character
Example OUTPUT @Hp4155;":TRAC:STAT? 'Vdata'"
ENTER @Hp4155;A(*)
5-16 Agilent 4155C/4156C SCPI Command Reference, Edition 1

:DATA|:TRACe:UNIT

This command sets the unit for data of the specified user variable.
The user variable must first be defined by the :DATA | :TRACe:DEFine or :PAGE:CHANnels:UVARiable:DEFine command, or on the CHANNELS: USER VARIABLE DEFINITION page.
Syntax :DATA | :TRACe:UNIT user_variable_name ,unit
Parameter
Parameter Type Explanation
SCPI Commands
:DATA|:TRACe:UNIT
user_variable_name string or
character
unit string unit of the user variable data
Query response unit <newline><^END>
Example OUTPUT @Hp4155;":TRAC:UNIT 'Vdata','mV'"
OUTPUT @Hp4155;":TRAC:UNIT? 'Vdata'" ENTER @Hp4155;A$
user variable name to specify unit for
Agilent 4155C/4156C SCPI Command Reference, Edition 1 5- 17
SCPI Commands

DIAGnostic Subsystem

The DIAGnostic subsystem has diagnostic functions that are used in routine maintenance and repair.
The following table is the command tree of DIAGnostic subsystem.
Command Parameter
:DIAGnostic
:TEST
:ABORt
:CONTinue
:ERRor? <test_number>
[:EXECute] <test_number>
:RESult?
5-18 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Loading...