Keysight N432A Programming Manual

Thermistor power meter
Hide thumbs Also See for N432A:
Table of Contents

Advertisement

Quick Links

Keysight N432A Thermistor
Power Meter
Programming
Guide

Advertisement

Table of Contents
loading

Summary of Contents for Keysight N432A

  • Page 1 Keysight N432A Thermistor Power Meter Programming Guide...
  • Page 2 Conformity. understood and met. where in the EULA. Keysight shall be under no obligation to update, revise or otherwise modify the Software. With WARNING respect to any technical data as defined by FAR 2.101, pursuant to FAR...
  • Page 3: General Warranty

    Keysight shall not be liable for errors or for incidental or consequential damages in connection with the furnishing, use, or performance of this document or any information contained herein.
  • Page 4: Equipment Operation

    To prevent electric shock, do not remove covers. For continued protection against fire, replace the line fuse(s) only with fuses of the same type and rating (for example, normal blow, time delay, and so on). The use of other fuses or material is prohibited. Keysight N432A Programming Guide...
  • Page 5: General Safety Considerations

    Failure to comply with these precautions or with specific warnings elsewhere in this manual violates safety standards of design, manufacture, and intended use of the instrument. Keysight Technologies assumes no liability for the customer’s failure to comply with these requirements.
  • Page 6 THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight N432A Programming Guide...
  • Page 7: Table Of Contents

    ........61 Using the CONFigure command ......65 Keysight Product Model User’s Guide...
  • Page 8 ....113 Saving and Recalling N432A Configurations ....115...
  • Page 9 ..........127 Keysight Product Model User’s Guide...
  • Page 10 ..........136 Keysight Product Model User’s Guide...
  • Page 11 ..........156 Keysight Product Model User’s Guide...
  • Page 12 ........169 FETCh[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence? Keysight Product Model User’s Guide...
  • Page 13 ..........180 FETCh[1]|2|3|4[:SCALar]:VCMP1? ......181 Keysight Product Model User’s Guide...
  • Page 14 ..........192 Keysight Product Model User’s Guide...
  • Page 15 ..........205 Keysight Product Model User’s Guide...
  • Page 16 ..........220 Keysight Product Model User’s Guide...
  • Page 17 ..........232 Keysight Product Model User’s Guide...
  • Page 18 ..........244 Keysight Product Model User’s Guide...
  • Page 19 ..........257 Keysight Product Model User’s Guide...
  • Page 20 ..........269 Keysight Product Model User’s Guide...
  • Page 21 .........280 FORMat[:READings][:DATA] <character_data> ....281 Keysight Product Model User’s Guide...
  • Page 22 ..........298 Keysight Product Model User’s Guide...
  • Page 23 ..........312 Keysight Product Model User’s Guide...
  • Page 24 ..........322 MEMory[:METer][1]:TABLe:MOVE <character_data>,<character_data> Keysight Product Model User’s Guide...
  • Page 25 .........334 OUTPut:RECorder[1]:LIMit:UPPer <numeric_value> ... . .335 Keysight Product Model User’s Guide...
  • Page 26 ..........346 Keysight Product Model User’s Guide...
  • Page 27 .........355 Keysight Product Model User’s Guide...
  • Page 28 ......... 365 [SENSe[1]]|2|3|4:CORRection:DCYCle|GAIN3 Commands ..366 [SENSe[1]:]CORRection:DCYCle|GAIN3[:INPut][:MAGNitude] <numer- Keysight Product Model User’s Guide...
  • Page 29 ..........375 Keysight Product Model User’s Guide...
  • Page 30 ......... 385 SERVice:BIST:VCOM <boolean> ......386 Keysight Product Model User’s Guide...
  • Page 31 ..........393 Keysight Product Model User’s Guide...
  • Page 32 ......... 401 SERVice:VERSion:PROCessor? ......402 Keysight Product Model User’s Guide...
  • Page 33 ..........422 Questionable Status Register Sets ......423 Keysight Product Model User’s Guide...
  • Page 34 ..........439 Keysight Product Model User’s Guide...
  • Page 35 ..........446 Keysight Product Model User’s Guide...
  • Page 36 ..........460 Keysight Product Model User’s Guide...
  • Page 37 .........475 INITiate:CONTinuous:ALL <boolean> ......476 Keysight Product Model User’s Guide...
  • Page 38 ..........487 Keysight Product Model User’s Guide...
  • Page 39 ........497 Keysight Product Model User’s Guide...
  • Page 40 ......... 498 18 Programming Examples Example 1: Identifying the N432A In Use ..... . 500 Example 2: FETCh, MEASure, and READ Queries .
  • Page 41 ......213 Figure 17-1 Measurement display UNIT block window ..494 Keysight Product Model User’s Guide...
  • Page 42 THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight Product Model User’s Guide...
  • Page 43 . . . Table 15-1 Preset settings ......461 Keysight Product Model User’s Guide...
  • Page 44 THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight Product Model User’s Guide...
  • Page 45 How Measurements are Calculated Status Reporting Saving and Recalling N432A Configurations Using Device Clear to Halt Measurements Summary of Commands This chapter describes the parameters that configure the N432A thermistor power meter and helps you determine the settings for performance optimization.
  • Page 46: N432A Remote Operation

    91. – “How Measurements are Calculated” on page 94. – “Status Reporting” on page 95. – “Saving and Recalling N432A Configurations” on page 115. – “Using Device Clear to Halt Measurements” on page 116. Keysight N432A Programming Guide...
  • Page 47: Introduction To The Scpi Language

    (for the specified root-level command) of the command tree. You must separate command mnemonics from each other using a colon. You can omit the leading colon if the command is the first of a new program line. Keysight N432A Programming Guide...
  • Page 48: Using A Semicolon (;)

    To avoid this, do not send a query without reading the response. When you cannot avoid this situation, send a Device Clear before sending the second query. Keysight N432A Programming Guide...
  • Page 49: Using "*" Commands

    IEEE-488.2 interface standard. The “*” commands are used to control reset, save/ recall, self-test, and status operations in the N432A. Syntax conventions Throughout this guide, the following conventions are used for SCPI command syntax: –...
  • Page 50: Scpi Data Types

    The format is defined as shown in the following figure. <upper/lower case alpha> <upper/lower case alpha> <digit> Figure 1-2 <character_data> format <NAN> definition Not a number (NAN) is represented as 9.91 E37. Not a number is defined in IEEE 754. Keysight N432A Programming Guide...
  • Page 51 Throughout this document, <non-decimal numeric> is used to represent numeric information in bases other than ten (that is, hexadecimal, octal, and binary). Examples of non-decimal numeric include #HA2F, #ha4e, #Q62, #q15, and #B01011. Figure 1-3 shows the non-decimal numeric standard data structures. Keysight N432A Programming Guide...
  • Page 52 N432A Remote Operation <digit> Figure 1-3 <non-decimal numeric> format <NRf> definition Throughout this document, <NRf> is used to denote a flexible numeric representation, for example, +200; –56; +9.9E36. Keysight N432A Programming Guide...
  • Page 53 – +146 – –12345 <NR2> definition Throughout this document, the <NR2> numeric response data is defined as: digit digit Figure 1-5 <NR2> format The following shows the examples of <NR2>: – 12.3 – +1.2345 – –0.123 Keysight N432A Programming Guide...
  • Page 54 The following shows the examples of <NR3>: – 1.23E+6 – 123.4E–54 – –1234.567E+90 <numeric_value> definition Throughout this document, the decimal numeric element is abbreviated to <numeric_value>, for example, <NRf>, MINimum, MAXimum, DEFault, or Not A Number (NAN). Keysight N432A Programming Guide...
  • Page 55 The format is defined as: Program data <inserted > <nonsingle quote char> " " <inserted > " " <nondouble quote char> Response data " " <inserted > " " <nondouble quote char> Figure 1-7 <string> format Keysight N432A Programming Guide...
  • Page 56: Input Message Terminators

    A <carriage return> followed by a <newline> is also accepted. Many programming languages allow you to specify a message terminator character or EOI state to be automatically sent with each bus transaction. Message termination always sets the current path back to the root-level. Keysight N432A Programming Guide...
  • Page 57: Configuring The Remote Interface

    Each device on the GPIB (IEEE-488) interface must have a unique address. You can set the N432A address to any value between 0 and 30. The N432A is shipped with a default address of 10. The GPIB address is stored in non-volatile memory, and does not change when the N432A is switched off, or after a remote interface reset.
  • Page 58: Lan Configuration

    N432A Remote Operation Your GPIB bus controller has its own address. Avoid using the bus controller address for any instrument on the interface bus. Keysight Technologies’s controllers generally use address 21. For information on setting the GPIB address manually from the front panel, refer to the N432A Thermistor Power Meter Installation Guide.
  • Page 59: Usb Configuration

    The USB interface requires no front panel or remote configuration. The USB address cannot be changed; it is set at the factory and is unique for each instrument. – For further information on the USB configuration, refer to the N432A NOTE Thermistor Power Meter Installation Guide.
  • Page 60: Zeroing

    N432A Remote Operation Zeroing Zeroing adjusts the N432A for a zero power reading with no power applied to the thermistor sensor. The CALibration[1]:ZERO:AUTO <boolean>|ONCE command causes the N432A to perform its zeroing routine when enabled. Refer to “CALibration Subsystem” on page 248 for details on the available CALibration[1] commands.
  • Page 61: Making Measurements

    An alternative method to program the N432A is to use the lower-level commands. The advantage of using the lower-level commands over the MEASure? query and CONFigure command is that they give you more precise control of the N432A. As shown in Table 1-1, the CONFigure command presets various states in the N432A.
  • Page 62 These examples configure the N432A for a measurement (as described in each individual example), automatically place the N432A in the “wait-for-trigger” state, internally trigger the N432A to take one reading, and then send the reading to the output buffer.
  • Page 63 Parameters are defaulted from the right by omitting them, or anywhere by substituting the keyword DEFault. DEFault is used as a placeholder. The source list parameter is used to specify a measurement channel. The N432A supports only one channel (channel A), therefore, the value is (@1). In the following example, the expected power level and resolution parameters are set to their default values, leaving them at their current settings.
  • Page 64 Channel A – Channel A. The expected power level and resolution parameters are defaulted, leaving them at their current settings. specifies the channels for the difference measurement specifies window MEAS2:POW:AC:DIFF? DEF,DEF,(@1),(@1) Channel A – A Keysight N432A Programming Guide...
  • Page 65: Using The Configure Command

    Channel A / A Using the CONFigure command When you execute this command, the N432A presets the optimum settings for the requested configuration (similar to the MEASure? query). However, the measurement is not automatically started and you can change the measurement parameters before making measurements.
  • Page 66 Configures the upper-window measurement – sets to a single measurement by default. CONF1 Initiates and retrieves the upper-window measurement. READ1? Resets the N432A. *RST Configures the lower-window measurement – sets to a single measurement by default. CONF2 Initiates and retrieves the lower-window measurement. READ2? Keysight N432A Programming Guide...
  • Page 67 CONFigure command, otherwise an error will occur. Using READ? Aborts the measurement. ABOR1 Configures the upper window to make a measurement using the CONF1 DEF,DEF,(@1) current expected power and resolution settings. Initiates and retrieves the upper-window measurement. READ1? Keysight N432A Programming Guide...
  • Page 68 Using READ? Aborts the measurement. ABOR1 Configures the upper window to make a measurement using an CONF1 -50,DEF,(@1) expected power level of –50 dBm and the current resolution setting. Takes the upper-window measurement. READ1? Keysight N432A Programming Guide...
  • Page 69 INITiate and FETCh? commands. For example, in the above program segment some finetuning can be carried out by turning the trigger delay off. 1 ABOR1 2 CONF1 -50,DEF,(@1) 3 TRIG1:DEL:AUTO OFF 4 INIT1 5 FETC1? -50,DEF,(@1) Keysight N432A Programming Guide...
  • Page 70 Initiates and retrieves the upper-window measurement. READ1? Some finetuning of the above program segment can be carried out, for example, by turning the trigger delay off, as shown below. 1 ABOR1 2 CONF1 DEF,3 3 TRIG1:DEL:AUTO OFF 4 READ1? Keysight N432A Programming Guide...
  • Page 71 Using READ? ABOR1 CONF2:POW:AC:DIFF DEF,DEF,(@1),(@1) TRIG1:DEL:AUTO OFF READ2:POW:AC:DIFF? READ2:POW:AC:DIFF? DEF,DEF,(@1),(@1) (A second READ? query is sent to make a Channel A – Channel A measurement using fresh measurement data.) Keysight N432A Programming Guide...
  • Page 72 Channel A/Channel A ratio measurement using fresh measurement data.) Using INITiate and FETCh? ABOR1 CONF2:POW:AC:RAT DEF,DEF,(@1),(@1) INIT1 FETC2:POW:AC:RAT? FETC2:POW:AC:RAT? DEF,DEF,(@1),(@1) (A second FETCh? query is sent to make a Channel A/Channel A ratio measurement using the current measurement data.) Keysight N432A Programming Guide...
  • Page 73: Using The Lower-Level Commands

    CALCulate[1]|2|3|4:MATH[:EXPRession] <string> CALCulate[1]|2|3|4:RELative[:MAGNitude]:AUTO <boolean>|ONCE The advantage of using the lower-level commands over the CONFigure command is that they give you more precise control of the N432A. As shown in Table 1-1, the CONFigure command presets various states in the N432A. It may be likely that you do not want to preset these states.
  • Page 74: Setting The Bridge Resistance

    [SENSe[1]:]FREQuency[:CW|:FIXed] <numeric_value> command. Setting this value optimizes the accuracy and minimizes measurement uncertainty, especially when making comparative measurements between signals. To check the current frequency setting, use the [SENSe[1]:]FREQuency[:CW|:FIXed]? [MIN|MAX] query. For details, refer to “[SENSe[1]:]FREQuency[:CW|:FIXed] <numeric_value>” page 377. Keysight N432A Programming Guide...
  • Page 75: Setting Offsets

    Setting Offsets Channel offsets Specifying a channel offset value allows the N432A to correct every measurement by this value to compensate for external gain or loss in your test setup. This gain or loss is applied to the measured power before any mathematical functions, display offsets, or relative functions are included.
  • Page 76 N432A Remote Operation Example The following example program, in HP Basic, details how to use the channel and display offsets on the N432A making a Channel A/A ratio measurement. The final result is: –     - - - - - - - - - - - - - - - - - - - - –...
  • Page 77: Using Frequency-Dependent Offset Tables

    Note that when selected, frequency-dependent offset corrections are applied IN ADDITION to any correction for the sensor frequency response. The N432A is capable of storing 10 frequency-dependent offset tables with a maximum of 80 frequency points each.
  • Page 78: Editing Frequency-Dependent Offset Tables

    If you measure a signal with a frequency outside the frequency range defined in the frequency-dependent offset table, then the N432A uses the highest or lowest frequency point in the table to calculate the offset.
  • Page 79 N432A Remote Operation Listing the stored frequency-dependent offset tables To list the frequency-dependent offset tables currently stored in the N432A, use the MEMory[:METer][1]:CATalog:TABLe? query. Note that all tables are listed, including sensor calibration tables. The N432A returns the data in the form of the following example: 560,8020,"Offset_1,TABL,220","Offset_2,TABL,340"..
  • Page 80: Selecting Frequency-Dependent Offset Tables

    To enable a frequency-dependent offset table, use the following command: [SENSe[1]:]CORRection:CSET2:STATe ON If you enable this command and no frequency-dependent offset table has been selected, error –221,“Settings conflict” occurs and this command remains disabled. Refer to “[SENSe[1]:]CORRection:CSET2:STATe <boolean>” on page 364 for details. Keysight N432A Programming Guide...
  • Page 81: Making The Measurement

    N432A uses the highest or lowest frequency point in the table to set the offset. – To determine the value of the offset being used by the N432A to make a measurement, use the following query: [SENSe[1]:]CORRection:FDOFfset|GAIN4[:INPut][:MAGNitude]? The response may be an interpolated value.
  • Page 82: Setting Measurement Limits

    N432A Remote Operation Setting Measurement Limits You can configure the N432A to detect when a measurement is outside of a predefined upper and/or lower limit value. Limits are boundaries set for a certain power range and can be applied to the power, ratio, or difference measurement.
  • Page 83: Checking For Limit Failures

    For more information on these queries, refer to “CALCulate[1]|2|3|4:LIMit:FAIL?” page 228 and “CALCulate[1]|2|3|4:LIMit:FCOunt?” on page 229. TRIGger[1]:DELay:AUTO <boolean> is set to ON, then the number of failures NOTE returned by CALCulate[1]|2|3|4:LIMit:FCOunt? is affected by the current filter settings. Keysight N432A Programming Guide...
  • Page 84 This is a more efficient method than using CALCulate, as you do not need to check the limit failures after every power measurement. Refer to “Status Reporting” on page 95 and “STATus Subsystem” on page 405 for further information. Keysight N432A Programming Guide...
  • Page 85: Using The Calibration/Correction Factors

    The N432A is capable of storing 20 sensor calibration tables, each containing up to 80 frequency points. The N432A is supplied with a set of two predefined sensor calibration tables plus a “100%” default table. Keysight N432A Programming Guide...
  • Page 86: Editing Sensor Calibration Tables

    For information on renaming the sensor calibration tables, refer to “Renaming sensor calibration tables” on page 87. For information on the currently stored tables in the N432A, refer to “Listing stored sensor calibration tables” page 87. 2 Enter the frequency data using the MEMory[:METer][1]:TABLe:FREQuency <numeric_value>{,<numeric_value>}...
  • Page 87 If you measure a signal with a frequency outside the frequency range defined in the sensor calibration table, then the N432A uses the highest or lowest frequency point in the table to set the calibration factor.
  • Page 88 If you need to modify the frequency and calibration factor data stored in a sensor calibration table, you need to resend the complete data lists. If you have retained the original data in a program, edit the program and resend the data. Keysight N432A Programming Guide...
  • Page 89: Selecting Sensor Calibration Tables

    To enable a sensor calibration table, use the following command: [SENSe[1]:]CORRection:CSET1:STATe ON If you enable this command and no sensor calibration table has been selected, error –221,“Settings conflict” occurs and this command remains disabled. Refer to “[SENSe[1]:]CORRection:CSET[1]:STATe <boolean>” on page 362 for details. Keysight N432A Programming Guide...
  • Page 90: Making The Measurement

    N432A uses the highest or lowest frequency point in the sensor calibration table to set the calibration factor. – To determine the calibration factor being used by the N432A to make a measurement, use the following query:...
  • Page 91: Optimizing The N432A Performance

    BUS|HOLD|IMMediate is not set to IMMediate. – Single Shot: When the N432A is in the single shot mode, it takes a new measurement when a trigger event is detected and then returns to the idle state. A measurement is in single shot when INITiate[1]:CONTinuous <boolean>...
  • Page 92: Output Format

    278. Units The N432A can output results in either linear or log units. The internal units are linear, therefore optimal performance is achieved when the result outputs are also in linear units (since the overhead of performing a log function is removed).
  • Page 93: Measurement Commands

    In other trigger modes, there are a number of queries which can be used, for example, MEASure?, READ?, FETCh?. Note that MEASure? and READ? are compound commands as they perform a combination of other lower-level commands. Typically, the best speed performance is achieved using the low-level commands directly. Keysight N432A Programming Guide...
  • Page 94: How Measurements Are Calculated

    N432A Remote Operation How Measurements are Calculated The following figure illustrates how measurements are calculated. It shows the order in which the various N432A functions are implemented in the measurement calculation. CALCulate[1] :LIM FORMat :FEED Limits UNIT[1] Switch Switch Switch...
  • Page 95: Status Reporting

    N432A Remote Operation Status Reporting Status reporting is used to monitor the N432A to determine when events have occurred. Status reporting is accomplished by configuring and reading status registers. The N432A has the following main registers: – Status Byte Register –...
  • Page 96 Condition register The condition register continuously monitors the hardware and firmware status of the N432A. There is no latching or buffering for this register; it is updated in real time. Condition registers are read-only. Transition filter The transition filter specifies which type of changes to the bit state in the condition register will set corresponding bits in the event register.
  • Page 97 Consider Case C, where the positive transition filter is set to 1 and the negative transition filter is set to 0. This configures the N432A to set the corresponding bit in the event register whenever the condition bit changes from 0 to 1. The enable register is set to 1 to enable the summary bit to be generated each time there is a change in the event register.
  • Page 98 Consider Case D, where the positive and negative transition filters are set to 1. This configures the N432A to set the corresponding bit in the event register whenever there are changes to the condition bit. The enable register is set to 0 to disable the summary bit to be generated.
  • Page 99: How To Use Registers

    – cannot afford the performance penalty inherent to polling. Condition polling method In this polling method, the N432A has a passive role. It only informs the controller that conditions have changed when the controller queries. When you monitor a condition with the polling method, you must: 1 Determine which register contains the bit that monitors the condition.
  • Page 100: Srq Method

    When a bit of the Status register is set and has been enabled to assert SRQ (*SRE command), the N432A sets the GPIB SRQ line true. This interrupt can be used to interrupt your program, suspend its current operation, and find out what service the N432A requires.
  • Page 101 ! Yes , read register ENTER @Pm;Event ! (this also clears it) OUTPUT @Pm;”STAT:DEV:COND?” ENTER @Pm;Cond IF Cond=0 THEN PRINT “Sensor disconnected” ELSE PRINT “Sensor connected” END IF END IF GOTO 170 ! Return to idle loop Keysight N432A Programming Guide...
  • Page 102 ! Operation status bit set? OUTPUT @Pm;”STAT:OPER?”! Yes , read register ENTER @Pm;Oper ! (this also clears it) OUTPUT @Pm;”STAT:OPER:ULF?” ENTER @Pm;Ulf IF Ulf=2 THEN PRINT “Over limit detected” END IF GOTO 190 ! Return to idle loop Keysight N432A Programming Guide...
  • Page 103 N432A Remote Operation Status registers The Status system in the N432A is shown in Figure 1-12. The Operation Status, Questionable Status, and Device Status groups are 16-bit wide, while the Status Byte and Standard Event groups are 8-bit wide. In all 16-bit groups, the most significant bit (bit 15) is not used and is always set to 0.
  • Page 104 N432A Remote Operation Device Status Error/Event Queue Condition Event Enable Questionable Status Condition Event Enable Status Byte Output Queue RQS/MSS *STB? *SRE Standard Event Event Enable *ESR *ESE Operation Status Condition Event Enable Figure 1-12 Status system Keysight N432A Programming Guide...
  • Page 105 Status Byte summary register The Status Byte summary register reports conditions from other status registers. Query data waiting in the N432A output buffer is immediately reported through the “Message Available” bit (bit 4). Clearing an event register clears the corresponding bits in the Status Byte summary register. Reading all messages in the output buffer, including any pending queries, clears the Message Available bit.
  • Page 106 (status byte query) is similar to a serial poll except that it is processed like any other N432A command. The *STB? query returns the same result as an IEEE-488 serial poll except that the request service bit (bit 6) is not cleared if a serial poll has occurred.
  • Page 107 *CLS (clear status) command. – query the event register using the *ESR? (event status register) command. The Standard Event enable register is cleared when you: – cycle the N432A power. – execute an *ESE 0 command. Keysight N432A Programming Guide...
  • Page 108 Questionable Status register The Questionable Status register set provides information on the quality of the N432A measurement results. Any or all of these conditions can be reported in the questionable data summary bit through the enable register. You must write a value using the STATus:QUEStionable:ENABle command to set the enable register mask.
  • Page 109 Error –231,”Data questionable;Lower window log error” Error –231,”Data questionable;Upper window log error” CLEARED: When no errors are detected by the N432A during a measurement covering the causes given for it to set This is the summary bit for the Questionable CALibration register...
  • Page 110 N432A Remote Operation Operation Status register The Operation Status group monitors conditions in the N432A measurement process. The following bits in this register set are used by the N432A: Table 1-7 Bit definitions – Operation Status Weight/Decimal Definition value CALibration summary...
  • Page 111 CLEARED: At the end of zeroing This is the summary bit for the Operation MEASuring register MEASuring SET: When the N432A is taking a measurement CLEARED: When the measurement has completed This is the summary bit for the Operation TRIGger register Waiting for SET: When the N432A enters the “wait-for-trigger”...
  • Page 112 N432A Remote Operation Device Status register The Device Status register contains bits which provide device-dependent information. The following bits in this register are used by the N432A: Table 1-9 Bit definitions – Device Status register Weight/Decimal Definition value Not used...
  • Page 113: Using The Operation Complete Commands

    *OPC command allow you to maintain synchronization between the PC and the N432A. The *OPC? query places an ASCII character 1 into the N432A output queue when all pending N432A commands have completed. If your program reads this response before continuing program execution, you can ensure synchronization between one or more instruments and the PC.
  • Page 114 7 In the GPIB mode only, you can use a serial poll to check when bit 5 (Standard Event) is set in the Status Byte summary register. You can also configure the N432A for an SRQ interrupt by sending *SRE 32 (Status Byte enable register, bit 5).
  • Page 115: Saving And Recalling N432A Configurations

    N432A Remote Operation Saving and Recalling N432A Configurations To reduce repeated programming, up to ten N432A configurations can be stored in the N432A non-volatile memory. The error list, remote addresses, sensor calibration table data, and zeroing information are not stored.
  • Page 116: Using Device Clear To Halt Measurements

    NOTE command. Summary of Commands For details of each SCPI command available to program the N432A, refer to later chapters for more details on each command. For commands that require you to specify a window, the upper window is represented by a 1 and the lower window by a 2. If you omit the window number, the upper window is assumed.
  • Page 117 Keysight N432A Thermistor Power Meter Programming Guide IEEE-488 Command Reference SCPI Compliance Information *CLS *DDT <arbitrary block program data>|<string program data> *ESE <NRf> *ESR? *IDN? *LRN? *OPC *OPT? *RCL <NRf> *RST *SAV <NRf> *SRE <NRf> *STB? *TST? *WAI GPIB Universal Commands This chapter contains information on the IEEE-488 common commands supported by the N432A.
  • Page 118: Ieee-488 Command Reference

    SCPI Compliance Information This chapter describes the IEEE-488 common commands supported by the N432A. It also describes the GPIB universal command statements which form the nucleus of GPIB programming; they are understood by all instruments in the network. When combined with programming language codes, they provide all management and data communication instructions for the system.
  • Page 119: Cls

    (Questionable Status, Operation Status, and all the other SCPI registers), the Standard Event Status register, the Status Byte, and the Error/Event Queue are all cleared. Syntax *CLS Example This command clears the status data structures of the N432A. *CLS Keysight N432A Programming Guide...
  • Page 120: Ddt |

    IEEE-488 Command Reference *DDT <arbitrary block program data>|<string program data> The *DDT (Define Device Trigger) command determines the N432A response to a GET (Group Execute Trigger) message. This command effectively turns GET into a query, with the measured power being returned.
  • Page 121: Query

    This query returns the action which is performed on receipt of a GET. This is returned as a <definite-length arbitrary block response data> value in the form of #nN<action>. Error message If an invalid parameter is received, error –224,“Illegal parameter value” occurs. Keysight N432A Programming Guide...
  • Page 122: Ese

    Bit definitions: Standard Event register Weight/Decimal value Definition Operation complete Not used Query error Device-dependent error Execution error Command error User request Power on Refer to “Standard Event register” on page 106 for more details. Syntax Space *ESE Keysight N432A Programming Guide...
  • Page 123: Parameter

    The return format is <NR1> in the range of 0 to 255. Query example Returns the bits currently set in the enable register. *ESE? Keysight N432A Programming Guide...
  • Page 124: Esr

    Query error Device-dependent error Execution error Command error User request Power on Refer to “Standard Event register” on page 106 for more details. Syntax *ESR Example Returns the bits currently set in the event register. *ESR? Keysight N432A Programming Guide...
  • Page 125: Idn

    IEEE-488 Command Reference *IDN? The *IDN? query reads the N432A identification string and returns the string in the following format: Keysight Technologies,N432A,<serial number>,A1.XX.YY where, <serial number> uniquely identifies each N432A, and A1.XX.YY represents the firmware revision with XX and YY representing the major and minor revisions respectively.
  • Page 126: Lrn

    IEEE-488 Command Reference *LRN? The *LRN? query returns the N432A state. Syntax *LRN Example Returns the N432A state. *LRN? Keysight N432A Programming Guide...
  • Page 127: Opc

    IEEE-488 Command Reference *OPC The *OPC (OPeration Complete) command sets the “Operation Complete” bit (bit 0) in the Standard Event register when all pending operations have completed. This command is used to synchronize your application with the N432A. Syntax *OPC Example This command sets the "Operation Complete"...
  • Page 128 IEEE-488 Command Reference *OPT? The *OPT? query reports the options installed in the N432A and returns an empty string “ ”. Syntax *OPT Query example Queries the options installed in the N432A. *OPT? Keysight N432A Programming Guide...
  • Page 129 IEEE-488 Command Reference *RCL <NRf> The *RCL (ReCaLl) command restores the state of the N432A from the specified save/recall register. This command is only effective when an instrument setup has been stored previously in the specified register. Syntax Space *RCL...
  • Page 130 IEEE-488 Command Reference *RST The *RST (ReSeT) command places the N432A in a known state. Syntax *RST Example This command resets the N432A to its default settings. *RST Keysight N432A Programming Guide...
  • Page 131 IEEE-488 Command Reference *SAV <NRf> The *SAV (SAVe) command stores the current state of the N432A in the specified save/recall register. Syntax Space *SAV Parameter Item Description/Defaul t Range of values The register number for storing the N432A state 1 to 10 Example This command saves the current N432A state to register 3.
  • Page 132 Device Status register summary Error/Event queue QUEStionable Status summary Message available Event Status Byte summary Master Status summary (Request for service) OPERation Status summary Refer to “Status Byte summary register” on page 105 for more details. Syntax Space *SRE Keysight N432A Programming Guide...
  • Page 133 The return format is <NR1> in the range of 0 to 255. Query example Returns the bits currently set in the enable register. *SRE? Keysight N432A Programming Guide...
  • Page 134 Event Status Byte summary Master Status summary (Request for service) OPERation Status summary Refer to “Status Byte summary register” on page 105 for more details. Syntax *STB Example Returns the bits currently set in the condition register. *STB? Keysight N432A Programming Guide...
  • Page 135 Using the *DDT command may change the function of the *TRG command. Syntax *TRG Example Triggers channel A that is in the wait-for-trigger state. *TRG Error message If TRIGger:SOURce is not set to BUS, or the N432A is not in the wait-for-trigger state, error –211,“Trigger ignored” occurs. Keysight N432A Programming Guide...
  • Page 136 IEEE-488 Command Reference *TST? The *TST? (TeST) query initiates an internal self-test of the N432A and returns a pass or fail indication where: – 0 is returned if all tests pass, or – 1 is returned if one or more tests fail.
  • Page 137: Wai

    IEEE-488 Command Reference *WAI The *WAI (WAIt) command causes the N432A to wait until either: – all pending operations have completed – the device clear command is received – power is cycled before executing any subsequent commands or queries. Syntax...
  • Page 138: Gpib Universal Commands

    Using the *DDT command may change the function of the GET command. Error message If TRIGger:SOURce is not set to BUS, or the N432A is not in the wait-for-trigger state, error –211,“Trigger ignored” occurs. The GTL (Go To Local) command is the complement to remote. It causes the N432A to return to local control with a fully-enabled front panel.
  • Page 139: Ppc

    N432A to be configured according to the parallel poll enable secondary command which should follow this command. Sending the PPC command followed by the PPD (Parallel Poll Disable) command disables the N432A from responding to a parallel poll. This is effectively a selective disable. Table 2-5...
  • Page 140: Ppe

    IEEE-488 Command Reference Once the N432A has received a PPC command, the PPE (Parallel Poll Enable) secondary command configures the N432A to respond to a parallel poll on a particular data line with a particular level. Table 2-6 Bit definitions: PPE...
  • Page 141: Sdc

    N432A and returns it to its normal talker state where device-dependent data is returned rather than the status byte. The SPE (Serial Poll Enable) command establishes the serial poll mode for the N432A. When the N432A is addressed to talk, a single 8-bit status byte is returned. Keysight N432A Programming Guide...
  • Page 142 IEEE-488 Command Reference THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight N432A Programming Guide...
  • Page 143 Keysight N432A Thermistor Power Meter Programming Guide MEASurement Commands MEASurement Commands CONFigure[1]|2|3|4? CONFigure [1]|2|3|4 Commands CONFigure[1]|2|3|4[:SCALar][:POWer:AC] [<expected_value>[,<resolution>[,<source list>]]] CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RELative [<expected_value>[,<resolution>[,<source list>]]] CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence [<expected_value>[,<resolution>[,<source list>]]] CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence: RELative [<expected_value>[,<resolution>[,<source list>]]] CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RATio [<expected_value>[,<resolution>[,<source list>]]] CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RATio: RELative [<expected_value>[,<resolution>[,<source list>]]] FETCh[1]|2|3|4 Queries FETCh[1]|2|3|4[:SCALar][:POWer:AC]? [<expected_value>[,<resolution>[,<source list>]]] FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RELative? [<expected_value>[,<resolution>[,<source list>]]]...
  • Page 144 READ[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative? [<expected_value>[,<resolution>[,<source list>]]] MEASure[1]|2|3|4 Queries MEASure[1]|2|3|4[:SCALar][:POWer:AC]? [<expected_value>[,<resolution>[,<source list>]]] MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RELative? [<expected_value>[,<resolution>[,<source list>]]] MEASure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence? [<expected_value>[,<resolution>[,<source list>]]] MEASure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence: RELative? [<expected_value>[,<resolution>[,<source list>]]] MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]] MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative? [<expected_value>[,<resolution>[,<source list>]]] This chapter explains how to use high-level measurement commands to acquire data. Keysight N432A Programming Guide...
  • Page 145: Measurement Commands

    MEASure? followed by a READ?. It does not enable much flexibility or control over measurement settings. Used to change the N432A configuration values. CONFigure must then be followed by another command which takes the measurement, for example, CONFigure followed by FETCh?.
  • Page 146: Optional Parameters

    The <resolution> parameter sets the resolution of the specified window. This parameter does not affect the resolution of the returned data. Source list The <source list> parameter is used to define the measurement channel, which is channel A. Keysight N432A Programming Guide...
  • Page 147 [,<resolution>[,<source list>]]] FETCh[1]|2|3|4 [:SCALar] [:POWer:AC]? [<expected_value> [query only] page 166 [,<resolution>[,<source list>]]] [query only] :RELative? [<expected_value> page 168 [,<resolution>[,<source list>]]] [query only] :DIFFerence? [<expected_value> page 170 [,<resolution>[,<source list>]]] [query only] :RELative? [<expected_value> page 172 [,<resolution>[,<source list>]]] Keysight N432A Programming Guide...
  • Page 148 188 [,<resolution>[,<source list>]]] [query only] :DIFFerence? [<expected_value> page 190 [,<resolution>[,<source list>]]] [query only] :RELative? [<expected_value> page 192 [,<resolution>[,<source list>]]] :RATio? [<expected_value> [query only] page 194 [,<resolution>[,<source list>]]] [query only] :RELative? [<expected_value> page 196 [,<resolution>[,<source list>]]] Keysight N432A Programming Guide...
  • Page 149 201 [,<resolution>[,<source list>]]] [query only] :DIFFerence? [<expected_value> page 203 [,<resolution>[,<source list>]]] [query only] :RELative? [<expected_value> page 205 [,<resolution>[,<source list>]]] :RATio? [<expected_value> [query only] page 207 [,<resolution>[,<source list>]]] [query only] :RELative? [<expected_value> page 209 [,<resolution>[,<source list>]]] Keysight N432A Programming Guide...
  • Page 150: Configure[1]|2|3|4

    The <expected_value> returned is the expected power value sent by the last CONFigure command or +20 dBm by default. The <resolution> returned is the same as the value returned by DISPlay:WINDow:RESolution?. The return format is <NR1> in the range of 1 through 4. Syntax CONF Keysight N432A Programming Guide...
  • Page 151: Example

    CONF2? measurement. Reset condition On reset: The command function is set to :POWer:AC. The expected power level is set to +20 dBm. The resolution is set to 3. The source list is set to Channel A. Keysight N432A Programming Guide...
  • Page 152: Configure [1]|2|3|4 Commands

    Defaul t settings Description Sets the N432A to make one trigger cycle when INITiate is sent INITiate:CONTinuous OFF Sets the N432A to make the measurement immediately once a trigger is received TRIGger:SOURce IMMediate Enables automatic delay before making the measurement TRIGger:DELay:AUTO ON...
  • Page 153: Configure[1]|2|3|4[:Scalar][:Power:ac] [[,[,]]]

    This command is used on the specified window/measurement to set: – the expected power level of the measurement. – the resolution of the window/measurement. – the channel on which the measurement will be made. Syntax CONF :SCAL :POW Space expected_value resolution source list Keysight N432A Programming Guide...
  • Page 154: Parameters

    1 to 4 represent 1, 0.1, 0.01, and 0.001 respectively. Example This command configures the upper window/upper CONF DEF,2,(@1) measurement to measure power using the current expected power level and a resolution setting of 2. Keysight N432A Programming Guide...
  • Page 155: Configure[1]|2|3|4[:Scalar][:Power:ac]:Relative [[,[,]]]

    This command sets the measurement type, range, and resolution of the specified window/measurement. It sets the measurement type to single function measurement with relative mode on. The relative value used is that set by the CALCulate:RELative:MAGNitude:AUTO command. Syntax CONF :REL :POW :SCAL expected_value Space resolution source list Keysight N432A Programming Guide...
  • Page 156: Parameters

    1 to 4 represent 1, 0.1, 0.01, and 0.001 respectively. Example This command configures the lower window/ CONF2:REL -50DBM,3,(@1) upper measurement to measure relative power using an expected power level of –50 dBm and a resolution setting of 3. Keysight N432A Programming Guide...
  • Page 157: Configure[1]|2|3|4[:Scalar][:Power:ac]:Difference [[,[,]]]

    [<expected_value>[,<resolution>[,<source list>]]] This command sets the measurement type and resolution of the specified window/measurement. It sets the measurement type to a difference measurement with relative mode off. Syntax CONF :DIFF :POW :SCAL expected_value Space resolution source list Keysight N432A Programming Guide...
  • Page 158: Parameters

    Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) 1 to 4 A numeric value for the resolution. If unspecified, the resolution 1.0, 0.1, 0.01, 0.001...
  • Page 159: Configure[1]|2|3|4[:Scalar][:Power:ac]:Difference: Relative [[,[,]]]

    It sets the measurement type to a difference measurement with relative mode on. The relative value used is that set by the CALCulate:RELative:MAGNitude:AUTO command. Syntax :REL CONF :POW :DIFF :SCAL expected_value Space resolution source list Keysight N432A Programming Guide...
  • Page 160: Parameters

    Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) 1 to 4 A numeric value for the resolution. If unspecified, the resolution 1.0, 0.1, 0.01, 0.001...
  • Page 161: Configure[1]|2|3|4[:Scalar][:Power:ac]:Ratio [[,[,]]]

    [<expected_value>[,<resolution>[,<source list>]]] This command sets the measurement type and resolution of the specified window/measurement. It sets the measurement type to a ratio measurement with relative mode off. Syntax CONF :RAT :POW :SCAL Space expected_value resolution source list Keysight N432A Programming Guide...
  • Page 162: Parameters

    Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) 1 to 4 A numeric value for the resolution. If unspecified, the resolution 1.0, 0.1, 0.01, 0.001...
  • Page 163: Configure[1]|2|3|4[:Scalar][:Power:ac]:Ratio: Relative [[,[,]]]

    It sets the measurement type to a ratio measurement with relative mode on. The relative value used is that set by the CALCulate:RELative:MAGNitude:AUTO command. Syntax :REL CONF :RAT :POW :SCAL expected_value Space resolution source list Keysight N432A Programming Guide...
  • Page 164: Parameters

    Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) 1 to 4 A numeric value for the resolution. If unspecified, the resolution 1.0, 0.1, 0.01, 0.001...
  • Page 165: Fetch[1]|2|3|4 Queries

    If data is invalid, the FETCh? query is not completed until all data becomes valid. The exceptions to this are, if the N432A is in the idle state and the data is invalid, or the N432A has been reconfigured as defined above and no new measurement has been initiated.
  • Page 166: Fetch[1]|2|3|4[:Scalar][:Power:ac]? [[,[,]]]

    The result is a power-based measurement and is expressed in the unit defined by UNIT[1]|2|3|4:POWer. Syntax FETC :POW :SCAL expected_value Space resolution source list Keysight N432A Programming Guide...
  • Page 167: Parameters

    – If the expected power level and resolution parameters are not the same as the current expected value and resolution setting on the specified window/ measurement, error –221,“Settings conflict” occurs. Keysight N432A Programming Guide...
  • Page 168: Fetch[1]|2|3|4[:Scalar][:Power:ac]:Relative? [[,[,]]]

    UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the CALCulate:RELative:MAGNitude:AUTO command. Syntax FETC :REL :SCAL :POW expected_value Space resolution source list Parameters Refer to “Optional parameters” on page 146 for additional details on the parameters in this command. Keysight N432A Programming Guide...
  • Page 169: Example

    – If the expected power level and resolution parameters are not the same as the current expected value and resolution settings on the specified window/ measurement, error –221,“Settings conflict” occurs. Keysight N432A Programming Guide...
  • Page 170: Fetch[1]|2|3|4[:Scalar][:Power:ac]:Difference

    The result is a power-based measurement and is expressed in the unit defined by UNIT[1]|2|3|4:POWer. Syntax FETC :DIFF :POW :SCAL expected_value Space resolution source list Parameters Refer to “Optional parameters” on page 146 for additional details on the parameters in this command. Keysight N432A Programming Guide...
  • Page 171 Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) A numeric value for the resolution. If unspecified, the 1 to 4 current resolution setting is used.
  • Page 172 CALCulate:RELative:MAGNitude:AUTO command. Syntax :REL CONF :DIFF :POW :SCAL expected_value Space resolution source list Parameters Refer to “Optional parameters” on page 146 for additional details on the parameters in this command. Keysight N432A Programming Guide...
  • Page 173 Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) A numeric value for the resolution. If unspecified, the 1 to 4 current resolution setting is used.
  • Page 174 The result is a ratio-based measurement and is expressed in the unit defined by UNIT[1]|2|3|4:POWer:RATio. Syntax FETC :RAT :POW :SCAL expected_value Space resolution source list Parameters Refer to “Optional parameters” on page 146 for additional details on the parameters in this command. Keysight N432A Programming Guide...
  • Page 175 Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) A numeric value for the resolution. If unspecified, the 1 to 4 current resolution setting is used.
  • Page 176 UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the CALCulate:RELative:MAGNitude:AUTO command. Syntax :REL CONF :RAT :POW :SCAL expected_value Space resolution source list Parameters Refer to “Optional parameters” on page 146 for additional details on the parameters in this command. Keysight N432A Programming Guide...
  • Page 177 Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) A numeric value for the resolution. If unspecified, the 1 to 4 current resolution setting is used.
  • Page 178 V determined when zeroing is performed with the RF source disconnected. The result is expressed in the VDC unit. Syntax FETC :SCAL Example Queries the V reading of the upper window/lower FETC3:V0? measurement. Keysight N432A Programming Guide...
  • Page 179 V measured after zeroing with the RF source turned on. The result is expressed in the VDC unit. Syntax FETC :SCAL Example Queries the V reading of the upper window/upper FETC:V1? measurement. Keysight N432A Programming Guide...
  • Page 180 RF source COMP0 disconnected. The result is expressed in the VDC unit. Syntax FETC :SCAL :VCMP0 Example Queries the V reading of the lower window/lower FETC4:VCMP0? COMP0 measurement. Keysight N432A Programming Guide...
  • Page 181 COMP1 is measured after zeroing with the RF source turned on. The result is COMP1 expressed in the VDC unit. Syntax FETC :SCAL :VCMP1 Example Queries the V reading of the upper window/upper FETC:VCMP1? COMP1 measurement. Keysight N432A Programming Guide...
  • Page 182 V determined when zeroing is performed with the RF source disconnected. The result is expressed in the VDC unit. Syntax FETC :VRF0 :SCAL Example Queries the V reading of the upper window/lower FETC3:VRF0? measurement. Keysight N432A Programming Guide...
  • Page 183 V measured after zeroing with the RF source turned on. The result is expressed in the VDC unit. Syntax FETC :VRF1 :SCAL Example Queries the V reading of the upper window/upper FETC:VRF1? measurement. Keysight N432A Programming Guide...
  • Page 184 Syntax FETC :SCAL :PV1 Example Queries the PV reading of the upper window/upper FETC:PV1? measurement. Keysight N432A Programming Guide...
  • Page 185 The format of the result is set by FORMat[:READing][:DATA]. Refer to Chapter “FORMat Subsystem” on page 277 for further information. For the N432A carrying out a single measurement, the READ? query is equivalent INITiate FETCh? For the N432A carrying out a difference measurement, the READ:DIFFerence?
  • Page 186 UNIT[1]|2|3|4:POWer. INITiate:CONTinuous must be set to OFF, otherwise error –213,“INIT ignored” NOTE occurs. If TRIGger:SOURce is set to BUS, error –214,“Trigger deadlock” occurs. Syntax READ :POW :SCAL expected_value Space resolution source list Keysight N432A Programming Guide...
  • Page 187 – If TRIGger:SOURce is set to BUS or HOLD, error –214,“Trigger deadlock” occurs. – If the expected power level and resolution parameters are not the same as the current expected value and resolution settings on the specified window/ measurement, error –221,“Settings conflict” occurs. Keysight N432A Programming Guide...
  • Page 188 If TRIGger:SOURce is set to BUS, error –214,“Trigger deadlock” occurs. Syntax READ :REL :POW :SCAL Space expected_value resolution source list Parameters Refer to “Optional parameters” on page 146 for additional details on the parameters in this command. Keysight N432A Programming Guide...
  • Page 189 – If TRIGger:SOURce is set to BUS or HOLD, error –214,“Trigger deadlock” occurs. – If the expected power level and resolution parameters are not the same as the current expected value and resolution settings on the specified window/ measurement, error –221,“Settings conflict” occurs. Keysight N432A Programming Guide...
  • Page 190 If TRIGger:SOURce is set to BUS, error –214,“Trigger deadlock” occurs. Syntax READ :DIFF :POW :SCAL expected_value Space resolution source list Parameters Refer to “Optional parameters” on page 146 for additional details on the parameters in this command. Keysight N432A Programming Guide...
  • Page 191 Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) A numeric value for the resolution. If unspecified, the 1 to 4 current resolution setting is used.
  • Page 192 If TRIGger:SOURce is set to BUS, error –214,“Trigger deadlock” occurs. Syntax :REL READ :POW :DIFF :SCAL expected_value Space resolution source list Parameters Refer to “Optional parameters” on page 146 for additional details on the parameters in this command. Keysight N432A Programming Guide...
  • Page 193 Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) A numeric value for the resolution. If unspecified, the 1 to 4 current resolution setting is used.
  • Page 194 If TRIGger:SOURce is set to BUS, error –214,“Trigger deadlock” occurs. Syntax READ :RAT :POW :SCAL expected_value Space resolution source list Parameters Refer to “Optional parameters” on page 146 for additional details on the parameters in this command. Keysight N432A Programming Guide...
  • Page 195 Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) A numeric value for the resolution. If unspecified, the 1 to 4 current resolution setting is used.
  • Page 196 If TRIGger:SOURce is set to BUS, error –214,“Trigger deadlock” occurs. Syntax :REL READ :RAT :POW :SCAL expected_value Space resolution source list Parameters Refer to “Optional parameters” on page 146 for additional details on the parameters in this command. Keysight N432A Programming Guide...
  • Page 197 Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) A numeric value for the resolution. If unspecified, the 1 to 4 current resolution setting is used.
  • Page 198 277 for further information. MEASure? is a compound command which is equivalent to: CONFigure READ? For the N432A carrying out a single measurement, the MEASure? query is equivalent to: CONFigure READ? For the N432A carrying out a difference measurement, the...
  • Page 199 This query sets the measurement type to single measurement with relative mode off for the specified window/measurement, aborts, configures the window then initiates the measurement, calculates the measurement result, and places the result on the bus. Syntax MEAS :SCAL :POW expected_value Space resolution source list Keysight N432A Programming Guide...
  • Page 200 1 to 4 represent 1, 0.1, 0.01, and 0.001 respectively. Example Queries the lower window/upper measurement, MEAS2? -70DBM,1,(@1) using an expected power level of –70 dBm and a resolution setting of 1. Keysight N432A Programming Guide...
  • Page 201 The result is a ratio-based measurement and is expressed in the unit defined by UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the CALCulate:RELative:MAGNitude:AUTO command. Syntax MEAS :REL :POW :SCAL expected_value Space resolution source list Keysight N432A Programming Guide...
  • Page 202 1 to 4 represent 1, 0.1, 0.01, and 0.001 respectively. Example Queries the relative measurement of the MEAS:REL? -50DBM,2,(@1) upper window/upper measurement, using an expected power level of –50 dBm and a resolution setting of 2. Keysight N432A Programming Guide...
  • Page 203 The result is a power-based measurement and is expressed in the unit defined by UNIT[1]|2|3|4:POWer. Syntax MEAS :DIFF :SCAL :POW expected_value Space resolution source list Keysight N432A Programming Guide...
  • Page 204 Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) 1 to 4 A numeric value for the resolution. If unspecified, the resolution 1.0, 0.1, 0.01, 0.001...
  • Page 205 The result is a ratio-based measurement and is expressed in the unit defined by UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the CALCulate:RELative:MAGNitude:AUTO command. Syntax :REL MEAS :POW :DIFF :SCAL expected_value Space resolution source list Keysight N432A Programming Guide...
  • Page 206 Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) 1 to 4 A numeric value for the resolution. If unspecified, the resolution 1.0, 0.1, 0.01, 0.001...
  • Page 207 The result is a ratio-based measurement and is expressed in the unit defined by UNIT[1]|2|3|4:POWer:RATio. Syntax MEAS :RAT :POW :SCAL expected_value Space resolution source list Keysight N432A Programming Guide...
  • Page 208 Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) 1 to 4 A numeric value for the resolution. If unspecified, the resolution 1.0, 0.1, 0.01, 0.001...
  • Page 209 The result is a ratio-based measurement and is expressed in the unit defined by UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the CALCulate:RELative:MAGNitude:AUTO command. Syntax :REL MEAS :POW :RAT :SCAL expected_value Space resolution source list Keysight N432A Programming Guide...
  • Page 210 Item Description/Defaul t Range of values expected_value Sensor dependent The N432A ignores the numeric value entered for this (for the expected parameter. Any value entered is treated like DEF. power level) 1 to 4 A numeric value for the resolution. If unspecified, the resolution 1.0, 0.1, 0.01, 0.001...
  • Page 211 Keysight N432A Thermistor Power Meter Programming Guide CALCulate Subsystem CALCulate Subsystem CALCulate[1]|2|3|4:HOLD:STATe <character_data> CALCulate[1]|2|3|4:FEED[1]|2 <string> CALCulate[1]|2|3|4:GAIN Commands CALCulate[1]|2|3|4:GAIN[:MAGNitude] <numeric_value> CALCulate[1]|2|3|4:GAIN:STATe <boolean> CALCulate[1]|2|3|4:LIMit Commands CALCulate[1]|2|3|4:LIMit:CLEar:AUTO <boolean>|ONCE CALCulate[1]|2|3|4:LIMit:CLEar[:IMMediate] CALCulate[1]|2|3|4:LIMit:FAIL? CALCulate[1]|2|3|4:LIMit:FCOunt? CALCulate[1]|2|3|4:LIMit:LOWer[:DATA] <numeric_value> CALCulate[1]|2|3|4:LIMit:UPPer[:DATA] <numeric_value> CALCulate[1]|2|3|4:LIMit:STATe <boolean> CALCulate[1]|2|3|4:MATH Commands CALCulate[1]|2|3|4:MATH[:EXPRession] <string> CALCulate[1]|2|3|4:MATH[:EXPRession]:CATalog? CALCulate[1]|2|3|4:RELative Commands CALCulate[1]|2|3|4:RELative[:MAGNitude]:AUTO <boolean>|ONCE...
  • Page 212 CALCulate subsystem operates on the data acquired by a SENSe function. There are four independent CALCulate blocks in the N432A; two for each window, as shown in the figure below. The numeric suffix of the CALCulate command determines which CALCulate block is used and where the measurement result is displayed.
  • Page 213 215 :STATe <character_data> page 217 :FEED[1]|2 <string> :GAIN page 220 [:MAGNitude] <numeric_value> page 222 :STATe <boolean> :LIMit :CLEar page 225 :AUTO <boolean>|ONCE page 227 [:IMMediate] [query only] page 228 :FAIL? [query only] page 229 :FCOunt? :LOWer Keysight N432A Programming Guide...
  • Page 214 Parameter form Note Page page 231 [:DATA] <numeric_value> :UPPer page 233 [:DATA] <numeric_value> page 235 :STATe <boolean> :MATH page 238 [:EXPRession] <string> [query only] page 240 :CATalog? :RELative [:MAGNitude] page 242 :AUTO <boolean>|ONCE page 244 :STATe <boolean> Keysight N432A Programming Guide...
  • Page 215 Sets the Hold value to Maximum Example This command sets the hold value to minimum CALC2:HOLD:STAT MIN power detected for the lower window/upper measurement. Reset condition On reset, the hold value state is set to OFF. Keysight N432A Programming Guide...
  • Page 216 CALCulate Subsystem Query CALC[1]|2|3|4:HOLD:STATe? This query returns the current state of the hold value. Query example Queries the state of the hold value for the lower CALC2:HOLD:STAT? window/upper measurement. Keysight N432A Programming Guide...
  • Page 217 A feed of “” (empty string) disables the CALC block and switches off that display line. Example This command sets the input measurement mode CALC:FEED1 “POW:AVER” for feed 1 of the CALC1 block to average power. Keysight N432A Programming Guide...
  • Page 218 This query returns the current input measurement mode for the specified CALC block and feed. Query example Queries the input measurement mode for feed 2 of the CALC1:FEED2? upper window/upper measurement. Error message If the command is executed when no sensor is attached, error –241,“Hardware missing” occurs. Keysight N432A Programming Guide...
  • Page 219 These commands are used to enter and enable a display offset on the specified window/measurement. The display offset is applied to the measured power after any channel offset or mathematical functions have been included. The following commands are detailed in this section: CALCulate[1]|2|3|4:GAIN[:MAGNitude] <numeric value> CALCulate[1]|2|3|4:GAIN:STATe <boolean> Keysight N432A Programming Guide...
  • Page 220 –100.000 dB to +100.000 dB – DEF: The default value is 0 dB numeric_value – MIN: –100.000 dB – MAX: +100.000 dB Example This command sets a display offset of 20 dB for the lower CALC2:GAIN 20 window/upper measurement. Keysight N432A Programming Guide...
  • Page 221 CALCulate[1]|2|3|4:GAIN[:MAGNitude]? [MIN|MAX] This query returns the current setting of the display offset or the value associated with MIN and MAX. Query example Queries the current setting of the display offset on the upper CALC1:GAIN? window/upper measurement. Keysight N432A Programming Guide...
  • Page 222 This query enters a 1 or 0 into the output buffer indicating the status of the display offset. – 1 is returned when the display offset is enabled – 0 is returned when the display offset is disabled Keysight N432A Programming Guide...
  • Page 223 CALCulate Subsystem Query example Queries whether the display offset in the upper window/ CALC:GAIN:STAT? upper measurement is enabled or disabled. Keysight N432A Programming Guide...
  • Page 224 – Set upper and lower level limits – Query if there has been a failure – Count the number of failures – Clear the counter The following commands are detailed in this section: CALCulate[1]|2|3|4:LIMit:CLEar:AUTo <boolean> CALCulate[1]|2|3|4:LIMit:CLEar[IMMediate] CALCulate[1]|2|3|4:LIMit:FAIL? CALCulate[1]|2|3|4:LIMit:FCOunt? CALCulate[1]|2|3|4:LIMit:LOWer[:DATA] CALCulate[1]|2|3|4:LIMit:UPPer[:DATA] CALCulate[1]|2|3|4:LIMit:STATe <boolean> Keysight N432A Programming Guide...
  • Page 225 – If ONCE is specified, the FCO is cleared only after the first initialization then starts accumulating any limit failures. Syntax 0|OFF Space :AUTO CALC :LIM :CLE 1|ON ONCE Example This command switches on automatic clearing of CALC:LIM:CLE:AUTO 1 the FCO for the upper window/upper measurement. Keysight N432A Programming Guide...
  • Page 226 In the case where limit failures are cleared once, when a query occurs, a 1 is entered into the output buffer if no measurement is initiated. If a measurement is initiated, then 0 is entered. Query example Queries whether the FCO is cleared for the lower CALC4:LIM:CLE:AUTO? window/lower measurement. Keysight N432A Programming Guide...
  • Page 227 This command immediately clears the fail counter (FCO) of any limit failures for the specified window/measurement. The FCO is used to determine the results returned by the CALCulate[1]|2|3|4:LIMit:FAIL? query. Syntax :IMM :LIM :CLE CALC Example This command immediately clears the FCO for the lower CALC2:LIM:CLE window/upper measurement. Keysight N432A Programming Guide...
  • Page 228 CALC :FAIL :LIM Example Queries if there have been any limit failures for the CALC1:LIM:FAIL? upper window/upper measurement. Reset condition On reset, the buffer is set to zero for both the upper and lower windows/ measurements. Keysight N432A Programming Guide...
  • Page 229 – measured using MEASure? – read using READ? – initiated using: – INITiate[:IMMediate] or, – INITiate:CONTinuous ON The maximum number of errors is 2 –1. If more than 2 –1 errors are detected, the counter returns to zero. Keysight N432A Programming Guide...
  • Page 230 Syntax :LIM :FCO CALC Example Queries the number of limit failures for the upper CALC:LIM:FCO? window/upper measurement. Reset condition On reset, the counter is set to zero for both measurements of the upper and lower windows. Keysight N432A Programming Guide...
  • Page 231 When the measured value is greater than or equal to the limit, a fail is not reported. Table 4-1 Measurement units CALC:REL:STAT OFF CALC:REL:STAT ON Measurement mode Linear Linear Watt Single Ratio Watt Difference Syntax Space numeric_value :LOW :DATA CALC :LIM Space Keysight N432A Programming Guide...
  • Page 232 This query returns the current setting of the lower limit or the values associated with MIN and MAX for the specified window/measurement. Query example Queries the lower limit setting of the lower window/ upper CALC2:LIM:LOW? measurement. Keysight N432A Programming Guide...
  • Page 233 When the measured power is less than or equal to the limit, a fail is not reported. Table 4-2 Measurement units CALC:REL:STAT OFF CALC:REL:STAT ON Measurement mode Linear Linear Watt Single Ratio Watt Difference Syntax Space numeric_value :UPP :DATA :LIM CALC Space Keysight N432A Programming Guide...
  • Page 234 This query returns the current setting of the upper limit or the values associated with MIN and MAX for the specified window/measurement. Query example Queries the upper limit setting of the lower window/ CALC2:LIM:UPP? upper measurement. Keysight N432A Programming Guide...
  • Page 235 This query enters 1 or 0 into the output buffer indicating the status of the limit-checking function for the specified window/measurement. – 1 is returned if limit checking is enabled. – 0 is returned if limit checking is disabled. Keysight N432A Programming Guide...
  • Page 236 CALCulate Subsystem Query example Queries whether limit checking for the upper window/ CALC:LIM:STAT? upper measurement is enabled or disabled. Keysight N432A Programming Guide...
  • Page 237 CALCulate Subsystem CALCulate[1]|2|3|4:MATH Commands These commands configure and perform the following mathematical transformations on SENSe data: – Single – Difference – Ratio The following commands are detailed in this section: CALCulate[1]|2|3|4:MATH[:EXPRession] <string> CALCulate[1]|2|3|4:MATH[:EXPRession]:CATalog? Keysight N432A Programming Guide...
  • Page 238 [a] Quotes are mandatory. Either single or double quotes may be used. [b] The mathematical operation will be performed in the linear scale. Example This command sets the lower window/ CALC2:MATH "(SENS1/SENS1)" upper measurement to make a Channel A/A ratio measurement. Keysight N432A Programming Guide...
  • Page 239 On reset, the upper and lower window measurements are set to "(SENS1)". Query CALCulate[1]|2|3|4:MATH[:EXPRession]? This query returns the current math measurement setting of the specified window/ measurement. Query example Queries the current setting of the math expression for the CALC:MATH? upper window/upper measurement. Keysight N432A Programming Guide...
  • Page 240 This query lists all the defined math expressions in the form of comma-separated strings as follows: "(SENS1)","(SENS1/SENS1)","(SENS1-SENS1)" Each string contains a math expression. Syntax :CAT :EXPR :MATH CALC Example Lists all the defined math expressions. CALC:MATH:CAT? Keysight N432A Programming Guide...
  • Page 241 These commands enable comparison of a measurement result to a reference value. Within the CALCulate block, the relative value is applied to the measurement signal after any math calculations and display offsets have been included. The commands are described in this section: CALCulate[1]|2|3|4:RELative[:MAGNitude]:AUTO <boolean>|ONCE CALCulate[1]|2|3|4:RELative:STATe <boolean> Keysight N432A Programming Guide...
  • Page 242 If 1|ON is selected, it causes error –224,“Illegal parameter value” to occur. Syntax Space :MAGN :AUTO 1|ON :REL CALC 0|OFF ONCE Example This command sets a reference value to be used in CALC:REL:AUTO ONCE the relative measurement on the upper window/ upper measurement. Keysight N432A Programming Guide...
  • Page 243 CALCulate Subsystem Query CALCulate[1]|2|3|4:RELative[:MAGNitude]:AUTO? This query always returns OFF. Error message If the command parameter is set to ON, error –224,“Illegal parameter value” occurs. Keysight N432A Programming Guide...
  • Page 244 This query enters a 1 or 0 into the output buffer indicating the status of the relative mode. – 1 is returned if the relative mode is enabled. – 0 is returned if the relative mode is disabled. Keysight N432A Programming Guide...
  • Page 245 CALCulate Subsystem Query example Queries whether the relative mode is enabled or disabled CALC:REL:STAT? for the upper window/upper measurement. Keysight N432A Programming Guide...
  • Page 246 CALCulate Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight N432A Programming Guide...
  • Page 247 Keysight N432A Thermistor Power Meter Programming Guide CALibration Subsystem CALibration Subsystem CALibration[1]:RCFactor <numeric_value> CALibration[1]:ZERO:AUTO <boolean>|ONCE This chapter explains how the CALibration command subsystem is used to perform zeroing and configure the reference calibration factor on the N432A.
  • Page 248 CALibration Subsystem CALibration Subsystem CALibration commands are used to perform zeroing on the N432A as well as apply the reference calibration factor for the thermistor sensor being used. The numeric suffix of the CALibration command (CALibration1) represents channel A. Zeroing of the N432A is recommended: –...
  • Page 249 CALibration[1]:RCFactor <numeric_value> This command is used to set the value for the reference calibration factor. The reference calibration factor can also be set from the sensor calibration table. The N432A uses the most recently set reference calibration factor. Syntax Space...
  • Page 250 On reset, the reference calibration factor is set to 100%. Query CALibration[1]:RCFactor? [MIN|MAX] This query returns the current setting of the reference calibration factor or the values associated with MIN and MAX. Query example Queries the current reference calibration factor setting. CAL:RCF? Keysight N432A Programming Guide...
  • Page 251 CALibration[1]:ZERO:AUTO <boolean>|ONCE This command causes the N432A to perform its zeroing routine when enabled. This adjusts the N432A for a zero power reading with no power supplied to the thermistor sensor. 1|ON is ignored in this command. Only ONCE can be specified to initiate zeroing on the N432A.
  • Page 252 – If CAL:ZERO:AUTO is set to ON and an incompatible sensor is connected, error –241,“Hardware missing” occurs. – If zeroing was not carried out successfully, error –231,“Data Questionable; ZERO ERROR” occurs. – If there is no sensor connected, error –241,“Hardware missing” occurs. Keysight N432A Programming Guide...
  • Page 253 DISPlay[:WINDow[1]|2]:ANALog Commands DISPlay[:WINDow[1]|2]:ANALog:LOWer <numeric_value> DISPlay[:WINDow[1]|2]:ANALog:UPPer <numeric_value> DISPlay[:WINDow[1]|2]:FORMat <character_data> DISPlay[:WINDow[1]|2]:METer Commands DISPlay[:WINDow[1]|2]:METer:LOWer <numeric_value> DISPlay[:WINDow[1]|2]:METer:UPPer <numeric_value> DISPlay[:WINDow[1]|2]:NUMeric[1]|2:RESolution <numeric_value> DISPlay[:WINDow[1]|2]:SELect[1]|2 DISPlay[:WINDow[1]|2][:STATe] <boolean> This chapter explains how the DISPlay subsystem is used to control the selection and presentation of the windows on the N432A display.
  • Page 254 DISPlay Subsystem DISPlay Subsystem The DISPlay subsystem enables you to configure the windows used on the N432A display. Keyword Parameter form Note Page DISPlay page 255 :ENABle <boolean> :SCReen page 256 :FORMat <character_data> [:WINDow[1]|2] :ANALog page 260 :LOWer <numeric_value> page 262 :UPPer <numeric_value>...
  • Page 255 This query enters a 1 or 0 into the output buffer indicating whether the display is enabled or disabled. – 1 is returned if the display is enabled – 0 is returned if the display is disabled Query example Queries whether the display is turned on or off. DISP:ENAB? Keysight N432A Programming Guide...
  • Page 256 – FSCReen: The full screen format provides one display window which displays a single measurement. This display format does not provide access to softkeys. Example This command sets the display format to full DISP:SCR:FORM FSCR screen. Keysight N432A Programming Guide...
  • Page 257 DISPlay Subsystem Reset condition On reset, the display format is WINDowed. Query DISPlay:SCReen:FORMat? This query returns the current display format of either WIND, EXP, or FSCR. Query example Queries the display format. DISP:SCR:FORM? Keysight N432A Programming Guide...
  • Page 258 These commands control various characteristics of the display windows. WINDow1 and WINDow2 represent the upper window and lower window respectively. The following commands are detailed in this section: DISPlay[:WINDow[1]|2]:ANALog:LOWer <numeric_value> DISPlay[:WINDow[1]|2]:ANALog:UPPer <numeric_value> DISPlay[:WINDow[1]|2]:FORMat <character_data> DISPlay[:WINDow[1]|2]:METer:LOWer <numeric_value> DISPlay[:WINDow[1]|2]:METer:UPPer <numeric_value> DISPlay[:WINDow[1]|2]:NUMeric[1]|2:RESolution <numeric_value> DISPlay[:WINDow[1]|2]:SELect[1]|2 DISPlay[:WINDow[1]|2][:STATe] <boolean> Keysight N432A Programming Guide...
  • Page 259 DISPlay Subsystem DISPlay[:WINDow[1]|2]:ANALog Commands These commands control the upper and lower scale limits of the analog meter. The following commands are detailed in this section: DISPlay[:WINDow[1]|2]:ANALog:LOWer <numeric_value> DISPlay[:WINDow[1]|2]:ANALog:UPPer <numeric_value> Keysight N432A Programming Guide...
  • Page 260 The units used are dependent on the current settings of UNIT:POWer and CALCulate:RELative:STATe as shown in the following table. Table 6-1 Measurement units CALC:REL:STAT OFF CALC:REL:STAT ON Measurement type Measurement mode Linear Linear Single Watt Ratio Difference Watt Syntax Space numeric_value DISP :WIND :ANAL :LOW Space Keysight N432A Programming Guide...
  • Page 261 UNIT:POWer and CALCulate:RELative:STATe as shown in Table 6-1. Query example This command queries the lower scale limit set on DISP:WIND1:ANAL:LOW? the analog meter in the upper window. Keysight N432A Programming Guide...
  • Page 262 The units used are dependent on the current settings of UNIT:POWer and CALCulate:RELative:STATe as shown in the following table. Table 6-2 Measurement units CALC:REL:STAT OFF CALC:REL:STAT ON Measurement type Measurement mode Linear Linear Single Watt Ratio Difference Watt Syntax Space numeric_value :ANAL DISP :WIND :UPP Space Keysight N432A Programming Guide...
  • Page 263 UNIT:POWer and CALCulate:RELative:STATe as shown in Table 6-2. Query example Queries the upper scale limit set on the analog DISP:WIND2:ANAL:UPP? meter in the lower window. Keysight N432A Programming Guide...
  • Page 264 Example This command sets the lower window to a digital DISP:WIND2:FORM DIG display. Reset condition On reset, the upper window is set to a digital display and the lower window is set to an analog display. Keysight N432A Programming Guide...
  • Page 265 DISPlay Subsystem Query DISPlay[:WINDow[1]|2]:FORMat? This query returns the current display format of the selected window. Query example Queries the current display format of the upper window. DISP:FORM? Keysight N432A Programming Guide...
  • Page 266 DISPlay Subsystem DISPlay[:WINDow[1]|2]:METer Commands These commands control the upper and lower scale limits of the analog meter. The following commands are detailed in this section: DISPlay[:WINDow[1]|2]:METer:LOWer <numeric_value> DISPlay[:WINDow[1]|2]:METer:UPPer <numeric_value> Keysight N432A Programming Guide...
  • Page 267 The units used are dependent on the current settings of UNIT:POWer and CALCulate:RELative:STATe as shown in the following table. Table 6-3 Measurement units CALC:REL:STAT OFF CALC:REL:STAT ON Measurement type Measurement mode Linear Linear Single Watt Ratio Difference Watt Syntax Space numeric_value DISP :MET :LOW :WIND Space Keysight N432A Programming Guide...
  • Page 268 UNIT:POWer and CALCulate:RELative:STATe as shown in Table 6-3. Query example Queries the lower scale limit set on the analog meter in the DISP:MET:LOW? upper window. Keysight N432A Programming Guide...
  • Page 269 The units used are dependent on the current settings of UNIT:POWer and CALCulate:RELative:STATe as shown in the following table. Table 6-4 Measurement units CALC:REL:STAT OFF CALC:REL:STAT ON Measurement type Measurement mode Linear Linear Single Watt Ratio Difference Watt Syntax Space numeric_value DISP :WIND :MET :UPP Space Keysight N432A Programming Guide...
  • Page 270 UNIT:POWer and CALCulate:RELative:STATe as shown in Table 6-4. Query example Queries the upper scale limit set on the analog DISP:WIND2:MET:UPP? meter in the lower window. Keysight N432A Programming Guide...
  • Page 271 – MIN: 1 – MAX: 4 Example This command sets the lower window/upper DISP:WIND2:NUM1:RES 4 measurement resolution to four significant digits if the measurement result is linear, or to 0.001 if the measurement result is logarithmic. Keysight N432A Programming Guide...
  • Page 272 DISPlay[:WINDow[1]|2]:NUMeric[1]|2:RESolution? [MIN|MAX] This query returns the current setting of the window/measurement resolution or the value associated with MIN or MAX. The response format is <NR1>. Query example Queries the resolution setting of the upper DISP:WIND:NUM2:RES? window/lower measurement. Keysight N432A Programming Guide...
  • Page 273 – 1 is returned if the specified measurement of the specified window is selected – 0 is returned if the specified measurement of the specified window is not selected Keysight N432A Programming Guide...
  • Page 274 DISPlay Subsystem Query example Queries whether the upper measurement of the upper DISP:SEL1? window is selected. Keysight N432A Programming Guide...
  • Page 275 This command enables the lower window so DISP:WIND2:STAT ON that a dual window display is once more provided. Reset condition On reset, both the upper and lower windows are enabled. Keysight N432A Programming Guide...
  • Page 276 This query enters a 1 or 0 in the output buffer indicating the state of the selected window. – 1 is returned if the window is enabled. – 0 is returned if the window is disabled. Query example Queries whether the lower window is displayed. DISP:WIND2:STAT? Keysight N432A Programming Guide...
  • Page 277 Keysight N432A Thermistor Power Meter Programming Guide FORMat Subsystem FORMat Subsystem FORMat[:READings]:BORDer <character_data> FORMat[:READings][:DATA] <character_data> This chapter explains how the FORMat subsystem is used to set the data format for transferring numeric information.
  • Page 278 This data format is used only for response data by the queries that are affected by the FORMat subsystem. The queries affected are: – FETCh? – READ? – MEASure? Keyword Parameter form Note Page FORMat [:READings] page 279 :BORDer <character_data> page 281 [:DATA] <character_data> Keysight N432A Programming Guide...
  • Page 279 Byte order of binary data transfer: NORMal character_data – NORMal SWAPped – SWAPped Example This command sets the swapped byte order of the FORM:BORD SWAP binary data transfer. Reset condition On reset, the byte order is set to NORMal. Keysight N432A Programming Guide...
  • Page 280 FORMat Subsystem Query FORMat[:READings]:BORDer? This query returns the current setting of the byte order in the form of NORMal or SWAPped. Query example Queries the current byte order setting. FORM:BORD? Keysight N432A Programming Guide...
  • Page 281 Range of values Data format for transferring data: ASCii character_data – ASCii REAL – REAL Example This command sets the data format to REAL. FORM REAL Reset condition On reset, the data format is set to ASCii. Keysight N432A Programming Guide...
  • Page 282 FORMat Subsystem Query FORMat[:READings][:DATA]? This query returns the current setting of data format in the form of ASCii or REAL. Query example Queries the current data format setting. FORM? Keysight N432A Programming Guide...
  • Page 283 Keysight N432A Thermistor Power Meter Programming Guide HCOPy Subsystem HCOPy Subsystem HCOPy:SDUMp:DATA? HCOPy:SDUMp:DATA:FORMat BMP|PNG This chapter explains how the HCOPy subsystem is used to output the screen image and select the image file format.
  • Page 284 HCOPy Subsystem HCOPy Subsystem The HCOPy subsystem is used to output the N432A front panel display as an image file and to select the file format. Keyword Parameter form Note Page HCOPy :SDUMp [query only] page 285 :DATA? :DATA page 286...
  • Page 285 HCOPy Subsystem HCOPy:SDUMp:DATA? This query returns the current screen image from the N432A as a file. The image file is in a format specified by the HCOPy:SDUMp:DATA:FORMat command. Syntax :SDUM :DATA HCOP Example Outputs the current screen image. HCOP:SDUM:DATA? Keysight N432A Programming Guide...
  • Page 286 Range of values Available image format: format – Bitmap: BMP – Portable Network Graphics: PNG Example This command sets the screen image file HCOP:SDUM:DATA:FORM BMP format to bitmap. Reset condition On reset, the file format is PNG. Keysight N432A Programming Guide...
  • Page 287 HCOPy Subsystem Query HCOPy:SDUMp:DATA:FORMat? This query returns the current format of the screen image file in the form of BMP or PNG. Query example Queries the current screen image file format. HCOP:SDUM:DATA:FORM? Keysight N432A Programming Guide...
  • Page 288 HCOPy Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight N432A Programming Guide...
  • Page 289 Keysight N432A Thermistor Power Meter Programming Guide LXI Subsystem LXI Subsystem LXI:IDENtify[:STATe] <boolean> This chapter describes how the LXI subsystem is used to configure the LXI identification state.
  • Page 290 LXI Subsystem LXI Subsystem The LXI subsystem is used to enable or disable LXI identification. Keyword Parameter form Note Page :IDENtify page 291 [:STATe] <boolean> Keysight N432A Programming Guide...
  • Page 291 This query enters a 1 or 0 into the output buffer indicating the status of the LXI identification: – 1 is returned if LXI identification is enabled. – 0 is returned if LXI identification is disabled. Query example Queries whether LXI identification is enabled or disabled. LXI:IDEN? Keysight N432A Programming Guide...
  • Page 292 LXI Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight N432A Programming Guide...
  • Page 293 Keysight N432A Thermistor Power Meter Programming Guide MEMory Subsystem MEMory Subsystem MEMory[:METer][1]:CATalog Queries MEMory[:METer][1]:CATalog[:ALL]? MEMory[:METer][1]:CATalog:STATe? MEMory[:METer][1]:CATalog:TABLe? MEMory[:METer][1]:CLEar Commands MEMory[:METer][1]:CLEar[:NAME] <character_data> MEMory[:METer][1]:CLEar:TABLe MEMory[:METer][1]:FREE Queries MEMory[:METer][1]:FREE[:ALL]? MEMory[:METer][1]:FREE:STATe? MEMory[:METer][1]:FREE:TABLe? MEMory[:METer][1]:NSTates? MEMory[:METer][1]:STATe Commands MEMory[:METer][1]:STATe:CATalog? MEMory[:METer][1]:STATe:DEFine <character_data>,<numeric_value> MEMory[:METer][1]:TABLe Commands MEMory[:METer][1]:TABLe:FREQuency <numeric_value>{,<numeric_value>} MEMory[:METer][1]:TABLe:FREQuency:POINts? MEMory[:METer][1]:TABLe:GAIN[:MAGNitude] <numeric_value>{,<numeric_value>} MEMory[:METer][1]:TABLe:GAIN[:MAGNitude]:POINts? MEMory[:METer][1]:TABLe:MOVE <character_data>,<character_data>...
  • Page 294 – Edit, review, and store frequency-dependent offset tables. – Edit and review save/recall registers Stored tables remain in the N432A memory during power down. The N432A is capable of storing 20 sensor calibration tables and 10 frequency-dependent offset tables of 80 frequency points each.
  • Page 295 MEMory Subsystem Keyword Parameter form Note Page [query only] page 319 :POINts? :GAIN [:MAGNitude] <numeric_value> page 320 [,<numeric_value>] [query only] page 322 :POINts? :MOVE <character_data>, [no query] page 323 <character_data> [no query] page 325 :SELect <character_data> Keysight N432A Programming Guide...
  • Page 296 These queries are used to retrieve information on the current contents of the N432A as follows: – Sensor calibration tables – Frequency-dependent offset tables – Save/recall registers The following queries are detailed in this section: MEMory[:METer][1]:CATalog[:ALL]? MEMory[:METer][1]:CATalog:STATe? MEMory[:METer][1]:CATalog:TABLe? Keysight N432A Programming Guide...
  • Page 297 ,"State6,STAT,0","State7,STAT,0","State8,STAT,0","State9,STAT,0 ","State10,STAT,0" The N432A is shipped with a set of predefined sensor calibration tables. The data in these tables is based on statistical averages for a range of Keysight thermistor sensors. These tables can be edited and are as listed below.
  • Page 298 8478B There are also 17 sensor calibration tables named CUSTOM_0 through NOTE CUSTOM_16 and ten frequency-dependent offset tables named CUSTOM _A through CUSTOM _J which do not contain any data when the N432A is shipped from the factory. Syntax :CAT...
  • Page 299 MEMory Subsystem MEMory[:METer][1]:CATalog:STATe? This query is used to list the save/recall registers. The N432A returns the data in the form of two numeric parameters and as many strings as there are save/recall registers. <numeric_value>,<numeric_value>{,<string>} – The first numeric parameter indicates the amount of memory (in bytes) used for the storage of registers.
  • Page 300 MEMory[:METer][1]:CATalog:TABLe? This query is used to list the stored sensor calibration and frequency-dependent offset tables. The N432A returns the data in the form of two numeric parameters and as many strings as there are stored tables. <numeric_value>,<numeric_value>{,<string>} – The first numeric parameter indicates the amount of memory (in bytes) used for the storage of tables.
  • Page 301 MEMory Subsystem The N432A is shipped with a set of predefined sensor calibration tables. The data in these tables is based on statistical averages for a range of Keysight thermistor sensors. These tables can be edited and are as listed below.
  • Page 302 The following commands are detailed in this section: MEMory[:METer][1]:CLEar[:NAME] <character_data> MEMory[:METer][1]:CLEar:TABLe The contents cleared using these commands are non-recoverable. NOTE Keysight N432A Programming Guide...
  • Page 303 Description/Defaul t Range of values Contains an existing table name or save/ Any existing table name or save/recall character_data recall register register Example This command clears the contents of sensor calibration MEM:CLE "478A" table 478A. Error message Keysight N432A Programming Guide...
  • Page 304 MEMory Subsystem If the table or save/recall register name does not exist, error –224,“Illegal parameter value” occurs. Keysight N432A Programming Guide...
  • Page 305 The contents cleared using this command are non-recoverable. NOTE Syntax :CLE :TABL :MET Example This command clears the contents of the currently MEM:CLE:TABL selected table. Error message If no table is selected, error –221,“Settings conflict” occurs. Keysight N432A Programming Guide...
  • Page 306 These queries are used to retrieve information on the amount of free memory space available for sensor calibration tables, frequency-dependent offset tables, and save/recall registers. The following queries are described in this section: MEMory[:METer][1]:FREE[:ALL]? MEMory[:METer][1]:FREE:STATe? MEMory[:METer][1]:FREE:TABLe? Keysight N432A Programming Guide...
  • Page 307 This query returns the amount of free memory space for sensor calibration tables, frequency-dependent offset tables, and save/recall registers. The response format <bytes_available>,<bytes_in_use> Syntax :FREE :MET :ALL Example Queries the total amount of free memory space. MEM:FREE? Keysight N432A Programming Guide...
  • Page 308 MEMory Subsystem MEMory[:METer][1]:FREE:STATe? This query returns the amount of free memory space for save/recall registers. The response format is: <bytes_available>,<bytes_in_use> Syntax :FREE :MET :STAT Example Queries the amount of free memory space for save/ MEM:FREE:STAT? recall registers. Keysight N432A Programming Guide...
  • Page 309 This query returns the amount of free memory space for sensor calibration and frequency-dependent offset tables. The response format is: <bytes_available>,<bytes_in_use> Syntax :FREE :MET :TABL Example Queries the amount of free memory space for tables. MEM:FREE:TABL? Keysight N432A Programming Guide...
  • Page 310 MEMory[:METer][1]:NSTates? This query returns the number of registers that are available for save/recall. As there are ten registers, this query always returns ten. Syntax :NST :MET Example Queries the number of registers available for save/recall. MEM:NST? Keysight N432A Programming Guide...
  • Page 311 MEMory Subsystem MEMory[:METer][1]:STATe Commands These commands are used to query and define register names. The following commands are described in this section: MEMory[:METer][1]:STATe:CATalog? MEMory[:METer][1]:STATe:DEFine Keysight N432A Programming Guide...
  • Page 312 MEMory Subsystem MEMory[:METer][1]:STATe:CATalog? This query returns a list of the save/recall register names in the ascending order of the register number. The response format is: <string>,<string>,..,<string> Syntax :STAT :CAT :MET Example Queries the register names. MEM:STAT:CAT? Keysight N432A Programming Guide...
  • Page 313 _ (underscore) numeric_value A numeric value (<NR1>) for the register number 0 to 9 Example This command names register 4 SETUP1. MEM:STAT:DEF "SETUP1",4 Query MEMory[:METer][1]:STATe:DEFine? <character_data> The query returns the register number for the given register name. Keysight N432A Programming Guide...
  • Page 314 – If the register number is out of range, error –222,“Data out of range” occurs. – If the name is invalid, error –224,“Illegal parameter value” occurs. – If a register or sensor calibration table with the same name already exists, error –257,“File name error” occurs (command only). Keysight N432A Programming Guide...
  • Page 315 These commands are used to define a sensor calibration table or a frequency-dependent offset table, and to write to and read data from it. The following commands are described in this section: MEMory[:METer][1]:TABLe:FREQuency <numeric_value>{,<numeric_value>} MEMory[:METer][1]:TABLe:FREQuency:POINts? MEMory[:METer][1]:TABLe:GAIN[:MAGNitude] <numeric_value>{,<numeric_value>} MEMory[:METer][1]:TABLe:GAIN[:MAGNitude]:POINts? MEMory[:METer][1]:TABLe:MOVE <character_data>,<character_data> MEMory[:METer][1]:TABLe:SELect <character_data> Keysight N432A Programming Guide...
  • Page 316 Ensure that the frequency points you use cover the frequency range of the signals that you want to measure. If you measure a signal with a frequency outside the frequency range defined in the table, then the N432A uses the highest or lowest point in the table to calculate the calibration factor/offset.
  • Page 317 600 kHz into the currently selected table. Query MEMory[:METer][1]:TABLe:FREQuency? This query returns a list of frequency points in Hz for the currently selected table. Query example Queries the frequency points in the currently selected MEM:TABL:FREQ? table. Keysight N432A Programming Guide...
  • Page 318 – If a table has not been specified using the MEMory:TABLe:SELect command, the data cannot be entered into the table and error –221,“Settings conflict” occurs. – If a frequency is sent which is outside of the allowed frequency range, error –222,“Data out of range” occurs. Keysight N432A Programming Guide...
  • Page 319 The response format is <NRf>. If no frequency values have been set, this command returns a 0. If no table is selected, this command returns NAN. Syntax :TABL :MET :FREQ :POIN Example Queries the number of frequency points in the MEM:TABL:FREQ:POIN? current table. Keysight N432A Programming Guide...
  • Page 320 For sensor calibration tables, the number of frequency points must be one less than the number of calibration factor data points. This is verified when the sensor calibration table is selected using SENSe:CORRection:CSET1:SELect <string>. Syntax Space :TABL :GAIN :MAGN numeric_value :MET Keysight N432A Programming Guide...
  • Page 321 – If a table is not specified using the MEMory:TABLe:SELect command, the data cannot be entered and error –221,“Settings conflict” occurs. – If any of the calibration factors/offsets are outside of the allowed range, error –222,“Data out of range” occurs. Keysight N432A Programming Guide...
  • Page 322 If no values have been set, 0 is returned. If no table is selected, NAN is returned. Syntax :TABL :GAIN :MAGN :POIN :MET Example Queries the number of calibration factor/offset MEM:TABL:GAIN:POIN? points in the current table. Keysight N432A Programming Guide...
  • Page 323 (lowercase) character_data Specifies the new table name. A maximum of (2nd parameter) 12 characters can be used. 0 to 9 _ (underscore) Example This command renames a table MEM:TABL:MOVE "tab1","tab1a" named tab1 to tab1a. Keysight N432A Programming Guide...
  • Page 324 – If the first parameter does not match an existing table name, error –256,“File name not found” occurs. – If the second parameter matches an existing table name or save/recall register, error –257,“File name error” occurs. Keysight N432A Programming Guide...
  • Page 325 _ (underscore) Example This command selects a sensor calibration MEM:TABL:SEL "Sensor1" table named “Sensor1”. Query MEMory[:METer][1]:TABLe:SELect? This query returns the name of the currently selected table. Query example Queries the name of the current table. MEM:TABL:SEL? Keysight N432A Programming Guide...
  • Page 326 MEMory Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight N432A Programming Guide...
  • Page 327 Keysight N432A Thermistor Power Meter Programming Guide OUTPut Subsystem OUTPut Subsystem OUTPut:RECorder[1]:FEED <data_handle> OUTPut:RECorder[1]:LIMit:AUTO <boolean> OUTPut:RECorder[1]:LIMit:LOWer <numeric_value> OUTPut:RECorder[1]:LIMit:UPPer <numeric_value> OUTPut:RECorder[1]:STATe <boolean> OUTPut:ROSCillator[:STATe] <boolean> This chapter explains how the OUTPut command subsystem is used to configure the N432A recorder and POWER REF outputs.
  • Page 328 POWER REF output. Keyword Parameter form Note Page OUTPut :RECorder[1] page 329 :FEED <data_handle> :LIMit page 331 :AUTO <boolean> page 333 :LOWer <numeric_value> page 335 :UPPer <numeric_value> page 337 :STATe <boolean> :ROSCillator page 338 [:STATe] <boolean> Keysight N432A Programming Guide...
  • Page 329 The CALC block specifying the measurement to “CALC2” data_handle be sent to the recorder output “CALC3” “CALC4” Example This command sends the CALC1 OUTP:REC:FEED “CALC1” measurement to the recorder output. Reset condition On reset, data_handle is set to its previous value. Keysight N432A Programming Guide...
  • Page 330 OUTPut Subsystem Query OUTPut:RECorder[1]:FEED? This query returns the current value of data_handle for the recorder output. Query example Queries the value of data_handle for the recorder OUTP:REC:FEED? output. Keysight N432A Programming Guide...
  • Page 331 OUTPut Subsystem OUTPut:RECorder[1]:LIMit:AUTO <boolean> This command enables or disables autoscaling for the recorder output. Presetting the N432A disables the autoscaling. Syntax Space OUTP 0|OFF :REC :LIM :AUTO 1|ON Example This command enables autoscaling for the OUTP:REC:LIM:AUTO 1 recorder output. Query...
  • Page 332 OUTPut Subsystem Error message If OUTPut:RECorder[1]:LIMit:AUTO is set to ON while CALCulate[1]|2|3|4:MATH[:EXPRession] is set to a difference or ratio measurement, error –221,“Settings conflict” occurs. Keysight N432A Programming Guide...
  • Page 333 CALC block specified in 0% to 999% OUTPut:RECorder[1]:FEED <data_handle>. Example This command sets the minimum scaling value to OUTP:REC:LIM:LOW –90 –90 dBm for the recorder output. Reset condition On reset, the minimum scaling value is set to –150 dBm. Keysight N432A Programming Guide...
  • Page 334 OUTPut Subsystem Query OUTPut:RECorder[1]:LIMit:LOWer? This query returns the minimum scaling value for the recorder output. Query example Queries the minimum scaling value for the recorder OUTP:REC:LIM:LOW? output. Keysight N432A Programming Guide...
  • Page 335 0 % to 999 % OUTPut:RECorder[1]:FEED <data_handle>. Example This command sets the maximum scaling value to OUTP:REC:LIM:UPP 10 10 for the recorder output. Reset condition On reset, the maximum scaling value is set to 20 dBm. Keysight N432A Programming Guide...
  • Page 336 OUTPut Subsystem Query OUTPut:RECorder[1]:LIMit:UPPer? This query returns the maximum scaling value for the recorder output. Query example Queries the maximum scaling value for the recorder OUTP:REC:LIM:UPP? output. Keysight N432A Programming Guide...
  • Page 337 – 1 is returned when the recorder output is turned ON. – 0 is returned when the recorder output is turned OFF. Query example Queries the status of the recorder output. OUTP:REC:STAT? Keysight N432A Programming Guide...
  • Page 338 REF output is enabled or disabled. – 1 is returned when the POWER REF output is enabled. – 0 is returned when the POWER REF output is disabled. Query example Queries the status of the POWER REF output. OUTP:ROSC? Keysight N432A Programming Guide...
  • Page 339 Keysight N432A Thermistor Power Meter Programming Guide SENSe Subsystem SENSe Subsystem [SENSe[1]:]AVERage Commands [SENSe[1]:]AVERage:COUNt:VOLTage <character_data> [SENSe[1]:]AVERage:SDETect <boolean> [SENSe[1]:]BRESistance <character_data> [SENSe[1]:]RSELection <character_data> [SENSe[1]:]RVALue <numeric_value> [SENSe[1]:]CORRection Commands [SENSe[1]:]CORRection:CFACtor|GAIN[1][:INPut][:MAGNitude] <numeric_value> [SENSe[1]:]CORRection:CSET[1] Commands [SENSe[1]:]CORRection:CSET2 Commands [SENSe[1]:]CORRection:CSET[1][:SELect] <string> [SENSe[1]:]CORRection:CSET2[:SELect] <string> [SENSe[1]:]CORRection:CSET[1]:STATe <boolean> [SENSe[1]:]CORRection:CSET2:STATe <boolean> [SENSe[1]]|2|3|4:CORRection:DCYCle|GAIN3 Commands [SENSe[1]:]CORRection:DCYCle|GAIN3[:INPut][:MAGNitude] <numeric_value>...
  • Page 340 The SENSe subsystem is optional since this is the primary function of the N432A. The high-level command CONFigure uses the SENSe commands to prepare the N432A for making measurements. At a lower level, SENSe enables you to change the AVERage, BRESistance, RSELection, RVALue, FREQuency, and CORRection parameters without completely reconfiguring the N432A.
  • Page 341 SENSe Subsystem Keyword Parameter form Note Page :FDOFfset|GAIN4 [:INPut] page 371 [:MAGNitude]? [query only] :FDOFfset page 372 :UNIT <character_data> :GAIN2 page 374 :STATe <boolean> [:INPut] page 375 [:MAGNitude] <numeric_value> FREQuency page 377 [:CW|:FIXed] <numeric_value> Keysight N432A Programming Guide...
  • Page 342 SENSe Subsystem [SENSe[1]:]AVERage Commands These commands allow you to configure the voltage measurement averaging used in incident power calculation and to set the step detection. The following commands are detailed in this section: [SENSe[1]:]AVERage:COUNt:VOLTage <string> [SENSe[1]:]AVERage:SDETect <boolean> Keysight N432A Programming Guide...
  • Page 343 AVC32 – AVC32 indicates a value of 32 AVC64 AVC128 – AVC64 indicates a value of 64 – AVC128 indicates a value of 128 Reset condition On reset, the voltage average value is set to AVC16. Keysight N432A Programming Guide...
  • Page 344 [SENSe[1]:]AVERage:COUNt:VOLTage? This query returns the current setting of the voltage average. Query example Queries the voltage average setting. AVER:COUN:VOLT? Error message If the value specified for the <character_data> parameter is invalid, error –224,"Illegal parameter value" occurs. Keysight N432A Programming Guide...
  • Page 345 Under these circumstances, the value of SENS:AVER:SDET is ignored. Note also that SENS:AVER:SDET is not set by the N432A (that is, SENS:AVER:SDET retains its current setting which may indicate that step detection is turned ON).
  • Page 346 This query enters a 1 or 0 into the output buffer indicating the status of step detection: – 1 is returned when step detection is enabled – 0 is returned when step detection is disabled Query example Queries whether step detection is turned on or off. AVER:SDET? Keysight N432A Programming Guide...
  • Page 347 – R200 indicates 200 Ω R300 – R300 indicates 300 Ω R400 – R400 indicates 400 Ω Reset condition On reset, the bridge resistance is not affected. Example This command sets the bridge resistance to 100 Ω BRES R100 Keysight N432A Programming Guide...
  • Page 348 This query returns the current setting of the bridge resistance in the ohms unit. Query example Queries the bridge resistance setting. BRES? Error message If the value specified for the <character_data> parameter is invalid, error –224,"Illegal parameter value" occurs. Keysight N432A Programming Guide...
  • Page 349 Description/Defaul t Range of values MEAS character_data Character data representing the resistance type. USER Reset condition On reset, the resistance type is set to Rmeas. Example This command sets the resistance type to Rmeas. RSEL MEAS Keysight N432A Programming Guide...
  • Page 350 SENSe Subsystem Query [SENSe[1]:]RSELection? This query returns the current resistance type. Query example Queries the resistance type. RSEL? Error message If the value specified for the <character_data> parameter is invalid, error –224,"Illegal parameter value" occurs. Keysight N432A Programming Guide...
  • Page 351 Ruser must be within a ±10% tolerance level of the bridge resistance. If this value exceeds the tolerance level, it will be clipped to the upper/lower limit within tolerance. To measure the value for Ruser, refer to the N432A Thermistor Power Meter User’s Guide.
  • Page 352 – The [SENSe[1]:]RVALue command is only applicable for Ruser. If this command is sent when the resistance type is Rmeas, error –221,"Settings conflict" occurs. – If the <numeric_value> parameter exceeds the ±10% tolerance level of the bridge resistance, error –222,"Data out of range" occurs. Keysight N432A Programming Guide...
  • Page 353 They are used to enter duty cycle values, calibration factors and other external gains and losses. The following commands are detailed in this section: [SENSe[1]:]CORRection:CFACtor|GAIN[1][:INPut][:MAGNitude] <numeric_value> [SENSe[1]:]CORRection:CSET[1]|CSET2[:SELect] <string> [SENSe[1]:]CORRection:CSET[1]|CSET2:STATe <boolean> [SENSe[1]:]CORRection:DCYCle|GAIN3[:INPut][:MAGNitude] <numeric_value> [SENSe[1]:]CORRection:DCYCle|GAIN3:STATe <boolean> [SENSe[1]:]CORRection:FDOFfset|GAIN4[:INPut][:MAGNitude]? [SENSe[1]:]CORRection:FDOFfset:UNIT <character_data> [SENSe[1]:]CORRection:GAIN2:STATe <boolean> [SENSe[1]:]CORRection:GAIN2[:INPut][:MAGNitude] <numeric_value> Keysight N432A Programming Guide...
  • Page 354 This command is used to enter a gain correction value for the calibration factor. The N432A corrects every measurement by this factor to compensate for the gain. Either CFACtor or GAIN1 can be used in the command; both have an identical result.
  • Page 355 This query returns the current gain correction setting or the values associated with MIN and MAX. Query example Queries the current gain correction setting. CORR:GAIN? Error message If the [SENSe[1]:]CORRection:CFACtor|GAIN1 command is used with a sensor calibration table selected, error –221,“Settings Conflict” occurs. Keysight N432A Programming Guide...
  • Page 356 SENSe Subsystem [SENSe[1]:]CORRection:CSET[1] Commands These commands are used to select the active sensor calibration table. The following commands are detailed in this section: [SENSe[1]:]CORRection:CSET[1][:SELect] <string> [SENSe[1]:]CORRection:CSET[1]:STATe <boolean> Keysight N432A Programming Guide...
  • Page 357 SENSe Subsystem [SENSe[1]:]CORRection:CSET2 Commands These commands are used to select the active frequency-dependent offset table. The following commands are detailed in this section: [SENSe[1]:]CORRection:CSET2[:SELect] <string> [SENSe[1]:]CORRection:CSET2:STATe <boolean> Keysight N432A Programming Guide...
  • Page 358 (Existing table names can be listed using calibration table name MEMory:CATalog:TABle?). Example This command enters the name of the sensor calibration CORR:CSET ‘PW1’ table as PW1. Reset condition On reset, the selected table is not affected. Keysight N432A Programming Guide...
  • Page 359 When a frequency-dependent offset table is selected, the N432A verifies that the number of offset points defined is equal to the number of frequency points defined. If this is not the case, error –226,“Lists not the same length”...
  • Page 360 (Existing table names can be listed using frequency-dependent offset table name MEMory:CATalog:TABle?). Example This command enters the name of the CORR:CSET2 ‘PW1’ frequency-dependent offset table as PW1. Reset condition On reset, the selected table is not affected. Keysight N432A Programming Guide...
  • Page 361 When a frequency-dependent offset table is selected, the N432A verifies that the number of offset points defined is equal to the number of frequency points defined. If this is not the case, error –226,“Lists not the same length”...
  • Page 362 This query enters a 1 or 0 into the output buffer indicating whether a currently selected sensor calibration table is enabled or disabled. – 1 is returned if the table is enabled. – 0 is returned if the table is disabled. Keysight N432A Programming Guide...
  • Page 363 Queries whether a currently selected sensor calibration table is enabled or disabled. Error message If you attempt to set this command to ON and no table has been selected using [SENSe[1]:]CORRection:CSET[1]:[SELect], then error –221,“Settings conflict” will occur and [SENSe[1]:]CORRection:CSET[1]:STATe remains OFF. Keysight N432A Programming Guide...
  • Page 364 This query enters a 1 or 0 into the output buffer indicating whether a currently selected frequency-dependent offset table is enabled or disabled. – 1 is returned if the table is enabled. – 0 is returned if the table is disabled. Keysight N432A Programming Guide...
  • Page 365 Queries whether a currently selected CORR:CSET2:STAT? frequency-dependent offset table is enabled or disabled. Error message If this command is set to ON and no table has been selected using [SENSe[1]:]CORRection:CSET2:[SELect], then error –221,“Settings conflict” will occur and [SENSe[1]:]CORRection:CSET2:STATe remains OFF. Keysight N432A Programming Guide...
  • Page 366 SENSe Subsystem [SENSe[1]]|2|3|4:CORRection:DCYCle|GAIN3 Commands These commands control the pulse power measurement feature of the N432A. The following commands are detailed in this section: [SENSe[1]:]CORRection:DCYCle|GAIN3[:INPut][:MAGNitude] <numeric_value> [SENSe[1]:]CORRection:DCYCle|GAIN3:STATe <boolean> You can use either DCYCLe or GAIN3 in these commands; both perform the same NOTE function.
  • Page 367 This command is used to set the duty cycle for the pulse power measurement feature of the N432A. Pulse power measurements average out any deviations in the pulse, such as, overshoot or ringing. The result returned for a pulse power measurement is a mathematical representation of the pulse power rather than an actual measurement.
  • Page 368 On reset, the duty cycle is 1%. Query [SENSe[1]:]CORRection:DCYCle|GAIN3[:INPut][:MAGNitude]? [MIN|MAX] This query returns the current setting of the duty cycle or the values associated with MIN and MAX. Query example Queries the current setting of the duty cycle. CORR:GAIN3? Keysight N432A Programming Guide...
  • Page 369 This query enters a 1 or 0 into the output buffer indicating the status of the pulse power measurement feature. – 1 is returned when enabled. – 0 is returned when disabled. Query example Queries whether pulse power measurement is CORR:GAIN3:STAT? enabled or disabled. Keysight N432A Programming Guide...
  • Page 370 SENSe Subsystem [SENSe[1]:]CORRection:FDOFfset Commands These commands are used to set the unit for the frequency-dependent offset as well as retrieve the currently applied offset value. The following commands are detailed in this section: [SENSe[1]:]CORRection:FDOFfset|GAIN4[:INPut][:MAGNitude]? [SENSe[1]:]CORRection:FDOFfset:UNIT <character_data> Keysight N432A Programming Guide...
  • Page 371 This query is used to return the currently applied frequency-dependent offset value. Syntax SENS CORR :FDOFfset :INP :MAGN :GAIN4 Example Queries the frequency-dependent offset being currently CORR:GAIN4? applied. Reset condition On reset, the frequency-dependent offset is not affected. Keysight N432A Programming Guide...
  • Page 372 Specifies a unit of either % or dB Example This command sets the unit to percent (%). CORR:FDOF:UNIT PCT Query [SENSe[1]:]CORRection:FDOFfset:UNIT? This query returns the current unit for the frequency-dependent offset. Query example Queries the current frequency-dependent offset unit. CORR:FDOF:UNIT? Keysight N432A Programming Guide...
  • Page 373 SENSe Subsystem [SENSe[1]:]CORRection:GAIN2 Commands These commands provide a simple correction to a measurement for an external gain/loss. The following commands are detailed in this section: [SENSe[1]:]CORRection:GAIN2:STATe <boolean> [SENSe[1]:]CORRection:GAIN2[:INPut][:MAGNitude] <numeric_value> Keysight N432A Programming Guide...
  • Page 374 SENSe Subsystem [SENSe[1]:]CORRection:GAIN2:STATe <boolean> This command is used to enable or disable a channel offset for the N432A setup. The [SENSe[1]:]CORRection:GAIN2[:INPut][:MAGNitude] command is used to enter the loss/gain value. Syntax SENS :GAIN2 :STAT Space CORR 0|OFF 1|ON Example This command enables a channel offset.
  • Page 375 SENSe Subsystem [SENSe[1]:]CORRection:GAIN2[:INPut][:MAGNitude] <numeric_value> This command is used to enter a channel offset value for the N432A setup. The N432A then corrects every measurement by this value to compensate for the gain/loss. Entering a value for this command automatically turns ON the [SENSe[1]:]CORRection:GAIN2:STATe command.
  • Page 376 On reset, the channel offset is set to 0.00 dB. Query [SENSe[1]:]CORRection:GAIN2[:INPut][:MAGNitude]? [MIN|MAX] This query returns the current setting of the channel offset or the values associated with MIN and MAX. Query example Queries the current channel offset setting. CORR:GAIN2? Keysight N432A Programming Guide...
  • Page 377 This command is used to enter the frequency of the RF signal to measure. If the frequency does not correspond directly to a frequency in the sensor calibration table, the N432A calculates the calibration factor using linear interpolation if [SENSe[1]:]CORRection:CSET:STATe is ON.
  • Page 378 Query [SENSe[1]:]FREQuency[:CW|:FIXed]? [MIN|MAX] This query returns the current frequency setting or the values associated with MIN and MAX. The unit in which the results are returned is Hz. Query example Queries the current frequency setting. FREQ? Keysight N432A Programming Guide...
  • Page 379 Keysight N432A Thermistor Power Meter Programming Guide SERVice Subsystem SERVice Subsystem SERVice:BACKlight:BRIGhtness <numeric_value> SERVice:BIST:CALibrator <boolean> SERVice:BIST:VRF <boolean> SERVice:BIST:VCOM <boolean> SERVice:BIST:V0 <boolean> SERVice:CALibrator:ADJust:COUR <numeric_value> SERVice:CALibrator:ADJust:FINE <numeric_value> SERVice:DISPlay:BSCReen <boolean> SERVice:DISPlay:BSCReen:SECure:ACTivation <numeric_value> SERVice:DISPlay:BSCReen:SECure:DEACtivation <numeric_value> SERVice:FAN:FULL <boolean> SERVice:LAN:PHOStname SERVice:SECure:ERASe SERVice:SENSor[1]:TYPE? SERVice:SNUMber? SERVice:STATe <boolean> SERVice:VERSion:PROCessor?
  • Page 380 SERVice Subsystem SERVice Subsystem The SERVice command subsystem allows you to acquire service-related information of the N432A as well as configure the parameters for servicing the N432A. Keyword Parameter form Note Page SERVice :BACKlight page 382 :BRIGhtness <numeric_value> :BIST page 384 :CALibrator <boolean>...
  • Page 381 SERVice Subsystem Keyword Parameter form Note Page page 398 :ERASe :SENSor[1] [query only] page 399 :TYPE? [query only] page 400 :SNUMber? page 401 :STATe <boolean> :VERSion [query only] page 402 :PROCessor? [query only] page 403 :SYSTem? Keysight N432A Programming Guide...
  • Page 382 DEF: The default value is 80 Example This command sets the backlight intensity to 70. SERV:BACK:BRIG 70 Reset condition On reset, the backlight intensity level is 80. Query SERVice:BACKlight:BRIGhtness? This query returns the current intensity level of the front panel backlight. Keysight N432A Programming Guide...
  • Page 383 Queries the backlight intensity level. SERV:BACK:BRIG? Error messages – If the backlight is not turned on, error –310,“System error” occurs. – If the intensity level is set outside the valid range, error –222,“Data out of range” occurs. Keysight N432A Programming Guide...
  • Page 384 This query enters a 1 or 0 into the output buffer indicating the status of the reference calibrator self-test: – 1 is returned if the self-test is enabled. – 0 is returned if the self-test is disabled. Query example Queries whether the reference calibrator self-test is SERV:BIST:CAL? enabled or disabled. Keysight N432A Programming Guide...
  • Page 385 This query enters a 1 or 0 into the output buffer indicating the status of the V self-test: – 1 is returned if the self-test is enabled. – 0 is returned if the self-test is disabled. Query example Queries whether the V self-test is enabled or disabled. SERV:BIST:VRF? Keysight N432A Programming Guide...
  • Page 386 This query enters a 1 or 0 into the output buffer indicating the status of the V COMP self-test: – 1 is returned if the self-test is enabled. – 0 is returned if the self-test is disabled. Query example Queries whether the V self-test is enabled or SERV:BIST:VCOM? COMP disabled. Keysight N432A Programming Guide...
  • Page 387 This query enters a 1 or 0 into the output buffer indicating the status of the V self-test: – 1 is returned if the self-test is enabled. – 0 is returned if the self-test is disabled. Query example Queries whether the V self-test is enabled or disabled. SERV:BIST:V0? Keysight N432A Programming Guide...
  • Page 388 SERV:CAL:ADJ:COUR 1000 This command sets the power reference level to 1000. Reset condition On reset, the power reference level is not affected. Query SERVice:CALibrator:ADJust:COUR? This query returns the current power reference level in the unsigned integer 16 format. Keysight N432A Programming Guide...
  • Page 389 SERVice Subsystem Query example Returns the reference calibrator power level in SERV:CAL:ADJ:COUR? unsigned integer 16. Keysight N432A Programming Guide...
  • Page 390 This command sets the power reference level SERV:CAL:ADJ:FINE 500 to 500. Reset condition On reset, the power reference level is not affected. Query SERVice:CALibrator:ADJust:FINE? This query returns the current power reference level in the unsigned integer 16 format. Keysight N432A Programming Guide...
  • Page 391 SERVice Subsystem Query example Returns the Reference Calibrator power level in SERV:CAL:ADJ:FINE? unsigned integer 16. Keysight N432A Programming Guide...
  • Page 392 This command enables or disables the blank screen feature of the front panel display. Syntax Space SERV :DISP :BSCR 0|OFF 1|ON Examples This command blanks the screen. SERV:DISP:BSCR ON|1 This command restores the screen. SERV:DISP:BSCR OFF|0 Reset condition On reset, the blank screen feature is disabled. Keysight N432A Programming Guide...
  • Page 393 – If the secure blank feature is already activated, error –221,“Settings conflict” occurs. – If the password is not made up of six digits, error –222,“Data out of range; password is not 6 digits; please try again” occurs. Keysight N432A Programming Guide...
  • Page 394 The retry timer is a 2-hour duration with the N432A turned on. If the N432A is NOTE turned off at any time within this duration, the retry timer will be restarted.
  • Page 395 –120,“Numeric data error; password is incorrect; please try again” occurs. – If the number of attempts has been exceeded and the retry timer has not expired, error –120,“Numeric data error; password is incorrect; please try again” occurs. Keysight N432A Programming Guide...
  • Page 396 SERV:FAN:FULL 1 speed. This command turns off the fan controller. SERV:FAN:FULL OFF Query SERVice:FAN:FULL? This query returns the current state of the fan controller. Query example Queries whether the fan controller is turned on or off. SERV:FAN:FULL? Keysight N432A Programming Guide...
  • Page 397 SERVice Subsystem SERVice:LAN:PHOStname This command presets the LAN host name to its default value. The format of the default value is “A-” + model number + “-“ + last five digits of the serial number; for example: A-N432A-01346 Syntax :PHOS SERV...
  • Page 398 SERVice Subsystem SERVice:SECure:ERASe This command erases the N432A memory, for example, before you return the N432A to Keysight Technologies for repair or calibration, of all data stored in it which includes the save/recall and last power-on states. Syntax :SEC :ERAS...
  • Page 399 SERVice Subsystem SERVice:SENSor[1]:TYPE? This query identifies the type of sensor connected to the N432A input channel A. Syntax SERV :SENS :TYPE Example This query returns the connected sensor type. SERV:SENS:TYPE? Error message If there is no sensor connected, error –241,“Hardware missing” occurs.
  • Page 400 SERVice Subsystem SERVice:SNUMber? This query returns the N432A serial number in the form of MY12345678. Syntax SERV :SNUM Example This query returns the N432A serial number. SERV:SNUM? Keysight N432A Programming Guide...
  • Page 401 SERVice:STATe <boolean> This command enables or disables the warm start feature. The warm start feature allows you to retain the N432A current states and settings upon power cycle or in the event of interrupted power. The default state is ON.
  • Page 402 SERVice Subsystem SERVice:VERSion:PROCessor? This query returns the current processor board revision version. Syntax SERV :VERS :PROC Example Queries the processor board revision version of the SERV:VERS:PROC? N432A. Keysight N432A Programming Guide...
  • Page 403 SERVice Subsystem SERVice:VERSion:SYSTem? This query returns the current system version number. Syntax :VERS :SYST SERV Example Queries the system version number of the N432A. SERV:VERS:SYST? Keysight N432A Programming Guide...
  • Page 404 SERVice Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight N432A Programming Guide...
  • Page 405 Questionable Status Register Sets STATus:QUEStionable STATus:QUEStionable:CALibration[:SUMMary] STATus:QUEStionable:POWer[:SUMMary] Status Block Diagram This chapter explains how the STATus command subsystem enables you to examine the status of the N432A by monitoring the “Device Status Register”, “Operation Status Register”, and “Questionable Status Register”.
  • Page 406 – Device status register – Operation status register – Questionable status register The contents of these and other registers in the N432A are determined by one or more status registers. The following table summarizes the effects of various commands and events on...
  • Page 407 (page 420) STATus:OPERation:TRIGger[:SUMMary] (page 421) STATus:OPERation:ULFail[:SUMMary] (page 424) STATus:QUEStionable (page 425) STATus:QUEStionable:CALibration[:SUMMary] (page 426) STATus:QUEStionable:POWer[:SUMMary] Examples Using the :CONDition? query to examine the STATus:DEVice register: STATus:DEVice:CONDition? Using the :NTRansition command to examine the STATus:OPERation:MEASuring[:SUMMary] register: STATus:OPERation:MEASuring[:SUMMary]:NTRansition Keysight N432A Programming Guide...
  • Page 408 Condition register of the SCPI register set you require to control. The return format is <NR1> in the range of 0 to 32767 (2 –1). The contents of the Condition register remain unchanged after they are read. Syntax :COND Keysight N432A Programming Guide...
  • Page 409 –1). This query clears all bits in the register to 0. [:EVENt?] is the default command if the STATus commands are not NOTE accompanied by any of the status register set commands (:COND?, :ENAB, :NTR, and :PTR). Syntax :EVEN Keysight N432A Programming Guide...
  • Page 410 :ENABle? This query returns a 15-bit decimal-weighted number representing the contents of the Enable register of the SCPI register set being queried. The return format is <NR1> in the range of 0 to 32767 (2 –1). Keysight N432A Programming Guide...
  • Page 411 This query returns a 15-bit decimal-weighted number representing the contents of the Negative Transition register of the SCPI register set being queried. The return format is <NR1> in the range of 0 to 32767 (2 –1). Keysight N432A Programming Guide...
  • Page 412 This query returns a 15-bit decimal-weighted number representing the contents of the Positive Transition register of the SCPI register set being queried. The return format is <NR1> in the range of 0 to 32767 (2 –1). Keysight N432A Programming Guide...
  • Page 413 The following descriptions detail the SCPI register you require to control and some examples on the register set commands. The one device status register set is: STATus:DEVice The following bits in this register are used by the N432A: Weight/Decimal value Definition Not used...
  • Page 414 This bit ignores the :NTRansition, and :PTRansition registers and a :CONDition? query always returns a 0. Keysight N432A Programming Guide...
  • Page 415 STATus Subsystem Operation Status Registers Sets The following register sets contain information which is part of the N432A normal operation. The contents of the individual registers of these register sets can be accessed by appending the commands listed in Status Register Set Commands.
  • Page 416 STATus Subsystem STATus:OPERation The operation status register set contains conditions which are a part of the N432A operation as a whole. The following bits in the register set are used by the N432A: Weight/Decimal value Definition Not used Self-test started 2 to 3 –...
  • Page 417 STATus Subsystem STATus:OPERation:CALibrating[:SUMMary] The operation status calibration summary register contains information on the zeroing status of the N432A. The following bit in the register is used by the N432A: Weight/Decimal value Definition Not used Channel A CALibration (zeroing) status 2 to 15 –...
  • Page 418 STATus Subsystem STATus:OPERation:LLFail[:SUMMary] The operation status lower limit fail summary register contains information on the lower limit fail status of the N432A. The following bits in the register are used by the N432A: Weight/Decimal value Definition 0 to 2 –...
  • Page 419 Weight/Decimal value Definition Not used Channel A MEASurement status 2 to 15 – Not used This bit is set when the N432A is taking a measurement and cleared when the measurement has completed. Syntax :SUMM :OPER :MEAS STAT Keysight N432A Programming Guide...
  • Page 420 STATus Subsystem STATus:OPERation:TRIGger[:SUMMary] The operation status trigger summary register contains information on the triggering status of the N432A. The following bit in the register is used by the N432A: Weight/Decimal value Definition Not used Channel A waiting for TRIGger status 2 to 15 –...
  • Page 421 STATus Subsystem STATus:OPERation:ULFail[:SUMMary] The operation status upper limit fail summary register contains information on the upper limit fail status of the N432A. The following bits in the register are used by the N432A: Weight/Decimal value Definition 0 to 2 –...
  • Page 422 Bit 15 is always 0. Register Fil ter/Enable PRESet value ENABle all zeros OPERation all ones all zeros ENABle all zeros QUEStionable all ones all zeros ENABle all ones All others all ones all zeros Syntax :PRES STAT Keysight N432A Programming Guide...
  • Page 423 Questionable Status Register Sets The questionable status register sets contain information which gives an indication of the quality of the data produced by the N432A. The contents of the individual registers in these register sets may be accessed by appending the...
  • Page 424 STATus Subsystem STATus:QUEStionable The questionable status register set contains bits that indicate the quality of various aspects of signals processed by the N432A. The following bits in the register set are used by the N432A: Weight/Decimal value Definition 0 to 2 –...
  • Page 425 STATus:QUEStionable:CALibration[:SUMMary] The questionable status calibration summary register contains bits which give an indication of the quality of the data produced by the N432A due to its calibration (zeroing) status. The following bit in the register is used by the N432A:...
  • Page 426 STATus Subsystem STATus:QUEStionable:POWer[:SUMMary] The questionable status power summary register contains bits that indicate the quality of the power data being acquired by the N432A. The following bits in the register are used by the N432A: Weight/Decimal value Definition Not used...
  • Page 427 – Error –231,“Data questionable; Lower window log error” Bit 5 is set when channel A requires zeroing. These bits are cleared when no errors or events are detected by the N432A during a measurement covering the causes given for it to set.
  • Page 428 Upper Limit Fail Summary Upper Window Lower Measurement LLF Lower Window Lower Measurement LLF Upper Window Upper Measurement ULF Lower Window Upper Measurement ULF Upper Window Lower Measurement ULF Lower Window Lower Measurement ULF STAT:OPER:LLF:SUMM STAT:OPER:ULF:SUMM Keysight N432A Programming Guide...
  • Page 429 Keysight N432A Thermistor Power Meter Programming Guide SYSTem Subsystem SYSTem Subsystem SYSTem:COMMunicate:GPIB[:SELF]:ADDRess <numeric_value> SYSTem:COMMunicate:LAN:AIP[:STATe] <boolean> SYSTem:COMMunicate:LAN:CURRent:ADDRess? SYSTem:COMMunicate:LAN:CURRent:DGATeway? SYSTem:COMMunicate:LAN:CURRent:DNAMe? SYSTem:COMMunicate:LAN:CURRent:SMASk? SYSTem:COMMunicate:LAN:ADDRess <character_data> SYSTem:COMMunicate:LAN:DGATeway <character_data> SYSTem:COMMunicate:LAN:DHCP[:STATe] <boolean> SYSTem:COMMunicate:LAN:DNAMe <character_data> SYSTem:COMMunicate:LAN:HNAMe <character_data> SYSTem:COMMunicate:LAN:MAC? SYSTem:COMMunicate:LAN:RESTart SYSTem:COMMunicate:LAN:SMASk <character_data> SYSTem:COMMunicate:TCPip:CONTrol? SYSTem:DISPlay:BMP? SYSTem:ERRor? SYSTem:LOCal SYSTem:PERSona:MANufacturer<character_data> SYSTem:PERSona:MANufacturer:DEFault SYSTem:PRESet...
  • Page 430 SYSTem Subsystem This chapter explains how to use the SYSTem command subsystem to configure the remote settings, preset the N432A, return error numbers and messages from the N432A, and query the SCPI version. Keysight N432A Programming Guide...
  • Page 431 The SYStem command subsystem is used to perform system-related configurations such as: – Setting the GPIB address – Setting the LAN settings – Presetting the N432A – Returning error numbers and messages from the N432A – Querying the SCPI version Keyword Parameter form Note...
  • Page 432 450 :ERRor? [no query] page 457 :LOCal :PERSona page 458 :MANufacturer <character_data> page 460 :DEFault [no query] page 461 :PRESet [no query] page 465 :REMote [no query] page 466 :RWLock [query only] page 467 :VERSion? Keysight N432A Programming Guide...
  • Page 433 SYSTem Subsystem SYSTem:COMMunicate:GPIB[:SELF]:ADDRess <numeric_value> This command sets the GPIB address of the N432A. Syntax Space numeric_value SYST :COMM :GPIB :SELF :ADDR Space Parameter Item Description/Defaul t Range of values A numeric value for the address 0 to 30 DEF: The default value is 10...
  • Page 434 SYSTem Subsystem Query SYSTem:COMMunicate:GPIB[:SELF]:ADDRess? [MIN|MAX] This query returns the current setting of the GPIB address or the values associated with MIN and MAX. Query example Queries the current GPIB address. SYST:COMM:GPIB:ADDR? Keysight N432A Programming Guide...
  • Page 435 SYSTem Subsystem SYSTem:COMMunicate:LAN:AIP[:STATe] <boolean> This command enables the auto IP protocol to dynamically assign the IP address when connecting to the N432A in an isolated (non-site) LAN network (for example, PC to N432A). Syntax Space 0|OFF :LAN :STAT :AIP SYST...
  • Page 436 SYSTem Subsystem SYSTem:COMMunicate:LAN:CURRent:ADDRess? This query returns the current setting of the IP address in use by the N432A. If DHCP or auto IP is enabled successfully, then one of these IP address modes NOTE assigns the IP address, otherwise it is a static IP address.
  • Page 437 If DHCP or auto IP is enabled successfully, then one of these IP address modes NOTE assigns the LAN IP router/gateway address, otherwise it is a static LAN IP router/ gateway address. Syntax :COMM :LAN :DGAT SYST :CURR Example Queries the current LAN IP router/gateway SYST:COMM:LAN:CURR:DGAT? address. Keysight N432A Programming Guide...
  • Page 438 If DHCP or auto IP is successfully enabled, then one of these IP address modes NOTE assigns the LAN domain name, otherwise it is a static LAN domain name. Syntax :COMM :LAN SYST :CURR :DNAM Example Queries the current LAN domain name. SYST:COMM:LAN:CURR:DNAM? Keysight N432A Programming Guide...
  • Page 439 If DHCP or auto IP is successfully enabled, then one of these IP address modes NOTE assigns the LAN subnet mask, otherwise it is a static LAN subnet mask. Syntax :COMM :LAN SYST :CURR :SMAS Example Queries the current LAN subnet mask. SYST:COMM:LAN:CURR:SMAS? Keysight N432A Programming Guide...
  • Page 440 SYSTem Subsystem SYSTem:COMMunicate:LAN:ADDRess <character_data> This command sets the LAN (IP) address of the N432A. Syntax character_data SYST :ADDR Space :COMM :LAN Parameter Item Description Range of values Numeric character values for the address. Up to 15 0 to 255 (no embedded character_data characters, formatted as A.B.C.D...
  • Page 441 SYSTem Subsystem SYSTem:COMMunicate:LAN:DGATeway <character_data> This command sets the LAN IP router/gateway address for the N432A. Syntax Space character_data SYST :COMM :LAN :DGAT Parameter Item Description Range of values Numeric character values for the address. Up to 15 0 to 255 (no character_data characters, formatted as A.B.C.D...
  • Page 442 This query enters a 1 or 0 into the output buffer indicating whether the DHCP is enabled or disabled. – 1 is returned if DHCP is enabled. – 0 is returned if DHCP is disabled. Query example Queries the current state of the DHCP. SYST:COMM:LAN:DHCP? Keysight N432A Programming Guide...
  • Page 443 SYSTem Subsystem SYSTem:COMMunicate:LAN:DNAMe <character_data> This command sets the domain name for the N432A. Syntax Space SYST :COMM :LAN :DNAM character_data Parameter Item Description Range of values character_data Character values of up to 16 characters Maximum of 16 characters Example This command sets the domain name SYST:COMM:LAN:DNAM ‘myco.com’...
  • Page 444 SYSTem Subsystem SYSTem:COMMunicate:LAN:HNAMe <character_data> This command sets the host name for the N432A. The factory default setting of the host name is in this format: A- + prod uct number + - + suffix 5 d igits of serial number...
  • Page 445 SYSTem Subsystem SYSTem:COMMunicate:LAN:MAC? This query returns the LAN MAC address. Syntax :COMM :LAN SYST :MAC Example Queries the MAC address setting. SYST:COMM:LAN:MAC? Keysight N432A Programming Guide...
  • Page 446 SYSTem Subsystem SYSTem:COMMunicate:LAN:RESTart This command restarts the N432A network stack; any LAN configuration changes can only take effect after this is performed. Syntax :COMM :LAN :REST SYST Example This command restarts the LAN network with a new SYST:COMM:LAN:REST configuration. Keysight N432A Programming Guide...
  • Page 447 SYSTem Subsystem SYSTem:COMMunicate:LAN:SMASk <character_data> This command sets the subnet mask of the N432A. Syntax Space character_data :SMAS SYST :COMM :LAN Parameter Item Description Range of Values Numeric character values for the address. Up to 0 to 255 (no embedded character_data 15 characters, formatted as A.B.C.D...
  • Page 448 This query returns the socket number of control from the SCPI/socket connection. This query should be sent only when the SCPI/socket connection is used. Syntax :CONT :COMM :TCP SYST Example Queries the socket number. SYST:COMM:TCP:CONT? Error message If the connection type is incorrect, error –310,“System error” occurs. Keysight N432A Programming Guide...
  • Page 449 This query returns the display image in the bitmap format. This query is limited to a maximum of five image returns per second. Syntax SYST :DISP :BMP Example Returns the display image in the bitmap format. SYST:DISP:BMP? Keysight N432A Programming Guide...
  • Page 450 This query returns error numbers and messages from the N432A error queue. When an error is generated by the N432A, it stores an error number and its corresponding message in the error queue. One error is removed from the error queue each time this query is sent.
  • Page 451 Undefined header A command was received that is not valid for the N432A. You may have misspelled the command, it may not be a valid command, or you may have selected the wrong interface. If you are using the short form of the command, remember that it may contain up to four letters.
  • Page 452 – Block data not allowed A legal block data element was encountered but not allowed by the N432A at this point Example: SYST:COMM:GPIB:ADDR #15FETC? Keysight N432A Programming Guide...
  • Page 453 Indicates that <GET> or *TRG, or TRIG:IMM was received and recognized by the device but was ignored because the N432A was not in the wait-for-trigger state – Init ignored Indicates that a request for a measurement initiation was ignored as the N432A was already initiated Example: INIT:CONT ON INIT –...
  • Page 454 Data corrupt or stale This occurs when a FETC? is attempted and either a reset has been received or the N432A state has changed such that the current measurement is invalidated (for example, a change of frequency setting or triggering conditions) –...
  • Page 455 – Query UNTERMINATED The N432A was addressed to talk (that is, to send data over the interface) but a command which sends data to the output buffer has not been received. For example, you may have executed a CONFigure command (which does not generate data) and then attempted to read data from the remote interface.
  • Page 456 The *IDN? query must be the last query within a command string – Invalid character An invalid character was found in the command string. You may have inserted a character such as #, $, or % in the command header or within a parameter. Example: LIM:LOW O# Keysight N432A Programming Guide...
  • Page 457 SYSTem Subsystem SYSTem:LOCal This command unlocks the front panel keypad and enables the N432A to be controlled from the front panel. The status reporting line of the N432A display will show “LCL”. Syntax :LOC SYST Example This command unlocks the N432A front panel keypad and SYST:LOC enables local front panel control.
  • Page 458 SYSTem:PERSona:MANufacturer<character_data> This command allows you to change the manufacturer string to “Agilent Technologies” or “Keysight Technologies”. The manufacturer string affected by this command are the *IDN query and instrument web pages. It only accepts two non-case sensitive strings: “Agilent Technologies” or “Keysight Technologies”.
  • Page 459 The query returns the manufacturer string that was set. Query example Queries the manufacturer string that was set. SYST:PERS:MAN? Error message If the parameter string entered is not “Agilent Technologies” or “Keysight Technologies”, error -158, “String data not allowed” occurs. Keysight N432A Programming Guide...
  • Page 460 SYSTem Subsystem SYSTem:PERSona:MANufacturer:DEFault This command sets the instrument’s manufacturer string to “Keysight Technologies” which is the default manufacturer setting. Syntax :DEF :PERS :MAN SYST Example This command sets the instrument’s manufacturer SYST:PERS:MAN:DEF string to “Keysight Technologies”. Query SYSTem:PERSona:MANufacturer:DEFault? The query returns the default manufacturer string.
  • Page 461 SYSTem Subsystem SYSTem:PRESet This command is used to preset the N432A to its default settings. The result from this command execution is similar to the *RST command. Refer to Table 15-1 more information on the preset settings. All settings apply to both *RST and SYSTem:PRESet unless stated otherwise.
  • Page 462 Both windows enabled on the DISP[:WIND[1]|2][:STAT] display Normal Byte order of binary data FORM[:READ]:BORD transfer ASCII Data format FORM[:READ][:DATA] Screen image file format HCOP:SDUM:DATA:FORM LXI identification disabled LXI:IDEN[:STAT] The N432A is in the INIT[1]:CONT wait-for-trigger state Keysight N432A Programming Guide...
  • Page 463 SYSTem Subsystem Table 15-1 Preset settings Command Preset setting Remark All trigger sequences are INIT:CONT:ALL continuously initiated The N432A is in the INIT:CONT:SEQ[1] wait-for-trigger state Settling-time delay enabled TRIG[1]:DEL:AUTO Immediate Immediate triggering TRIG[1]:SOUR Not affected Active sensor calibration table MEM[:METer][1]:TAB:SEL...
  • Page 464 [SENS[1]:]FREQ[:CW|:FIX] Backlight intensity of the front SERV:BACK:BRIG panel Blank screen disabled SERV:DISP:BSCR Warm start enabled SERV:STAT Not affected GPIB address SYST:COMM:GPIB[:SELF]:ADDR? Power measurement unit UNIT[1]|2|3|4:POW Ratio measurement unit UNIT[1]|2|3|4:POW:RAT THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight N432A Programming Guide...
  • Page 465 This command locks the N432A front panel keypad except for the Local key. The status reporting line of the N432A display will show “RMT”. Local front panel operation of the N432A is inhibited but can be enabled by pressing the Local key. Syntax...
  • Page 466 SYSTem Subsystem SYSTem:RWLock This command locks the front panel keypad including the Local key. The status reporting line of the N432A display will show “RMT”. In this state, the N432A cannot be returned to manual control from the front panel. Syntax...
  • Page 467 SYSTem Subsystem SYSTem:VERSion? This query returns the version of SCPI used in the N432A. The response is in the form of XXXX.Y, where XXXX is the year and Y is the version number. Syntax SYST :VERS Example Queries which version of SCPI is used in the N432A.
  • Page 468 SYSTem Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight N432A Programming Guide...
  • Page 469 Keysight N432A Thermistor Power Meter Programming Guide TRIGger Subsystem TRIGger Subsystem ABORt[1] INITiate Commands INITiate[1]:CONTinuous <boolean> INITiate[1][:IMMediate] INITiate:CONTinuous:ALL <boolean> INITiate:CONTinuous:SEQuence[1] <boolean> INITiate[:IMMediate]:ALL INITiate[:IMMediate]:SEQuence[1] TRIGger Commands TRIGger[1]:DELay:AUTO <boolean> TRIGger[1][:IMMediate] TRIGger[1]:SOURce BUS|HOLD|IMMediate TRIGger[:SEQuence[1]]:DELay:AUTO <boolean> TRIGger[:SEQuence[1]]:IMMediate TRIGger[:SEQuence[1]]:SOURce BUS|HOLD|IMMediate This chapter explains how the TRIGger command subsystem is used to...
  • Page 470 [no query] page 481 :SEQuence[1] TRIGger[1] :DELay page 483 :AUTO <boolean> [no query] page 485 [:IMMediate] page 486 :SOURce BUS|HOLD|IMMediate TRIGger [:SEQuence[1]] :DELay page 488 :AUTO <boolean> [no query] page 490 :IMMediate page 491 :SOURce BUS|HOLD|IMMediate Keysight N432A Programming Guide...
  • Page 471 TRIGger Subsystem ABORt[1] This command removes the N432A from the wait-for-trigger state and places it in the idle state. It does not affect any other settings of the trigger system. When the INITiate command is sent, the trigger system responds as it did before ABORt was executed.
  • Page 472 The INITiate commands are overlapped, that is, the N432A can continue parsing and executing subsequent commands while initiated. Note that the pending operation flag is set when the N432A moves out of the idle state, and the flag is cleared when it re-enters the idle state.
  • Page 473 TRIGger Subsystem INITiate[1]:CONTinuous <boolean> This command sets the N432A for either a single trigger cycle or continuous trigger cycles. A trigger cycle means that the N432A exits the wait-for-trigger state and starts a measurement. If INITiate:CONTinuous is set to: – OFF, the trigger system remains in the idle state until it is set to ON, or INITiate:IMMediate is received.
  • Page 474 This query enters a 1 or 0 into the output buffer indicating which triggering type is used: – 1 is returned when there is continuous triggering. – 0 is returned when there is only a single trigger. Query example Queries whether the N432A is set for single or continuous INIT:CONT? triggering. Keysight N432A Programming Guide...
  • Page 475 INITiate[:IMMediate]:SEQuence[1]. Syntax INIT :IMM Example This command places the N432A in the wait-for-trigger state. INIT:IMM Error message If the N432A is not in the idle state or INITiate:CONTinuous is set to ON, error –213,“INIT ignored” occurs. Keysight N432A Programming Guide...
  • Page 476 Example This command sets all trigger sequences to be INIT:CONT:ALL ON continuously initiated. Reset condition On reset (*RST), this command is set to OFF. On preset (SYSTem:PRESet) and instrument power up, INITiate:CONTinuous:ALL is set to ON. Keysight N432A Programming Guide...
  • Page 477 – 1 is returned when trigger sequences are set to be continuously initiated. – 0 is returned when trigger sequences are not set to be continuously initiated. Query example Queries whether the N432A is in a wait-for-trigger state. INIT:CONT:ALL? Keysight N432A Programming Guide...
  • Page 478 TRIGger Subsystem INITiate:CONTinuous:SEQuence[1] <boolean> This command sets the N432A for either a single trigger cycle or continuous trigger cycles. A trigger cycle means that the N432A exits the wait-for-trigger state and starts a measurement. If INITiate:CONTinuous:SEQuence[1] <boolean> is set to: –...
  • Page 479 This query enters a 1 or 0 into the output buffer indicating which triggering type is used: – 1 is returned when there is continuous triggering. – 0 is returned when there is only a single trigger. Query example Queries whether the N432A is set for single or continuous INIT:CONT:SEQ? triggering. Keysight N432A Programming Guide...
  • Page 480 This command initiates all trigger sequences. Syntax :IMM :ALL INIT Example This command initiates all trigger sequences. INIT:ALL Error message If the N432A is not in the idle state or INITiate:CONTinuous is set to ON, error –213,“INIT ignored” occurs. Keysight N432A Programming Guide...
  • Page 481 Syntax INIT :IMM :SEQ Example This command places the N432A in the wait-for-trigger state. INIT:SEQ Error message If the N432A is not in the idle state or INITiate:CONTinuous is set to ON, error –213,“INIT ignored” occurs. Keysight N432A Programming Guide...
  • Page 482 TRIGger Subsystem TRIGger Commands TRIGger commands control the behavior of the trigger system. The following commands are described in this section: TRIGger[1]:DELay:AUTO <boolean> TRIGger[1][:IMMediate] TRIGger[1]:SOURce BUS|HOLD|IMMediate TRIGger[:SEQuence[1]]:DELay:AUTO <boolean> TRIGger[:SEQuence[1]]:IMMediate TRIGger[:SEQuence[1]]:SOURce BUS|HOLD|IMMediate Keysight N432A Programming Guide...
  • Page 483 When this command is set to: – ON, the N432A inserts a settling-time delay before taking the requested measurement. This settling time allows the internal digital filter to be updated with new values to produce valid and accurate measurement results. The trigger with delay command allows settling time for the internal amplifiers and filters.
  • Page 484 This query enters a 1 or 0 into the output buffer indicating the status of TRIGger[1]:DELay:AUTO. – 1 is returned when it is enabled. – 0 is returned when it is disabled. Query example Queries whether a settling-time delay is enabled or TRIG:DEL:AUTO? disabled. Keysight N432A Programming Guide...
  • Page 485 This command causes a trigger to occur immediately, provided the N432A is in the wait-for-trigger state. When this command is executed, the measurement result is stored in the N432A memory. Use FETCh? to place the result in the output buffer.
  • Page 486 Range of values Available trigger sources: – BUS: The trigger source is the group execute trigger (GET) bus command or the TRIGger:IMMediate SCPI command. – HOLD: Triggering is suspended. The only way to trigger the N432A is to use TRIGger:IMMediate. source HOLD –...
  • Page 487 IMMediate. – The READ? query or MEASure command should not be used if the trigger source is set to BUS or HOLD. Example This command configures the N432A for immediate TRIG:SOUR IMM triggering. Reset condition On reset, the trigger source is set to IMMediate.
  • Page 488 Accurate readings can be assured by taking two successive measurements for comparison. – OFF, no settling-time delay is inserted and the N432A makes the measurement immediately after a trigger is received. – ONCE, a settling-time delay is inserted before taking the requested measurement, for one measurement only.
  • Page 489 This query enters a 1 or 0 into the output buffer indicating the status of TRIGger[:SEQuence[1]]:DELay:AUTO. – 1 is returned when it is enabled. – 0 is returned when it is disabled. Query example Queries the state of the N432A settling-time delay. TRIG:DEL:AUTO? Keysight N432A Programming Guide...
  • Page 490 It causes the immediate exit of the event detection layer if the trigger system is in this layer when the command is received. In other words, the N432A stops waiting for a trigger and takes a measurement ignoring any delay set by TRIG:DELay.
  • Page 491 – IMMediate: The trigger system is always true. If IMMediate INITiate:CONTinuous is set to ON, the N432A is continually triggering free (free run mode). If an INITiate:IMMediate command is sent, a measurement is triggered then the N432A returns to the idle state. Keysight N432A Programming Guide...
  • Page 492 Reset condition On reset, the trigger source is set to IMMediate. Query TRIGger[:SEQuence[1]]:SOURce? This query returns the current trigger source of either IMM, BUS, or HOLD. Query example Queries the current trigger source for the N432A. TRIG:SOUR? Keysight N432A Programming Guide...
  • Page 493 Keysight N432A Thermistor Power Meter Programming Guide UNIT Subsystem UNIT Subsystem UNIT[1]|2|3|4:POWer <amplitude_unit> UNIT[1]|2|3|4:POWer:RATio <ratio_unit> This chapter explains how the UNIT command subsystem is used to set the N432A measurement units to Watts and % (linear), or dBm and dB (logarithmic).
  • Page 494 495 :RATio <ratio_unit> page 497 The UNIT:POWer and UNIT:POWer:RATio commands are coupled as follows: – If UNIT:POWer is set to dBm, then UNIT:POWer:RATio is dB. – If UNIT:POWer is set to W, then UNIT:POWer:RATio is %. Keysight N432A Programming Guide...
  • Page 495 Power measurement unit. amplitude_unit The default unit is DBM. Example This command sets the measurement unit to dBm for UNIT1:POW DBM the upper window/upper measurement. Reset condition On reset, the unit is DBM for all windows/measurements. Keysight N432A Programming Guide...
  • Page 496 UNIT Subsystem Query UNIT[1]|2|3|4:POWer? This query returns the current setting of the power measurement unit. Query example Queries which measurement unit is being used for the lower UNIT2:POW? window/upper measurement. Keysight N432A Programming Guide...
  • Page 497 Range of values Ratio measurement unit. ratio_unit The default unit is DB. Example This command sets the ratio measurement unit to dB UNIT1:POW:RAT DB for the upper window/upper measurement. Reset condition On reset, the ratio unit is DB. Keysight N432A Programming Guide...
  • Page 498 UNIT Subsystem Query UNIT[1]|2|3|4:POWer:RATio? This query returns the current setting of the ratio measurement unit. Query example Queries which ratio measurement unit is being used for UNIT2:POW:RAT? the lower window/upper measurement. Keysight N432A Programming Guide...
  • Page 499 Keysight N432A Thermistor Power Meter Programming Guide Programming Examples Example 1: Identifying the N432A In Use Example 2: FETCh, MEASure, and READ Queries Example 3: Basic Power Measurement Example 4: Status of Various Settings Example 5: Display Offset, Max/Min Hold, and Limit Settings...
  • Page 500 // Queries the instrument identification and checks whether you are communicating with the right N432A. -> SYST:ERR? // Checks the N432A system error queue. “–>” indicates the commands that you send to the N432A. NOTE “<–” indicates the response from the N432A. Keysight N432A Programming Guide...
  • Page 501 In the Free Run or Continuous mode, you can use either FETCh? or MEASure? to query the power measurement as shown in the following examples: -> INIT:CONT ON // Sets the N432A to the Free Run mode. -> FETC? // Queries the measurement result from the buffer.
  • Page 502 // Initializes the measurement. -> FETC:VRF1? // Queries the V measurement result. The above sequence must be followed. “–>” indicates the commands that you send to the N432A. NOTE “<–” indicates the response from the N432A. Keysight N432A Programming Guide...
  • Page 503 Free Run mode -> SYST:PRES // Presets the N432A. -> INIT:CONT ON // Sets the N432A to the Free Run mode. -> FREQ 1000MHz // Sets the frequency to 1000 MHz. -> CORR:CFAC 80 // Sets the calibration factor to 80%.
  • Page 504 – INIT must be executed before FETC?. – MEAS? can be used without executing INIT. – READ? can be used without executing INIT. “–>” indicates the commands that you send to the N432A. NOTE “<–” indicates the response from the N432A.
  • Page 505 // Queries the zeroing status of the N432A. -> +0 // Returns a 0 at the end of zeroing. “–>” indicates the commands that you send to the N432A. NOTE “<–” indicates the response from the N432A. Keysight N432A Programming Guide...
  • Page 506 Measurement now shows –20 dBm. -> CALC:GAIN:STAT OFF // Turns off the display offset. Measurement now shows –23 dBm. “–>” indicates the commands that you send to the N432A. NOTE “<–” indicates the response from the N432A. Keysight N432A Programming Guide...
  • Page 507 // Sets the frequency to 1000 MHz. -> FETC? // Queries the measurement result. The above sequence must be followed. “–>” indicates the commands that you send to the N432A. NOTE “<–” indicates the response from the N432A. Keysight N432A Programming Guide...
  • Page 508 Programming Examples THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight N432A Programming Guide...
  • Page 509 Keysight N432A Thermistor Power Meter Programming Guide Measurement Polling Example Using VEE Measurement Polling Using VEE Program This chapter contains a VEE program example in measurement polling.
  • Page 510 Measurement Polling Using VEE Program The following figure provides an example on how to perform measurement polling with a VEE program. The information relates to the condition polling method as described in “Condition polling method” on page 99. Keysight N432A Programming Guide...
  • Page 511 This information is subject to change without notice. Always refer to the Keysight website for the latest revision. © Keysight Technologies 2010 - 2019 Edition 4, September 4, 2019 Printed in Malaysia *N432A-90004* N432A-90004 www.keysight.com...

Table of Contents