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

HP 66332A A - SCPI CONFORMANCE INFORMATION, B - COMPATIBILITY LANGUAGE, C - ERROR MESSAGES, D - EXAMPLE PROGRAMS, INDEX

1 103
Download 103 pages, 546 Kb

System Commands

68

DISPlay

68

DISPlay:MODE

68

DISPlay:TEXT

68

SYSTem:ERRor?

69

SYSTem:LANGuage

69

SYSTem:VERSion?

69

SYSTem:LOCal

70

SYSTem:REMote

70

SYSTem:RWLock

70

*IDN?

70

*OPT?

71

*RCL

71

*RST

71

*SAV

72

*TST?

72

Trigger Commands

73

ABORt

73

INITiate:SEQuence INITiate:NAME

73

INITiate:CONTinuous:SEQuence1 INITiate:CONTinuous:NAME

73

TRIGger

74

TRIGger:SOURce

74

TRIGger:SEQuence2 TRIGger:ACQuire

74

TRIGger:SEQuence2:COUNt:CURRent TRIGger:ACQuire:COUNt:CURRent

75

TRIGger:SEQuence2:COUNt:VOLTage TRIGger:ACQuire:COUNt:VOLTage

75

TRIGger:SEQuence2:HYSTeresis:CURRent TRIGger:ACQuire:HYSTeresis:CURRent

76

TRIGger:SEQuence2:HYSTeresis:VOLTage TRIGger:ACQuire:HYSTeresis:VOLTage

76

TRIGger:SEQuence2:LEVel:CURRent TRIGger:ACQuire:LEVel:CURRent

77

TRIGger:SEQuence2:LEVel:VOLTage TRIGger:ACQuire:LEVel:VOLTage

77

TRIGger:SEQuence2:SLOPe:CURRent TRIGger:ACQuire:SLOPe:CURRent

78

TRIGger:SEQuence2:SLOPe:VOLTage TRIGger:ACQuire:SLOPe:VOLTage

78

TRIGger:SEQuence2:SOURce TRIGger:ACQuire:SOURce

79

TRIGger:SEQuence1:DEFine TRIGger:SEQuence2:DEFine

79

*TRG

79

A - SCPI CONFORMANCE INFORMATION

81

SCPI Version

81

SCPI Confirmed Commands

81

Non-SCPI Commands

81

B - COMPATIBILITY LANGUAGE

83

Introduction

83

C - ERROR MESSAGES

89

Error Number List

89

D - EXAMPLE PROGRAMS

93

Introduction

93

Assigning the GPIB Address in Programs

93

Types of DOS Drivers

93

Error Handling

94

BASIC Controllers

94

Example 1. HP Vectra PC Controller Using Agilent 82335 Interface

94

Example 2. IBM Controller Using National Interface

96

Example 3. Controller Using BASIC

98

INDEX

99

6

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