Manuals / Brands / Computer Equipment / Power Supply / HP / Computer Equipment / Power Supply

HP 66332A 1 - GENERAL INFORMATION, 2 - INTRODUCTION TO PROGRAMMING, 3 - PROGRAMMING THE DC SOURCE, Table of Contents

1 103
Download 103 pages, 546 Kb
Table of Contents

Safety Guidelines

2

Printing History

2

Table of Contents

3

1 - GENERAL INFORMATION

7

About this Guide

7

Documentation Summary

7

External References

8

GPIB References

8

SCPI References

8

2 - INTRODUCTION TO PROGRAMMING

9

VXIplug&play Power Products Instrument Drivers

9

Supported Applications

9

System Requirements

9

Downloading and Installing the Driver

9

Accessing Online Help

10

GPIB Capabilities of the DC Source

10

GPIB Address

10

RS-232 Capabilities of the DC Source

10

RS-232 Data Format

10

RS-232 Flow Control

11

RS-232 Programming Example

11

RS-232 Troubleshooting

12

Introduction to SCPI

12

Conventions Used in This Guide

12

Types of SCPI Commands

13

Multiple Commands in a Message

13

Moving Among Subsystems

14

Including Common Commands

14

Using Queries

14

Types of SCPI Messages

14

The Message Unit

15

Headers

15

Query Indicator

15

Message Unit Separator

15

Root Specifier

15

Message Terminator

15

SCPI Data Formats

16

Numerical Data Formats

16

Suffixes and Multipliers

16

Response Data Types

16

SCPI Command Completion

17

Using Device Clear

17

3 - PROGRAMMING THE DC SOURCE

19

Introduction

19

Programming the Output

19

Power-on Initialization

19

Enabling the Output

19

Output Voltage

20

Output Current

20

Triggering Output Changes

21

SCPI Triggering Nomenclature

21

3

Contents
Programming Guide Safety Guidelines Printing History 1 - GENERAL INFORMATION 2 - INTRODUCTION TO PROGRAMMING 3 - PROGRAMMING THE DC SOURCE 4 - LANGUAGE DICTIONARY Output Commands Status Commands A - SCPI CONFORMANCE INFORMATION B - COMPATIBILITY LANGUAGE C - ERROR MESSAGES D - EXAMPLE PROGRAMS INDEX General Information GPIB References SCPI References Introduction to Programming Supported Applications System Requirements Downloading and Installing the Driver Accessing Online Help GPIB Address RS-232Data Format RS-232Flow Control RS-232Programming Example RS-232Troubleshooting Conventions Used in This Guide Multiple Commands in a Message Moving Among Subsystems Including Common Commands Using Queries The Message Unit Headers Query Indicator Message Unit Separator Root Specifier Numerical Data Formats Suffixes and Multipliers Response Data Types SCPI Command Completion Using Device Clear Page Programming the DC Source Power-onInitialization Enabling the Output Output Voltage Output Current Output Trigger System Model Setting the Voltage or Current Trigger Levels Initiating the Output Trigger System Generating Triggers Voltage and Current Measurements RMS Measurements (Agilent 66312A, 66332A Only) Minimum and Maximum Measurements (Agilent 66312A, 66332A Only) Current Ranges Returning Measurement Data From the Data Buffer (Agilent 66312A, 66332A Only) 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) Figure 3-3.Trigger Commands Used to Measure Output Pulses Current Detector Pulse Measurement Queries Varying the Voltage or Current Sampling Rate Multiple Measurements (Agilent 66312A, 66332A Only) Pre-eventand Post-eventTriggering (Agilent 66312A, 66332A Only) Pulse Measurement Example (Agilent 66312A, 66332A only) Page Power-OnConditions Operation Status Group Questionable Status Group Standard Event Status Group Status Byte Register Determining the Cause of a Service Interrupt Servicing Operation Status and Questionable Status Events Monitoring Both Phases of a Status Transition Remote Inhibit (RI) Discrete Fault Indicator (DFI) Using the Inhibit/Fault Port as a Digital I/O DFI Programming Example Page Language Dictionary Subsystem Commands Table 4-1.Subsystem Commands Syntax Table 4-1.Subsystem Commands Syntax (continued) Page Common Commands Programming Parameters CALibrate:CURRent CALibrate:CURRent:NEGative CALibrate:CURRent:MEASure:LOWRange CALibrate:CURRent:MEASure:AC CALibrate:DATA CALibrate:LEVel CALibrate:PASSword CALibrate:SAVE CALibrate:STATe CALibrate:VOLTage CALibrate:VOLTage:PROTection MEASure:ARRay:CURRent FETCh:ARRay:CURRent MEASure:ARRay:VOLTage FETCh:ARRay:VOLTage MEASure:CURRent FETCh:CURRent MEASure:CURRent:ACDC FETCh:CURRent:ACDC MEASure:CURRent:HIGH MEASure:CURRent:LOW FETCh:CURRent:LOW MEASure:CURRent:MAXimum FETCh:CURRent: MAXimum MEASure:CURRent:MINimum MEASure:VOLTage FETCh:VOLTage MEASure:VOLTage:ACDC FETCh:VOLTage:ACDC MEASure:VOLTage:HIGH MEASure:VOLTage:LOW FETCh:VOLTage:LOW MEASure:VOLTage:MAXimum FETCh:VOLTage:MAXimum MEASure:VOLTage:MINimum SENSe:CURRent:RANGe SENSe:CURRent:DETector SENSe:FUNCtion SENSe:SWEep:OFFSet:POINts SENSe:SWEep:POINts SENSe:SWEep:TINTerval SENSe:WINDow 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 [SOURce:]VOLTage:ALC:BANDwidth [SOURce:]VOLTage:ALC:BWIDth [SOURce:]VOLTage:TRIGger [SOURce:]VOLTage:PROTection STATus:PRESet STATus:OPERation STATus:OPERation:CONDition STATus:OPERation:ENABle STATus:OPERation:NTR STATus:OPERation:PTR STATus:QUEStionable STATus:QUEStionable:CONDition STATus:QUEStionable:ENABle STATus:QUEStionable:NTR STATus:QUEStionable:PTR *CLS *ESE *ESR *OPC *PSC *SRE *STB *WAI DISPlay DISPlay:MODE DISPlay:TEXT SYSTem:ERRor SYSTem:LANGuage SYSTem:VERSion SYSTem:LOCal SYSTem:REMote SYSTem:RWLock *IDN *OPT *RCL *RST *SAV *TST 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 TRIGger:SEQuence1:DEFine TRIGger:SEQuence2:DEFine *TRG Page SCPI Conformance Information SCPI Confirmed Commands Non-SCPICommands Page Compatibility Language Table B-2.COMPatibility Commands Compatibility Similar SCPI Table B-2.COMPatibility Commands (continued) Error Table B-3.COMPatibility Errors NumberError String [Description/Explanation/Examples] Figure B-1.COMpatibility Status Model Table B-4.Bit Assignment of Status, Astatus, Fault, & Mask Registers Page Error Messages Table C-1.Error Numbers (continued) Page Page Example Programs Assigning the GPIB Address in Programs Types of DOS Drivers Error Handling BASIC Controllers Example 1. HP Vectra PC Controller Using Agilent 82335 Interface Page Example 2. IBM Controller Using National Interface Page Example 3. Controller Using BASIC INDEX Page Page Page Manual Updates