Table of Contents

Advertisement

Quick Links

Keysight Models 66312A, 66332A
Dynamic Measurement DC Sources
Keysight Models 6631B, 6632B,
6633B, 6634B, 6611C, 6612C,
6613C, and 6614C
System DC Power Supplies
Programming Guide

Advertisement

Table of Contents
loading

Summary of Contents for Keysight Technologies 66332A

  • Page 1 Keysight Models 66312A, 66332A Dynamic Measurement DC Sources Keysight Models 6631B, 6632B, 6633B, 6634B, 6611C, 6612C, 6613C, and 6614C System DC Power Supplies Programming Guide...
  • Page 3: Safety Guidelines

    This document contains proprietary information protected by copyright. All rights are reserved. No part of this document may be photocopied, reproduced, or translated into another language without the prior consent of Keysight Technologies. The information contained in this document is subject to change without notice.
  • Page 4: Table Of Contents

    Table of Contents Safety Guidelines Printing History Table of Contents 1 - GENERAL INFORMATION About this Guide Documentation Summary External References GPIB References SCPI References 2 - INTRODUCTION TO PROGRAMMING VXIplug&play Power Products Instrument Drivers Supported Applications System Requirements Downloading and Installing the Driver Accessing Online Help GPIB Capabilities of the DC Source GPIB Address...
  • Page 5 Internally Triggered Measurements SCPI Triggering Nomenclature Measurement Trigger System Model Initiating the Measurement Trigger System (Keysight 66312A, 66332A Only) Selecting the Measurement Trigger Source (Keysight 66312A, 66332A Only) Generating Measurement Triggers (Keysight 66312A, 66332A Only) Measuring Output Pulses (Keysight 66312A, 66332A Only)
  • Page 6 MEASure:CURRent? FETCh:CURRent? MEASure:CURRent:ACDC? FETCh:CURRent:ACDC? MEASure:CURRent:HIGH? FETCh:CURRent:HIGH? MEASure:CURRent:LOW? FETCh:CURRent:LOW? MEASure:CURRent:MAXimum? FETCh:CURRent: MAXimum? MEASure:CURRent:MINimum? FETCh:CURRent:MINimum? MEASure:VOLTage? FETCh:VOLTage? MEASure:VOLTage:ACDC? FETCh:VOLTage:ACDC? MEASure:VOLTage:HIGH? FETCh:VOLTage:HIGH? MEASure:VOLTage:LOW? FETCh:VOLTage:LOW? MEASure:VOLTage:MAXimum? FETCh:VOLTage:MAXimum? MEASure:VOLTage:MINimum? FETCh:VOLTage:MINimum? SENSe:CURRent:RANGe SENSe:CURRent:DETector SENSe:FUNCtion SENSe:SWEep:OFFSet:POINts SENSe:SWEep:POINts SENSe:SWEep:TINTerval SENSe:WINDow Output Commands OUTPut OUTPut:DFI OUTPut:DFI:SOURce OUTPut:PON:STATe OUTPut:PROTection:CLEar OUTPut:PROTection:DELay OUTPut:RELay OUTPut:RELay:POLarity OUTPut:RI:MODE...
  • Page 7 System Commands DISPlay DISPlay:MODE DISPlay:TEXT SYSTem:ERRor? SYSTem:LANGuage SYSTem:VERSion? SYSTem:LOCal SYSTem:REMote SYSTem:RWLock *IDN? *OPT? *RCL *RST *SAV *TST? Trigger Commands ABORt INITiate:SEQuence INITiate:NAME INITiate:CONTinuous:SEQuence1 INITiate:CONTinuous:NAME TRIGger TRIGger:SOURce TRIGger:SEQuence2 TRIGger:ACQuire TRIGger:SEQuence2:COUNt:CURRent TRIGger:ACQuire:COUNt:CURRent TRIGger:SEQuence2:COUNt:VOLTage TRIGger:ACQuire:COUNt:VOLTage TRIGger:SEQuence2:HYSTeresis:CURRent TRIGger:ACQuire:HYSTeresis:CURRent TRIGger:SEQuence2:HYSTeresis:VOLTage TRIGger:ACQuire:HYSTeresis:VOLTage TRIGger:SEQuence2:LEVel:CURRent TRIGger:ACQuire:LEVel:CURRent TRIGger:SEQuence2:LEVel:VOLTage TRIGger:ACQuire:LEVel:VOLTage TRIGger:SEQuence2:SLOPe:CURRent TRIGger:ACQuire:SLOPe:CURRent TRIGger:SEQuence2:SLOPe:VOLTage TRIGger:ACQuire:SLOPe:VOLTage TRIGger:SEQuence2:SOURce TRIGger:ACQuire:SOURce...
  • Page 8: General Information

     User's Guide for Keysight 66332A and Keysight 6631B/6632B/6633B/6634B. Includes specifications and supplemental characteristics, how to use the front panel, how to connect to the instrument, and calibration procedures.
  • Page 9: External References

    1 - General Information External References GPIB References The most important GPIB documents are your controller programming manuals - BASIC, GPIB Command Library for MS DOS, etc. Refer to these for all non-SCPI commands (for example: Local Lockout). The following are two formal documents concerning the GPIB interface: ...
  • Page 10: Introduction To Programming

    VXIplug&play instrument drivers for Microsoft Windows 95 and Windows NT are now available on the Web at http://www.keysight.com/find/drivers. These instrument drivers provide a high-level programming interface to your Keysight Technologies instrument. VXIplug&play instrument drivers are an alternative to programming your instrument with SCPI command strings. Because the instrument driver's function calls work together on top of the VISA I/O library, a single instrument driver can be used with multiple application environments.
  • Page 11: Accessing Online Help

    2 - Introduction to Programming 6. To use the VXIplug&play instrument driver, follow the directions in the VXIplug&play online help under “Introduction to Programming”. Accessing Online Help A comprehensive online programming reference is provided with the driver. It describes how to get started using the instrument driver with Keysight VEE, LabVIEW, and LabWindows.
  • Page 12: Rs-232 Flow Control

    Introduction to Programming - 2 Baud Rate The front panel Address key lets you select one of the following baud rates, which is stored in non-volatile memory: 1200 2400 4800 9600 RS-232 Flow Control The RS-232 interface supports several flow control options that are selected using the front panel Address key.
  • Page 13: Rs-232 Troubleshooting

    2 - Introduction to Programming FUNCTION gets$ ‘ Get a new line feed terminated string from device #1 C$ = “” ‘ Set C$ to null WHILE c$ <> CHR$ (10) ‘ Set loop to stop at Line Feed C$ = INPUT$ (1, #1) ‘...
  • Page 14: Types Of Scpi Commands

    Introduction to Programming - 2 Types of SCPI Commands SCPI has two types of commands, common and subsystem.  Common commands generally are not related to specfic operation but to controlling overall dc source functions, such as reset, status, and synchronization. All common commands consist of a three-letter nmemonic preceded by an asterisk: *RST *IDN? *SRE 8...
  • Page 15: Moving Among Subsystems

    2 - Introduction to Programming Moving Among Subsystems In order to combine commands from different subsystems, you need to be able to reset the header path to a null string within a message. You do this by beginning the command with a colon (:), which discards any previous header path.
  • Page 16: The Message Unit

    Introduction to Programming - 2 Message Unit Data Keywords Query Indicator VOLT LEV 20 PROT 21 ; : CURR? <NL> Keyword Separator Message Terminator Message Unit Separators Root Specifier FIG2-1.GAL Figure 2-2. Command Message Structure The Message Unit The simplest SCPI command is a single message unit consisting of a command header (or keyword) followed by a message terminator.
  • Page 17: Scpi Data Formats

    2 - Introduction to Programming NOTE: All RS-232 response data sent by the dc source is terminated by the ASCII character pair <carriage return><newline>. This differs from GPIB response data which is terminated by the single character <newline> with EOI asserted. SCPI Data Formats All data programmed to or returned from the dc source is ASCII.
  • Page 18: Scpi Command Completion

    Introduction to Programming - 2 SCPI Command Completion SCPI commands sent to the dc source are processed either sequentially or in parallel. Sequential commands finish execution before a subsequent command begins. Parallel commands allow other commands to begin executing while the parallel command is still executing. Commands that affect trigger actions are among the parallel commands.
  • Page 20: Programming The Dc Source

    Programming the DC Source Introduction This chapter contains examples on how to program your dc source. Simple examples show you how to program:  output functions such as voltage and current  internal and external triggers  measurement functions  the status and protection functions NOTE: These examples in this chapter show which commands are used to perform a particular function, but do not show the commands being used in any particular programming...
  • Page 21: Output Voltage

    3 - Programming the DC Source Output Voltage The output voltage is controlled with the VOLTage command. For example, to set the output voltage to 25 volts, use: VOLTage 25 The dc source can be programmed to turn off its output if the output voltage exceeds a preset peak voltage limit.
  • Page 22: Triggering Output Changes

    Programming the DC Source - 3 Triggering Output Changes The dc source has two independent trigger systems. One is used for generating output changes, and the other is used for triggering measurements. This section describes the output trigger system. The measurement trigger system is described under "Triggering Measurements".
  • Page 23: Initiating The Output Trigger System

    3 - Programming the DC Source Initiating the Output Trigger System When the dc source is turned on, the trigger subsystem is in the idle state. In this state, the trigger subsystem ignores all triggers. Sending the following commands at any time returns the trigger system to the Idle state: ABORt *RST...
  • Page 24: Making Measurements

    Programming the DC Source - 3 Making Measurements The dc source has the ability to make several types of voltage or current measurements. The measurement capabilities of the Keysight 66312A and Keysight 66332A models are particulary useful for loads that draw current in pulses. NOTE: You cannot measure output voltage and current simultaneously.
  • Page 25 When the range is set to MIN, the maximum current that can be measured is 20 milliamperes. Returning Measurement Data From the Data Buffer (Keysight 66312A, 66332A Only) The MEASure and FETCh queries can also return all data values of the instantaneous voltage or current buffer.
  • Page 26: Internally Triggered Measurements

    COMPLETE? Figure 3-2. Model of Measurement Triggers Initiating the Measurement Trigger System (Keysight 66312A, 66332A Only) When the dc source is turned on, the trigger system is in the idle state. In this state, the trigger system ignores all triggers. Sending the following commands at any time returns the trigger system to the Idle...
  • Page 27: Selecting The Measurement Trigger Source (Keysight 66312A, 66332A Only)

    Selecting the Measurement Trigger Source (Keysight 66312A, 66332A Only) The trigger system is waiting for a trigger signal in the Initiated state. Before you generate a trigger, you must select a trigger source.
  • Page 28 Programming the DC Source - 3 Trigger occurs on falling edge Trigger occurs on rising edge when signal crosses negative when signal crosses positive hysteresis band limit hysteresis band limit TRIG:ACQ:HYST:CURR <value> TRIG:ACQ:LEV:CURR <level> TRIG:ACQ:HYST:VOLT TRIG:ACQ:LEV:VOLT <value> <level> TRIG:ACQ:SLOP:CURR TRIG:ACQ:SLOP:VOLT TRIG:ACQ:SLOP:CURR NEG TRIG:ACQ:SLOP:VOLT Figure 3-3.
  • Page 29: Measuring Output Pulses (Keysight 66312A, 66332A Only)

    3 - Programming the DC Source Measuring Output Pulses (Keysight 66312A, 66332A Only) Current Detector Check that the current detector is set to ACDC when measuring current pulses or other waveforms with a frequency content greater than a few kilohertz.
  • Page 30: Controlling Measurement Samples

    SENSe:SWEep:TINTerval 46.8E-6;POINts 1500. Note that the time interval values are rounded to the nearest 15.6 microsecond increment. Multiple Measurements (Keysight 66312A, 66332A Only) The instrument also has the ability to set up several acquisition triggers in succession and average the results from each acquisition in the returned measurement.
  • Page 31: Pre-Event And Post-Event Triggering (Keysight 66312A, 66332A Only)

    3 - Programming the DC Source Pre-event and Post-event Triggering (Keysight 66312A, 66332A Only) When a measurement is initiated, the dc source continuously samples either the instantaneous output voltage or current. As shown in figure 3-6, you can move the block of data being read into the acquisition buffer with reference to the acquisition trigger.
  • Page 32 Programming the DC Source - 3 !Rev A.00.00 OPTION BASE 1 DIM Curr_array(100) ASSIGN @Ps TO 705 ASSIGN @Ld TO 706 OUTPUT @Ps;"*RST" ! Sets supply to default values OUTPUT @Ps;"OUTP ON" ! Turn on power supply output OUTPUT @Ps;"VOLT 5;CURR 5" ! Program power supply to 5 volts, 5 amps OUTPUT @Ld;"CURR:LEVEL 0"...
  • Page 33: Programming The Status Registers

    3 - Programming the DC Source Programming the Status Registers You can use status register programming to determine the operating condition of the dc source at any time. For example, you may program the dc source to generate an interrupt (assert SRQ) when an event such as a current limit occurs.
  • Page 34: Operation Status Group

    Programming the DC Source - 3 Table 3-1. Bit Configurations of Status Registers Signal Meaning Operation Status Group The dc source is computing new calibration constants The dc source is waiting for a trigger The dc source is in constant voltage mode The dc source is in constant current mode The dc source is in negative constant current mode Questionable Status Group...
  • Page 35: Questionable Status Group

    3 - Programming the DC Source Questionable Status Group The Questionable Status registers record signals that indicate abnormal operation of the dc source. As shown in figure 3-7, the group consists of the same type of registers as the Status Operation group. The outputs of the Questionable Status group are logically-ORed into the QUEStionable summary bit (3) of the Status Byte register.
  • Page 36: Determining The Cause Of A Service Interrupt

    Programming the DC Source - 3 The MSS Bit This is a real-time (unlatched) summary of all Status Byte register bits that are enabled by the Service Request Enable register. MSS is set whenever the dc source has one or more reasons for requesting service.
  • Page 37: Monitoring Both Phases Of A Status Transition

    3 - Programming the DC Source STATus:QUEStionable:PTR 19;ENABle 19 (1 + 2 + 16 = 19) Step 3 Program the Service Request Enable register to allow both the Operation and the Questionable summary bits from the Status Byte register to generate RQS. Use: *SRE 136 (8 + 128 = 136) Step 4...
  • Page 38: Using The Inhibit/Fault Port As A Digital I/O

    Programming the DC Source - 3 Using the Inhibit/Fault Port as a Digital I/O You can configure the inhibit/fault port to provide a digital input/output to be used with custom digital interface circuits or relay circuits. As shipped from the factory, the port is shipped for inhibit/fault operation. You can change the configuration of the port to operate as a general purpose digital input output port with the following command: [SOURce:]DIGital:FUNCtion RIDFi | DIGio...
  • Page 40: Language Dictionary

    Language Dictionary Introduction This section gives the syntax and parameters for all the IEEE 488.2 SCPI commands and the Common commands used by the dc source. It is assumed that you are familiar with the material in “Chapter 2 - "Remote Programming".
  • Page 41 4 - Language Dictionary Table 4-1. Subsystem Commands Syntax ABORt Resets the trigger system to the Idle state CALibrate :CURRent [:SOURce] [:DC] [:POSitive] Calibrate positive output current and high current measurement range :NEGative Calibrate negative output current :MEASure [:DC] :LOWRange Calibrate low current measurement range Calibrate ac current measurement circuits :DATA <n>...
  • Page 42 Language Dictionary - 4 Table 4-1. Subsystem Commands Syntax (continued) OUTPut [:STATe] <bool> [,NORelay] Enables/disables the dc source output :DFI [:STATe] <bool> Enable/disable DFI output :SOURce <source> Selects event source (QUES | OPER | ESB | RQS | OFF) :PON :STATe <state>...
  • Page 43 4 - Language Dictionary Table 4-1. Subsystem Commands Syntax (continued) STATus :PRESet Presets all enable and transition registers to power-on :OPERation [:EVENt]? Returns the value of the event register :CONDition? Returns the value of the condition register :ENABle <n> Enables specific bits in the Event register :NTRansition<n>...
  • Page 44: Common Commands

    Perform selftest, then return result *WAI Hold off bus until all device commands done Programming Parameters The following table lists the output programming parameters for each model. Table 4-3. Output Programming Parameters Parameter Value 66312A 66332A 6631B 6632B 6633B 6634B 6611C 6612C 6613C 6614C [SOUR:]CURR[:LEV][:IMM] MAX 2.0475...
  • Page 45: Calibration Commands

    This command initiates the calibration of the low-range current measurement circuit. CALibrate:CURRent:MEASure[:DC]:LOWRange Command Syntax None Parameters CAL:CURR:MEAS Examples CAL:CURR Related Commands CALibrate:CURRent:MEASure:AC Keysight 66312A, 66332A Only This command initiates the calibration of the high bandwidth (ac) measurement circuit. Command Syntax CALibrate:CURRent:MEASure:AC Parameters None CAL:CURR:MEAS:AC Examples...
  • Page 46: Calibrate:data

    Language Dictionary - 4 CALibrate:DATA This command enters a calibration value that you obtain by reading an external meter. You must first select a calibration level (with CALibrate:LEVel) for the value being entered. CALibrate:DATA<NRf> Command Syntax Parameters <external reading> A (amperes) Unit CAL:DATA 3222.3 MA CAL:DATA 5.000...
  • Page 47: Calibrate:state

    4 - Language Dictionary CALibrate:STATe This command enables and disables calibration mode. The calibration mode must be enabled before the will accept any other calibration commands. The first parameter specifies the enabled or disabled state. The second parameter is the password. It is required if the calibration mode is being enabled and the existing password is not 0.
  • Page 48: Measurement Commands

    MEASure:ARRay:CURRent? FETCh:ARRay:CURRent? Keysight 66312A, 66332A Only These queries return an array containing the instantaneous output current in amperes. The output voltage or output current are digitized whenever a measure command is given or whenever an acquire trigger occurs. The time interval is set by SENSe:SWEep:TINTerval. The position of the trigger relative to the beginning of the data buffer is determined by SENSe:SWEep:OFFSet.
  • Page 49: Measure:current? Fetch:current

    4 - Language Dictionary MEASure:CURRent? FETCh:CURRent? FETCh:CURRent? applies to Keysight 66312A, 66332A Only These queries return the dc output current. MEASure:[SCALar]:CURRent[:DC]? Query Syntax FETCh:[SCALar]:CURRent[:DC]? Parameters None MEAS:CURR? MEAS:CURR:DC? Examples Returned Parameters <NR3> MEAS:VOLT? Related Commands MEASure:CURRent:ACDC? FETCh:CURRent:ACDC? Keysight 66312A, 66332A Only These queries return the ac+dc rms output current.
  • Page 50: Measure:current:low? Fetch:current:low

    MEASure:CURRent:LOW? FETCh:CURRent:LOW? Keysight 66312A, 66332A Only These queries return the Low level current of a current pulse waveform. The instrument first measures the minimum and maximum data points of the pulse waveform. It then generates a histogram of the pulse waveform using 1024 bins between the maximum and minimum data points.
  • Page 51: Measure:voltage? Fetch:voltage

    4 - Language Dictionary MEASure:VOLTage? FETCh:VOLTage? FETCh:VOLTage? applies to Keysight 66312A, 66332A Only These queries return the dc output voltage. MEASure[:SCALar]:VOLTage[:DC]? Query Syntax MEASure[:SCALar]:VOLTage[:DC]? Parameters None MEAS:VOLT? FETC:VOLT:DC? Examples Returned Parameters <NR3> MEAS:CURR? Related Commands MEASure:VOLTage:ACDC? FETCh:VOLTage:ACDC? Keysight 66312A, 66332A Only These queries return the ac+dc rms output voltage.
  • Page 52: Measure:voltage:low? Fetch:voltage:low

    MEASure:VOLTage:LOW? FETCh:VOLTage:LOW? Keysight 66312A, 66332A Only These queries return the Low level voltage of a voltage pulse waveform. The instrument first measures the minimum and maximum data points of the pulse waveform. It then generates a histogram of the pulse waveform using 1024 bins between the maximum and minimum data points.
  • Page 53: Sense:current:range

    <NR3> Returned Parameters SENSe:CURRent:DETector Keysight 66312A, 66332A Only This command lets you select the type of detector used for output current measuremants. Two choices for detecting current measurements are available: This is the preferred choice for all dynamic current measurements. When ACDC is selected,...
  • Page 54: Sense:function

    Language Dictionary - 4 SENSe:FUNCtion Keysight 66312A, 66332A Only This command configures the measurement sensor to measure either voltage or current when an acquire trigger is used. The query returns the function setting, either VOLT or CURR. SENSe:FUNCtion <function Command Syntax "VOLTage"...
  • Page 55: Sense:window

    4 - Language Dictionary SENSe:WINDow This command sets the window function that is used in output measurement calculations. The following functions can be selected: A signal conditioning window that reduces errors in dc and rms measurement HANNing calculations in the presence of periodic signals such as line ripple. It also reduces jitter when measuring successive pulse waveforms.
  • Page 56: Output Commands

    (see *RST). Unless the NORelay command is programmed, the OUTput command also controls the output relay on Keysight models 66332A, 6631B, 6632B, 6633B, and 6634B with Relay Option 760. If the NORelay command is sent, the output relay state does NOT change.
  • Page 57: Output:pon:state

    4 - Language Dictionary OUTPut:PON:STATe This command selects the power-on state of the dc source. This information is saved in non-volatile memory. The following states can be selected: Sets the power-on state to *RST. Refer to the *RST command as described in this chapter for more information.
  • Page 58: Output:relay

    Language Dictionary - 4 OUTPut:RELay Keysight 66332A, 6632B, 6633B, 6634B, 6611C, 6612C, 6613C, 6614C Only This command is only valid for units with Relay Option 760, otherwise an error will occur. Programming ON closes the output relay contacts; programming OFF opens them. The relay is controlled independently of the output state.
  • Page 59: [Source:]Current

    4 - Language Dictionary [SOURce:]CURRent This command sets the immediate current level of the dc source . The immediate level is the current programmed for the output terminals. [SOURce]:CURRent[:LEVel][:IMMediate][:AMPLitude]<NRf+> Command Syntax Parameters see Table 4-3 A (amperes) Default Suffix *RST Value 10% of MAX CURR 200 MA CURRENT:LEVEL 200 MA...
  • Page 60: [Source:]Digital:data

    Language Dictionary - 4 [SOURce:]DIGital:DATA This command sets and reads the dc source digital control port when that port is configured for Digital I/O operation. The port has three signal pins and a digital ground pin. Pins 1 and 2 are output pins controlled by bits 0 and 1.
  • Page 61: [Source:]Voltage:alc:bandwidth? [Source:]Voltage:alc:bwidth

    [SOURce:]VOLTage:ALC:BANDwidth? [SOURce:]VOLTage:ALC:BWIDth? Keysight 66332A, 6631B, 6632B, 6633B and 6634B Only These queries return the setting of the output mode switch. The output mode switch is used to connect or disconnect the the output capacitor located inside the unit. The returned value is 15,000 if the switch is set to Normal and 60,000 if the switch is set to Fast.
  • Page 62: Status Commands

    Language Dictionary - 4 Status Commands Status commands program the dc source status registers. The dc source has three groups of status registers; Operation, Questionable, and Standard Event. The Standard Event group is programmed with Common commands as described later in this section. The Operation and Questionable status groups each consist of the Condition, Enable, and Event registers and the NTR and PTR filters.
  • Page 63: Status:operation:enable

    4 - Language Dictionary STATus:OPERation:ENABle This command and its query set and read the value of the Operational Enable register. This register is a mask for enabling specific bits from the Operation Event register to set the operation summary bit (OPER) of the Status Byte register.
  • Page 64: Status:questionable

    Language Dictionary - 4 Table 4-5. Bit Configuration of Questionable Status Registers Bit Position 13-11 Bit Name Meas Unreg used Ovld used used used Bit Weight 16384 1024 OV = overvoltage protection has tripped OCP = overcurrent protection has tripped FS = the fuse is blown OT = overtemperature protection has tripped RI = remote inhibit is active...
  • Page 65: Status:questionable:ntr Status:questionable:ptr

    4 - Language Dictionary STATus:QUEStionable:NTR STATus:QUEStionable:PTR These commands allow you to set or read the value of the Questionable NTR (Negative-Transition) and PTR (Positive-Transistion) registers. These registers serve as polarity filters between the Questionable Enable and Questionable Event registers to cause the following actions: ...
  • Page 66: Ese

    Language Dictionary - 4 *ESE This command programs the Standard Event Status Enable register bits. The programming determines which events of the Standard Event Status Event register (see *ESR?) are allowed to set the ESB (Event Summary Bit) of the Status Byte register. A "1" in the bit position enables the corresponding event. All of the enabled events of the Standard Event Status Event Register are logically ORed to cause the Event Summary Bit (ESB) of the Status Byte Register to be set.
  • Page 67: Psc

    4 - Language Dictionary * OPC does not prevent processing of subsequent commands, but bit 0 will not be set until all pending operations are completed. *OPC? causes the instrument to place an ASCII "1" in the Output Queue when all pending operations are completed.
  • Page 68: Stb

    Language Dictionary - 4 Command Syntax *SRE <NRf> 0 to 255 Parameters Power-on Value see *PSC *SRE 20 Example Query Syntax *SRE? <NR1> (register binary value) Returned Parameters Related Commands *ESE *ESR *PSC CAUTION: If *PSC is programmed to 0, the *SRE command causes a write cycle to nonvolatile memory.
  • Page 69 4 - Language Dictionary System Commands System commands consist of system, display, and common commands. System commands commands control system functions that are not directly related to output control or measurement functions. Display commands control the front panel display of the . Common commands also perform system functions.
  • Page 70 Language Dictionary - 4 SYSTem:ERRor? This query returns the next error number followed by its corresponding error message string from the remote programming error queue. The queue is a FIFO (first-in, first-out) buffer that stores errors as they occur. As it is read, each error is removed from the queue. When all errors have been read, the query returns 0,NO ERROR.
  • Page 71 This query requests the dc source to identify itself. It returns a string composed of four fields separated by commas. *IDN? Query Syntax Returned Parameters <AARD> Field Information Keysight Technologies Manufacturer xxxxxA model number followed by a letter suffix nnnnA-nnnnn 10-character serial number or 0 <A>.xx.xx Revision levels of firmware. KEYSIGHT,66312A,0,A.00.01...
  • Page 72 Language Dictionary - 4 *OPT? This query requests the dc source to identify any options that are installed. Options are identified by number A 0 indicates no options are installed. Query Syntax *OPT? Returned Parameters <AARD> *RCL WARNING: Recalling a previously stored state may place hazardous voltages at the dc source output. This command restores the dc source to a state that was previously stored in memory with the *SAV command to the specified location.
  • Page 73 4 - Language Dictionary Table 4-8. *RST Settings CAL:STAT [SOUR:]CURR 10% of MAX* DIG:DATA [SOUR:]CURR:TRIG 10% of MAX* DISP:STAT [SOUR:]CURR:PROT:STAT DISP:MODE NORM [SOUR:]LIST:COUN DISP:TEXT ‘ ‘ [SOUR:]VOLT INIT:CONT [SOUR:]VOLT:TRIG OUTP [SOUR:]VOLT:PROT MAX* OUTP:DFI TRIG:ACQ:COUN:CURR OUTP:DFI:SOUR TRIG:ACQ:COUN:VOLT OUTP:PROT:DEL .08 Norm; .008 Fast TRIG:ACQ:HYST:CURR OUTP:REL TRIG:ACQ:HYST:VOLT...
  • Page 74 INITiate:SEQuence INITiate:NAME INIT:SEQ2 or INIT:NAME ACQ applies to Keysight 66312A, 66332A Only INITiate commands control the initiation of both output and measurement triggers. When a trigger is enabled, an event on a selected trigger source causes the specified triggering action to occur. If the trigger subsystem is not enabled, all trigger commands are ignored.
  • Page 75 Returned Parameters TRIGger:SEQuence2 TRIGger:ACQuire Keysight 66312A, 66332A Only When the trigger subsystem is initiated, these commands generate a measurement trigger signal. The measurement trigger causes the dc source to measure the output voltage and current and store the results in a buffer.
  • Page 76 TRIGger:SEQuence2:COUNt:CURRent TRIGger:ACQuire:COUNt:CURRent Keysight 66312A, 66332A Only This command sets up a successive number of triggers for measuring current data. With this command, the trigger system needs to be initialized only once at the start of the acquisition period. After each completed measurement, the instrument waits for the next valid trigger condition to start another measurement.
  • Page 77 TRIGger:SEQuence2:HYSTeresis:CURRent TRIGger:ACQuire:HYSTeresis:CURRent Keysight 66312A, 66332A Only This command defines a band around the trigger level through which the signal must pass before an internal measurement can occur. The band limit above and below the trigger level is one half of the hysteresis value added to or subtracted from the trigger level.
  • Page 78 Language Dictionary - 4 Keysight 66312A, 66332A Only This command sets the trigger level for internally triggered current measurements. A positive current trigger occurs when the current level changes from a value less than the lower hysteresis band limit to a value greater than the upper hysteresis band limit.
  • Page 79 4 - Language Dictionary TRIGger:SEQuence2:SLOPe:CURRent TRIGger:ACQuire:SLOPe:CURRent Keysight 66312A, 66332A Only This command sets the slope of an internally triggered current measurement. triggering occurs on the rising edge. POSitive triggering occurs on the falling edge. NEGative EITHer triggering occurs on either edge.
  • Page 80 TRIGger:SEQuence1:DEFine TRIGger:SEQuence2:DEFine TRIGger:SEQuence2:DEFine applies to Keysight 66312A, 66332A Only These commands define the names that are aliased to trigger sequences 1 and 2. The command accepts only ACQuire for sequence 2 and TRANsient for sequence 1 as predefined names. The query allows the user to query the instrument names aliased to sequences 1 and 2.
  • Page 82 SCPI Conformance Information SCPI Version The Keysight Dynamic Measurement DC Source conforms to SCPI Version 1995.0. SCPI Confirmed Commands ABOR SENS:SWE:POIN CAL:DATA SENS:SWE:TINT CAL:STAT STAT:OPER[:EVEN]? DISP[:WIND][:STAT] STAT:OPER:COND? DISP[:WIND]:TEXT[:DATA] STAT:OPER:ENAB INIT[:IMM]:SEQ | NAME STAT:OPER:NTR INIT:CONT:SEQ | NAME STAT:OPER:PTR MEAS | FETC:ARR:CURR[:DC]? STAT:PRES MEAS | FETC:ARR:VOLT[:DC]? STAT:QUES[:EVEN]?
  • Page 84 Compatibility Language Introduction The Keysight power supplies covered by this manual are programmatically compatible with the HP/Keysight 6632A, 6633A, and 6634A dc power supplies. This means that by using COMPatibility language mode you can program these newer dc sources over the GPIB using COMPatibility commands. To switch from SCPI commands to COMPatibility commands (and vice versa), use the SYST:LANG command, as documented in chapter 4.
  • Page 85 B - Compatibility Language Table B-2. COMPatibility Commands Compatibility Description Similar SCPI Command Command ASTS? This command reads the contents of the accumulated status STAT:OPER? register, which stores any bit condition entered in the status STAT:QUES? register since the accumulated status register was last read, *ESE? regardless of whether the condition still exists.
  • Page 86 Compatibility Language - B Table B-2. COMPatibility Commands (continued) Compatibility Description Similar SCPI Command Command OVSET <n> This command programs the overvoltage protection. See Table VOLT:PROT 4-3 for the programming range of this command. Initial condition: MAX POL 0 | 1 Only applies to units with Option 760.
  • Page 87 B - Compatibility Language Table B-2. COMPatibility Commands (continued) Compatibility Description Similar SCPI Command Command UNMASK These commands determine the conditions that will set bits in the STAT:OPER:ENAB fault register, allowing the operator to define the conditions that will STAT:QUES:ENAB be reported as fault Fault conditions can be enabled by sending *ESE the decimal equivalent of the total bit weight of all conditions to be...
  • Page 88 INH = The external remote inhibit signal has turned the output off. FAST = The output is in Fast operating mode. (Keysight 66332A, 6631B, 6632B, 6633B, 6634B only) NORM = The output is in Normal operating mode. (Keysight 66332A, 6631B, 6632B, 6633B, 6634B only) Table B-5.
  • Page 90 Error Messages Error Number List This appendix gives the error numbers and descriptions that are returned by the dc source. Error numbers are returned in two ways:  Error numbers are displayed on the front panel  Error numbers and messages are read back with the SYSTem:ERRor? query. SYSTem:ERRor? returns the error number into a variable and returns two parameters: an NR1 and a string.
  • Page 91 C - Error Messages Table C-1. Error Numbers (continued) Error Error String [Description/Explanation/Examples] Number –141 Invalid character data [bad character, or unrecognized] –144 Character data too long –148 Character data not allowed –150 String data error –151 Invalid string data [e.g., END received before close quote] –158 String data not allowed –160...
  • Page 92 Error Messages - C Table C-1. Error Numbers (continued) Error Error String [Description/Explanation/Examples] Number Ingrd receiver buffer overrun RS-232 receiver framing error RS-232 receiver parity error RS-232 receiver overrun error Front panel uart overrun Front panel uart framing Front panel uart parity Front panel buffer overrun Front panel timeout CAL switch prevents calibration...
  • Page 94 Example Programs Introduction The example programs in this section are intended to show how some of the same dc source functions can be programmed to each of the following GPIB interfaces: 1. HP Vectra PC controller with Keysight 82335A GPIB Interface Command Library 2.
  • Page 95 D - Example Programs Your application program will not include the dc source's symbolic name and GPIB address. These must be specified during configuration (when you run IBCONF.EXE). Note that the primary address range is from 0 to 30 but any secondary address must be specified in the address range of 96 to 126.
  • Page 96 Example Programs - D 1085 1090 'Query dc source outputs CURRENT?" :GOSUB 2000 :GOSUB 3000 1100 VOUT = OUTPUTS(1) 1105 IOUT = OUTPUTS(2) 1110 PRINT "The output levels are "VOUT" Volts and "IOUT" Amps" 1115 1120 'Program triggered current level to value insufficient to maintain 1125 'supply within its CV operating characteristic 1130...
  • Page 97 D - Example Programs Example 2. IBM Controller Using National Interface '---------------------- Merge DECL.BAS here ------------------------ 1000 'DC Source Variable = PS% ; Stand-Alone Address = 706 1005 CODES$=SPACE$(50):MODE$=SPACE$(5):OEVENT$=SPACE$(20) 1010 D$=SPACE$(60):OUTPUT$=SPACE$(40):BDNAME$="PS%" 1015 DIM OUTPUT(2) 1020 1025 'Set up dc source interface for DOS driver 1030 CALL IBFIND(BDNAME$,PS%) 1035...
  • Page 98 Example Programs - D 1225 1230 'Clear status circuit 1235 CODES$="*CLS" :GOSUB 2000 1240 FOR I=1 TO 50 :NEXT I 'Wait for supply to clear 1245 1250 'Disable output and save present state to location 2 1255 CODES$ = "OUTPUT OFF;*SAV 2" :GOSUB 2000 1260 1265...
  • Page 99 D - Example Programs Example 3. Controller Using BASIC 1000 !Dc source at stand-alone address = 706 1010 OPTION BASE 1 1020 DIM Response$[80] 1030 ASSIGN @Ps TO 706 1040 CLEAR SCREEN 1050 ! 1060 PRINT "Disconnect any load from output terminals and press CONTINUE..."...
  • Page 100 INDEX maximum, 20 —A— measurement range, 24 measurements, 23 current measurement detector, 28, 52 AARD, 16 current measurement range, 52 ABORT, 73 ACDC, 52 —D— —B— DC, 52 dc measurements, 23 bus, 79 determining cause of interrupt, 35 device clear, 17 —C—...
  • Page 101 Index —H— newline, 15 message unit hanning, 54 separator, 15 header, 15 minimum measurements, 24 monitoring both phases of status transition, 36 long form, 15 short form, 15 moving among subsystems, 14 history, 2 MSS bit, 35 HP 8235A driver, 93 multiple measurements, 29 HP BASIC controllers, 94 HP-IB...
  • Page 102 Index —R— standard event status group, 34 status bit configurations, 33 rectangular, 54 status byte register, 34 remote inhibit, 36 status commands, 61 STAT OPER COND?, 61 returning voltage or current data, 24 RI, 36 STAT OPER ENAB, 62 rms measurements, 24 STAT OPER NTR, 62 root specifier, 15 STAT OPER PTR, 62...
  • Page 103 Index —V— varying voltage or current sampling, 29 voltage, 20 maximum, 20 measurements, 23 —W— waiting for measurement results, 27 —X— XON-XOFF, 11...
  • Page 104 This information is subject to change without notice. © Keysight Technologies 1997, 2014 Edition 2, December 2014 5962-8198 www.keysight.com...

This manual is also suitable for:

66312a6631b6632b6633b6634b6611c ... Show all

Table of Contents