Page 39
5
Programming the DC Source
Introduction
This chapter contains examples on how to program your dc source. Simple examples show you how to program:
Koutput voltage and current functions
Kinternal and external triggers
Kmeasurement functions
Kthe status and protection functions
NOTE: The 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 environment.
Programming the Output
Power-on Initialization
When the dc source is first turned on, it wakes up with the output state set to OFF. In this state the output voltage is set to 0. The following commands are given implicitly at power-on:
*RST | *SRE | 0 | STAT:PRES |
*CLS | *ESE | 0 | |
*RST is a convenient way to program all parameters to a known state. Refer to the Common Commands section in chapter 6 for a complete description of the above commands.
Enabling the Output
To enable all four outputs, use the command:
OUTP ON,(@1:4) | or OUTP ON,(@1,2,3,4) |
To enable only outputs 1 and 3 use the command.
OUTP ON,(@1,3)
Output Voltage
The output voltage is controlled with the VOLTage command. To set all four outputs to 5 volts, use:
VOLT 5,(@1:4)
The maximum output voltage that can be programmed can be queried with:
VOLT? MAX,(@<channel list>)
39
Contents
Agilent Technologies Model N3280A Component Test DC Source
USER’S Guide
Certification
Warranty Information
General
Safety Summary
Safety Symbols
Declaration
Printing History
Acoustic Noise Information
Table of Contents
Gpib Capabilities of the DC Source Introduction to Scpi
Types of Scpi Commands
Scpi Command Completion Using Device Clear
External References
Status Commands
Scpi Programming Commands At a Glance Calibration Commands
Measurement Commands
Output Commands
Voltage Priority Tests
System Commands
Trigger Commands
Common Commands
Error Number List 103
Ripple and Noise Tests
Transient Response Tests
Page
Document Orientation
Safety Considerations
Option Description
Options and Accessories
Description
Remote Programming
Voltage Priority Operation
Output Characteristics
Current Priority Operation
Output Characteristic Current Priority
Measurement Characteristics
Start of a Measurement
Additional Items
Cleaning
Inspection
Damage Packaging Material
Do not block the fan exhaust at the rear of the unit
Location
Bench Operation
Rack Mounting
Connect the Power Cord
Power Connections
Turn the unit off before connecting any wires
Output Connections
Outputs 1
AWG No Maximum Ampacity Resistance at 20 deg. C Free air
Current Ratings
Voltage Drops and Lead Resistance
Ampacity and Resistance of Stranded Copper Conductors
Guard Connections for Test Fixtures
Coaxial Guard Connections
OVP Considerations
External Trigger Connections
Computer Connections
Maintaining Stability
Gpib Address
Settings for Power Module Configuration Switch
Switch Setting
Switch Setting Address
Front Panel Description
Checkout Procedure
Procedure
Explanation
Case of Trouble
Selftest Error Messages
Runtime Error Messages
Power-On Selftest Errors
Page
Scpi References
External References
Gpib Capabilities of the DC Source
Gpib References
Types of Scpi Commands
Introduction to Scpi
Conventions Used in This Guide
Moving Among Subsystems
Multiple Commands in a Message
Including Common Commands
Using Queries
Types of Scpi Messages
Message Unit
Channel List Parameter
Scpi Data Formats
Class Suffix Unit Unit with Multiplier
Scpi Command Completion
Suffixes and Multipliers
Response Data Types
Outputstate Example
Using Device Clear
Page
Enabling the Output
Power-on Initialization
Introduction
Programming the Output
Output Mode
Overvoltage Protection
Output Current
Triggering Output Changes
Oscillation Protection
Output Trigger Model
Setting the Voltage and Current Trigger Levels
Enabling the Output Trigger System
Selecting the Output Trigger Source
Making Measurements
Generating Output Triggers
Average Measurements
Measurement Samples and Time Interval
Power Line Cycles
Returning All Measurement Data From the Data Buffer
Triggered Measurements
Current Ranges
Window Functions
Measurement Trigger Model
Enabling the Measurement Trigger System
Selecting the Measurement Trigger Source
Output Settling Delay
Selecting the Sensing Function
Generating Measurement Triggers
Pre-trigger and Post-trigger Acquisition
Pre-trigger and Post-trigger Data Acquisition
DC Source Status Model
Programming the Status Registers
Operation Status Group
Bit Configurations of Status Registers
MSS and RQS Bits
Questionable Status Group
Standard Event Status Group
Status Byte Register
Servicing Operation Status and Questionable Status Events
Determining the Cause of a Service Interrupt
Subsystem Commands
Common Commands
Programming Parameters
Scpi Programming Commands At a Glance
Subsystem Commands Syntax
Save new cal constants in non-volatile memory
Sets the triggered output voltage in voltage priority mode
Mode mode, @list DELay
FUNCtion Mode mode, @list VOLTage
Sets the output voltage in voltage priority mode
Output Programming Parameters
Common Commands Syntax
ESE n
SRE n
CALibrateCURRentMEASure
Calibration Commands
CALibrateCURRent
CALibrateCURRentLIMitPOSitive CALibrateCURRentLIMitNEGative
CALibrateLEVel
CALibratePASSword
CALibrateDATA
CALibrateDATE
CALibrateSAVE
CALibrateSTATe
CALibrateVOLTage
Query Syntax
Measurement Commands
FETChARRayCURRent? FETChARRayVOLTage?
FETChCURRent? FETChVOLTage?
Enter values greater than 0.015A
MEASureARRayCURRent? MEASureARRayVOLTage?
MEASureCURRent? MEASureVOLTage?
SENSeCURRentRANGe
Query Syntax SENSeFUNCtion? @channel list
SENSeFUNCtion
SENSeSWEepNPLCycles
SENSeSWEepOFFSetPOINts
SENSeSWEepPOINts
SENSeSWEepTINTerval
SENSeWINDow
OUTPutPROTectionCLEar
Output Commands
OUTPut
OUTPutOSCProtect
SOURceCURRentLIMitBWIDth
Default Suffix
SOURceCURRentIMMediate SOURceCURRentTRIGgered
SOURceCURRentLIMitIMMediate SOURceCURRentLIMitTRIGgered
SOURceDELay
SOURceDELayMODE
SOURceCURRentMODE SOURceCURRentLIMitMODE
Query Syntax SOURceFUNCMODE? @channel list
SOURceFUNCtionMODE
SOURceVOLTageALCBWIDth
SOURceVOLTageIMMediate SOURceVOLTageTRIGgered
NR10 or
SOURceVOLTageMODE
SOURceVOLTagePROTectionSTATe
Query Syntax SOURceVOLTagePROTectionSTATe? @channel list
STATusOPERationEVENt?
Status Commands
STATusOPERationENABle
Bit Configuration of Operation Status Registers
STATusOPERationNTR STATusOPERationPTR
STATusPRESet
Parameters Preset Value
Command Syntax STATusPRESet Parameters None Examples
STATusQUEStionableNTR STATusQUEStionablePTR
STATusQUEStionableENABle
Query Syntax STATusQUEStionableENABle? @channel list
STATusQUEStionableCONDition?
System Commands
SYSTemERRor?
SYSTemVERSion?
TRIGgerACQuire
Trigger Commands
ABORt
INITiateNAME
RST Value
TRIGgerACQuireSOURce
TRIGgerTRANsientSOURce
TRIGgerTRANsient
Bit Configuration of Standard Event Status Enable Register
Common Commands
Command Syntax *CLS Parameters None
Parameters Power-On Value Examples
Field Information
Example
Query Syntax *OPT? Returned Parameters Aard
RST Settings
Power-on Value
Query Syntax TST? Returned Parameters NR1
Bit Configuration of Status Byte Register
Table A-1. Specifications
Table A-2 Supplemental Characteristics
Weight
Output Common Mode
Safety
Dimensions
Figure A-1. Output Impedance Graphs all outputs
Equipment Required
Measurement Techniques
Performance & Verification Tests
Test Setup
Electronic Load
Programming
Positive Current Limit +CL
Program Commands
Voltage Priority Tests
Voltage Programming and Readback Accuracy
Negative Current Limit -CL
Action Program Commands
Current Programming and Readback Accuracy
Current Priority Tests
Voltage Priority, Constant Voltage Load Effect
Load Effect Tests
Voltage Priority, -Current Limit Load Effect Test
Voltage Priority, +Current Limit Load Effect
Source Effect Tests
Current Priority Constant Current Test
Voltage Priority, Constant Voltage Source Effect
Voltage Priority, -Current Limit Source Effect
Voltage Priority, +Current Limit Source Effect
Current Priority, Constant Current Source Effect
Voltage Priority Ripple and Noise
Ripple and Noise Tests
Voltage Priority, Transient Recovery Time
Transient Response Tests
Current Priority Ripple and Noise
Figure B-2. Transient Waveform Voltage Priority
Current Priority Transient Recovery Time
Figure B-3. Transient Waveform Current Priority
Performance Test Equipment Form
Performance Test Record Form
Enable Calibration Mode
Performing the Calibration Procedure
100
Negative Current Limit Calibration
Positive Current Limit Calibration
5A Range Current Measurement Calibration
15mA Range Current Measurement Calibration
Saving the Calibration Constants
101
Error Meaning
Changing the Calibration Password
Calibration Error Messages
Table B-3. Gpib Calibration Error Messages
Error Number List
Table C-1. Error Numbers
103
104
Error Messages
105
Error Messages C
Page
107
Line Voltage Selection
Page
CHG-2010-J01010-KEP
Earlier Version Output Connectors
Mating Connector Part Numbers
Rear Panel Pinout Assignments
Page
111
Index
112
Index
Scpi
113
114
Japan
United States Latin America
Canada Australia/New Zealand
Europe Asia Pacific
Manual Updates