Agilent Technologies N3280A manual External References, Gpib Capabilities of the DC Source

Page 31

4

Introduction to Programming

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. 488.1-1987 IEEE Standard Digital Interface for Programmable Instrumentation. Defines the technical details of the GPIB interface. While much of the information is beyond the need of most programmers, it can serve to clarify terms used in this guide and in related documents.

ANSI/IEEE Std. 488.2-1987 IEEE Standard Codes, Formats, Protocols, and Common Commands. Recommended as a reference only if you intend to do fairly sophisticated programming. Helpful for finding precise definitions of certain types of SCPI message formats, data types, or common commands.

The above two documents are available from the IEEE (Institute of Electrical and Electronics Engineers), 345 East 47th Street, New York, NY 10017, USA. The WEB address is www.ieee.org.

SCPI References

The following documents will assist you with programming in SCPI:

Standard Commands for Programmable Instruments Volume 1, Syntax and Style

Standard Commands for Programmable Instruments Volume 2, Command References

Standard Commands for Programmable Instruments Volume 3, Data Interchange Format

Standard Commands for Programmable Instruments Volume 4, Instrument Classes

To obtain a copy of the above documents, contact: Fred Bode, Executive Director, SCPI Consortium, 8380 Hercules Drive, Suite P3, Ls Mesa, CA 91942, USA

GPIB Capabilities of the DC Source

All dc source functions except for setting the GPIB address are programmable over the GPIB. The IEEE 488.2 capabilities of the dc source are listed in the Specifications table in Appendix A.

The dc source operates from an GPIB address that is set from the rear panel. To set the GPIB address, set the Address switches on the rear panel (see chapter 2). The address can be set from 0 to 30.

31

Image 31
Contents Agilent Technologies Model N3280A Component Test DC Source USER’S GuideCertification Warranty InformationGeneral Safety SummarySafety Symbols Declaration Printing History Acoustic Noise InformationTable of Contents Gpib Capabilities of the DC Source Introduction to Scpi Types of Scpi CommandsScpi Command Completion Using Device Clear External ReferencesStatus Commands Scpi Programming Commands At a Glance Calibration CommandsMeasurement Commands Output CommandsVoltage Priority Tests System CommandsTrigger Commands Common CommandsRipple and Noise Tests Error Number List 103Transient Response Tests Page Document Orientation Safety ConsiderationsOption Description Options and AccessoriesDescription Remote ProgrammingVoltage Priority Operation Output CharacteristicsCurrent Priority Operation Output Characteristic Current PriorityMeasurement Characteristics Start of a Measurement Additional Items CleaningInspection Damage Packaging MaterialDo not block the fan exhaust at the rear of the unit LocationBench Operation Rack MountingConnect the Power Cord Power ConnectionsOutput Connections Turn the unit off before connecting any wiresOutputs 1 AWG No Maximum Ampacity Resistance at 20 deg. C Free air Current RatingsVoltage Drops and Lead Resistance Ampacity and Resistance of Stranded Copper ConductorsGuard Connections for Test Fixtures Coaxial Guard ConnectionsOVP Considerations External Trigger ConnectionsComputer Connections Maintaining StabilityGpib Address Settings for Power Module Configuration SwitchSwitch Setting Switch Setting AddressFront Panel Description Procedure Checkout ProcedureExplanation Case of Trouble Selftest Error MessagesRuntime Error Messages Power-On Selftest ErrorsPage Scpi References External ReferencesGpib Capabilities of the DC Source Gpib ReferencesIntroduction to Scpi Types of Scpi CommandsConventions Used in This Guide Moving Among Subsystems Multiple Commands in a MessageIncluding Common Commands Using QueriesMessage Unit Types of Scpi MessagesChannel List Parameter Scpi Data Formats Class Suffix Unit Unit with Multiplier Scpi Command CompletionSuffixes and Multipliers Response Data TypesOutputstate Example Using Device ClearPage Enabling the Output Power-on InitializationIntroduction Programming the OutputOvervoltage Protection Output ModeOutput Current Oscillation Protection Triggering Output ChangesOutput Trigger Model Enabling the Output Trigger System Setting the Voltage and Current Trigger LevelsSelecting the Output Trigger Source Generating Output Triggers Making MeasurementsAverage Measurements Measurement Samples and Time Interval Power Line CyclesReturning All Measurement Data From the Data Buffer Triggered MeasurementsCurrent Ranges Window FunctionsEnabling the Measurement Trigger System Measurement Trigger ModelSelecting the Measurement Trigger Source Selecting the Sensing Function Output Settling DelayGenerating Measurement Triggers Pre-trigger and Post-trigger Acquisition Pre-trigger and Post-trigger Data AcquisitionDC Source Status Model Programming the Status RegistersOperation Status Group Bit Configurations of Status RegistersMSS and RQS Bits Questionable Status GroupStandard Event Status Group Status Byte RegisterServicing Operation Status and Questionable Status Events Determining the Cause of a Service InterruptCommon Commands Subsystem CommandsProgramming Parameters Subsystem Commands Syntax Scpi Programming Commands At a GlanceSave new cal constants in non-volatile memory Sets the triggered output voltage in voltage priority mode Mode mode, @list DELayFUNCtion Mode mode, @list VOLTage Sets the output voltage in voltage priority modeOutput Programming Parameters Common Commands SyntaxESE n SRE nCALibrateCURRentMEASure Calibration CommandsCALibrateCURRent CALibrateCURRentLIMitPOSitive CALibrateCURRentLIMitNEGativeCALibrateLEVel CALibratePASSwordCALibrateDATA CALibrateDATECALibrateSTATe CALibrateSAVECALibrateVOLTage Query Syntax Measurement CommandsFETChARRayCURRent? FETChARRayVOLTage? FETChCURRent? FETChVOLTage?Enter values greater than 0.015A MEASureARRayCURRent? MEASureARRayVOLTage?MEASureCURRent? MEASureVOLTage? SENSeCURRentRANGeQuery Syntax SENSeFUNCtion? @channel list SENSeFUNCtionSENSeSWEepNPLCycles SENSeSWEepOFFSetPOINtsSENSeSWEepTINTerval SENSeSWEepPOINtsSENSeWINDow OUTPutPROTectionCLEar Output CommandsOUTPut OUTPutOSCProtectSOURceCURRentLIMitBWIDth Default SuffixSOURceCURRentIMMediate SOURceCURRentTRIGgered SOURceCURRentLIMitIMMediate SOURceCURRentLIMitTRIGgeredSOURceDELayMODE SOURceDELaySOURceCURRentMODE SOURceCURRentLIMitMODE Query Syntax SOURceFUNCMODE? @channel list SOURceFUNCtionMODESOURceVOLTageALCBWIDth SOURceVOLTageIMMediate SOURceVOLTageTRIGgeredNR10 or SOURceVOLTageMODESOURceVOLTagePROTectionSTATe Query Syntax SOURceVOLTagePROTectionSTATe? @channel listSTATusOPERationEVENt? Status CommandsSTATusOPERationENABle Bit Configuration of Operation Status RegistersSTATusOPERationNTR STATusOPERationPTR STATusPRESetParameters Preset Value Command Syntax STATusPRESet Parameters None ExamplesSTATusQUEStionableNTR STATusQUEStionablePTR STATusQUEStionableENABleQuery Syntax STATusQUEStionableENABle? @channel list STATusQUEStionableCONDition?SYSTemERRor? System CommandsSYSTemVERSion? TRIGgerACQuire Trigger CommandsABORt INITiateNAMERST Value TRIGgerACQuireSOURceTRIGgerTRANsientSOURce TRIGgerTRANsientBit Configuration of Standard Event Status Enable Register Common CommandsCommand Syntax *CLS Parameters None Parameters Power-On Value ExamplesExample Field InformationQuery Syntax *OPT? Returned Parameters Aard RST Settings Power-on ValueQuery Syntax TST? Returned Parameters NR1 Bit Configuration of Status Byte RegisterTable A-1. Specifications Table A-2 Supplemental Characteristics Weight Output Common ModeSafety DimensionsFigure A-1. Output Impedance Graphs all outputs Equipment Required Measurement Techniques Performance & Verification TestsElectronic Load Test SetupProgramming Positive Current Limit +CL Program CommandsVoltage Priority Tests Voltage Programming and Readback AccuracyNegative Current Limit -CL Action Program CommandsCurrent Programming and Readback Accuracy Current Priority TestsVoltage Priority, Constant Voltage Load Effect Load Effect TestsVoltage Priority, -Current Limit Load Effect Test Voltage Priority, +Current Limit Load EffectCurrent Priority Constant Current Test Source Effect TestsVoltage Priority, Constant Voltage Source Effect Voltage Priority, -Current Limit Source Effect Voltage Priority, +Current Limit Source EffectCurrent Priority, Constant Current Source Effect Voltage Priority Ripple and Noise Ripple and Noise TestsTransient Response Tests Voltage Priority, Transient Recovery TimeCurrent Priority Ripple and Noise Figure B-2. Transient Waveform Voltage Priority Current Priority Transient Recovery TimeFigure B-3. Transient Waveform Current Priority Performance Test Equipment FormPerformance Test Record Form Enable Calibration Mode Performing the Calibration Procedure100 Negative Current Limit CalibrationPositive Current Limit Calibration 5A Range Current Measurement CalibrationSaving the Calibration Constants 15mA Range Current Measurement Calibration101 Error Meaning Changing the Calibration PasswordCalibration Error Messages Table B-3. Gpib Calibration Error MessagesTable C-1. Error Numbers Error Number List103 104 Error Messages105 Error Messages CPage 107 Line Voltage SelectionPage CHG-2010-J01010-KEP Earlier Version Output ConnectorsMating Connector Part Numbers Rear Panel Pinout AssignmentsPage 111 Index112 IndexScpi 113114 Japan United States Latin AmericaCanada Australia/New Zealand Europe Asia PacificManual Updates