Agilent Technologies 66lxxA manual Sav, Sre

Page 28

Command Syntax

*RST

Parameters

(None)

Query Syntax

(None)

Related Commands

*PSC *SAV

*SAV

Meaning and Type

Save Device State

Description

This command stores the present state of the power module to a specified location in memory. Up to 10 states can be stored. Storage locations 0 through 4 are in nonvolatile memory and locations 5 through 9 are in volatile memory. If a particular state is desired at power on, it should be stored in location 0. It then will be recalled at power on if the power module configuration switch is set for this mode of operation (see the power module User’s Guide).

The following power module states are stored by *SAV:

CAL:AUTO

LIST:COUN

OUTP:REL[:STAT]

TRIG:LINK

CURR[:LEV][:IMM]

LIST:STEP

OUTP:REL:POL

TRIG:SOUR

CURR:MODE

OUTP[:STAT]

OUTP:TTLT[:STAT]

VOLT[:LEV][IMM]

CURR:PROT:STAT

OUTP:DFI[:STAT]

OUTP:TTLT:LINK

VOLT:MODE

DISP:STAT

OUTP:DFI:LINK

OUTP:TTLT:SOUR

VOLT:PROT[:LEV]

INIT:CONT

OUTP:PROT:DEL

TRIG:DEL

 

Command Syntax

*SAV

Parameters

0 to 9

Query Syntax

(None)

Related Commands

PSC *RCL *RST

*SRE

 

Meaning and Type

 

Service Request Enable Device Interface

 

Description

This command sets the condition of the Service Request Enable register. This register determines which bits from the Status Byte register (see *STB for its bit configuration) are allowed to set the Master Status Summary (MSS) bit and the Request for Service (RQS) summary bit. A 1 in any Service Request Enable register bit position enables the corresponding Status Byte register bit and all such enabled bits then are logically ORed to cause Bit 6 of the Status Byte register to be set. See "Chapter 4 - Status Reporting" for more details concerning this process.

When the controller conducts a serial poll in response to SRQ, the RQS bit is cleared, but the MSS bit is not. When *SRE is cleared (by programming it with 0), the power module cannot generate an SRQ to the controller.

Command Syntax

*SRE <NRf>

Parameters

0 to 255

 

Default Value

(See *PSC)

Example

*SRE 20

 

Query Syntax

*SRE?

 

Returned Parameters

<NR1>

(Register binary value)

Related Commands

*ESE

*ESR *PSC

Language Dictionary 29

Image 28
Contents Agilent Part No Microfiche Part No Update April Programming GuideSafety Guidelines Contents Abor Status Reporting Synchronizing Power Module Output Changes Error MessagesIntroduction About This GuideDocumentation Summary External ReferencesVXIplug&play Power Products Instrument Drivers Downloading and Installing the DriverAccessing Online Help Supported ApplicationsGpib Capabilities Of The Power Module Introduction To ProgrammingModule Gpib Address Introduction To ScpiRST *IDN? *SRE Volt LEV Prot Curr Voltlev 8.0 Prot 8.8 CURR?Outpprotdel Traversing the Command Tree Effect of Optional HeadersOutputprotectionclear STATUSOPERATIONCONDITION? OUTPUTPROTECTIONCLEARSTATUSOPERATIONCONDITION?Voltagelevel 7PROTECTION 8CURRENTLEVEL 3MODE List Volttrig 7.5INIT*TRG Outp OFF*RCL 2OUTP onSymbol Numerical Data Formats Talking FormatsListening Formats Suffixes and Multipliers Class Unit Unit with MultiplierSystem Considerations Assign @PM3TOError Handling Agilent Basic ControllersUsing the National Instruments Gpib Interface Sending the Command Volt 5 in Basic Sending the Command Volt 5 in CReceiving Data from the Module Receiving Module Data with BasicReceiving Module Data with C Language Dictionary IntroductionDescription Of Common Commands CLSMeaning and Type DescriptionBit Configuration of Standard Event Status Enable Register ESEESE ESR?OPC IDN?OPC? OPT? PSCRCL RCLRST SRE SAVSRE STB? Bit Configuration of Status Byte RegisterTRG Description of Subsystem Commands TST?WAI AborSubsystem Tree Diagram Calibration Subsystem CalautoCalauto 1 Calauto Once CalcurrCalcurrlev CalpassCalsave CalstatCalvolt CalvoltlevCalvoltprot CurrCurr 500 MA Currlev CurrmodeCurrprotstat Currprotstat OFFCurrtrig Currtrig 1200 MA CurrlevtrigInit Initcont 1 Initcont on ListcounListcoun Listcoun INF ListcurrLISTCURRPOIN? ListdwelLISTDWELPOIN? ListstepListvolt Listvolt 2.0,2.5,3.0 Listvolt MAX,2.5,MINLISTVOLTPOIN? MEASCURR? MEASVOLT?Outp Outpstat ON,NORELAY OutpprotOutpprotcle Outpprotdel 75E-1 OutprelOutprelpol NormOutpttlt Outpttlt 1 Outpttlt OFFOutpttltlink Outpttltsour LinkSTATOPER? STATOPEREVEN?STATOPERCOND? StatoperenabStat Oper NTR 32 Stat Oper PTR StatpresSTATQUES? STATQUESEVEN?STATQUESCOND? Stat Ques COND?SYSTERR? SYSTVERS?Trigger Subsystem TrigTrig Trig IMM TrigdelTrigdel .25 Trigdel MAX TriglinkVolt VoltlevVoltmode Voltmode List Voltmode FIXVolttrig VOLTSENSSOUR?Volttrig 1200 MV Voltlevtrig Power Module Programming Parameters Link Parameter ListPower Module Status Structure Status Register Bit ConfigurationStatus Reporting Operation Status GroupStatus Questionable Commands Query Bit Signal Bit Configurations of Status Registers MeaningQuestionable Status Group Power Module Status Model Standard Event Status GroupOutput Queue Status Byte RegisterLocation Of Event Handles Initial Conditions At Power On ExamplesStatoperptr 5376ENAB Statquesptr 18ENABSTATOPEREVEN?QUESEVEN? Statoperptr 1024NTR Statoperenab 1024*SRETrigger Subsystem Synchronizing Power Module Output ChangesModel of Fixed-Mode Trigger Operation Idle State Delaying StateInitiated State Model of List Mode Trigger Operation INITiateCONTinuous CommandTrigger Status and Event Signals Output Change StateOutpttltsour List Subsystem Listvolt 3.0,3.25,3.5,3.75 Listdwel 10,10,25,40 Automatically Repeating a ListListcurr 2,3,12,15 Triggering a ListTiming diagrams of Liststep Operation Scpi Command Completion DFI Discrete Fault Indicator SubsystemRI Remote Inhibit Subsystem Error Messages Power Module Hardware Error MessagesSystem Error Messages Standard Event Status Register Error Bits222 -223 -241 -310 -330 -350 -400 -410 -420 -430 Scpi Confirmed Commands Scpi Approved CommandsScpi Conformance Information Scpi VersionNon-SCPI Commands Application Programs Application 1. Sequencing Multiple Modules During Power Up Figure B1-1. Block Diagram of Application #1 Variations On This ImplementationFigure B1-2. Timing Diagram of Application #1 Reset and Clear Module Enable Backplane TTL Trigger DriveEnable Output Enable Response to TriggerImplementation Details How The MPS Implements The Solution MPS Set Up Figure B2-1. Block Diagram of Application #2 When a CV-TO-CC Transition Occurs Enable TTL Trigger DriveEnable Response to TTL Trigger Start AT 15Application 3. Controlling Output Voltage Ramp Up at Turn On Figure B3-1. Simulating a Slow Voltage Ramp Generating the Desired Voltage Ramp for Application #3 Option Base Start Voltage for RampStop Voltage for Ramp SecondsApplication 4. Providing Time-Varying Voltages Figure B4-1. Voltage Waveform for Application #4Module set up Variations On This Implementation Enable OCP No Delay Before Protection OccursEnable Detection of OC Condition Enables Detection on Positive TRANSITION, I.EApplication 5. Providing Time-Varying Current Limiting Figure B5-1. Typical DUT Current vs. Time Implementation Details How The MPS Implements The Sequence GO to 12 V When Triggered Current Limit DataDwell Time Data SET to GET Current from ListApplication 6. Output Sequencing Paced by the Computer Nominal 12MPS Set Up Figure B6-1. Block Diagram of Application #6 These are the Bias Supply Limit ConditionsTo be Tested Number of Bias Supply Limit C0MBINATIONSReturn Overview Of Application Advantages/Benefits Of The MPS Solution Figure B7-1. Block Diagram of Application #7 When the Module Indicates SIC Step Completed When IT Completes the LIST. OPC Generates SROEnable SRQ Interrupt Enable Intr Identify Handler SubroutineSupplemental Information CMD$ = Output on ‘ Enable Output CMD$ = Initiate ‘ Enable Trigger to Start List‘ Conversion to Send Real Numbers Over the BUS CMD$ = Voltmode List ‘ SET to GET Voltage from ListCall Iooutputs SLOTO, CMDS, L Waiting for Trigger BIT 5 of the Operation Status RegisterCONDITION.DATA = Wend‘ Disable Auto Serial Poll If IBSTA% 0 then Goto ‘ AS Part of the Command String‘ Program N3.BAS ‘ INSTRUMENT.NAME$ = SlotoIf IBSTA% 0 then Goto Selected AS a Trigger Source ‘ General Error HandlerStop Application #3 Controlling Voltage Ramp UP AT Turn on Dwell = ramptimeTo terminate the iooutputa Int error Char *badstring If error != EOl enabled for both read and write Strcatvlist, vpoint This is a generalized error checking routine Index IndexIndex Index Index Agilent Sales and Support Offices United States Latin AmericaManual Updates