Agilent Technologies N3280A Scpi Command Completion, Suffixes and Multipliers, Common Multipliers

Page 36

4 - Introduction to Programming

Suffixes and Multipliers

 

Class

Suffix

Unit

Unit with Multiplier

 

Current

A

ampere

MA (milliampere)

 

Amplitude

V

volt

MV (millivolt)

 

Time

S

second

MS (millisecond)

 

 

 

Common Multipliers

 

 

 

1E3

K

kilo

 

 

1E-3

M

milli

 

 

1E-6

U

micro

Response Data Types

 

 

 

Character strings returned by query statements may take either of the following forms, depending on the length of the returned string:

<CRD> Character Response Data. Permits the return of character strings.

<AARD> Arbitrary ASCII Response Data. Permits the return of undelimited 7-bit ASCII. This data type has an implied message terminator.

<SRD> String Response Data. Returns string parameters enclosed in double quotes.

SCPI Command Completion

SCPI commands sent to the dc source are processed either sequentially or in parallel. Sequential commands finish execution before a subsequent command begins. Parallel commands allow other commands to begin executing while the parallel command is still executing. Commands that affect trigger actions are among the parallel commands.

Following is a list of parallel commands. A user should use some form of synchronization before assuming that these commands have completed.

OUTPUT:STATE

INITIATE

VOLT

OUTPUT:PROTECTION:CLEAR

CURR

FUNC:MODE

CURR:LIM

VOLT:ALC:BWIDTH

NOTE: The power supply already provides automatic source settling delay for the special case of VOLT, CURR, or CURR:LIM followed by a measure query, so it is not necessary to use *WAI before a measure if the only pending operations are in this group.

The *WAI, *OPC, and *OPC? common commands provide different ways of indicating when all transmitted commands, including any parallel ones, have completed their operations. The syntax and parameters for these commands are described in chapter 6. Some practical considerations for using these commands are as follows:

*WAI

This prevents the dc source from processing subsequent commands until all pending

 

operations are completed.

*OPC?

This places a 1 in the Output Queue when all pending operations have completed.

 

Because it requires your program to read the returned value before executing the next

 

program statement, *OPC? can be used to cause the controller to wait for commands to

 

complete before proceeding with its program.

36

Image 36
Contents USER’S Guide Agilent Technologies Model N3280A Component Test DC SourceWarranty Information CertificationSafety Summary GeneralSafety Symbols Declaration Acoustic Noise Information Printing HistoryTable of Contents Types of Scpi Commands Scpi Command Completion Using Device ClearExternal References Gpib Capabilities of the DC Source Introduction to ScpiScpi Programming Commands At a Glance Calibration Commands Measurement CommandsOutput Commands Status CommandsSystem Commands Trigger CommandsCommon Commands Voltage Priority TestsError Number List 103 Ripple and Noise TestsTransient Response Tests Page Safety Considerations Document OrientationOptions and Accessories DescriptionRemote Programming Option DescriptionOutput Characteristics Voltage Priority OperationOutput Characteristic Current Priority Current Priority OperationMeasurement Characteristics Start of a Measurement Cleaning InspectionDamage Packaging Material Additional ItemsLocation Bench OperationRack Mounting Do not block the fan exhaust at the rear of the unitPower Connections Connect the Power CordTurn the unit off before connecting any wires Output ConnectionsOutputs 1 Current Ratings Voltage Drops and Lead ResistanceAmpacity and Resistance of Stranded Copper Conductors AWG No Maximum Ampacity Resistance at 20 deg. C Free airCoaxial Guard Connections Guard Connections for Test FixturesExternal Trigger Connections Computer ConnectionsMaintaining Stability OVP ConsiderationsSettings for Power Module Configuration Switch Switch SettingSwitch Setting Address Gpib AddressFront Panel Description Checkout Procedure ProcedureExplanation Selftest Error Messages Runtime Error MessagesPower-On Selftest Errors Case of TroublePage External References Gpib Capabilities of the DC SourceGpib References Scpi ReferencesTypes of Scpi Commands Introduction to ScpiConventions Used in This Guide Multiple Commands in a Message Including Common CommandsUsing Queries Moving Among SubsystemsTypes of Scpi Messages Message UnitChannel List Parameter Scpi Data Formats Scpi Command Completion Suffixes and MultipliersResponse Data Types Class Suffix Unit Unit with MultiplierUsing Device Clear Outputstate ExamplePage Power-on Initialization IntroductionProgramming the Output Enabling the OutputOutput Mode Overvoltage ProtectionOutput Current Triggering Output Changes Oscillation ProtectionOutput Trigger Model Setting the Voltage and Current Trigger Levels Enabling the Output Trigger SystemSelecting the Output Trigger Source Making Measurements Generating Output TriggersAverage Measurements Power Line Cycles Measurement Samples and Time IntervalTriggered Measurements Current RangesWindow Functions Returning All Measurement Data From the Data BufferMeasurement Trigger Model Enabling the Measurement Trigger SystemSelecting the Measurement Trigger Source Output Settling Delay Selecting the Sensing FunctionGenerating Measurement Triggers Pre-trigger and Post-trigger Data Acquisition Pre-trigger and Post-trigger AcquisitionProgramming the Status Registers DC Source Status ModelBit Configurations of Status Registers Operation Status GroupQuestionable Status Group Standard Event Status GroupStatus Byte Register MSS and RQS BitsDetermining the Cause of a Service Interrupt Servicing Operation Status and Questionable Status EventsSubsystem Commands Common CommandsProgramming Parameters Scpi Programming Commands At a Glance Subsystem Commands SyntaxSave new cal constants in non-volatile memory Mode mode, @list DELay FUNCtion Mode mode, @list VOLTageSets the output voltage in voltage priority mode Sets the triggered output voltage in voltage priority modeCommon Commands Syntax ESE nSRE n Output Programming ParametersCalibration Commands CALibrateCURRentCALibrateCURRentLIMitPOSitive CALibrateCURRentLIMitNEGative CALibrateCURRentMEASureCALibratePASSword CALibrateDATACALibrateDATE CALibrateLEVelCALibrateSAVE CALibrateSTATeCALibrateVOLTage Measurement Commands FETChARRayCURRent? FETChARRayVOLTage?FETChCURRent? FETChVOLTage? Query SyntaxMEASureARRayCURRent? MEASureARRayVOLTage? MEASureCURRent? MEASureVOLTage?SENSeCURRentRANGe Enter values greater than 0.015ASENSeFUNCtion SENSeSWEepNPLCyclesSENSeSWEepOFFSetPOINts Query Syntax SENSeFUNCtion? @channel listSENSeSWEepPOINts SENSeSWEepTINTervalSENSeWINDow Output Commands OUTPutOUTPutOSCProtect OUTPutPROTectionCLEarDefault Suffix SOURceCURRentIMMediate SOURceCURRentTRIGgeredSOURceCURRentLIMitIMMediate SOURceCURRentLIMitTRIGgered SOURceCURRentLIMitBWIDthSOURceDELay SOURceDELayMODESOURceCURRentMODE SOURceCURRentLIMitMODE SOURceFUNCtionMODE SOURceVOLTageALCBWIDthSOURceVOLTageIMMediate SOURceVOLTageTRIGgered Query Syntax SOURceFUNCMODE? @channel listSOURceVOLTageMODE SOURceVOLTagePROTectionSTATeQuery Syntax SOURceVOLTagePROTectionSTATe? @channel list NR10 orStatus Commands STATusOPERationENABleBit Configuration of Operation Status Registers STATusOPERationEVENt?STATusPRESet Parameters Preset ValueCommand Syntax STATusPRESet Parameters None Examples STATusOPERationNTR STATusOPERationPTRSTATusQUEStionableENABle Query Syntax STATusQUEStionableENABle? @channel listSTATusQUEStionableCONDition? STATusQUEStionableNTR STATusQUEStionablePTRSystem Commands SYSTemERRor?SYSTemVERSion? Trigger Commands ABORtINITiateNAME TRIGgerACQuireTRIGgerACQuireSOURce TRIGgerTRANsientSOURceTRIGgerTRANsient RST ValueCommon Commands Command Syntax *CLS Parameters NoneParameters Power-On Value Examples Bit Configuration of Standard Event Status Enable RegisterField Information ExampleQuery Syntax *OPT? Returned Parameters Aard Power-on Value RST SettingsBit Configuration of Status Byte Register Query Syntax TST? Returned Parameters NR1Table A-1. Specifications Table A-2 Supplemental Characteristics Output Common Mode SafetyDimensions WeightFigure A-1. Output Impedance Graphs all outputs Equipment Required Performance & Verification Tests Measurement TechniquesTest Setup Electronic LoadProgramming Program Commands Voltage Priority TestsVoltage Programming and Readback Accuracy Positive Current Limit +CLAction Program Commands Negative Current Limit -CLCurrent Priority Tests Current Programming and Readback AccuracyLoad Effect Tests Voltage Priority, Constant Voltage Load EffectVoltage Priority, +Current Limit Load Effect Voltage Priority, -Current Limit Load Effect TestSource Effect Tests Current Priority Constant Current TestVoltage Priority, Constant Voltage Source Effect Voltage Priority, +Current Limit Source Effect Voltage Priority, -Current Limit Source EffectCurrent Priority, Constant Current Source Effect Ripple and Noise Tests Voltage Priority Ripple and NoiseVoltage Priority, Transient Recovery Time Transient Response TestsCurrent Priority Ripple and Noise Current Priority Transient Recovery Time Figure B-2. Transient Waveform Voltage PriorityPerformance Test Equipment Form Figure B-3. Transient Waveform Current PriorityPerformance Test Record Form Performing the Calibration Procedure Enable Calibration ModeNegative Current Limit Calibration Positive Current Limit Calibration5A Range Current Measurement Calibration 10015mA Range Current Measurement Calibration Saving the Calibration Constants101 Changing the Calibration Password Calibration Error MessagesTable B-3. Gpib Calibration Error Messages Error MeaningError Number List Table C-1. Error Numbers103 Error Messages 104Error Messages C 105Page Line Voltage Selection 107Page Earlier Version Output Connectors Mating Connector Part NumbersRear Panel Pinout Assignments CHG-2010-J01010-KEPPage Index 111Index 112113 Scpi114 United States Latin America Canada Australia/New ZealandEurope Asia Pacific JapanManual Updates