Agilent Technologies 66312A Programming Manual

Agilent Technologies 66312A Programming Manual

Dynamic measurement dc source; system dc power supply
Hide thumbs Also See for 66312A:
Table of Contents

Advertisement

Agilent Models 6631B, 6632B, 6633B, 6634B
Agilent Part No. 5962-8198
Microfiche No 5962-8199
Programming Guide
Dynamic Measurement DC Source
Agilent Models 66312A, 66332A
System DC Power Supply
6611C, 6612C, 6613C, 6614C
Printed in U.S.A.
January, 2000

Advertisement

Table of Contents
loading

Summary of Contents for Agilent Technologies 66312A

  • Page 1 Programming Guide Dynamic Measurement DC Source Agilent Models 66312A, 66332A System DC Power Supply Agilent Models 6631B, 6632B, 6633B, 6634B 6611C, 6612C, 6613C, 6614C Agilent Part No. 5962-8198 Printed in U.S.A. Microfiche No 5962-8199 January, 2000...
  • Page 2: 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 Agilent Technologies. The information contained in this document is subject to change without notice.
  • Page 3: 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 4 Output Trigger System Model Setting the Voltage or Current Trigger Levels Initiating the Output Trigger System Generating Triggers Making Measurements Voltage and Current Measurements Internally Triggered Measurements SCPI Triggering Nomenclature Measurement Trigger System Model Initiating the Measurement Trigger System (Agilent 66312A, 66332A Only) Selecting the Measurement Trigger Source (Agilent 66312A, 66332A Only) Generating Measurement Triggers (Agilent 66312A, 66332A Only) Measuring Output Pulses (Agilent 66312A, 66332A Only)
  • Page 5 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 6 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 7: General Information

    General Information About this Guide This guide provides remote programming information for the following series of GPIB programmable dc power supplies: Agilent 66312A Agilent 66332A Agilent 6631B/6632B/6633B/6634B Agilent 6611C/6612C/6613C/6614C You will find the following information in the rest of this guide: Chapter 1 Introduction to this guide.
  • Page 8: 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: ANSI/IEEE Std.
  • Page 9: Introduction To Programming

    VXI plug&play instrument drivers for Microsoft Windows 95 and Windows NT are now available on the Web at http://www.agilent.com/find/drivers. These instrument drivers provide a high-level programming interface to your Agilent Technologies instrument. VXI plug&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 10: Accessing Online Help

    2 - Introduction to Programming 6. To use the VXI plug&play instrument driver, follow the directions in the VXI plug&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 Agilent VEE, LabVIEW, and LabWindows.
  • Page 11: 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 12: 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 13: 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 14: 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 15: The Message Unit

    Introduction to Programming - 2 Message Unit Data Keywords Query Indicator PROT 21 ; : CURR? VOLT : LEV 20 <NL> Keyword Separator Message Terminator Message Unit Separators Root Specifier 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 16: 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 17: 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 19: 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: u output functions such as voltage and current u internal and external triggers u measurement functions u 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 20: 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 125 The dc source can be programmed to turn off its output if the output voltage exceeds a preset peak voltage limit.
  • Page 21: 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 22: 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 23: 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 Agilent 66312A and Agilent 66332A models are particulary useful for loads that draw current in pulses. NOTE: You cannot measure output voltage and current simultaneously.
  • Page 24 3 - Programming the DC Source This results in a data acquisition time of 32 milliseconds. Adding a command processing overhead of about 20 milliseconds results in a total measurement time of about 50 milliseconds per measurement sample. Ripple rejection is a function of the number of cycles of the ripple frequency contained in the acquisition window.
  • Page 25: Internally Triggered Measurements

    Programming the DC Source - 3 Internally Triggered Measurements You can use the data acquisition trigger system to synchronize the timing of the voltage and current data acquisition with a BUS or internal trigger source. Then use the FETCh commands to return different calculations from the data acquired by the measurement trigger.
  • Page 26: Selecting The Measurement Trigger Source (Agilent 66312A, 66332A Only)

    3 - Programming the DC Source INITiate:SEQuence2 INITiate:NAME ACQuire After a trigger is received and the data acquisition completes, the trigger system will return to the Idle state (unless multiple measurements are desired). Thus it will be necessary to initiate the system each time a triggered acquisition is desired.
  • Page 27 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 TRIG:ACQ:SLOP:CURR TRIG:ACQ:SLOP:VOLT TRIG:ACQ:SLOP:CURR NEG TRIG:ACQ:SLOP:VOLT Figure 3-3.
  • Page 28: Measuring Output Pulses (Agilent 66312A, 66332A Only)

    3 - Programming the DC Source Measuring Output Pulses (Agilent 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. SENSe:CURRent:DETect ACDC Only select DC as the measurement detector if you are making only DC current measurements and you require a measurement offset better than 2mA on the High current measurement range.
  • Page 29: Controlling Measurement Samples

    Programming the DC Source - 3 Controlling Measurement Samples Varying the Voltage or Current Sampling Rate You can vary both the number of data points in a measurement sample, as well as the time between samples. This is illustrated in Figure 3-5. SENS:SWE:TINT <time>...
  • Page 30: Pre-Event And Post-Event Triggering (Agilent 66312A, 66332A Only)

    3 - Programming the DC Source Pre-event and Post-event Triggering (Agilent 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 31 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 32: 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 33: 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 34: 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 35: 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 36: Monitoring Both Phases Of A Status Transition

    3 - Programming the DC Source event to be summed into the Questionable summary bit. Use: (1 + 2 + 16 = 19) STATus:QUEStionable:PTR 19;ENABle 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.
  • Page 37: 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 39: 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 40 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 41 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 42 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 43: Common Commands

    Language Dictionary - 4 Common Commands Common commands begin with an * and consist of three letters (command) or three letters and a ? (query). They are defined by the IEEE 488.2 standard to perform common interface functions. Common commands and queries are categorized under System, Status, or Trigger functions and are listed at the end of each group.
  • Page 44: Calibration Commands

    4 - Language Dictionary Calibration Commands Calibration commands let you: u Enable and disable the calibration mode u Change the calibration password u Calibrate the current and voltage programming and measurement, and store new calibration constants in nonvolatile memory. NOTE: If calibration mode has not been enabled with CALibrate:STATe, programming the calibration commands will generate an error.
  • Page 45: 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 46: 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 47: Measurement Commands

    Language Dictionary - 4 Measurement Commands Measurement commands consist of measure and sense commands. Measure commands measure the output voltage or current. Measurements are performed by digitizing the instantaneous output voltage or current for a defined number of samples and sample interval, storing the results in a buffer, and calculating the measured result.
  • Page 48: Measure:current? Fetch:current

    4 - Language Dictionary MEASure:CURRent? FETCh:CURRent? FETCh:CURRent? applies to Agilent 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? Agilent 66312A, 66332A Only These queries return the ac+dc rms output current.
  • Page 49: Measure:current:low? Fetch:current:low

    Language Dictionary - 4 MEASure:CURRent:LOW? FETCh:CURRent:LOW? Agilent 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 50: Measure:voltage? Fetch:voltage

    4 - Language Dictionary MEASure:VOLTage? FETCh:VOLTage? FETCh:VOLTage? applies to Agilent 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? Agilent 66312A, 66332A Only These queries return the ac+dc rms output voltage.
  • Page 51: Measure:voltage:low? Fetch:voltage:low

    Language Dictionary - 4 MEASure:VOLTage:LOW? FETCh:VOLTage:LOW? Agilent 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 52: Sense:current:range

    4 - Language Dictionary SENSe:CURRent:RANGe This command selects the dc current measurement range. All models have two current measurement ranges: High Range: 0 through MAX (see Table 4-3) Low Range: 0 through 0.02 A (all models) The High range covers the full current measurement capability of the instrument. The Low range measures currents up to a maximum of 20 mA.
  • Page 53: Sense:function

    Language Dictionary - 4 SENSe:FUNCtion Agilent 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 54: 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 55: Output Commands

    Language Dictionary - 4 Output Commands Output commands consist of output and source commands. Output commands control the output and digital port functions. They also control the output relay on units with Relay Option 760. Source commands program the actual voltage, current, and digital port output. OUTPut This command enables or disables the dc source output.
  • Page 56: 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 57: Output:relay

    Language Dictionary - 4 OUTPut:RELay Agilent 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 58: [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 59: [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 60: [Source:]Voltage:alc:bandwidth? [Source:]Voltage:alc:bwidth

    4 - Language Dictionary [SOURce:]VOLTage:ALC:BANDwidth? [SOURce:]VOLTage:ALC:BWIDth? Agilent 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 61: 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 62: 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 63: 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 64: 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: u When a bit of the Questionable NTR register is set to 1, then a 1-to-0 transition of the corresponding bit of the Questionable Condition register causes that bit in the Questionable Event register to be set.
  • Page 65: 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 66: 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 67: Stb

    Language Dictionary - 4 Command Syntax *SRE <NRf> 0 to 255 Parameters see *PSC Power-on Value *SRE 20 Example Query Syntax *SRE? Returned Parameters <NR1> (register binary value) Related Commands *ESE *ESR *PSC CAUTION: If *PSC is programmed to 0, the *SRE command causes a write cycle to nonvolatile memory.
  • Page 68: System Commands

    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 69: System:error

    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 70: System:local

    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 Agilent 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.
  • Page 71 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. *OPT? Query Syntax <AARD> Returned Parameters *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 72 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 73: Trigger Commands

    Language Dictionary - 4 Trigger Commands Trigger commands consist of trigger and initiate commands. Trigger commands control the remote triggering of the dc source . Trigger commands (and Initate commands) are referenced either by name or by number. The correspondence between names and numbers is: Sequence Number Sequence Name...
  • Page 74: Trigger

    4 - Language Dictionary TRIGger When the transient trigger subsystem is initiated, this command generates a trigger signal. The trigger will then: 1. Initiate a pending level change as specified by CURRent:TRIGger or VOLTage;TRIGger. 2. Clear the WTG bit in the Status Operation Condition register after both transient and acquire trigger sequences have completed.
  • Page 75: Trigger:sequence2:Count:current Trigger:acquire:count:current

    Language Dictionary - 4 TRIGger:SEQuence2:COUNt:CURRent TRIGger:ACQuire:COUNt:CURRent Agilent 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 76: Trigger:sequence2:Hysteresis:current Trigger:acquire:hysteresis:current

    4 - Language Dictionary TRIGger:SEQuence2:HYSTeresis:CURRent TRIGger:ACQuire:HYSTeresis:CURRent Agilent 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 77: Trigger:sequence2:Level:current Trigger:acquire:level:current

    Language Dictionary - 4 TRIGger:SEQuence2:LEVel:CURRent TRIGger:ACQuire:LEVel:CURRent Agilent 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 78: Trigger:sequence2:Slope:current Trigger:acquire:slope:current

    4 - Language Dictionary TRIGger:SEQuence2:SLOPe:CURRent TRIGger:ACQuire:SLOPe:CURRent Agilent 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. TRIGger:SEQuence2:SLOPe:CURRent<slope>...
  • Page 79: Trigger:sequence2:Source Trigger:acquire:source

    Language Dictionary - 4 TRIGger:SEQuence2:SOURce TRIGger:ACQuire:SOURce Agilent 66312A, 66332A Only These commands select the trigger source for measurement triggers as follows: GPIB device, *TRG, or <GET> (Group Execute Trigger) trigger is generated internally when the measured waveform crosses the trigger level INTernal with the selected slope.
  • Page 81: Scpi Version

    SCPI Conformance Information SCPI Version The Agilent 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 83: Introduction

    Compatibility Language Introduction The Agilent power supplies covered by this manual are programmatically compatible with the HP/Agilent 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 84: B - Compatibility Language

    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 85 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 86 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 87 Compatibility Language - B STATUS REGISTER not used FAULT REGISTER 1024 FAST 2048 NORM SERIAL POLL ACCUMULATED REGISTER MASKUS STATUS REGISTER REGISTER not used not used 1024 2048 not used not used 1024 FAST 1024 2048 NORM 2048 Figure B-1. COMpatibility Status Model Table B-4.
  • Page 89: Error Number List

    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 90: C - Error Messages

    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 91 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 93: Assigning The Gpib Address In Programs

    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 Agilent 82335A GPIB Interface Command Library 2.
  • Page 94: D - Example Programs

    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 95 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 96: Example 2. Ibm Controller Using National Interface

    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 97 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 98: Example 3. Controller Using Basic

    D - Example Programs Example 3. Controller Using BASIC 1000 !Dc source at stand-alone address = 706 1005 OPTION BASE 1 1010 DIM Codes$[80],Response$[80],Mode$[32] 1015 1020 !Program dc source to CV mode with following voltage and current 1025 OUTPUT 706;"VOLTAGE MAX;CURRENT MAX" 1030 1035 !Query dc source outputs and print to screen...
  • Page 99: Index

    INDEX maximum, 20 measurement range, 24 —A— 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 100 Index newline, 15 —H— 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 101 Index standard event status group, 34 —R— 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 102 Index —V— —W— varying voltage or current sampling, 29 waiting for measurement results, 27 voltage, 20 maximum, 20 —X— measurements, 23 XON-XOFF, 11...
  • Page 103 Manual Updates The following updates have been made to this manual since the December 1998 printing indicated on the Printing History page. 11/9/99 Information about installing VXI plug&play Power Products Instrument Drivers has been included in the beginning of chapter 2. 1/4/00 All references to HP have been changed to Agilent.

This manual is also suitable for:

6631b6632b66332a6633b6634b6611c ... Show all

Table of Contents