HP 66312A Programming Manual

HP 66312A Programming Manual

Dynamic measurement dc source / system dc power supply

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 HP 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

    Safety Guidelines The beginning of the Operating Guide has a Safety Summary page. Be sure you are familiar with the information on this page before programming the dc source for operation from a controller. Printing History The edition and current revision of this manual are indicated below. Reprints of this guide containing minor corrections and updates may have the same printing date.
  • 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 GPIB Capabilities of the DC Source GPIB Address RS-232 Capabilities of the DC Source RS-232 Data Format...
  • Page 4 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: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 [SOURce:]CURRent [SOURce:]CURRent:TRIGger [SOURce:]CURRent:PROTection:STATe [SOURce:]DIGital:DATA [SOURce:]DIGital:FUNCtion [SOURce:]VOLTage:ALC:BANDwidth? [SOURce:]VOLTage:ALC:BWIDth? [SOURce:]VOLTage:TRIGger [SOURce:]VOLTage:PROTection...
  • Page 6 D - EXAMPLE PROGRAMS Introduction Assigning the GPIB Address in Programs Types of DOS Drivers Error Handling BASIC Controllers Example 1. HP Vectra PC Controller Using Agilent 82335 Interface Example 2. IBM Controller Using National Interface Example 3. Controller Using BASIC INDEX...
  • Page 7: General Information

    The following documents that are related to this Programming Guide have additional helpful information for using the dc source. ♦ User’s Guide for Agilent 66312A and Agilent 6611C/6612C/6613C/3314C. Includes specifications and supplemental characteristics, how to use the front panel, how to connect to the instrument, and calibration procedures.
  • 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: ♦...
  • Page 9: Introduction To Programming

    The VXI plug&play Power Products instrument driver complies with the following: ñ Microsoft Windows 95 ñ Microsoft Windows NT 4.0 ñ HP VISA revision F.01.02 ñ National Instruments VISA 1.1 Downloading and Installing the Driver NOTE: Before installing the VXIplug&play instrument driver, make sure that you have one of the supported applications installed and running on your computer.
  • Page 10: Gpib Capabilities Of The Dc Source

    A comprehensive online programming reference is provided with the driver. It describes how to get started using the instrument driver with HP VEE, LabVIEW, and LabWindows. It includes complete descriptions of all function calls as well as example programs in C/C++ and Visual BASIC.
  • 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: Multiple Commands In A Message

    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".

This manual is also suitable for:

6631b66332a6632b6611c6634b6613c ... Show all

Table of Contents