Agilent-technologies 6631B Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Ferramentas Agilent-technologies 6631B. Agilent Technologies 6631B User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 103
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
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
Vista de página 0
1 2 3 4 5 6 ... 102 103

Resumo do Conteúdo

Página 1 - Programming Guide

Programming GuideDynamic Measurement DC SourceAgilent Models 66312A, 66332ASystem DC Power SupplyAgilent Models 6631B, 6632B, 6633B, 6634B6611C, 6612C

Página 2 - Printing History

2 - Introduction to Programming106.To use the VXIplug&play instrument driver, follow the directions in the VXIplug&play online helpunder “Int

Página 3 - Table of Contents

Index100—H—hanning, 54header, 15long form, 15short form, 15history, 2HP 8235A driver, 93HP BASIC controllers, 94HP-IBaddress, 10capabilities of the dc

Página 4 - 4 - LANGUAGE DICTIONARY 39

Index101—R—rectangular, 54remote inhibit, 36returning voltage or current data, 24RI, 36rms measurements, 24root specifier, 15RQS bit, 35RS-232capabili

Página 5

Index102—V—varying voltage or current sampling, 29voltage, 20maximum, 20measurements, 23—W—waiting for measurement results, 27—X—XON-XOFF, 11

Página 6 - INDEX 99

Manual UpdatesThe following updates have been made to this manual since the December 1998 printingindicated on the Printing History page.11/9/99Inform

Página 7 - General Information

Introduction to Programming - 211 Baud Rate The front panel Address key lets you select one of the following baud rates, which is stored in non-volat

Página 8 - External References

2 - Introduction to Programming12 FUNCTION gets$ ‘ Get a new line feed terminated string from device #1 C$ = “” ‘ Set C$ to null WHILE c$ <> C

Página 9 - Introduction to Programming

Introduction to Programming - 213 Types of SCPI Commands SCPI has two types of commands, common and subsystem.♦ Common commands generally are not rel

Página 10 - RS-232 Data Format

2 - Introduction to Programming14 Moving Among Subsystems In order to combine commands from different subsystems, you need to be able to reset the he

Página 11 - RS-232 Programming Example

Introduction to Programming - 215 DataKeywordsKeyword SeparatorMessage Unit SeparatorsMessage UnitQuery IndicatorMessage TerminatorRoot SpecifierVOLT

Página 12 - Introduction to SCPI

2 - Introduction to Programming16NOTE:All RS-232 response data sent by the dc source is terminated by the ASCII character pair<carriage return>

Página 13 - Types of SCPI Commands

Introduction to Programming - 217 SCPI Command Completion SCPI commands sent to the dc source are processed either sequentially or in parallel. Seque

Página 15

19 3 Programming the DC Source Introduction This chapter contains examples on how to program your dc source. Simple examples show you how toprogram:u

Página 16 - SCPI Data Formats

2Safety GuidelinesThe beginning of the Operating Guide has a Safety Summary page. Be sure you are familiar with theinformation on this page before pro

Página 17 - Using Device Clear

3 - Programming the DC Source20 Output Voltage The output voltage is controlled with the VOLTage command. For example, to set the output voltage to 2

Página 18

Programming the DC Source - 321 Triggering Output Changes The dc source has two independent trigger systems. One is used for generating output change

Página 19 - Programming the DC Source

3 - Programming the DC Source22 Initiating the Output Trigger System When the dc source is turned on, the trigger subsystem is in the idle state. In

Página 20 - Output Current

Programming the DC Source - 323 Making Measurements The dc source has the ability to make several types of voltage or current measurements. Themeasur

Página 21 - Triggering Output Changes

3 - Programming the DC Source24 This results in a data acquisition time of 32 milliseconds. Adding a command processing overhead ofabout 20 milliseco

Página 22 - Generating Triggers

Programming the DC Source - 325 Internally Triggered Measurements You can use the data acquisition trigger system to synchronize the timing of the vo

Página 23 - Making Measurements

3 - Programming the DC Source26INITiate:SEQuence2 orINITiate:NAME ACQuire After a trigger is received and the data acquisition completes, the trig

Página 24

Programming the DC Source - 327 TRIG:ACQ:SLOP:CURRTRIG:ACQ:LEV:CURR <level>TRIG:ACQ:HYST:CURR <value>Trigger occurs on rising edgewhen si

Página 25 - SCPI Triggering Nomenclature

3 - Programming the DC Source28 Measuring Output Pulses (Agilent 66312A, 66332A Only) Current Detector Check that the current detector is set to ACDC

Página 26

Programming the DC Source - 329 Controlling Measurement Samples Varying the Voltage or Current Sampling Rate You can vary both the number of data poi

Página 27

3Table of ContentsSafety Guidelines 2Printing History 2Table of Contents 31 - GENERAL INFORMATION 7About this Guide 7Documentation Summary 7External R

Página 28 - Pulse Measurement Queries

3 - Programming the DC Source30 Pre-event and Post-event Triggering (Agilent 66312A, 66332A Only) When a measurement is initiated, the dc source cont

Página 29

Programming the DC Source - 331 10 !Rev A.00.00 20 OPTION BASE 1 30 DIM Curr_array(100) 40 ! 50 ASSIGN @Ps TO 705 60 ASSIGN @Ld TO

Página 30

3 - Programming the DC Source32 Programming the Status Registers You can use status register programming to determine the operating condition of the

Página 31

Programming the DC Source - 333 Table 3-1. Bit Configurations of Status Registers Bit Signal Meaning 0 5 8 10 11 CAL WTG CV CC+ CC- Operation St

Página 32 - Power-On Conditions

3 - Programming the DC Source34 Questionable Status Group The Questionable Status registers record signals that indicate abnormal operation of the dc

Página 33 - Operation Status Group

Programming the DC Source - 335 The MSS Bit This is a real-time (unlatched) summary of all Status Byte register bits that are enabled by the ServiceR

Página 34 - Status Byte Register

3 - Programming the DC Source36event to be summed into the Questionable summary bit. Use: STATus:QUEStionable:PTR 19;ENABle 19

Página 35

Programming the DC Source - 337 Using the Inhibit/Fault Port as a Digital I/O You can configure the inhibit/fault port to provide a digital input/out

Página 37 - DFI Programming Example

39 4 Language Dictionary Introduction This section gives the syntax and parameters for all the IEEE 488.2 SCPI commands and the Commoncommands used b

Página 38

4Output Trigger System Model 21Setting the Voltage or Current Trigger Levels 21Initiating the Output Trigger System 22Generating Triggers 22Making Mea

Página 39 - Language Dictionary

4 - Language Dictionary40 Table 4-1. Subsystem Commands Syntax ABORt Resets the trigger system to the Idle state CALibrate

Página 40

Language Dictionary - 441 Table 4-1. Subsystem Commands Syntax (continued) OUTPut [:STATe] <bool> [,NORelay] Enables/disables the dc sou

Página 41

4 - Language Dictionary42 Table 4-1. Subsystem Commands Syntax (continued) STATus :PRESet Presets all enable and transition registers to power

Página 42

Language Dictionary - 443 Common Commands Common commands begin with an * and consist of three letters (command) or three letters and a ?(query). The

Página 43 - Programming Parameters

4 - Language Dictionary44 Calibration Commands Calibration commands let you:u Enable and disable the calibration modeu Change the calibration passwor

Página 44 - Calibration Commands

Language Dictionary - 445 CALibrate:DATA This command enters a calibration value that you obtain by reading an external meter. You must firstselect a

Página 45 - CALibrate:SAVE

4 - Language Dictionary46 CALibrate:STATe This command enables and disables calibration mode. The calibration mode must be enabled before thewill acc

Página 46 - CALibrate:VOLTage:PROTection

Language Dictionary - 447 Measurement Commands Measurement commands consist of measure and sense commands. Measure commands measure the output voltag

Página 47 - Measurement Commands

4 - Language Dictionary48 MEASure:CURRent?FETCh:CURRent? FETCh:CURRent? applies to Agilent 66312A, 66332A Only These queries return the dc output cur

Página 48

Language Dictionary - 449 MEASure:CURRent:LOW?FETCh:CURRent:LOW? Agilent 66312A, 66332A Only These queries return the Low level current of a current

Página 49

5MEASure:CURRent? FETCh:CURRent? 48MEASure:CURRent:ACDC? FETCh:CURRent:ACDC? 48MEASure:CURRent:HIGH? FETCh:CURRent:HIGH? 48MEASure:CURRent:LOW? FETCh:

Página 50

4 - Language Dictionary50 MEASure:VOLTage?FETCh:VOLTage? FETCh:VOLTage? applies to Agilent 66312A, 66332A Only These queries return the dc output vol

Página 51

Language Dictionary - 451 MEASure:VOLTage:LOW?FETCh:VOLTage:LOW? Agilent 66312A, 66332A Only These queries return the Low level voltage of a voltage

Página 52 - SENSe:CURRent:DETector

4 - Language Dictionary52 SENSe:CURRent:RANGe This command selects the dc current measurement range. All models have two current measurementranges: H

Página 53 - SENSe:SWEep:TINTerval

Language Dictionary - 453 SENSe:FUNCtion Agilent 66312A, 66332A Only This command configures the measurement sensor to measure either voltage or curr

Página 54 - SENSe:WINDow

4 - Language Dictionary54 SENSe:WINDow This command sets the window function that is used in output measurement calculations. The followingfunctions

Página 55 - Output Commands

Language Dictionary - 455 Output Commands Output commands consist of output and source commands. Output commands control the output and digital port

Página 56 - OUTPut:PROTection:DELay

4 - Language Dictionary56 OUTPut:PON:STATe This command selects the power-on state of the dc source. This information is saved in non-volatilememory.

Página 57 - OUTPut:RI:MODE

Language Dictionary - 457 OUTPut:RELay Agilent 66332A, 6632B, 6633B, 6634B, 6611C, 6612C, 6613C, 6614C Only This command is only valid for units with

Página 58 - [SOURce:]CURRent:TRIGger

4 - Language Dictionary58 [SOURce:]CURRent This command sets the immediate current level of the dc source . The immediate level is the currentprogram

Página 59 - [SOURce:]VOLTage

Language Dictionary - 459 [SOURce:]DIGital:DATA This command sets and reads the dc source digital control port when that port is configured for Digit

Página 60

6System Commands 68DISPlay 68DISPlay:MODE 68DISPlay:TEXT 68SYSTem:ERRor? 69SYSTem:LANGuage 69SYSTem:VERSion? 69SYSTem:LOCal 70SYSTem:REMote 70SYSTem:R

Página 61 - Status Commands

4 - Language Dictionary60 [SOURce:]VOLTage:ALC:BANDwidth?[SOURce:]VOLTage:ALC:BWIDth? Agilent 66332A, 6631B, 6632B, 6633B and 6634B Only These querie

Página 62 - STATus:OPERation:PTR

Language Dictionary - 461 Status Commands Status commands program the dc source status registers. The dc source has three groups of statusregisters;

Página 63 - STATus:QUEStionable:ENABle

4 - Language Dictionary62 STATus:OPERation:ENABle This command and its query set and read the value of the Operational Enable register. This registe

Página 64 - STATus:QUEStionable:PTR

Language Dictionary - 463 Table 4-5. Bit Configuration of Questionable Status Registers Bit Position 15 14 13-11 10 9 8-5 4 3 2 1 0 Bit Name n

Página 65 - OPC = Operation complete

4 - Language Dictionary64 STATus:QUEStionable:NTRSTATus:QUEStionable:PTR These commands allow you to set or read the value of the Questionable NTR (

Página 66

Language Dictionary - 465 *ESE This command programs the Standard Event Status Enable register bits. The programming determineswhich events of the St

Página 67

4 - Language Dictionary66 * OPC does not prevent processing of subsequent commands, but bit 0 will not be set until all pendingoperations are complet

Página 68 - System Commands

Language Dictionary - 467 Command Syntax *SRE <NRf> Parameters 0 to 255 Power-on Value see *PSC Example *SRE 20 Query Syntax *SRE? Returned P

Página 69 - SYSTem:VERSion?

4 - Language Dictionary68 System Commands System commands consist of system, display, and common commands. System commands commands control system fu

Página 70 - SYSTem:RWLock

Language Dictionary - 469 SYSTem:ERRor? This query returns the next error number followed by its corresponding error message string from theremote p

Página 71

71General InformationAbout this GuideThis guide provides remote programming information for the following series of GPIB programmable dcpower supplies

Página 72

4 - Language Dictionary70SYSTem:LOCalFor RS-232 Operation OnlyThis command places the dc source in local mode during RS-232 operation. The front pane

Página 73 - Trigger Commands

Language Dictionary - 471*OPT?This query requests the dc source to identify any options that are installed. Options are identified bynumber A 0 indi

Página 74 - TRIGger:ACQuire

4 - Language Dictionary72Table 4-8. *RST SettingsCAL:STAT OFF [SOUR:]CURR 10% of MAX*DIG:DATA

Página 75 - TRIGger:ACQuire:COUNt:VOLTage

Language Dictionary - 473Trigger CommandsTrigger commands consist of trigger and initiate commands.Trigger commands control the remote triggering of

Página 76

4 - Language Dictionary74TRIGgerWhen the transient trigger subsystem is initiated, this command generates a trigger signal. The trigger willthen:1.

Página 77 - TRIGger:ACQuire:LEVel:VOLTage

Language Dictionary - 475TRIGger:SEQuence2:COUNt:CURRentTRIGger:ACQuire:COUNt:CURRentAgilent 66312A, 66332A OnlyThis command sets up a successive num

Página 78 - TRIGger:ACQuire:SLOPe:VOLTage

4 - Language Dictionary76TRIGger:SEQuence2:HYSTeresis:CURRentTRIGger:ACQuire:HYSTeresis:CURRentAgilent 66312A, 66332A OnlyThis command defines a band

Página 79 - TRIGger:SEQuence2:DEFine

Language Dictionary - 477TRIGger:SEQuence2:LEVel:CURRentTRIGger:ACQuire:LEVel:CURRentAgilent 66312A, 66332A OnlyThis command sets the trigger level f

Página 80

4 - Language Dictionary78TRIGger:SEQuence2:SLOPe:CURRentTRIGger:ACQuire:SLOPe:CURRentAgilent 66312A, 66332A OnlyThis command sets the slope of an int

Página 81 - SCPI Conformance Information

Language Dictionary - 479TRIGger:SEQuence2:SOURceTRIGger:ACQuire:SOURceAgilent 66312A, 66332A OnlyThese commands select the trigger source for measur

Página 82

1 - General Information8 External References GPIB References The most important GPIB documents are your controller programming manuals - BASIC, GPIB C

Página 84

81ASCPI Conformance InformationSCPI VersionThe Agilent Dynamic Measurement DC Source conforms to SCPI Version 1995.0.SCPI Confirmed Commands ABOR SEN

Página 86

83BCompatibility LanguageIntroductionThe Agilent power supplies covered by this manual are programmatically compatible with the HP/Agilent6632A, 6633

Página 87

B - Compatibility Language84Table B-2. COMPatibility CommandsCompatibilityCommandDescription Similar SCPICommandASTS? This command reads the contents

Página 88

Compatibility Language - B85Table B-2. COMPatibility Commands (continued)CompatibilityCommandDescription Similar SCPICommandOVSET <n> This comma

Página 89 - Error Messages

B - Compatibility Language86Table B-2. COMPatibility Commands (continued)CompatibilityCommandDescription Similar SCPICommandUNMASK xxxThese commands d

Página 90

Compatibility Language - B87STATUS121664128CV+CCUNROTnot usedOCERRINHOV4512-CCFAST83225610242048REGISTERNORMSTATUS121664128451283225610242048REGISTERA

Página 92

89CError MessagesError Number ListThis appendix gives the error numbers and descriptions that are returned by the dc source. Errornumbers are return

Página 93 - Example Programs

9 2 Introduction to ProgrammingVXIplug&play Power Products Instrument DriversVXIplug&play instrument drivers for Microsoft Windows 95 and Win

Página 94 - BASIC Controllers

C - Error Messages90Table C-1. Error Numbers (continued)ErrorNumberError String [Description/Explanation/Examples] –141 Invalid character data [bad ch

Página 95

Error Messages - C91Table C-1. Error Numbers (continued)ErrorNumberError String [Description/Explanation/Examples]213 Ingrd receiver buffer overrun216

Página 97

93DExample ProgramsIntroductionThe example programs in this section are intended to show how some of the same dc sourcefunctions can be programmed to

Página 98

D - Example Programs94Your application program will not include the dc source’s symbolic name and GPIB address.These must be specified during configur

Página 99

Example Programs - D951085 ’1090 ’Query dc source outputs CURRENT?" :GOSUB 2000 :GOSUB 30001100 VOUT = OUTPUTS(1)1105 IOUT = OUTPUTS(2)111

Página 100

D - Example Programs96Example 2. IBM Controller Using National Interface990 ’---------------------- Merge DECL.BAS here ------------------------1000

Página 101

Example Programs - D971225 ’1230 ’Clear status circuit1235 CODES$="*CLS" :GOSUB 20001240 FOR I=1 TO 50 :NEXT I

Página 102

D - Example Programs98Example 3. Controller Using BASIC1000 !Dc source at stand-alone address = 7061005 OPTION BASE 11010 DIM Codes$[80],Response$[

Página 103 - Manual Updates

99INDEX—A—AARD, 16ABORT, 73ACDC, 52—B—bus, 79—C—calibration commands, 44CAL CURR, 44CAL CURR MEAS AC, 44CAL CURR NEG, 44CAL DATA, 45CAL LEV, 45CAL PAS

Comentários a estes Manuais

Sem comentários