Home

CAI i, ix, Series SCPI Programming

image

Contents

1. 85 VOLTAGE RANGE JL 85 VOLTage SENSe SOURGe ric is is 86 VOLTAJE SlE Wii iio ci 86 VOLTage SEEW MOBBE 1 iind cde dne dv ld La v e dani 87 VOLTage SLEW TRIGgered eessseessssseeeeeseseeene nenne nennen heh nn nen hhh esten hhh enne tnnt s nennen esterne 87 VOLTage TRlIGgered 5 5 nci e its 84 W waveform data Tomai modes tort cero edu alc tace ro ett talented tatc eta dee s 39 184 May 2002 i Series iX Series
2. Function bixVersion As Boolean This function returns the i series hardware revision to allow the program to accommodate both i series controller versions Returns true is Syst version is 1995 false otherwise Dim sResponse As String sResponse SourceQuery SYST VERS If InStr sResponse 1995 0 Then bixVersion True Else bixVersion False End If End Function The next code fragment uses the bixVersion function call to generate the correct command syntax Use group execute trigger for i Series to allow start of all three controllers at the same time If bixHardware Then new generation i series cmd ABORT TRIG TRAN SOURCE BUS Else previous generation i series cmd ABORT ARM SOURCE BUS End If May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 9 Option Commands 9 1 Introduction The i and ix series both offer a number of options that are implemented in the AC DC power source controller If one or more of these options are installed they may be used from both the front panel and the interface For front panel operation of any of these firmware options consult the User Manual supplied with the unit For use in an automated test system this chapter contains the command sub system syntax for the available test options Specifically the following firmware options are available at the time of this manual s prin
3. lt nrf gt FETCh ARRay CURRent HARMonic AMPLitude Parameters None Examples MEAS ARR CURR HARM FETC ARR CURR HARM 20 Returned Parameters 21 NR2 values Related Commands INST NSEL i Series iX Series May 2002 37 California Instruments SCPI Programming Manual Rev L MEASure ARRay CURRent HARMonic PHASe lt nrf gt FETCh ARRay CURRent HARMonic PHASe lt nrf gt Phase Selectable These queries return an array of harmonic phases of output current in degrees referenced to the positive zero crossing of the fundamental component The fundamental component will return a value relative to the fundamental voltage The first value returned is the de component always returned as O degrees phase the second value is the fundamental frequency and so on up to the 50th harmonic Harmonic orders can be measured up to the fundamental measurement bandwidth of the measurement system which is 19 531 kHz for a single phase system and 6 510kHz for a three phase system Thus the maximum harmonic that can be measured is dependent on the output frequency Any harmonics that represent frequencies greater than the above frequencies are returned as 0 Query Syntax MEASure ARRay CURRent HARMonic PHASe lt NRf gt FETCh ARRay CURRent HA RMonic PHASe lt NRf gt Parameters None Examples MEAS ARR CURR HARM PHAS 16 FETC ARR CURR HARM PHAS Returned Parameters 17 NR2 values Related Commands INST NSEL 38 May 2002 i Series iX Series
4. RST Value 100 milliseconds Examples CURR PROT DEL 1 5 Query Syntax CURR PROT DEL Returned Parameters lt NR2 gt Related Commands OUTP PROT STATE i Series iX Series May 2002 57 California Instruments SCPI Programming Manual Rev L 4 11 Source Subsystem Frequency This subsystem programs the output frequency of the AC DC source Subsystem Syntax SOURce FREQuency IMMediate lt n gt Sets the frequency MODE lt mode gt Sets frequency mode FIX STEP PULS LIST SENS EXT SLEW IMMediate n MAXimum Sets the frequency slew rate MODE lt mode gt Sets frequency slew mode FIX STEP PULSILIST TRIGgered n MAXimum Sets the triggered frequency slew rate TRIGgered n Sets the triggered frequency FREQuency This command sets the frequency of the output waveform Command Syntax SOURce FREQuency CW IMMediate lt NRf gt Parameters Refer to specifications table in User Guide Unit Hz Hertz RST Value 60 Hz Examples FREQ 50 Query Syntax SOURce FREQuency Returned Parameters NR3 Related Commands FREQ MODE FREQ SLEW 58 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments FREQuency MODE This command determines how the output frequency is controlled The choices are FIXed The output frequency is unaffected by a triggered output transient STEP The output frequency is programmed to the value set by FREQuency TRIGgered when a triggered t
5. Related Commands CALibrate MEASure VOLTage TEMPerature DC ZERO CALibrate MEASure VOLTage TEMPerature AC FSCale lt NRf gt This command initiates the calibration of the rms voltage measurement at full scale and at elevated temperature Command Syntax CALibrate MEASure VOL Tage TEMPerature AC FSCale Parameters lt NRf gt actual rms output voltage measured with external device Examples CAL MEAS VOLT TEMP 120 Query Syntax CALibrate MEASure VOLTage TEMPerature Returned Parameters lt NR2 gt value range 1000 to 1000 Related Commands CALibrate MEASure VOLTage AMBient AC FSCale i Series iX Series May 2002 25 California Instruments SCPI Programming Manual Rev L CALibrate MEASure VOLTage TEMPerature DC FSCale lt NRf gt This command initiates the calibration of the DC voltage measurement at full scale and at elevated temperature Command Syntax CALibrate MEASure VOLTage TEMPerature DC FSCale Parameters lt NRf gt actual DC output voltage measured with external device Examples CAL MEAS VOLT TEMP 120 Query Syntax CALibrate MEASure VOLTage TEMPerature DC Returned Parameters lt NR2 gt value range 1000 to 1000 Related Commands CALibrate MEASure VOLTage AMBient DC FSCale CALibrate MEASure VOLTage TEMPerature DC ZERO lt NRf gt This command initiates the offset adjustment of the rms voltage measurement at elevated temperature Command Syntax CALibrate MEASure VOLTage TEMPerature DC ZER
6. The MEASure and FETCh queries can also return all 4096 data values of the instantaneous voltage and current buffers These are MEASure ARRay CURRent DC WAI MEASure ARRay VOLTage DC WAI 6 6 7 Triggering Measurements You can use the data acquisition trigger system to synchronize the timing of the voltage and current data acquisition with an external trigger source Then use the FETCh commands to return different calculations from the data acquired by the measurement trigger The following measurement trigger sources can be selected IMMediate Aquire the measurements immediate SYNChronize Internal to phase A angle BUS IEEE 488 device TRG or GET Group Execute Trigger TTLTrg The signal driving the Trigger Out 128 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 6 6 8 Measurement Trigger System Model Figure 6 3 is a model of the measurement trigger system The rectangular boxes represent states The arrows show the transitions between states These are labeled with the input or event that causes the transition to occur IDLE STATE INITIATED STATE TRIGGER RECEIVED DATA ACQUISITION Figure 6 3 Measurement Acquisition Trigger Model 6 6 9 Initiating the Measurement Trigger System When the AC source is turned on the trigger system is in the idle state In this state the trigger system ignores all triggers Sending the following commands at any time returns th
7. These queries always return 51 data values from the dc component up to the the numeric option field n if present or the 50th harmonics Any harmonics that represent frequencies greater than the measurements bandwidth are returned as the value 0 To return the i Series iX Series May 2002 127 California Instruments SCPI Programming Manual Rev L percentage of total harmonic distortion in the output voltage or current use the following commands Z EASure CURRent HARMonic THD MEASure VOLTage HARMonic THD 6 6 5 Simultaneous Output Phase Measurements You can return simultaneous measurements from all output phases of the source in the three phase mode using the FETCh query Unlike MEASure queries FETCh queries do not trigger the acquisition of new data when they are executed First you must initiate the measurement trigger system and generate a measurement trigger as explained in the following section Triggering Measurements When the measurement data has been acquired by the voltage and current data buffers for each output phase use INSTrument NSELect to select each phase and FETCh to return the specified measurement data The following commands return rms voltage INSTrument NSELect 1 FETCh VOLTage AC WAI INSTrument NSELect 2 FETCh VOLTage AC WAI INSTrument NSELect 3 FETCh VOLTage AC WAI 6 6 6 Returning Voltage and Current Data From the Data Buffer
8. Command Syntax Parameters Examples Query Syntax Returned Parameters IEC413 HARMonics DWELI IEC413 HARMonics PHASe lt Nrf gt lt Nrf gt lt Nrfn gt 0 to 360 IEC413 HARM PHAS 180 270 90 IEC413 HARM PHAS NR2 NR2 This command will set the dwell time in seconds for each harmonic The class must be selected prior to this command Query with min and max to find the range of the dwell time Command Syntax Parameters Examples Query Syntax Returned Parameters IEC413 HARMonics PAUSe IEC413 HARM DWELI lt NRf gt seconds IEC413 HARM DWEL 10 IEC413 HARM DWEL lt NR1 gt This command will set the pause time in seconds This is the time between each harmonic The class must be selected prior to this command Query with min and max to find the range of the dwell time Command Syntax Parameters Examples Query Syntax Returned Parameters i Series iX Series IEC413 HARM PAUSe lt NRf gt seconds 1EC413 HARM PAUS 2 1EC413 HARM PAUS lt NR1 gt May 2002 157 California Instruments SCPI Programming Manual Rev L IEC413 IHARMonics LEVel This command will set the level for the interharmonics test The command will accept either one parameter or five parameters In case of one parameter the level will be set for the selected range only The IEC413 STATe must be in the off position and the user class must be selected to accept the command Command Syntax IEC413 IHARmoni
9. LISTEFUNCtion POIN So ciao 69 EIST F NGtion SEIAPe iiec iiit bote tr eot eot abere Dee peer od ea s Per N 69 LIST REPeatPOINIS e itecto Decr A iate orale te Lent eret dotes 70 EIST REPeat COUNT ect id ben 70 LISTES TEP specs ein iie e EE EE IR ico sve EIE Posts icon HH ERE eO e e Re eR 70 PA e adentii stead T E AA E E PAE 71 HSR TIENERS a A Aa T dra bee ORE ies 71 LIST VOL TAG 6 er oc tto mro ee AE eee eec Doe NEE A E A A ENAS 72 LISTEVOLETAge POINtS aeee vU 72 BIST VOETage SEEW e n ann ea Ea A ARE bz Do AAA od Ee AEAN 72 LIST VOL Tage SEEW POINIS iet itte t A 73 M MEASure ARRay CURRent HARMonic PHASe sesssessssesee ene nene nennen nnns 38 MEASure ARRay CURRent HARMoniC esses hene nennen eh re nen nre nnns 37 MEASure ARRay CURRent eeesssssessssisseeeeeeeeee nennen nnne nne h hh T EENDE esten ntes KAUAS AAEE Et ens 36 MEASure ARRay MODe 2 curie ended eren dene cite de seva inde Headend eens even dene e aae dee Runs 39 MEASure ARRay VOLTage HARMonic PHAS ceceeeceeeeeeeeeeeeeeeeeeeeeesaaeeeeeaaeeeeeeaaaeeeeeaaee ees 42 MEASure ARRay VOLTage HARMoniC esses e eene hne n nhe nth tren nennen 41 MEASure ARRay VOLT age coooccccconoccconononnnonnnnnnnnnnnnnnnnnnnnnnnn nn enne h nnns nen hh Tead hh sene treten nennen esterne 41 MEASure CURRBentAC a 43 MEASure CURRent AMPLitude MAXimum ssssssssssesssseeen eene nenne mne enhn nnne nennen 44
10. STATe Returned Parameters 0 1 Related Commands OUTP TTLT SOUR i Series iX Series May 2002 53 California Instruments SCPI Programming Manual Rev L OUTPut TTLTrg SOURce This command selects the signal source for the Trig Out signal as follows e BOT Beginning of transient output e EOT End of transient output e LIST Specified by the TTLTrg list When an event becomes true at the selected TTLTrg source a pulse is sent to the the function strobe on the system interface connector on the rear panel of the AC DC source Command Syntax OUTPut TTLTrg SOURce lt source gt Parameters BOT EOT LIST RST Value BOT Examples OUTP TTLT SOUR LIST Query Syntax OUTPut TTLTrg SOURce Returned Parameters lt CRD gt Related Commands OUTP TTLT 4 9 3 Programmable Impedance ix series only OUTPut IMPedance STATe ix series only Phase Selectable This command enables or disables the source output impedance programming The state of a disabled output impedance is equivalent to the minimum impedance The query form returns the output state Command Syntax OUTPut IMPdance STATe bool Parameters 0 OFF 1 ON RST Value OFF Examples OUTP IMP 1 OUTP IMP STAT ON Query Syntax OUTPut IMPdeance STATe Returned Parameters 0 1 Related Commands OUTPut IMPedance REAL OUTput IMPedance REACtive OUTPut IMPedance REAL ix series only Phase Selectable This command sets the real part of the output impedance of the AC
11. The particular output phase must first be selected by INST NSEL The Event register is a read only register which holds latches all events that are passed by the Questionable NTR and or PTR filter Reading the Questionable Event register clears it Query Syntax STATus QUESionable INSTrument ISUMmary EVENt Parameters None Returned Parameters lt NR1 gt Register Value Examples STAT QUES INST ISUM EVEN Related Commands CLS STAT QUES INST ISUM NTR STAT QUES INST ISUM PTR STATus QUEStionable INSTrument ISUMmary CONDition Phase Selectable This query returns the value of the Questionable Condition register for a specific output of a three phase AC source The particular output phase must first be selected by INST NSEL The Condition register is a read only register which holds the real time unlatched questionable status of the AC DC power source Query Syntax STATus QUEStionable INSTrument ISUMmary CONDition Example STAT QUES INST ISUM COND Returned Parameters NR1 Register value STATus QUEStionable INSTrument ISUMmary ENABIe Phase Selectable This command sets or reads the value of the Questionable Enable register for a specific output of a three phase AC source The particular output phase must first be selected by INST NSEL The Enable register is a mask for enabling specific bits from the Questionable Event register to set the questionable summary QUES bit of the Status Byte register This bit bit 3 is
12. output as follows e MMediate starts the transient output immediately e PHASe starts the transient output at the reference phase set by TRIG PHAS Command Syntax TRIGger SYNChronize SOURce lt CRD gt Parameters IMMediate PHASe RST Value IMM Examples TRIG SYNC SOUR IMM TRIG SOUR PHAS Query Syntax TRIGger SYNC SOURce Returned Parameters lt CRD gt Related Commands ABOR TRIG SYNC PHAS INIT INIT CONT TRIGger SYNChronize PHASe This command sets the phase angle with respect to an internal phase reference if TRIGger SOURce PHASe is selected The range is from 360 to 360 Degrees Command Syntax TRIGger SYNChronize PHASe lt NRf gt Parameters 360 to 360 RST Value 0 Examples TRIG SYNC PHAS 90 Query Syntax TRIGger SYNChronize PHASe Returned Parameters lt NR2 gt Related Commands ABOR TRIG SYNC SOUR INIT INIT CONT TRG i Series iX Series May 2002 101 California Instruments SCPI Programming Manual Rev L TRIG STATe This is a query only command The response will define the state of the transient trigger System as follows e IDLE The trigger is in idle state e ARM The trigger is waiting for internal syncronization or external trigger e BUSY The triggered transient in progress Query Syntax TRIGger STATe Returned Parameters lt CRD gt Related Commands ABOR TRIG SOUR TRIG PHAS INIT INIT CONT TRG 102 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 5 Comm
13. 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 12 Source Subsystem Function iX series only This subsystem programs the output function of the AC DC source Subsystem Syntax SOURce FUNCtion SHAPe MMediate shape Sets the periodic waveform shape SIN SQU CSIN lt user defined gt MODE lt mode gt Sets the waveform shape mode FIX LIST CSINe n Sets the THD of peak at which the clipped sine FUNCtion Phase selectable This command selects the shape of the output voltage waveform as follows SINe A sinewave is output SQUare A squarewave is output CSINe The output is a clipped sine waveform Both positive and negative peak amplitudes are clipped at a value determined by the SOURce FUNCtion SHAPe CSINusoid setting lt user_defined gt The output shape is described by one of the user defined waveform tables The maximum peak voltage that the AC source can output is 425 V peak This includes any combination of voltage and function shape values Therefore the maximum value that can be programmed depends on the peak to rms ratio of the selected waveform For a sinewave the maximum voltage that can be programmed is 300 V rms If a custom waveform is selected for a given phase the maximum programmable rms voltage may be obtained by the program by using the voLT MAX query This query will return the maximum possible rms voltage that can be programmed without exceeding th
14. 4 11 Source Subsystem Frequency oooccccconcccconononnconcnannccnnnnnncnnnnnnncnnnnnnnnnnnnnnnnnnnnannnnnnnnnnnnns 58 4 12 Source Subsystem Function iX series ONly ooooncccononncccocnnnccccnonncnncnonncncnnnancnccnnnnnncnnnns 61 4 13 Source Subsystem Libia dilata 63 4 14 Sense Subsystem Sweep iX series only ooccoconcccccconccccononcconononaccnonnnnnnnonnnnnn He 65 4 15 Source Subsystem idiota eee tata eet 66 4 16 Source Subsystem Mode sessssesssssesessseseeee nennen enne nennen nnn nennen nnns 74 4 17 Source Subsystem Phase cccooooocccccononnccnononnnonnnnnncnnnnnnnnonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnrnnnnns 75 4 18 Source Subsystem PONSetup sessessssssseesssseeeeen nennen entente rennen 76 4 19 Source S bsystem Pulse decedere ede ea Ee oe db 80 4 20 Source Subsystem Voltage oooccccconoccconononncononnnncnnnnnnncnnnnnnnnnnnnnnnnnnnnnnnnnnnnannnnnnnancnnnns 83 4 21 Status Subsystem Commands ssssssssssessssseseeeneeee e eene nnne en nennen nnns 88 4 22 System Commands netia verse e dvd indc as tee guider rd dese vv vada 92 4 23 Trace Subsystem Commands iX series only sssee 96 4 24 Bieezigciu 98 S Common command S rsss ranerne anaa nEs IE EA AAAA iran 103 5 1 Esc E EE MEER E EE 104 5 2 zl 105 5 3 ESA eM loto caT dae 105 5 4 RS 106 5 5 Oro Um En 106 5 6 A resent sata tate EEE a taka tte alata ka tu
15. 7 under 7 6 2 for register details PSC ON 1 Prevents the register contents from being saved causing them to be cleared at power on This prevents a PON event from generating a SRQ at power on PSC OFF 0 Saves the contents of the Standard Event Enable and Service Request Enable registers in nonvolatile memory and recalls them at power on This allows a PON event to generate SRQ at power on Using the PCS command in this mode allows the control program to detect a power failure condition that caused the source to power down and back up again Command Syntax PSC lt bool gt Parameters 0 1 OFF ON Example PSCO PSC 1 Query Syntax PSC Returned Parameters 0 1 Related Commands ESE SRE 5 8 RCL This command restores the AC DC source to a state that was previously stored in memory including the transient list with a SAV command to the specified location All states are recalled with the following exceptions CAL STATe is set to OFF the trigger system is set to the Idle state by an implied ABORt command this cancels any uncompleted trigger actions Command Syntax RCL lt NRf gt Parameters 0 through 7 Example RCL 3 Related Commands HST SAV WARNING Recalling a previously stored state may place hazardous voltages at the AC source output i Series iX Series May 2002 107 California Instruments SCPI Programming Manual Rev L 5 9 RST The reset RST command has the same effect as an IE
16. COUNt or at the begining of the transient for the first count only lt accepts the following parameters e NONe Synchronization is accomplished once e ALL synchronization is accomplished for every count Command Syntax TRIGger COUNt ALL TRIGger COUNt NONE Parameters ALL NONE RST Value NONE Examples TRIG COUN ALL TRIG COUN NONE Query Syntax TRIG COUN Returned Parameters lt CRD gt Related Commands ABOR TRIG TRIG DEL TRIG SYNC TRIG SYNC PHAS INIT INIT CONT TRG WAI 100 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments TRIGger ACQuire SOURce iX series only These commands select the trigger source for a triggered measurement sequence as follows IMMediate Acquire the measurements immediate The FETCh commands return the requested calculation from the set of acquired data as soon as the measurement calculations are completed by the controller SYNChronize Internal phase A angle BUS IEEE 488 device TRG or GET Group Execute Trigger TTLTrg The signal driving the Trigger Out BNC Command Syntax TRIGger ACQuire SOURce lt CRD gt Parameters IMM SYNC BUS TTLT RST Value IMM Examples TRIG ACQ SOUR BUS Query Syntax TRIGger ACQuire SOURce Returned Parameters lt CRD gt Related Commands ABOR TRIG SOUR TRIG SYNC SOUR TRIG SYNC PHAS INIT INIT CONT TRG TRIGger SYNChronize SOURce This commands select the synchronizing trigger source in generating a step pulse or list
17. Examples 1EC411 VOLT 230 Query Syntax 1EC411 VOLT Returned Parameters lt NR2 gt M6 May202 i Series iX Series SCPI Programming Manual Rev L California Instruments IEC411 DIPS RUN ALL This command will cause the automated test sequence by the standard to run Refer to Table 13 in the User Manual Command Syntax IEC411 DIPS RUN ALL Parameters none Examples IEC411 DIPS RUN Query Syntax none Returned Parameters lt none gt 1EC411 DIPS RUN SINGle This command will run a single test once The test is defined by the dip parameters voltage cycle and angle Command Syntax IEC411 DIPS RUN SINGIe Parameters none Examples IEC411 DIPS RUN SING Query Syntax none Returned Parameters lt none gt IEC411 DIPS VOLTage PERCent This command defines the dip voltage as a percentage of the nominal voltage when the run single command is used Command Syntax IEC411 DIPS VOLTage PERCent Parameters numeric Examples IEC411 DIPS VOLT 20 Query Syntax 1EC411 DIPS VOLT Returned Parameters lt NR2 gt 1EC411 DIPS CYCLes This command defines the duration of the dip voltage expressed in the number of cycles Command Syntax 1EC411 DIPS CYCLes Parameters lt numeric gt Examples 1EC411 DIPS VOLT 20 Query Syntax 1EC411 DIPS VOLT Returned Parameters lt NR2 gt i Series iX Series May 2002 147 California Instruments SCPI Programming Manual Rev L 1EC411 DIPS ANGLe This command sets the
18. FREQuency Set the IEC interharmonics frequency SWEep RANGe Set the Sweep range STEP SIZE Set sweep step size GROUp Select the IEC group FCURve LEVel Set flat curve level DWELI Set flat curve dwell time PAUSe Set flat curve pause time OSWing LEVel Set over swing level PHASe Set over swing harmonic phase angle DWELI Set over swing dwell time PAUSe Set over swing pause time SWEep LEVel Set sweep interharmonics level DWELI Set sweep dwell time CURRent DATA Get interharmonics current RESonant Get interharmonics current at resonant FREQuency DATA Get interharmonics frequency RESonant Get interharmonics frequency at resonant HARMonics LEVel Set harmonics level PHASe Set harmonics phase DWELI Set harmonics dwell PAUSe Set harmonics pause 2002 i Series X Series May SCPI Programming Manual Rev L California Instruments IHARmonics LEVel Set interharmonics level DWELI Set interharmonics dwell PAUSe Set interharmonics pause IEC413 STATe This command will enable the IEC413 and initialize the associated data Command Syntax IEC413 STATe state Parameters lt ON OFF 1 0 gt Examples 1EC413 RUN STAT ON Query Syntax 1EC413 STAT Returned Parameters boolean 1EC413 RUN This command will run the test The parameters will define the section of test to be run Command Syntax 1EC413 RUN lt group gt Parameters lt ALL GROup RANGe POINt gt Exam
19. L DO160 NORMal FREQuency TRANsient This command applies to Group 1 only for the the Eurocae standard Refer to Table 5 in the User Manual Command Syntax Parameters Examples Query Syntax Returned Parameters DO160 NORMal FREQuency TRANsient none DO160 NORM FREQ TRAN none none DO160 NORMal FREQuency VARiation This command applies to Group 2 and 3 only for the Eurocae standard Refer to Table 6 in the User Manual Command Syntax Parameters Examples Query Syntax Returned Parameters DO160 NORMal FREQuency VARiation none DO160 NORM FREQ VAR none none DO160 EMERgency VOLT FREQ MINimum This command will set the voltage and frequency to the minimum level for the emergency operation Command Syntax Parameters Examples Query Syntax DO160 EMERgency I VOLT FREQ MINimum none DO160 EMER VOLT FREQ MIN none DO160 EMERgency VOLT FREQ MAXimum This command will set the voltage and frequency to the maximum level for the emergency operation Command Syntax Parameters Examples Query Syntax 164 DO160 EMERgencyl VOLT FREQ MAXimum none DO160 EMER VOLT FREQ MAX none May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments DO160 EMERgency VOLTage UNBalance This command will unbalance the voltage level for each phase to the emergency high and low operating voltage of each phase This test is valid only for three phase AC source Command Synta
20. LIST REPeat Note that it returns only the total number of points not the point values Query Syntax SOURce LIST PHASe POINts Returned Parameters lt NR1 gt Example IST PHAS POIN Related Commands IST FREQ LIST DWEL 4 15 6 List Step LIST STEP This command specifies how the list sequencing responds to triggers e ONCE causes the list to advance only one point after each trigger Triggers that arrive during a dwell delay are ignored e AUTO causes the entire list to be output sequentially after the starting trigger paced by its dwell delays As each dwell delay elapses the next point is immediately output Command Syntax SOURce LIST STEP lt step gt Parameters ONCE AUTO RST Value AUTO Examples LIST STEP ONCE Query Syntax SOURce LIST STEP Returned Parameters lt CRD gt Related Commands LIST COUN LIST DWEL 70 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 15 7 List TTL Trigger Out LIST TTLTrg This command sets the sequence of Trigger Out list points Each point which is set ON will cause a pulse to be output at Trigger Out Function strobe signal on the system interface when that list step is reached Those entries which are set OFF will not generate Trigger Out pulses The order in which the list points are given determines the sequence in which Trigger Out pulses will be output when a list transient is triggered Command Syntax SOURce LIST TTLTrg lt bool g
21. 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 paragraph 7 5 for more details concerning this process When the IEEE 488 BUS 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 source cannot generate an SRQ to the controller Command Syntax SRE lt NRf gt Parameters 0 to 255 Default Value O see PSC command Example SRE 255 Query Syntax SRE Returned Paramters lt NR1 gt Register binary value Related Commands ESE ESR i Series iX Series May 2002 109 California Instruments SCPI Programming Manual Rev L 5 12 STB 110 This query reads the Status Byte register which contains the status summary bits and the Output Queue MAV bit Reading the Status Byte register does not clear it The input summary bits are cleared when the appropriate event registers are read see chapter 7 for more information A serial poll also returns the value of the Status Byte register except that bit 6 returns Request for Service RQS instead of Master Status Summary MSS A serial poll clears RQS but not MSS When MSS is set it indicates that the source has one or more reasons for requesting service Bit Name OPER MSS RQS QUES not used mwm 18 a 2 vw 8 Bit Configuration of Status Byt
22. Syntax CALibrate VOLTage DC LRANge NEG Returned Parameters lt NR1 gt value range 127 to 128 Related Commands CAL VOLT DC LRAN CALibrate SOURce VOLTage DC L RANge ZERO lt NRf gt This command will set the calibration coefficent for the dc output voltage offset at the low voltage range Command Syntax CALibrate VOLTage DC LRANge ZERO lt NRf gt Parameters lt NRf gt a value between 127 and 128 Examples CAL VOLT DC LRAN ZERO 10 Query Syntax CALibrate VOLTage DC L RANge ZERO Returned Parameters lt NR1 gt value range 127 to 128 Related Commands CAL VOLT DC LRAN ZERO CALibrate SOURce VOLTage DC HRANge FSCale POSitive lt NRf gt This command will set the calibration coefficent for the positive dc full scale output voltage at the high voltage range Command Syntax CALibrate VOLTage DC HRANge lt NRf gt Parameters lt NRf gt a value between 127 and 128 Examples CAL VOLT DC HRAN 2 Query Syntax CALibrate VOLTage DCHRANge Returned Parameters lt NR1 gt value range 127 to 128 Related Commands CAL VOLT DC LRAN ZERO May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments CALibrate SOURce VOLTage DC HRANge FSCale NEGative lt NRf gt This command will set the calibration coefficent for the negative dc full scale output voltage at the high voltage range Command Syntax CALibrate VOLTage DC HRANge FSCale NEGative lt NRf gt Parameters lt NRf
23. We recommend you use this driver to develop your code The code fragment shown here illustrates the initilization of the interface to the ix Series or i Series AC DC source The iopen call returns a unique device ID Hpid if the call is successful This ID should be used subsequently while communicating with the AC DC source The call to the time out procedure ensures that the application program will time out after 1 sec if it is unable to communicate with the instrument i Series iX Series May 2002 15 California Instruments SCPI Programming Manual Rev L M DECLARATION SECTION Dim Source_Adr As Integer IEEE adress for L Series Dim GPIB Slot As Integer GPIB card slot nr Dim GPid As Integer Interface id for HPIB card Dim Hpid As Integer Device id for HPIB SICL session M CODE SECTION GPIB Slot 7 Determined by setup of IEEE controller Hpid 0 Clear session ID at program start Initialize HP IB controller Call iclear GPIB Slot If Hpid 0 Then Hpid iopen hpib CStr GPIB Slot CStr Source Adr Call itimeout Hpid 1000 End If 3 2 2 National Instruments GP IB Driver Your program must include the National Instruments header file for C programs or the VBIB BAS and VBIB 32 BAS modules for Visual Basic If you are using LabView or LabWindows make sure to select the correct controller when installing th
24. between 0 and 100 Examples CAL REAL ZERO 100 Query Syntax CALibrate SOURce REAL ZERO Returned Parameters lt NR1 gt value range 0 to 100 Related Commands CALibrate SOURce REACtive ZERO CALibrate SOURce REACtive FSCale lt Nrf gt This command will set the calibration coefficent for the reactive part of the output impedance Command Syntax CALibrate SOURce REACtive FSCale lt NRf gt Parameters lt NRf gt a value between O and 300 Examples CAL REAL 10 Query Syntax CALibrate SOURce REACtive FSCale Returned Parameters lt NR1 gt value range 0 to 300 Related Commands CALibrate SOURce REAL FSCale CALibrate SOURce REACtive ZERO lt Nrf gt This command will set the lowest reactive part of the output impedance that could be programmed Command Syntax CALibrate SOURce REACtive ZERO lt NRf gt Parameters lt NRf gt a value between O and 300 Examples CAL REACtive ZERO 100 Query Syntax CALibrate SOURce REACtive ZERO Returned Parameters lt NR1 gt value range O to 300 Related Commands CALibrate SOURce REAL ZERO 32 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 3 Instrument Subsystem The Instrument subsystem controls the phase mode of the AC DC power source for configurations capable of operating in three phase mode Subsystem Syntax INSTrument COUPIe ALL NONE Couples or uncouples commands NSELect 1 2 3 Selects p
25. commands PULSe COUNt 1 specifies 1 output pulse PULSe PERiod 1 specifies a pulse period of 1 second PULSe DCYCle 50 specifies a duty cycle of 5096 PULSe WIDTh 5 specifies a pulse width of 5 seconds not necessary in this case since a duty cycle has already been specified Step 5 Initiate the transient trigger system to enable it to receive a trigger To enable the trigger system for one transient event use INITiate Example The following example programs a voltage dropout for 2 cycles of a 120 volt 60 Hz output The dropout begins at the positive peak of the output voltage waveform 90 degrees phase and is triggered by IEEE 488 bus trigger RST Begin at power on state VOLT 120 Set initial output voltage immediate level FREQ 60 Set initial output frequency OUTP ON Enable the output VOLT MODE PULS Enable output to generate pulses when triggered VOLT TRIG 0 Set the voltage dropout triggered level PULS WIDT 03333 Set pulse width for 2 periods PULS PER 0 0667 Set pulse period for 4 cycles TRIG SOUR BUS Respond to IEEE 488 bus triggers TRIG SYNC SOUR PHAS Synchronize triggers to internal phase reference TRIG SYNC PHAS 90 Sets internal phase reference point to 90 degrees INIT Set to Wait for trigger state device trigger Send the IEEE 488 bus trigger May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 6 4 3 List Transients List mode lets you generate complex sequen
26. commonly used operations involving the status registers 7 6 1 Determining the Cause of a Service Interrupt You can determine the reason for an SRQ by the following actions Step 1 Determine which summary bits are active Use STB or serial poll Step 2 Read the corresponding Event register for each summary bit to determine which events caused the summary bit to be set Use STATus QUEStionable EVENt STATus OPERation EVENt ESR Note When an Event register is read it is cleared This also clears the corresponding summary bit Step 3 Remove the specific condition that caused the event If this is not possible the event may be disabled by programming the corresponding bit of the status group Enable A faster way to prevent the interrupt is to disable the service request by programming the appropriate bit of the Service Request Enable register 7 6 2 Servicing Questionable Status Events This example assumes you want a service request generated whenever the AC source s overvoltage overcurrent or overtemperature circuits have tripped From Figure 7 1 note the required path for Questionable Status conditions at bits O 1 and 3 to generate a service request RQS at the Status Byte register The required register programming is as follows Step 1 Program the Questionable Status Enable register to allow the latched events to be summed into the QUES summary bit Use STAT
27. end of the dwell time the output of the source depends upon the following conditions e If LIST STEP AUTO has been programmed the output automatically changes to the next point in the list e If LIST STEP ONCE has been programmed the output remains at the present level until a trigger sequences the next point in the list The order in which the points are entered determines the sequence in which they are output when a list is triggered Command Syntax SOURce LIST DWELI lt NRf gt lt NRf gt Parameters 0 001 to 9E4 MINimum MAXimum Unit S seconds Examples LIST DWEL 1 5 1 5 Query Syntax SOURce LIST DWEL Returned Parameters lt NR2 gt Related Commands LIST FREQ LIST TTLT LIST VOLT LIST DWELI POINts This query returns the number of points specified in LIST DWELI Note that it returns only the total number of points not the point values Query Syntax SOURce LIST DWELI POINts Returned Parameters lt NR1 gt Example LIST DWEL POIN Related Commands LIST DWELI i Series iX Series May 2002 67 California Instruments SCPI Programming Manual Rev L 4 15 3 List Frequency 68 LIST FREQuency This command sets the sequence of frequency list points The frequency points are given in the command parameters which are separated by commas The order in which the points are entered determines the sequence in which they are output when a list is triggered Command Syntax SOURce LIST FREQuency LEVel lt NR
28. following commands at any time returns the trigger system to the Idle state ABORt RST The INITiate commands move the trigger system from the Idle state to the Initiated state This enables the AC source to receive triggers To initiate for a single triggered action use INITiate IMMediate After a trigger is received and the action completes the trigger system will return to the Idle state Thus it will be necessary to initiate the system each time a triggered action is desired To keep a trigger system initiated for multiple actions without having to send an initiate command for each trigger use INITiate CONTinuous ON Selecting the Trigger Source The trigger system is waiting for a trigger signal in the Initiated state Before generating a trigger a trigger source must be select To select IEEE 488 bus triggers group execute trigger device trigger or TRG command use TRIGger SOURce BUS To select a trigger source that is always true use TRIGger SOURce IMM The immediate source can be combined with INITiate CONTinuous ON to generate repetitive output transients A transition from the Initiated state to the Delay state is made when the trigger signal is received 6 5 3 Synchronizing Output Changes to a Reference Phase Angle 124 An output transient normally occurs immediately when the trigger signal is received For some applications it is desirable for the transient to be synchronized with a particular phase o
29. gt a value between 127 and 128 Examples CAL VOLT DC LRAN NEG 2 Query Syntax CALibrate VOLTage DC LRANge NEG Returned Parameters NR1 value range 127 to 128 Related Commands CAL VOLT DC HRAN ZERO CALibrate SOURce VOLTage DC HRANge ZERO lt NRf gt This command will set the calibration coefficent for the dc output voltage offset at the high voltage range Command Syntax CALibrate VOLTage DC HRANge ZERO lt NRf gt Parameters lt NRf gt a value between 127 and 128 Examples CAL VOLT DC HRAN ZERO 10 Query Syntax CALibrate VOLTage DC HRANge ZERO Returned Parameters NR1 value range 127 to 128 Related Commands CAL VOLT DC LRAN i Series iX Series May 2002 31 California Instruments SCPI Programming Manual Rev L 4 2 7 Output Impedance CALibrate SOURce REAL FSCale lt Nrf gt This command will set the calibration coefficent for the real part of the output impedance Command Syntax CALibrate SOURce REAL FSCale lt NRf gt Parameters lt NRf gt a value between 0 and 100 Examples CAL REAL 10 Query Syntax CALibrate SOURce REAL FSCale Returned Parameters lt NR1 gt value range 0 to 100 Related Commands CALibrate SOURce REACtive FSCale CALibrate SOURce REAL ZERO lt Nrf gt This command will set the lowest real part of the output impedance that could be programmed Command Syntax CALibrate SOURce REAL ZERO lt NRf gt Parameters lt NRf gt a value
30. in arbitrary block data format as follows 5 lt block length n gt lt b0 gt lt b1 gt lt b2 gt lt b38 gt lt bn 3 gt lt bn 2 gt lt bn 1 gt lt bn gt where b0 b1 b2 b3 are four hex bytes represent IEEE single precision floating number where bo is the most significant byte and b3 is the least significant byte The output voltage and current are digitized whenever a measure command is given or whenever an acquire trigger occurs The time interval between samples is 25 6 microseconds for a single pahse system and 76 8 microseconds for three phase system The query SENSe SWEep TINTerval will return the time interval the position of the trigger relative to the beginning of the data buffer is determined by SENSe SWEep OFFSet Query Syntax MEASure ARRay VOLTage DC lt n gt lt n gt FETCh ARRay VOLTage DC lt n gt lt n gt Parameters Optional block and offset parameters lt n gt lt n gt Where the first value n is the number of 256 sample blocks to transfer and the second value n is the first block offset to start with Number of blocks is from 1 to 16 offset is from 0 to 15 Examples MEAS ARR VOLT FETC ARR VOLT Returned Parameters 4096 data points in arbitrary block data format Related Commands INST NSEL SENS SWE MEASure ARRay VOLTage HARMonic lt nrf gt FETCh ARRay VOLTage HARMonic lt nrf gt Phase Selectable These queries return an array of harmonic amplitudes of output voltage in r
31. name 174 May 2002 SCPI Programming Manual Rev L Series iX Series SCPI Programming Manual Rev L California Instruments TRIGger MAN TRANsient veio tas Tua vata SOURce IMMediate BUS MES COUNt NONE ALL ien ACQuire tas SOURce IMMediate BUS TTLTrg m SYNChronize a SOURce IMMediate PHAS La ewe haces PHASe lt n gt mS STATe i Series iX Series May 2002 175 California Instruments SCPI Programming Manual Rev L Appendix B SCPI Conformance Information SCPI Version The i series and ix series AC DC power sources conform to SCPI version 1995 0 176 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments Appendix C Error Messages or Number Error Message Suing o we i Series iX Series May 2002 177 California Instruments SCPI Programming Manual Rev L 178 Error Number Error message um s ummewyw s oaran memos OO s Sanamematteimsmuexe Table 9 4 Error Messages May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments Index ec n tienes 104 clle 105 diy TET 105 DNP sei gees seg AS 106 OP acta AAA aras 106 OPA AA A dere ete A AA ees 107 PD lie 107 TA 107 BS Tis de cedri ee evens eivai oret eden i e RP E E Feb aedes e E E et daga D
32. rms current within the limit Since the rms detection involves a filter time constant that is long compared to a single output cycle the response time of the rms current limit is not instantaneous The AC source can be programmed to turn off its output if the rms current limit is reached This protection feature is activated when the source mode is set for constant voltage mode Note The CURRent command is coupled with the VOLTage RANGe This means that the maximum current limit that can be programmed at a given time depends on the voltage range setting in which the unit is presently operating Refer to Coupled Commands for more information 6 2 7 Waveform Shapes At RST the AC DC power source generates a sine waveform when in AC or AC DC mode but other shapes can be selected There are built in tables for sine square and clipped sine waveforms In addition the user can define arbitrary waveshapes by creating a 1024 point table of amplitudes for a single cycle As shown in the following examples the FUNCtion SHAPe command selects the output waveform Square Waveform To select the square output waveform use FUNCtion SHAPe SQUare Clipped Waveform To select a clipped sine waveform use FUNCtion SHAPe CSINe To set the clipping level to 1096 THD use i Series iX Series May 2002 115 California Instruments SCPI Programming Manual Rev L FUNCtion SHAPe CSINe 10 The clipping level is specified in terms of the percent to
33. start phase angle for the dips Command Syntax 1EC411 DIPS ANGLe Parameters lt numeric gt Examples 1EC411 DIPS ANGL 90 Query Syntax 1EC411 DIPS ANGL Returned Parameters lt NR2 gt 1EC411 VARiants RUN ALL This command will cause the variants automated test sequence by the standard to run Refer to Table 14 in the User Manual Command Syntax 1EC411 VARiants RUN ALL Parameters lt none gt Examples 1EC411 VAR RUN Query Syntax none Returned Parameters lt none gt IEC411 VARiants RUN SINGle This command will run a single variant test once The test is defined by the variants parameters voltage cycle and angle Command Syntax IEC411 VARiants RUN SINGIe Parameters none Examples 1EC411 VAR RUN SING Query Syntax none Returned Parameters lt none gt IEC411 VARiants HOLD TIME This command will set the variant hold time in seconds Refer to Figure 9 13 in the User Manual Command Syntax 1EC411 VARiants HOLD TIME lt NRf gt Parameters lt seconds gt Examples 1EC411 VAR HOLD TIME 0 5 Query Syntax 1EC411 VAR HOLD TIME Returned Parameters lt NR2 gt 1480 May 2002 iSeres iX Series SCPI Programming Manual Rev L California Instruments IEC411 VARiants HOLD VOLTage PERCent This command will set the variant level as a percentage of the nominal volts for the duration of the hold time Command Syntax IEC411 VARiants HOLD VOLTage PERCent lt NRf gt Parameters percentage Examp
34. status of the circuits being monitored lt is a read only register Event STAT QUES EVEN A register that latches any condition It is a read only register that is cleared when read Enable STAT QUES ENAB lt n gt A register that functions as a mask for enabling specific bits from the Event register It is a read write register Table 7 3 Questionable Status Register The outputs of the Questionable Status group are logically ORed into the QUEStionable summary bit 3 of the Status Byte register i Series iX Series May 2002 137 California Instruments SCPI Programming Manual Rev L 7 4 Standard Event Status Group This group consists of an Event register and an Enable register that are programmed by Common commands The Standard Event register latches events relating to the interface communication status see Figure 7 1 It is a read only register that is cleared when read The Standard Event Enable register functions similarly to the enable registers of the Operation and Questionable status groups Command Action ESE programs specific bits in the Standard Event Enable register ESR reads and clears the Standard Event Event register The PON bit in the Standard Event Event register is set whenever the AC source is turned on The most common use for PON is to generate an SRQ at power on following an unexpected loss of power 7 5 Status Byte Register This register summarizes the information from all other status gr
35. that controls the range is VOLTage RANGe MIN MAX 135 270 or VOLTage RANGe MIN MAX 150 300 ix series only When the range is set to MIN 135 ro 150 the maximum rms voltage that can be programmed for a sine wave is 135 or 150 volts rms but it is only on this range that the maximum output current rating is available The VOLTage RANGe command is coupled with the CURRent command This means that the maximum current limit that can be programmed at a given time depends on the voltage range setting in which the unit is presently operating Frequency The output frequency is controlled with the FREQuency command To set the output frequency to 50 Hz use FREQuency 50 6 2 4 Voltage and Frequency Slew Rates Voltage Slew The AC source has the ability to control the slew rate of AC amplitude and frequency changes and dc amplitude This can be used to generate ramps or to protect sensitive loads To set the voltage slew rate to 20 volts per second use VOLTage SLEW 20 At RST the slew rate is set to Maximum which means that AC voltage changes occur at the fastest possible slew rate The slew rate applies to programmed changes in AC DC output amplitude while the unit is operating in fixed mode Amplitude changes made by the step pulse and list transients are controlled by the same rules that apply to all other functions that are subject to transient control See Programming Output Transients Frequency Sle
36. that it returns only the total number of points not the point values Query Syntax SOURce LIST VOLTage POINts Returned Parameters NR1 Example LIST VOLT POIN Related Commands LIST VOLT LIST VOLTage SLEW Phase Selectable This command specifies the output offset slew points in a list The slew points are given in the command parameters which are separated by commas The order in which the points are entered determines the sequence in which the list will be output when a list transient is triggered Changing list data while a subsystem is in list mode generates an implied ABORT Command Syntax SOURce LIST VOLTage SLEW lt NRf gt lt NRf gt Parameters 0 1 to 1E9 MAX Unit V S volts per second Example LIST VOLT SLEW 10 1E2 MAX Query Syntax SOURce LIST VOLTage SLEW Returned Parameters lt NR2 gt Related Commands LIST VOLT SLEW POIN LIST COUN LIST DWEL LIST STEP May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments LIST VOLTage SLEW POINts Phase Selectable This query returns the number of points specified in LIST VOLTage SLEW Note that it returns only the total number of points not the point values Query Syntax SOURce LIST VOLTage SLEW POINts Returned Parameters lt NR1 gt Example LIST VOLT SLEW POIN Related Commands LIST VOLT SLEW i Series iX Series May 2002 73 California Instruments SCPI Programming Manual Rev L 4 16 Source Subsyst
37. the measurement system which is 19 531 kHz for a single phase system and 6 510kHz for a three phase system Thus the maximum harmonic that can be measured is dependent on the output frequency Any harmonics that represent frequencies greater than above frequencies are returned as 0 Query Syntax MEASure SCALar CURRent HARMonic AMPLitude lt NRf gt FETCh SCALar CURRent HARMonic AMPLitude lt NRf gt Parameters 0 to 50 Examples MEAS CURR HARM 3 FETC CURR HARM 1 Returned Parameters lt NR2 gt Related Commands INST NSEL i Series iX Series May 2002 45 California Instruments SCPI Programming Manual Rev L MEASure CURRent HARMonic PHASe ix series only FETCh CURRent HARMonic PHASe ix series only Phase Selectable These queries return the phase angle of the Nth harmonic of output current referenced to the positive zero crossing of the fundamental component The parameter is the desired harmonic number Queries sent with a value of O return the dc component A value of 1 returns the fundamental output frequency Harmonic orders can be queried up to the fundamental measurement bandwidth of the measurement system which is 19 531 kHz for a single phase system and 6 510kHz for a three phase system Thus the maximum harmonic that can be measured is dependent on the output frequency Any harmonics that represent frequencies greater than above frequencies are returned as 0 Query Syntax MEASure SCALar CURRent HARMonic PHAS
38. to the Idle state Any output transient or measurement that is in progress is immediately aborted ABORt also cancels any lists or pulses that may be in process Command Syntax ABORt Parameters one Examples ABOR Related Commands INIT RST TRG 98 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments INITiate IMMediate TRANsient The INITiate command controls the initiation of the transient generation or measurement acquisition trigger system They cause the trigger system to make a transition from the Idle state to the Waiting for Trigger state If the trigger system is not in the Idle state the initiate commands are ignored If both the transient generation and the measurement acquisition trigger systems are initiated at the same time the first trigger event that occurs will trigger the measurement system The transient system will trigger on the next trigger event Thus the measurement system has a higher trigger priority than the the transient system If the measurement trigger is generated by a transient event the acquisition system should be initiated first so it is waiting for the trigger caused by the transient system Command Syntax INITiate IMMediate TRANsient Parameters None Examples INIT Related Commands ABOR INIT CONT TRIG INITiate ACQuire iX series only The INITiate ACQuire command controls the initiation of the measurements trigger system They cause the trigger s
39. transient occurs PULSe The frequency slew rate is changed to the value set by FREQuency TRIGgered for a duration determined by the pulse commands LIST The frequency slew rate is controlled by the frequency list when a triggered transient occurs Command Syntax SOURce FREQuency SLEW MODE lt mode gt Parameters FlXed STEP PULSe LIST RST Value FIXed Examples FREQ SLEW MODE FIX Query Syntax SOURce FREQuency SLEW MODE Returned Parameters lt CRD gt Related Commands FREQ FREQ SLEW TRIG FREQuency SLEW TRIGgered This command sets the rate at which frequency changes during a triggered output transient Instantaneous frequency changes can be obtained by sending MAXimum Command Syntax SOURce FREQuency SLEW TRIGgered lt NRf gt Parameters 0 01 to 1E9 MAXimum Unit Hz Hertz per second RST Value MAXimum Examples FREQ SLEW TRIG 75 FREQ SLEW TRIG MAX Query Syntax SOURce FREQuency SLEW TRIG Returned Parameters lt NRf gt Related Commands FREQ SLEW MODE FREQ FREQuency TRIGgered This command programs the frequency that the output will be set to during a triggered step or pulse transient Command Syntax SOURce FREQuency TRIGgered lt NRf gt Parameters 0 to maximum frequency range specified by the LIMit FREQuency command Unit Hz Hertz RST Value 60 Hz Example FREQ TRIG 50 Query Syntax SOURce FREQuency TRIGgered Returned Parameters lt NR2 gt Related Commands FREQ FREQ MODE 60 May
40. triggers as follows e By sending one of the following over the IEEE 488 e TRIGger ACQuire IMMediate e TRG e a group execute trigger GET e By waiting for a specific phase angle of the waveform e By generating an output transient that causes the Trig Out to output a pulse e By pressing the front panel START soft key in the HARMONICS WAVEFORM when the unit is operating in local mode 6 7 Controlling the Instantaneous Voltage and Current Data Buffers Measurements taken by the AC DC power source are based on a digital representation of the voltage and current waveforms Both waveforms are digitized with 18 bits of amplitude resolution and 25 6 usec of time resolution 49Ks sec real time sampling rate for single phase configuration The available memory depth to hold this information is 4K 4096 samples for each waveform This section covers the SCPI commands that can be used to control the position of the trigger point in the 4K deep data buffer 6 7 1 Query the Voltage and Current Sampling Rate ix series only The output voltage and current sampling rate is 49 kHz period 25 6 usec for single phase configuration This means that it takes about 104 milliseconds to fill up 4096 data points in the voltage and current data buffers with the information required to make a measurement calculation You can query this data sampling rate with SENSe SWEep TINTerval The sample period will change to 76 8 microseconds for three phase
41. use the front panel how to connect to the instrument and calibration procedures 1 2 External References SCPI References The following documents will assist you with programming in SCPI e Beginner s Guide to SCPI Highly recommended for anyone who has not had previous experience programming with SCPI IEEE 488 References The most important IEEE 488 documents are your controller programming manuals IEEE 488 Command Library for Windows etc Refer to these for all non SCPI commands for example Local Device Clear and Group Execute Trigger bus commands e EEE 488 command library for Windows e JEEE 488 controller programming The following are two formal documents concerning the IEEE 488 interface 6 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments e ANSI IEEE Std 488 1 1987 IEEE Standard Digital Interface for Programmable Instrumentation Defines the technical details of the IEEE 488 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 e 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 Insti
42. 02 79 California Instruments SCPI Programming Manual Rev L 4 19 Source Subsystem Pulse 80 This subsystem controls the generation of output pulses The PULSe DCYCle PULSe PERiod and PULSe WIDTh commands are coupled which means that the values programmed by any one of these commands can be affected by the settings of the others Refer to Table 4 1 and Table 4 2 under PULSe HOLD for an explanation of how these commands affect each other Subsystem Syntax SOURce PULSe COUNt n MAXimum Selects transient pulse count DCYCIe lt n gt Selects pulse duty cycle PERiod n Selects pulse period when the count is greater than 1 WIDTh n Selects width of the pulses HOLD WIDTh DCYCle Select which parameter to hold during programming PULSe COUNt This command sets the number of pulses that are output when a triggered output transient occurs The command accepts parameters in the range 1 through 2E8 If MAXimum is sent the output pulse repeats indefinitely Command Syntax SOURce PULSe COUNt lt NRf gt Parameters 1 to 2E8 MINimum MAXimum RST Value 1 Examples PULS COUN 3 PULS COUN MIN PULS COUN MAX Query Syntax SOURce PULS COUNt Returned Parameters lt NR2 gt Related Commands PULS DCYC PULS PER PULS WIDT PULSe HOLD This command specifies whether the pulse width or the duty cycle is to be held constant when the pulse period changes The following tables describe how the duty cycle period and w
43. 13 RUN RANGe is used Command Syntax IEC413 INDVidual SWEep RANGe lt NRf gt Parameters 0 to 4 Examples IEC413 INDVI SWE 0 Query Syntax 1EC413 INDV SWE Returned Parameters lt NR1 gt 1EC413 STEP SIZE This command is used to set the desired step size for the Interharmonic group and sweep group The command will accept one parameter or five parameters If one parameter is used the step size for the current range setting is the only parameter that gets updated Command Syntax 1EC413 STEP SIZE NRf NRf1 NRf4 gt Parameters query the min and max for range of data Examples IEC413 STEP 5 1EC413 STEP 2 5 10 10 50 Query Syntax 1EC413 STEP Returned Parameters NR10 NR14 152 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments IEC413 GROup This command is used to select the group If RUN GROUp is used the test will run for only the selected group Command Syntax IEC413 GROup group Parameters FCURve OSWing SWEep HARMonics IHARmonics Examples IEC413 GRO SWE Query Syntax IEC413 GRO Returned Parameters group IEC413 FCURve LEVel This command will set the clip level for the flat curve test The class must be set prior to this command The IEC413 STATe must be in the off position and the user class is selected to accept the command Command Syntax 1EC413 FCURve LEVel lt NRf gt Parameters 15 to 100 Examples 1EC413 FCURve LEVel 10 Query Syntax IEC413 FCU
44. 15 different levels of interruption Refer to Figure 9 6 in the User Manual for characteristic of each level Command Syntax DO160 NORMal VOLTage INTerrupt lt NRf gt Parameters lt test number gt Examples DO160 NORM VOLT INT 4 Query Syntax DO160 NORM VOLT INT Returned Parameters lt NR1 gt DO160 NORMal VOLTage SURG This command will generate the voltage levels required to generate a normal voltage source Refer to Section 9 1 4 1 under the heading titled VOLTAGE SURGE for detail Command Syntax DO160 NORMal VOLTage SURG Parameters none Examples DO160 NORM VOLT SURG Query Syntax none DO160 NORMal VOLTage DC UNDer This command will generate the voltage levels required to generate a normal voltage source Refer to Section 9 1 in the User Manual under the heading titled VOLTAGE UNDER for detail Command Syntax DO160 NORMal VOLTage DC UNDer Parameters none Examples DO160 NORM VOLT DC UND DO160 NORMal FREQuency MODulation This command will cause output frequency modulation The level of modulation is the function of the rate of modulation Refer to Figure 9 5 in the User Manual The command parameter is the rate of modulation in Hz Command Syntax DO160 NORMal FREQuency MODulation lt NRf gt Parameters lt frequency gt Examples DO160 NORM FREQ MOD 0 1 Query Syntax DO160 NORM FREQ MOD Returned Parameters lt NR2 gt i Series iX Series May 2002 163 California Instruments SCPI Programming Manual Rev
45. ATUS REQUEST BYTE ENABLE LOGICAL OR LOGICAL OR t OPERATION STATUS SERVICE CONDITION EVENT ENABLE REQUEST GENERATION Trans Comp Meas Compt LOGICAL OR Figure 7 1 Status System Model i Series iX Series May 2002 135 California Instruments SCPI Programming Manual Rev L 136 Operation Status Group 0 CAL Interface complete its calibration cycle TRANS Transient is completed 4 MEAS Measurement is completed Questionable and Questionable Instrument Isummary Status Groups Output voltage faulted output voltage differ from program value 1 The overcurrent protection circuit has tripped 9 m heremo shut downstate isave w wa AN Standard Event Status Group 0 OPS operation complete 3 DDE Device dependend error ME PON Power on Status Byte and Service Request Enable Registers Questionable status summary bit Message Available summary bit ESB Event Status Summary bit EN X MSS Master Status Summary bit INE Request Service bit Operation status summary bit Table 7 2 Configuration of Status Register May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 7 3 Questionable Status Group The Questionable Status registers record signals that indicate abnormal operation of the AC source As shown in Figure 7 1 the group consists of the same type of registers as the Status Operation group Condition STAT QUES COND A register that holds real time
46. C INTERFACE CABLE WIRING DIAGRAM scsce Immer rrr terere 18 FIGURE 3 2 DB9 TO DB25 ADAPTOR WIRING DIAGRAM 0c0ceeeecececececececececececececeeeaeneneaeneneneneaee 18 FIGURE 6 1 OUTPUT TRANSIENT SYSTEM sss I II e eme ememememememetemetereterersrse serere serere serere 119 FIGURE 6 2 TRANSIENT TRIGGER SYSTEM MODEL 2 0ceceeeeeeeececececececececececececececeeeeneaeaeneneaeaeneaeaes 123 FIGURE 6 3 MEASUREMENT ACQUISITION TRIGGER MODEL 0 0ecececececececececececececeeeeeeaeneneneaeaeaeaes 129 FIGURE 6 4 PRE EVENT AND POST EVENT TRIGGERING scene eene emeret rere rere ree 131 FIGURE 6 5 TRIGGER SYSTEM BLOCK DIAGRAM sss III meme ememetetetererr erre re serere serere 132 FIGURE 7 1 STATUS SYSTEM MODEL cssse I III Ime emisse ememememeteteterirse serere serere serere 135 Table of Tables TABLE 4 1 PULSE HOLD WIDTH PARAMETERS ccesenm RR III IRR mememememememememete e e e erras 81 TABLE 4 2 PULSE HOLD DCYOLE PARAMETERS ssssesenen RII I sees nesemememememesesese ese e eee nas 81 TABLE 5 1 RST DEFAULT PARAMETER VALUES sisse RII Immer emere ememememese ese e e eere 108 TABLE 7 1 OPERATION STATUS REGISTER cscssssese eee RR emen sese e ese nn nr nn nr nn nr e ese e eere 134 TABLE 7 2 CONFIGURATION OF STATUS REGISTER cccecececececececeeeeeeneneneceeececeeeceeeeeeeetenetenentenees 136 TABLE 7 3 QUESTIONABLE STATUS REGISTE
47. Computer font Items within angle brackets are parameter abbreviations For example lt NR1 gt indicates a specific form of numerical data Vertical bars separate alternative parameters For example FIX STEP indicates that either FIX or STEP can be used as a parameter Items within square brackets are optional The representation SOURce LIST means that SOURce may be omitted Braces indicate parameters that may be repeated zero or more times It is used especially for showing arrays The notation A lt B gt shows that parameter A must be entered while parameter B may be omitted or may be entered one or more times Boldface font is used to emphasize syntax in command definitions TRIGger SOURCe lt NRf gt shows a command definition Computer font is used to show program lines in text TRIGger SOURCe INT shows a program line 2 2 The SCPI Commands and Messages This paragraph explains the syntax difference between SCPI Commands and SCPI messages 2 2 1 Types of SCPI Commands SCPI has two types of commands common and subsystem e Common commands are generally not related to specific operations but to controlling overall AC source functions such as reset status and synchronization All common commands consist of a three letter mnemonic preceded by an asterisk RST IDN SRE 256 e Subsystem commands perform specific AC DC source functions They are organized into an inverted tree structure with t
48. D gt Related Commands CURR PROT STAT PONSetup CLOCk This command determines the source of its clock at the power on if internal the source uses its internal clock if external a clock source must be supplied on the appropriate input Command Syntax SOURce PONSetup CLOCk lt source gt Parameters INTernal EXTernal Examples PONSetup CLOCk INT Query Syntax PONSetup CLOCk Returned Parameters lt CRD gt Related Commands FREQ MODE PONSetup SENSe This command determines the source of its voltage sense at the power on if internal the source uses its connection to sense its output voltage if external the sense connection must be connected at the load Command Syntax SOURce PONSetup SENSe lt source gt Parameters INTernal EXTernal Examples PONSetup SENSe INT Query Syntax PONSetup SENS Returned Parameters lt CRD gt Related Commands VOLTage SENSe 78 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments PONSetup WGRoup iX series only This command determines the source of its waveform storage It has a total of 4 groups Change of group requires power down an IEEE 488 Device Clear not available when usign the RS232C interface or a RST command to take effect Command Syntax SOURce PONSetup WGRoup n Parameters 0 1 2 3 Examples PONSetup WGRoup 2 Query Syntax PONSetup WGR Returned Parameters lt NR1 gt Related Commands TRACe CAT i Series iX Series May 20
49. DISTortion FREQuency LEVel MODulation TRANsient VOLTage LOW HIGH FREQuency LOW HIGH ABNormal VOLTage UNDer OVER FREQuency UNDer OVER EMERgency VOLTage FREQuency i Series iX Series May 2002 167 California Instruments DC SYSTEM MIL704 VERSion DJE SSTate VOLT LEVel RIPPIe TRANSient VOLTage LOW HIGH ABNormal VOLTage UNDer OVER EMERgency VOLTage SCPI Programming Manual Rev L All commands do not accept parameters and have no query format except for MIL704 VERSion which accepts a letter D or E as a parameter lts query format response will return the letter D or E based on the revision selected Programming Considerations Some of the tests take a lengthy time to complete The OPC command could be used to determine the completion of the command Example MIL704 SST VOLT OPC 1 The query OPC Will return a 1 when the test is completed 168 May 2002 Series iX Series SCPI Programming Manual Rev L California Instruments 9 6 OMNI OPTION 9 6 1 Remote Programming The OMNI remote programming syntax is part of the Output subsystem Subsystem Syntax OUTPut OMNI STATe lt state gt Select the OMNI state BYPassed ENGaged OUTPut OMNI STATe This command will engage or bypass the OMNI impedance network The output voltage will drop when the state changes Command Syntax OUTPut OMNI STATe lt state gt Para
50. EE 488 Device Clear bus command but can be used over the RS232C interface as well This command resets the AC source to the following factory defined states Table 5 1 RST default parameter values Value INIT CONT OFF OU O OUTP TTLT O OUTP TTLT SOUR B SOUR CURR PROT DEL 100ms SOUR VOLT TRIG SOUR PHAS MODE SOUR FREQ MODE SOUR VOLT SLEW MODE M SOUR FREQ SLEW MODE SOUR FREQ SLEW TRIG M ne SOUR FREQ TRIG 60Hz TRIG SOUR FF FF OT FIX SOUR FREQ SLEW AX SOUR VOLT SLEW TRIG FIX AX FIX SOUR FUNC MODE Command Syntax RST Parameters None Related Commands SAV A RST command or a IEEE 488 Device Clear also clears all status registers but does not change the Event Enable registers for each status register group 108 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 5 10 SAV This command stores the present state of the AC DC power source to a specified location in memory Up to 8 states including the transient list can be stored in nonvolatile memory Command Syntax SAV Parameters O through 7 Related Commands PSC RCL RST 5 11 SRE 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
51. EN Instrument Dependent Error Reported by AC Source IF esr PRINT END IF AND 16 THEN Command Execution Error Reported by AC Source IF esr PRINT END IF IF esr AND 32 THEN PRINT END IF Command Syntax Error Reported by AC Source i Series iX Series May 2002 17 California Instruments SCPI Programming Manual Rev L LOOP UNTIL cmd QUIT OR cmd quit Close COM port on exit CLOSE 1 END 3 3 2 Serial Cable Diagram The following wiring diagram is required for the serial interface cable between the AC DC power source and a PC communications port connector DB 9 AC Source I 5 Direction Description output reserved input Receive data RxD output Transmit data TxD output Data Terminal Ready DTR Signal Ground input Data Set Ready DSR no comect no comect output reserved 00 JO aA FRWNDN 00 JO aR WNDN Figure 3 1 RS232C Interface Cable Wiring Diagram 2 3 4 5 6 7 8 2 2 Oh OQ V O 0 hh RS232C DB 9 to DB 25 Adapter Figure 3 2 DB9 to DB25 Adaptor Wiring Diagram 18 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 SCPI Command Reference 4 1 Introduction Related Commands Where appropriate related commands or queries are included These are listed because they are either directly related by function or because reading about them will clarify or enhance your understanding of t
52. EQ 50 Query Syntax PONS FREQ Returned Parameters lt NR2 gt PONSetup VOLTage LEVel This command sets the output voltage level at the power on This voltage level can not exceed the limit at the initial voltage range Command Syntax SOURce PONSetup VOLTage LEVel lt NRf gt Parameters set by the LIMit VOLTage and voltage mode AC or DC Examples PONS VOLT 0 Query Syntax PONS VOLT Returned Parameters lt NR2 gt 76 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments PONSetup VOLTage MODE This command sets the initial voltage mode at the power on This mode is DC or AC Command Syntax SOURce PONSetup VOLTage MODE Parameters AC DC ACDC ACDC on ix series only Examples PONS VOLTage MODE DC Query Syntax PONS VOLTage MODE Returned Parameters lt CRD gt PONSetup CURRent This command sets the initial current limit at the power on The maximum allowable current is controlled by the voltage range and voltage mode Command Syntax SOURce PONSetup CURRent lt NRf gt Parameters range set by the LIMIt CURRent voltage mode and voltage range Examples PONS CURR 22 Query Syntax PONS CURR Returned Parameters lt NR2 gt PONSetup PHASe ANGLe This command sets the initial phase angle of the power source relative to external reference Command Syntax SOURce PONSetup PHASe ANGLe lt NRf gt Parameters 360 Examples PONS PHAS 0 Query Syntax PONS PHAS Re
53. EQ SLEW POIN Related Commands LIST FREQ SLEW May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 15 4 List Waveform Function ix series only LIST FUNCtion SHAPe Phase Selectable This command sets the sequence of the waveform shape entries The order in which the shapes are given determines the sequence in which the list of shape will be output when a list transient is triggered The following shapes may be specified SINe A sinewave is output SQUare A squarewave is output CSIN The output is a clipped sine waveform Both positive and negative peak amplitudes are clipped at a value determined by the SOURce FUNCtion SHAPe CSINusoid setting lt waveform_name gt The output shape is described by one of the user defined waveform tables The maximum peak voltage that the AC source can output is 425 V peak This includes any combination of voltage and function shape values Therefore the maximum value that can be programmed depends on the peak to rms ratio of the selected waveform For a sinewave the maximum voltage that can be programmed is 300 V rms If a custom waveform is selected for a given phase as part of the function list the maximum programmable rms voltage of the corresponding voltage list point or the end voltage which results from the previous list point s voltage and the voltage slew rate times the dwell time should not exceed the maximum possible rms value for the selected custom wave
54. I Programming Manual Rev L California Instruments S Safely scit ue tei s ep detto tiene eur bete eet E ee 2 SCOPI ivi Inte idiot ag CE ine ee AA die eaa EA cec bv doa doe e do Uwe oce oe o deu vo ua diee a 8 A 9 program message ioo teo bere aro 9 response MESSAGE aa 9 SENSe SWEep OFFSet POINIs ccccccceeeeeeeeeeee cece aaeeeeeeeeeeeeaeaaaeaeeeeeeeeeaeaaaaeeeeeeeeeaeaaeteeseeeees 65 SENSe SWEep TINTerval iecit raid tea dad dc a ia 65 O A de an ee ee da 13 STATus OPERation CONDiition ueeessessssssssessssseseeee ener hh nnn nnns ense rr nn nnns 89 STATUs OPERation ENABle 1 rial tee redde d ce iva a e s Da uo d Aa i Hd dU aa 89 STATus OPERation EVEN t rescue a eie ciek ede dae teh ene Le da na e REEL aaka Ve da a eR RR Ea aa dae 89 STATus QUEStionable CONDiition anie e ene nm eene e nn ene nre nnns 90 STATus QUEStionable ENABIe 2 ccecc eea aa a aa aaeain nnn hee s aa a a sns r nenne nnns 90 STATus QUEStionable INSTrument ISUMmary CONDition eese 91 STATus QUEStionable INSTrument ISUMmary ENABle eee 91 STATus QUEStionable INSTrument ISUMmary sesssssesee m e mene nme nnns 91 STATus QUEStionable EVENt ssseeeesessseseesseneeenene nennen KRR E nnne nnns neret enter enis 90 SYSTem COMMunicate GPIB ADDRess ssesssseeeeeenn enne nnne nre n nennen nns 94 SYSTem C
55. LTage te tota cacas 50 yos 74 N National Instruments Neg r E m 15 0 OUTPULCIMP REACIHUVe ite A e Yer roe toys ont y viver Ped VO unes vvv TUO 55 OUTPUEIMPZREA Les co olaa ai id 54 OUTPut IMPedance STATe innii eaei ereere iaire daada ienaa Kai aa ia ra arendal 54 OUTPut PROTection DEL y 22 iret coe radical en eco et nutes Ree aieea aa iea RE deaa mabe Pe adaa 57 eurn uic 53 QUTPUETTE TO SOUR E ueteri Pena hein een Se eat ea reise te ae anre une E ES ker 54 QUTPUESTAT IMEEM 53 P PHASE dieta tetti beta tetro ii EN beh ets 75 PONSetup GURBRent err E rp a re eren po ax e A O ER bn M aa 77 PONSetup EBREQUOLCy c ite iet titi at ete dO SER ap 76 PONSetup OLOad MODE 3 2 itera ed 78 PONSetup OUTPut RELay 1ueesseessseessssssssesssesesse eene ene nn PARDA TAa eaa CAAA EAA dh esten TEE 78 PONSetup PHASe ANGLe iiir pee beer ter eec pe de ci 77 PONSet p VOLTage MOBDE 0 eruere spe uM eue MM Ue 77 PONSetup VOLTage EEVel aea cct lee vlad cecus da dee UE dee sl ed ine cO Tee e und dees 76 programna S 15 PULSE COUNT Sipra S EL oT ee ne recte Ter iS 80 PUESEIDGY Gle i per 81 PUES HOLD 2 222i otra A A eee ee de er lee 80 PUL S6 PERIOG TDI DEIN 81 PULSE WIDEN wees aos ih tenet A dude ate cau Us a 82 Q GUGNIOS HH 11 R oo PLIN 13 ROOL oon owed ee item ad aad Vi e I YQ IE 9 182 May 2002 i Series iX Series SCP
56. LTage RANGe 135 LEVel 115 CURRent 10 PROTection STATe ON Note the use of the optional header LEVel to maintain the correct path within the voltage and current subsystems and the use of the root specifier to move between subsytems The Enhanced Tree Walking Implementation given in appendix A of the IEEE 488 2 standard is not implemented in the AC DC source Including Common Commands May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments You can combine common commands with system commands in the same message Treat the common command as a message unit by separating it with a semicolon the message unit separator Common commands do not affect the active header path you may insert them anywhere in the message VOLTage TRIGger 7 5 TRG OUTPut OFF OUTPut ON RCL 2 2 3 Using Queries Observe the following precautions with queries Set up the proper number of variables for the returned data Read back all the results of a query before sending another command to the AC source Otherwise a Query Interrupted error will occur and the unreturned data will be lost 2 4 Structure of a SCPI Message SCPI messages consist of one or more message units ending in a message terminator The terminator is not part of the syntax but implicit in the way your programming language indicates the end of a line such as a newline or end of line character 2 4 1 The Message Unit The simplest SCPI command is a
57. Le REA eaa 108 TISAM Rose c per OP ciere ELI e P eov ee Uer E e TE Ce Pe e a a 109 pec H 109 A ipu e lag dixe bit A Taaa i owe lee a a anaa cde cete vale dive EO aede lanes 110 Mich p 111 spl E 111 A ABORDA tuta lia d Eoo 98 address IEEE coute M IM Mr Mt pre es 7 C CALibrate MEASure CURRent DC ZERO lt NRf gt ccccccceeeeceeeeeeeeeaeeeeeeeeeeeeeseaaeaeeeeeeeeeeseaaeaneneeeess 23 CALibrate MEASure CURRent TEMPerature DC ZERO lt NRf gt sese 24 CALibrate MEASure CURRent TEMPerature DC FSCale NHf eese 24 CALibrate MEASure CURRent TEMPerature AC FSCale lt NRf gt eee 23 CALibrate MEASure CURRent AMBient AC FSCale lt NRf gt oooonnnnccconococccnnnnocononnnncnnnnnnnconnnnnnons 23 CALibrate MEASure CURRent AMBient DC FSCale NRf eeeeee 23 CALibrate MEASure VOLTage TEMPerature DC ZERO NHRf esses 26 CALibrate MEASure VOLTage TEMPerature DC FSCale NHf ooooonoccccnonocccononocononnnnconnnnnnccnnnnnnons 26 CALibrate MEASure VOLTage TEMPerature AC FSCale lt NRf gt see 25 CALibrate MEASure VOLTage AMBient DC ZERO NHf eeesssssss eene 25 CALibrate MEASure VOLTage AMBient DC FSCale lt NRf gt ooocccononcccconcnocccnnnnnccnnnonnconnnnnnccninnnnnns 25 CALibrate MEASure VOLTage AMBient AC FSCale NRf eese 25 GAL
58. O Parameters lt NRf gt 0 or desired offset value Examples CAL MEAS VOLT TEMP DC ZERO O Query Syntax CALibrate MEASure VOLT DC ZERO Returned Parameters lt NR2 gt value range 20 to 20 Related Commands CALibrate MEASure VOLTage AMBient DC ZERO 26 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 2 4 Output Phase CALibrate PHASe lt NRf gt The i iX Series AC DC power source controller can be operated using its internal timebase reference an external clock or in external sync mode See FREQ MODE command on page 58 When using in external clock or sync mode it may be desirable to shift the phase output with respect to the external reference The feature may be used to create a deliberate phase offset or to compensate for phase delays that may occur in the external sync signal path The phase calibration command can be used to program a negative or positive phase offset for phase in degrees with respect to the external sync Note that this calibration adjustment only applies to the external clock or sync for phase A Phase B and C are always programmed with respect to phase A and their calibration offset is with respect to phase A The phase to be calibrated can be selected using the INST NSEL command The phase offset is expressed in degrees and can range from 360 0 to 360 0 degrees The resolution of the phase angle adjustment 0 1 is the same as the one for programming phase angles S
59. OMMunicate SERial BAUD sese eee nne nnn ennt enne nn nnns 94 SYSTem COMMunicate SERial BITS sse en nsn nnn rnnt nnns 95 SYSTem COMMunicate SERial PARity esssssssssssessssseseeeseeen eene nnn nnn nens 95 SYSTem COMMunicate SERial SBITs eessssssssssssesse eee emen nennen nhe nnns 95 SYS FEM CONFIGI D 93 SYSTem ERROt 2 enw tii A ied po tees a ee eee 92 SYSTSM ETIMG a ceg m 94 SYSTem LOGCal iri E eg xa LO Pind ea Dx ao de Er a e iv Hou Pi De 93 SYSTem BREMO Ie 5 iiia en e deat e ERE ERREUR FRE Aana A Diada Indi ERREUR RE EE RRURE NR PRIME nt 93 SYS hem dst 93 T Tablerot Contents tii dei bo s iEn d onset teary 3 AMM OR A A cts 13 A O cu ANGAS 96 TRACE CATO itte ete tot ita ded Mart oben 97 TRACE DE RING a nn 97 RAGS DELS ui A A aia 97 TRIG SATE a a toa 102 TRIGSer ACQuire S OUHRGS iioi rere E rea tb E E Ene tele a cec od AREENA AAEE NARE AAA 101 TRIGGEH COUN cet ate et cetera nte E tC E 100 TRIGger SYNChronize PHAS O srice ieni n aaae a cea ee EEA AE O NA RAE EE NE N 101 TRIGger SYNChronize SOURcCe eirinen a a cee E AE AE TA AAE EE EAA ETARA 101 PRIGger TRANSEN SOURCE arrei eere ttr E ER E AAA AAAA SE AENA AANA 100 U USO Manuals sean A does sr en dolce A lo bo AA 6 User GUI AA S 6 V VB sample NENAS 39 VOL Tania d 83 elo repr EE 84 i Series iX Series May 2002 183 California Instruments SCPI Programming Manual Rev L VOLTage RANGO cM
60. R 0 0ccececececececececececeeecaeaeneneceneeececeeeeeeeeteteteneneeneneees 137 TABEES 4 ERROR MESSAGES ad 178 i Series iX Series May 2002 5 California Instruments SCPI Programming Manual Rev L 1 Introduction This manual contains programming information for the i Series and iX Series AC DC Power Sources This manual contains the following chapters Chapter 1 Introduction Chapter 2 Introduction to SCPI Chapter 3 System Considerations Chapter 4 SCPI Command Reference Chapter 5 Common Commands Chapter 6 Programming Examples Chapter 7 Status Registers Chapter 8 i Series Controller Compatability Chapter 9 Option Commands Appendix A SCPI command tree Appendix B SCPI conformance information Appendix C Error messages 1 1 Documentation Summary This SCPI programming manual covers both the California Instruments i Series and ix Series AC DC power sources A separate User Manual is also supplied with all models in this product series For front panel operation and general service and calibration information on these produces please refer to the User Manual The programming manual covers issue related to operating the i Series or ix Series remotely using an instrument controller The following documents are related to this Programming Manual and contain additional helpful information for using these products in a remote control environment e User s Guide Includes specifications and supplemental characteristics how to
61. Revision L May 2002 Copyright O 1997 1999 2000 2002 by California Instruments All rights reserved P N 7000 982 W California Instruments i Series IX Series SCPI Programming Manual SCPI Programming Manual Rev L SCPI Programming Reference Manual iX series and i series AC DC Power Sources Copyright O 1997 2002 California Instruments Corporation Revision L May 2002 1 May 2002 California Instruments i Series iX Series California Instruments SCPI Programming Manual Rev L Safety Summary The beginning of the AC DC source User s Guide has a Safety Summary page Be sure you are familiar with the information on this page before programming the AC source from a controller ENERGY HAZARD AC sources can supply 425 V peak at their output DEATH on contact may result if the output terminals or circuits connected to the output are touched when power is applied 2 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments Table of Contents 1 Introduction nie euge deen es Ai de 6 1 1 Documentation SUMMA ccce iba ooi tto A eO rH ERE EHE UO LIRE ERE HERR COLERE NL LE TOL Pe Ead ble 6 1 2 External Befetereesz iate iii 6 1 3 Introduction to Programming esses meme menn nnnm AE O nnne 7 2 Introduction to SOPA a 8 2 1 Conventions Used in This Manual sss mme n en n ener 8 2 2 The SCPI Commands and Messages sssssssseee mme en enne em
62. Rve LEVel Returned Parameters lt NR2 gt IEC413 FCURve DWELI This command will set the dwell time in seconds for the flat curve test The class must be selected prior to this command Query with min and max to find the range of dwell time Command Syntax IEC413 FCURve DWELI lt NRf gt Parameters Examples IEC413 FCURve DWEL 20 Query Syntax IEC413 FCURve DWEL Returned Parameters lt NR1 gt 1EC413 FCURve PAUSe This command will set the pause time in seconds This is the time between tests when RUN ALL is selected The class must be selected prior to this command Query with min and max to find the range of the dwell time Command Syntax 1EC413 FCURve PAUSe lt NRf gt Parameters Examples 1EC413 FCURve PAUS 2 Query Syntax 1EC413 FCURve PAUS Returned Parameters lt NR1 gt i Series iX Series May 2002 153 California Instruments SCPI Programming Manual Rev L 1EC413 0SWing LEVel This command will set the level for the over swing harmonics combination test The command has two parameters one for the third and one for the fifth order harmonic The IEC413 STATe must be in the off position and the user class must be selected to accept the command Command Syntax 1EC413 0SWing LEVel lt NRf gt lt NRf gt Parameters 0 to 20 Examples IEC413 OSWing LEVel 10 Query Syntax IEC413 OSWing LEVel Returned Parameters lt NR2 gt IEC413 0SWing DWELI This command will set the dwell time in seconds for the ov
63. S Itive A NEGative A A ede QuEE eed a ZERO e MU UE HRANGe iaa iio ti FSCal A ARA aos POSitive M eese o NEGative A boum e REL CO RUN ZERO INITiate IMMediate Ain aaa TRANsient T s ACQuire nude CONTinuous ON OFF INSTrument Menos COUPle ALL NONE TE NSELect 1 2 3 SELect A B C MEASure FETCh UR ARRAY MEE CURRent mS DC ineo dedit cd Me irr ct HARMonic TR eene AMPLitude MOM TRU PHASe biixiern sida MODE EE VOLTage t DC iq onde cL S SE HARMonic eese AMPLitude AT PHASe clado SCALar SIM ATE CURRent saiet advabiete Gi iaa AC DC Vid dva aa tuve eder scs AMPLitude Muse due EE E MAX eT RESet A os CREStfactor Piet ds eese o HARMONIC TI MODE AMPLitude n pidas ista PHASE t ur ria THD Viso aie uds FREQuency cm POWer T EPIO MERO REAL Souths eese APParent dnd PFACtor i Series iX Series May 2002 California Instruments 171 California Instruments rr AC a seas HARMonic Np AMPLitude lt n gt sonrie E eE PHASe n OUTPut sabin STATe lt bool gt ERTAN TTLTrg a STATe lt bool gt n SOURce source IMPedance ERE STATe bool dedos Heu REAL OUEST REACtive ON SWEep a OFFSet lt n gt A dd TINTerval TES CURRent TO IMMediate o PTT NS MODE eeeese TRIGgered NO FREQuency lt n1 gt lt n2 gt ms VOLTage n dit ina CURRent lt n g
64. SCPI Programming Manual Rev L California Instruments 4 4 2 Waveform Array Data Format Mode MEASure ARRay MODe This command selects the waveform array data format to be used Available in firmware revision 2 32 or higher only The default mode is binary BIN which uses an IEEE floating point data format in which each data sample is transferred as a 4 byte floating point binary data word Alternatively an ASCII format may be selected ASCii in which each data sample is sent as 8 ASCII Hex values representing the 4 byte IEEE floating point data Note that the transfer mode only applies to MEAS ARR VOLT and MEAS ARR CURR queries All other measurement queries always return ASCII data Note that at power on the default mode is always set to binary BIN Syntax MEASure ARRay MODe Parameters BIN ASCii Examples MEAS ARR MOD ASC Related Commands MEAS ARR VOLT MEAS ARR CURR Note The MEAS ARR MOD command is provided to allow waveform data transfers in ASCII on DBCS versions of MS Windows Examples of DBCS versions are Chinese Korean Japanese etc On most Windows versions the binary mode can be used as it reduces the amount of data transferred and thus provides better throughput The ASCII mode will double the number of characters transferred so provisions for a larger receive buffer on the PC may have to be made On the iX the maximum data size that can be sent with one command is 16KB To transfer the entire 4096 waveform acquisition
65. SCale Parameters lt NRf gt actual load current measured with external device Examples CAL MEAS CURR TEMP 11 5 Query Syntax CALibrate MEASure CURRent TEMP Returned Parameters lt NR1 gt value range 1000 to 1000 Related Commands CALibrate MEASure CURRent AMB AC FSCale i Series iX Series May 2002 23 California Instruments SCPI Programming Manual Rev L CALibrate MEASure CURRent TEMPerature DC FSCale lt NRf gt This command initiates the calibration of the DC current measurement at elevated temperature Command Syntax CALibrate MEASure CURRent TEMPerature DC FSCale Parameters lt NRf gt 0 or desired offset value Examples CAL MEAS CURR TEMP DC Query Syntax CALibrate MEASure CURRent TEMPerature DC Returned Parameters lt NR1 gt value range 1000 to 1000 Related Commands CALibrate MEASure CURRent AMB DC FSCale CALibrate MEASure CURRent TEMPerature DC ZERO lt NRf gt This command initiates the offset adjustment of the DC current measurement at elevated temperature Command Syntax CALibrate MEASure CURRent TEMPerature DC ZERO Parameters lt NRf gt 0 or desired offset value Examples CAL MEAS CURR TEMP DC ZERO Query Syntax CALibrate MEASure CURRent TEMPerature DC ZERO Returned Parameters lt NR1 gt value range 0 to 5 Related Commands CALibrate MEASure CURRent AMB DC ZERO 24 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 2 3 Measurement V
66. TRIGger STATe i Series iX Series May 2002 141 California Instruments SCPI Programming Manual Rev L 8 3 Measurement Calibration Subsystem The newer series AC DC power sources use a high resolution analog to digital conversion system that requires temperature compensation Previous generation series measurement did not benefit form temperature compensation due to their lower accuracy and resolution measurements Also many of the offset calibrations as well as separate positive and negative calibration of DC voltage measurement is no longer required This has required some changes to the calibration command subsystem The old and new command subsystems are shown below First generation i series measurement calibration subsystem CALibrate MEASure CURRent AC FSCale ZERO AMPLitude MAXampl FSCALe ZERO DC FSCale ZERO POWER AC FSCale ZERO DC FSCale ZERO VOLTage AC FSCale ZERO DC FSCale POS NEG ZERO Calibrate full scale AC current measurements Cancel AC current measurements offset Calibrate full scale AC peak current measurements Cancel AC peak current offset Calibrate full scale DC current measurements Cancel DC current measurements offset Calibrate full scale AC power measurements Cancel AC power measurements offset Calibrate full scale DC power measurements Cancel DC power measurements offset Calibrate full scale AC voltage measurements C
67. VOLTage AC HRANge HFRequency lt NRf gt This command will set the calibration coefficent for the AC full scale output voltage at the high voltage range and at high output frequency Command Syntax CALibrate VOLTage HRANge HFRequency lt NRf gt Parameters lt NRf gt a value between 127 and 128 Examples CAL VOLT HRAN HFRequency 10 Query Syntax CALibrate VOLTage HRANge HFRequency Returned Parameters NR1 value range 127 to 128 Related Commands CAL VOLT HRAN ZERO CAL VOLT HRAN i Series iX Series May 2002 29 California Instruments SCPI Programming Manual Rev L 4 2 6 Output DC Voltage 30 CALibrate SOURce VOLTage DC LRANge FSCale POSitive lt NRf gt This command will set the calibration coefficent for the positive dc full scale output voltage at the low voltage range Command Syntax CALibrate VOLTage DC LRANge lt NRf gt Parameters lt NRf gt a value between 127 and 128 Examples CAL VOLT DC LRAN 2 Query Syntax CALibrate VOLTage DC LRANge Returned Parameters lt NR1 gt value range 127 to 128 Related Commands CAL VOLT DC LRAN NEG CALibrate SOURce VOLTage DC L RANge FSCale NEGative lt NRf gt This command will set the calibration coefficent for the negative dc full scale output voltage at the low voltage range Command Syntax CALibrate VOLTage DC LRANge NEGative lt NRf gt Parameters lt NRf gt a value between 127 and 128 Examples CAL VOLT DC LRAN NEG 2 Query
68. age amplitude Set the DC offset value in AC DC mode Sets the transient voltage amplitude Sets the voltage mode FIX STEP PULS LIST Sets the voltage range Sets the voltage range pair Sets voltage sense source Sets the voltage slew rate Sets voltage slew mode FIX STEP PULSILIST Sets the transient voltage slew rate This command programs the AC rms DC or offset output voltage level of the power source The voltage mode must be set for AC to accept an AC voltage The Voltage mode must also be set to AC DC to accept a DC offset value Command Syntax SOURce VOLTage LEVel MMediate AMPLitude AC lt NRf gt SOURce VOLTage LEVel IMMediate AMPLitude DC lt NRf gt SOURce VOLTage LE Vel IMMediate AMPLitude OFFSet lt NRf gt O to maximum voltage range specified by the LIMit VOLTage command V rms voltage 0 volt VOLT 250 VOLT LEV 25 SOURce VOLTage LEVel IMMediate AMPLitude lt NR2 gt SOUR MODE VOLT TRIG Parameters Unit RST Value Examples Query Syntax Returned Parameters Related Commands i Series iX Series May 2002 83 California Instruments SCPI Programming Manual Rev L VOLTage TRIGgered Phase Selectable This command selects the AC rms or DC amplitude that the output voltage will be set to during a triggered step or pulse transient Command Syntax SOURce VOLTage LEVel TRIGgered AMPLitude lt NRf gt Parameters 0 to maximum voltage range specified by
69. ancel AC voltage measurements offset Calibrate positive full scale DC voltage measurements Calibrate negative full scale DC voltage measurements Cancel DC voltage measurements offset New generation i series measurement calibration subsystem CALibrate MEASure CURRent AMBient AC FSCale DC FSCale ZERO 142 Ambient temperature calibrations Calibrate full scale AC current measurements Calibrate full scale DC current measurements Cancel DC current measurements offset May 2002 i Series iX Series SCPI Programming Manual Rev L TEMPerature AC FSCale DC FSCale ZERO VOLTage AMBient AC FSCale DC FSCale ZERO TEMPerature AC FSCale DC FSCale ZERO California Instruments Elevated temperature calibrations Calibrate full scale AC current measurements at higher temperature Calibrate full scale AC current measurements at higher temperature Cancel AC current measurements offset at a higher temperature Ambient temperature calibrations Calibrate full scale AC voltage measurements Calibrate full scale AC voltage measurements Cancel AC voltage measurements offset Elevated temperature calibrations Calibrate full scale AC voltage measurements at higher temperature Calibrate full scale AC voltage measurements Cancel AC voltage measurements offset If you are using control programs that are used in calibrating the i series AC DC pow
70. ansient The command parameters are model dependent Command Syntax SOURce PULSe PERiod lt NRf gt Parameters 2 msecs to 90 000 secs MINimum MAXimum Unit S seconds RST Value 1 sec Examples PER 0 001PER MIN Query Syntax SOURce PERiod Returned Parameters lt NR2 gt Related Commands PULS COUN PULS DCYC PULS WIDT i Series iX Series May 2002 81 California Instruments 82 PULSe WIDTh SCPI Programming Manual Rev L This command sets the width of a transient output pulse The command parameters are model dependent Command Syntax Parameters Unit RST Value Examples Query Syntax Returned Parameters Related Commands SOURce PULSe WIDTh lt NRf gt 1 msecs to 90 000 secs MINimum MAXimum S seconds 0 5 secs PULS WIDT 0 001PULS WIDT MIN SOURce PULSe WIDTh lt NR2 gt PULS COUN PULS DCYC PULS PER May 2002 i Series iX Series SCPI Programming Manual Rev L 4 20 Source Subsystem Voltage California Instruments This subsystem programs the output voltage of the AC DC power source Subsystem Syntax SOURce VOLTage LEVel IMMediate AMPLitude lt n gt AC DC OFFSet TRIGgered AMPLitude lt n gt MODE lt mode gt RANGe LEVel n PAIR 135 270 150 300 SENSe SOURce INTernal EXTernal SLEW IMMediate n MAXimum MODE mode TRIGgered AMPLitude n MAXimum VOLTage Phase Selectable Sets the AC rms volt
71. at the output remain at that setting before moving on to the next setting The following procedure shows how to generate a simple list of voltage and frequency changes Step 1 Set the mode of each function that will participate in the output sequence to LIST For example VOLTage MODE LIST FREQuency MODE LIST Step 2 Program the list of output values for each function The list commands take a comma separated list of arguments The order in which the arguments are given determines the sequence in which the values will be output For example to cycle the voltage through a sequence that includes nominal line high line and low line a list may include the following values LIST VOLTage 135 100 120 135 100 128 110 102 132 112 You can specify lists for more than one function For example to synchronize the previous voltage list with another list that varies the output frequency from nominal to high to low the lists may include the following values LIST VOLTage 135 100 120 135 100 128 110 102 132 112 LIST FREQuency 60 60 60 63 63 63 57 57 57 60 All lists must have the same number of data values or points or an error will occur when the transient system that starts the sequence is later initiated The exception is when a list has only one item or point In this case the single item list is treated as if it had the same number of points as the other lists with all values being eq
72. ata is available after the sweep is completed If no resonant current is found the command will return a null char Command Syntax IEC413 SWEep CURRent RESonant Parameters none Query Syntax IEC413 SWE FREQ RES Returned Parameters NR2 lt NRn gt IEC413 HARMonics LEVel This command will set the level for the harmonics test The command will accept either one parameter or a sequence of parameters from the second harmonic to the fortieth harmonic In case of one parameter the level will be set for the selected harmonic number specified by IEC413 INDV HARM NUMBer The IEC413 STATe must be in the off position and the user class must be selected to accept the command Command Syntax IEC413 HARMonics LEVel lt Nrf gt lt Nrf gt lt Nrfn gt Parameters 0 to 20 Examples IEC413 HARM LEV 4 5 Query Syntax IEC413 HARM LEV Returned Parameters NR2 NR2 156 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments IEC413 HARMonics PHASe This command will set the phase angle of the harmonics wave form relative to the fundamental The command will accept either one parameter or a sequence of parameters from the second harmonic to the fortieth harmonic In case of one parameter the phase will be set for the selected harmonic number specified by IEC413 INDV HARM NUMB The IEC413 S TATe must be in the off position and the user class must be selected to accept the command
73. be used to query any calibration coefficient but no new calibration can be performed Calibration queries always return two values The first value is the calibration coefficient itself the second value is the temperature associated with that coefficient All temperate coefficients except for full scale AC voltage are computed by the AC DC power source controller The calibration password is defined as the numeric portion of the AC DC power source serial number spelled backwards The password needs to be enclosed by single or double quotation marks Thus if the units serial number is HK12345 the calibration password is 54321 and the command syntax would be CAL PASS 54321 Note that any non numeric characters such as the HK in the example shown here need to be discarded when sending the calibration password Only the numeric portion is to be used Command Syntax CALibrate PASSword lt SRD gt Parameters lt numeric portion of serial number reversed gt default Examples CAL PASS 34593 CAL PASS 35461 Related Commands IDN 22 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 2 2 Measurement Current CALibrate MEASure CURRent AMBient AC FSCale lt NRf gt This command initiates the calibration of the AC current measurement at full scale and at ambient temperature Command Syntax CALibrate MEASure CURRent AMBient AC FSCale Parameters lt NRf gt actual load current meas
74. be used when the voltage mode is set for DC or ACDC Query Syntax MEASure SCALar VOLTage DC FETCh SCALar VOLTage DC Parameters None Examples MEAS VOLT FETC VOLT Returned Parameters lt NR2 gt Related Commands INST NSEL 50 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments MEASure VOLTage HARMonic iX series only FETCh VOLTage HARMonic iX series only Phase Selectable These queries return the rms amplitude of the Nth harmonic of output voltage The parameter is the desired harmonic number Queries sent with a value of 0 return the dc component A value of 1 returns the fundamental output frequency Harmonic orders can be queried up to the fundamental measurement bandwidth of the measurement system which is 19 531 kHz for a single phase system and 6 510kHz for a three phase system Thus the maximum harmonic that can be measured is dependent on the output frequency Any harmonics that represent frequencies greater than above frequncies are returned as 0 Query Syntax MEASure SCALar VOLTage HARMonic AMPLitude lt NRf gt FETCh SCALar VOLTage HARMonic AMPLitude lt NRf gt Parameters 0 to 50 Examples MEAS VOLT HARM 3 FETC VOLT HARM 1 Returned Parameters lt NR2 gt Related Commands INST NSEL MEASure VOLTage HARMonic PHASe iX series only FETCh VOLTage HARMonic PHASe iX series only Phase Selectable These queries return the phase angle of the Nth harmonic of o
75. bility ccccesceceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeeeeneeeeeenneeeeeeees 141 8 1 latica oiei a g EPOE A 141 8 2 Trigger Subsysteim 5 2 esci bero eiie aaa 141 8 3 Measurement Calibration Subsystem ssssese men 142 8 4 Detecting i Series Controller Versions essem 143 8 5 Sample Cd te 144 9 Option Commands ecelesie ke dence ded relire dera deser iine reeii 145 9 1 Intro UC ON E 145 9 2 ECATODOA eT 146 9 3 zie 1000 4 13 rie i e ea bere dae Bae die ee 150 9 4 RIGA DOSTOOD rin eo ize rr CER Uer bete EDO on ilice RE Pee EORR 161 9 5 MIL STD 704E i dieci eA IE eo o EIER e c Ye ape vie e vd e aa 167 9 6 eedem T 169 Appendix A SCPI Command tree cccceeeseceeeeeeeeeeeeeseeeeneeseeeeeeeseeeanenseeeeeeeseeeeeeeseeeanenseesanees 170 Appendix B SCPI Conformance Information eeeeeeeeeee eere nnn 176 Appendix C Error Messages eeeeeeeeeeee enne ner rre 177 MAO ANI lc pit non ee slbi LIII MIL 179 4 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments Table of Figures FIGURE 2 1 PARTIAL COMMAND TREE 2 0sceeececesecececesecucececececceaeaenenecebesscesesecececacecececesecesesetereeaeas 9 FIGURE 2 2 COMMAND MESSAGE STRUCTURE cisssesee n meme eee eme emememeteteretr sessi serere serere ree 12 FIGURE 3 1 RS232
76. buffer in ASCII mode requires two separate data transfers of the first followed by the second buffer The block size and block offset parameters may be used to accomplish this Conversion function sample VB6 Converting waveform data from either transfer mode to a single precision value can be accomplished using the following sample routine Public Function StringToIEEEFloat ByVal sData As String ByVal bAsciiMode As Boolean As Single bAsciiMode flag is used if data is received as 8 ascii chars representing Hex 0 9 A F If bAsciiMode flag is false then data is process as 4 char representing a byte each Ascii mode is needed for DCBS windows Dim i As Integer Dim j As Integer Dim iChar As Integer Dim expo As Long Dim mantisse As Long Dim expo val As Variant Dim mant f As Single Dim c 3 As Long Must use 32 bit integers to allow for intermediate result of 24 bit shift Dim sign As Boolean Const MANT MAX amp H7FFFFF Const EXPO MAX 2 126 On Error GoTo FloatConvError i Series iX Series May 2002 39 California Instruments 40 If bAsciiMode Then Retrieve ASC values from eight hex byte input data sData UCase sData For i 0 To 3 c i 0 For j 0 To 1 iChar AscB Mid sData i 2 j 1 1 48 If iChar gt 9 Then iChar iChar 7 eta ei T6 3 tehar Next j Next i Else Retrieve ASC values from four byte input data SCPI Programming Manual Rev L Not
77. ces of output changes with rapid precise timing which may be synchronized with internal or external signals Each function that can participate in output transients can also have an associated list of values that specify its output at each list point You can program up to 32 settings or points in the list the time interval dwell that each Setting is maintained the number of times each data point is repeated the number of times that the list will be executed and how the settings change in response to triggers All list point data can be stored in nonvolatile memory using one of the available setup register This means that the programmed data for any list function will be retained when it is saved in the register when the AC source is turned off Note If the transient list is programmed over the bus the transient must be executed at least once or it will not be saved to the setup register when the SAV command is sent Unexecuted transient lists have not been compiled yet by the AC DC power source controller and will not be saved as part of a front panel setup This is not the case when the transient list is entered from the front panel Front panel entered transient lists will be saved even if they have not been executed yet Lists are paced by a separate list of dwell times which define the duration of each output setting Therefore each of the up to 32 list points has an associated dwell time which specifies the time in seconds th
78. command can only be used with the RS 232 interface It sets the interface in the Remote state which disables all front panel controls Command Syntax SYSTem REMote Parameters None Example SYST REM Related Commands SYST LOC SYSTem CONFigure BYTE This command will set the system configuration This is a protected command and requires a password The query response is available however Command Syntax SYSTem CONFigure Parameters SCPI NOUT ADV DO160 MIL704E IEC411 Example SYST CONF SCPI IEC411 SYST CONF Returned Parameters lt CRD gt Related Commands OPT i Series iX Series May 2002 93 California Instruments SCPI Programming Manual Rev L SYSTem CONFigure NOUT put Sets the mode configuration of the power source to a single phase or a three phases The option must be enabled for the command to work Command Syntax SYStem CONFigure NOUTput noutput mode gt Parameters ONEPhase or THReephase Example SYST CONF NOUT ONE Query Syntax SYSTem CONF Returned Paramters lt CRD gt SYSTem ETIMe This command will return the total number of accumulated hours minutes and seconds Command Syntax SYSTem ETIMe Parameters none Example SYST ETIM Returned Parameters lt NR1 gt lt NR1 gt lt NR1 gt SYSTem TEMPerature This command will return the internal ambient temperature of the AC DC power source in degrees Celsius Command Syntax SYSTem TEMPerature Parameters none Example SYST TEMP Returned Pa
79. configuration 130 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 6 7 2 Pre event and Post event Triggering ix series only The range for this offset is 104 msec to 1000 msec in single phase mode or 312 msec to 1000 msec in three phase mode As shown in the following figure when the offset is negative the values at the beginning of the data record represent samples taken prior to the trigger When the value is 0 all of the values are taken after the trigger Values greater than zero can be used to program a delay time from the receipt of the trigger until the data points that are entered into the buffer are valid Delay time Offset x Sample period Offset 104 ms ec 4096 DATA POINTS Offset 54 msec 4096 DATA POINTS Offset O msec 4096 DATA POINTS Offset 4096 DATA POINTS 1000 msec Acquisition Trigger Moment Figure 6 4 Pre event and Post event Triggering i Series iX Series May 2002 131 California Instruments SCPI Programming Manual Rev L 6 8 Trigger System Summary Figure shows a functional block diagram of the AC DC source s trigger system If both trigger Systems are initiated at the same time the Acquisition trigger system will respond to the first trigger generated while the transient trigger system will respond to the second trigger Thus the acquisition has the highest priority Note On i series AC DC so
80. cs LEVel lt NRf gt lt NRf1 NRf4 gt Parameters 0 to 2096 Examples IEC413 IHAR LEV 10 Query Syntax IEC413 IHAR LEV Returned Parameters lt NR2 gt IEC413 IHARmonics DWELI This command will set the dwell time in seconds for each interharmonics frequency The class must be selected prior to this command Query with min and max to find the range of the dwell time Command Syntax 1EC413 IHARmonics DWELI lt NRf gt Parameters lt seconds gt Examples IEC413 IHAR DWEL 15 Query Syntax 1EC413 IHAR DWEL Returned Parameters lt NR1 gt IEC413 IHARmonics PAUSe This command will set the pause time in seconds between each interharmonics frequency The class must be selected prior to this command Query with min and max to find the range of the pause time Command Syntax 1EC413 IHARmonics PAUSe lt NRf gt Parameters lt seconds gt Examples IEC413 IHAR PAUS 2 Query Syntax IEC413 IHAR PAUS Returned Parameters lt NR1 gt 158 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 9 3 2 Interharmonics Subsystem The following commands are used to enable and generate an interharmonic waveform up to 20 of the programmed voltage value SOURce IHARmonics STATe Enable or disable the interharmonics generator COUPIe Couple the interharmonics reference to program volt FREQuency Set the interharmonics frequency REFerence Set the interharmonics reference VOLTage Set the inte
81. d always operate on the selected phase only This means the instrument can remain in coupled mode while doing measurement queries using INST NSEL lt n gt FETC VOLT WAI Note that when the instrument is subsequently put in the uncoupled state using INST COUP NONE the last issued phase selection will be in effect To make sure the desired phase is selected follow the INST COUP NONE command with an INST NSEL lt n gt command Command Syntax INSTrument NSEL Parameters 1 2 3 Examples INST NSEL 1 Query Syntax INST NSEL Returned Parameters lt CRD gt Related Commands INST COUP INST SEL i Series iX Series May 2002 33 California Instruments 34 INSTrument SELect This command may be used select a spec character reference A denotes phase A SCPI Programming Manual Rev L ific output phase in three phase mode using a B denotes phase B and C denotes Phase C As long as the instrument state is coupled however programming command will affect all phases As soon as the INST COUP NONE command is issued the last selected phase becomes selected To immediately change the output of a single phase only make sure the instrument state is uncoupled when issuing the INST SEL command Note that the MEASuse and FETCh subsystems are not affected by the INST COUP command and always operate on the selected phase only This means the instrument can remain in coupled mode while doing measurement
82. ding a parameter other than 150 or 300 when in 150 300 range pair will not be accepted When the range is set to 135 the maximum rms voltage that can be programmed is 135 volts The VOLTage RANGe command is coupled with the CURRent command This means that the maximum current limit that can be programmed at a given time depends on the voltage range setting in which the unit is presently operating Command Syntax SOURce VOLTage RANGe LEVel lt NRf gt Parameters 135 270 or 150 300 RST Value Defined by the PONSetup RANGe Examples VOLT RANG 135 VOLT RANG MIN Query Syntax SOURce VOLTage RANGe Returned Parameters lt NR2 gt Related Commands VOLT RANG PAIR VOLT VOLTage RANGe PAIR iX series only This command sets the voltage range pair of the power source Currently the voltage range pairs are 135 270 and 150 300 The voltage range pair defines the voltage ranges of the power source Command Syntax SOURce VOLTage RANGe PAIR lt NRf gt Parameters 135 270 150 300 RST Value Defined by the PONSetup RANGe Examples VOLT RANG PAIR 135 270 Query Syntax SOURce VOLTage RANGe PAIR Returned Parameters lt NR2 gt Related Commands VOLT RANG VOLT i Series iX Series May 2002 85 California Instruments SCPI Programming Manual Rev L VOLTage SENSe SOURce This command selects the source from which the output voltage is sensed The following voltage sense sources can be selected INTernal This senses the voltag
83. ding 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 This sets the OPC status bit when all pending operations have completed Since your program can read this status bit on an interrupt basis OPC allows subsequent commands to be executed This query will report the state of the transient trigger subsystem and will return IDLE ARM or BUSY to allow the user monitor the state of the trigger system May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 8 Series Controller Compatability 8 1 Introduction California Instruments continuously improves its products to provide maximum value to its customers As part of this ongoing process the i series AC DC power source has been outfitted with a faster controller that offers greater throughput on both IEEE 488 and RS232C At this same time the extended capabilities ix version was added to the California Instruments product line up To maintain software compatability between the new series and the ix series a few SCPI commands had to be changed While these change will not affect the vast majority of users those that have a mixture of previous generation i series and new generation i series should be aware of there differences when developing test programs If wr
84. dition status register OC bit is set see chapter 7 An overcurrent condition is cleared after the cause of the condition is removed If the OC protection mode is disabled the source operates in the Constant Current mode and the output voltage will be reduced after a time delay specified by the CURRent PROTection DELay and the Questionable Condition status register OC bit is set see chapter 7 An overcurrent condition is cleared after the cause of the condition is removed Command Syntax SOURce CURRent PROTection STATe lt bool gt Parameters 0 1 OFFION RST Value ON Examples CURR PROT STATO CURR PROT STAT OFF Query Syntax SOURce CURRent PROTection STATe Returned Parameters 0 1 Related Commands OUTP PROT DEL CURRent PROTection DELay This command sets the delay time between over current limit condition and the response to this condition At the end of the delay if the over current condition still exist the response will depend on the protection state If the protection state is on the output voltage will fault to zero voltage If the protection state is off the output voltage will reduced to a value that maintains a constant current defined by the setting of the current limit Use CURRent PROT DEL to prevent momentary current limit conditions caused by programmed output changes or load changes from tripping the overcurrent protection Command Syntax SOURCE CURRent PROTection DELay Parameters 0 1to5 Unit seconds
85. e Don t use ASCB or ASCW functions as results will differ based on character sets even on non DCBS Windows Retrieve ASC values from four byte input data For i 0 To 3 c i Asc Mid sData i 1 1 Next i End If Get sign bit sign c 0 And amp H80 amp H80 Get exponent value less sign bit expo c 0 And H7F 2 Pick up exponent sign If c 1 And amp H80 amp H80 Then expo expo Or 1 get data less exponent sign bit C 1 c 1 And amp H7F mantisse c 1 H10000 c 2 H100 c 3 mant f mantisse MANT MAX Process exponent If expo lt gt 0 And expo lt gt amp HFF Then expo expo 127 mant f mant f 1 expo val 2 Abs expo If expo gt 0 Then mant f mant f expo val If expo lt 0 Then mant f mant f expo val Else If mant f 0 Then If expo 0 Then mant f mant f EXPO MAX Else mant f mant f EXPO MAX End If End If End If Append number sign and return value If sign Then mant f mant f StringToIEEEFloat mant f Exit Function FloatConvError Conversion errors are truncated to zero StringToIEEEFloat 0 Exit Function End Function May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 4 3 Voltage Array Data MEASure ARRay VOLTage DC FETCh ARRay VOLTage DC Phase Selectable These queries return an array containing the instantaneous output voltage in volts The data returned
86. e lt NRf gt FETCh SCALar CURRent HARMonic PHASe lt NRf gt Parameters 0 to 50 Examples MEAS CURR HARM PHAS 3 FETC CURR HARM PHAS 1 Returned Parameters lt NR2 gt Related Commands INST NSEL MEASure CURRent HARMonic THD ix series only FETCh CURRent HARMonic THD ix series only Phase Selectable These queries return the percentage of total harmonic distortion and noise in the output current Query Syntax MEASure SCALar CURRent HARMonic THD FETCh SCALar CURRent HARMonic THD Parameters None Examples MEAS CURR HARM THD FETC CURR HARM THD Returned Parameters lt NR2 gt Related Commands INST NSEL 46 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 6 Frequency Measurement Subsystem This subsystem programs the frequency measurement capability of the i iX Series source Subsystem Syntax MEASure SCALar FREQuency Returns the output frequency MEASure FREQuency This query returns the output frequency in Hertz Query Syntax MEASure SCALar FREQuency Parameters None Examples MEAS FREQ Returned Parameters lt NR2 gt i Series iX Series May 2002 47 California Instruments SCPI Programming Manual Rev L 4 7 Power Measurement Subsystem This subsystem programs the power measurement capability of the i iX Series source Subsystem Syntax MEASure FETCh SCALar POWer AC REAL Returns real power APParent Returns VA PFACtor Retur
87. e trigger system to the Idle state ABORt RST RCL The INITiate commands move the trigger system from the Idle state to the Initiated state This enables the AC source to receive triggers To initiate for a measurement trigger use INITiate IMMediate ACQuire After a trigger is received and the data acquisition completes the trigger system will return to the Idle state Thus it will be necessary to initiate the system each time a triggered acquisition is desired Note You cannot initiate measurement triggers continuously Otherwise the measurement data in the data buffer would continuously be overwritten by each triggered measurement 6 6 10 Selecting the Measurement Trigger Source The trigger system is waiting for a trigger signal in the Initiated state Before you generate a trigger you must select a trigger source To select the SYNC Trigger to start the measurement at specific phase angles in the waveform TRIGger ACQuire SOURce SYNC i Series iX Series May 2002 129 California Instruments SCPI Programming Manual Rev L TRIGger SYNC SOUR PHAS TRIGger SYNC PHASE 0 To select IEEE 488 bus triggers group execute trigger device trigger or TRG command use TRIGger ACQuire SOURce BUS To select the signal driving the Trigger Out from the transient use TRIGger ACQuire SOURce TTLTrg 6 6 11 Generating Measurement Triggers Providing that you have specified the appropriate trigger source you can generate
88. e 425 Volt peak voltage limitation This feature can be used to avoid unnecessary error messages during program execution Note You cannot program a voltage that produces a higher peak voltage on the output than a 300 Vrms sinewave when in the 300 V range Command Syntax SOURce FUNCtion SHAPe MMediate lt shape gt Parameters SiNusoid SQUare CSINe lt waveform_name gt RST Value SINe Examples FUNC SIN FUNC TABLE1 Query Syntax SOURce FUNCtion SHAPe Returned Parameters lt CRD gt Related Commands FUNC MODE i Series iX Series May 2002 61 California Instruments SCPI Programming Manual Rev L FUNCtion MODE Phase selectable This command determines how the waveform shape is controlled during a triggered output transient The choices are FIXed The waveform shape is unaffected by a triggered output transient LIST The waveform shape is controlled by the waveform shape list when a triggered transient occurs Command Syntax SOURce FUNCtion SHAPe MODE mode Parameters FlXed STEP PULSe LIST RST Value FIXed Examples FUNC MODE LIST Query Syntax SOURce FUNCtion SHAPe MODE Returned Parameters lt CRD gt Related Commands FUNC FUNCtion CSINe Phase selectable This command sets the clipping level when a clipped sine output waveform is selected The clipping characteristics can be specified as follow e The clipping level is expressed at the percentage of total harmonic distortion in the outpu
89. e IDE program Prior to running any applications programs you must set up the GPIB controller hardware with the configuration program located in the Windows 95 Control Panel For plug and play versions of the AT GPIB TNT the setup will be performed when the card is first detected Regardless of the GPIB interface controller used the power supply expects a message termination on EOI or line feed so set EOI w last byte of Write It is also recommended that you set Disable Auto Serial Polling All function calls return the status word IBSTA which contains a bit ERR that is set if the call results in an error When ERR is set an appropriate code is placed in variable IBERR Be sure to check IBSTA after every function call If it is not equal to zero branch to an error handler that reads IBERR to extract the specific error Error Handling If there is no error handling code in your program undetected errors can cause unpredictable results This includes hanging up the controller and forcing you to reset the system Both of the above libraries have routines for detecting program execution errors Important Use error detection throughout your application program May 2002 i Series iX Series SCPI Programming Manual Rev L 3 3 RS232C Interface California Instruments The RS232C interface can be used as an alternative to the IEEE 488 if no IEEE 488 controller is available A suitable cable to connect the AC DC Source to a 9 p
90. e PHASe command sets the relative phase of each of the outputs The INSTrument COUPle setting is ignored by the PHASe command it always controls the output selected by INSTrument NSELect 6 3 Coupled Commands This section describes how to avoid programming errors that may be caused by the error checking done for coupled commands such as VOL Tage LEVel Commands that are coupled to the VOLTage command are the output transient commands that control step pulse and list generation When an output transient is initiated ready to receive a trigger the error checking that takes place for maximum rms voltage CURRent LEVel and VOLTage RANGe Programming the current limit by itself to a value that is greater than the maximum allowed on the presently programmed voltage range causes an error If the commands VOLTage RANGe 270 CURRent 40 are sent an error will be generated because the CURRent command is requesting a current limit that is outside the maximum value allowed on that voltage range Programming the VOLTage RANGe by itself causes the programmed current limit to be set to the maximum for the given range if it had previously been higher than the maximum setting for the new range If the commands VOLTage RANGe 135 CURRent 37 VOLTage RANGe 270 are sent no error will be generated because the second VOLTage RANGe command automatically sets the programmed current limit to 18 5 which is the maximum value for the prog
91. e Register OPER operation status summary MSS master status summary ESB event status byte summary RQS request for service QUES questionable status summary MAV message available Query Syntax STB Returned Paramters lt NR1 gt Register binary value Related Commands SRE ESE ESR May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 5 13 TRG This command generates a trigger to any subsystem that has BUS selected as its source for example TRIG SOUR BUS The command has the same affect as the Group Execute Trigger GET command Command Syntax TRG Parameters None Related Commands ABOR INIT 5 14 WAI This command instructs the AC DC source not to process any further commands until all pending measurement and calibration operations are completed Pending operations are complete when all commands sent before WAI have been executed This includes overlapped commands Most commands are sequential and are completed before the next command is executed Overlapped commands are executed in parallel with other commands Commands that affect output voltage or state relays and trigger actions are overlapped with subsequent commands sent to the AC source The WAI command prevents subsequent commands from being executed before any overlapped commands have been completed The WAI command may be used when performing measurement queries MEAS or FETCh to force the AC DC source to res
92. e at the output of the power amplifier on the in board side of the output disconnect relay EXTernal This senses the output voltage at the user s sense terminals which allows remote voltage sensing at the load Command Syntax SOURce VOL Tage SENSe SOURce source Parameters INTernal EXTernal RST Value INTernal Examples VOLT SENS SOUR INT Query Syntax SOURce VOLTage SENSe SOURce Returned Parameters lt CRD gt VOLTage SLEW Phase Selectable This command sets the slew rate for all programmed changes in the output voltage level of the source A parameter of MAXimum will set the slew to its maximum possible rate The SCPI representation for MAXimum is 1E9 Command Syntax SOURce VOLTage SLEW IMMediate lt NRf gt Parameters 0 to1E9 MAX Unit V S volts per second RST Value MAX Examples VOLT SLEW 1 VOLT SLEW MAX Query Syntax SOURce VOL Tage SLEW IMMediate Returned Parameters lt NR3 gt Related Commands VOLT SLEW MODE VOLT SLEW TRIG 86 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments VOLTage SLEW MODE Phase Selectable This command determines how the output voltage slew rate is controlled during a triggered output transient The choices are FIXed The slew rate is unaffected by a triggered output transient STEP The slew rate is programmed to the value set by VOLTage SLEW TRIGgered when a triggered transient occurs PULSe The slew rate is changed to the valu
93. e cece ceue ee e eee hee hne nne shne nnne sre sine is sea sere en nns 46 FETCh CURRent HARMonic THD esssssssssessseeee eee nennen nne nne nne mnne rn sns sr nn ses serrer seen nns 46 FET Ch CU RREntHARMON IG 2x ici aeree reca besote euo Pa da are dead adea da ov dave aurea da eile Tree v ava Dag 45 FEIGh GURR6OHDE 4 srt cec teer ta tet oa di bath ded deor c ret c eb Coa boite da TE ee dert PIRE to P ead 44 FETIGh iPOWer DO th etm rte Te easier oe Era roe ed wetter a E PV AE wed vene ra RE 49 EETGRh POWerIEAG EAPP3arent nie rer cia orte pe ee rere bitorrent died 48 FET CH POWer SAG PEA Con 2 reis ice sevi cerea pe e E vua shed Vae qe Ya De d CURE TN q SAN TORVT GEHEN leer 49 EEIGh VOLbTage AQ capote eat A RAE GENE VERRE TR EUR XR ERRARE ERRAT ects MARE PERDERE ERR FRAME TRE 50 FEIGh VOETage HARMonic PHASS aie ce ii a a seid Fuga a btt 51 FETCh VOLTage HARMonic THD ssssssssssssssssessseeee eene nnne EAA a KE EEA nn sre nnne 52 FETCh VOLTage HARMAOortiC 11 penc de ne EUR e pee cu ded beg Sed age a ORE aee aa 51 FETCh VOBT2968 1 etra ia Deo HERR iia Fee HERR tad 50 format WaVetormdalta 2 aeo ence EE A er e iE RH deans cant a arado 39 formats data IL ETUR 14 EREQency SEEW TRIGQeted ee eo a eevee 60 EREQUOFCY rta e ERR eMe A OE LI eens 58 EREQU ency MODE 3 nies er cerei A AA Dite vig Le eas pee a Cera da bees cc at 59 Bale SE Wi teca 59 FREQUency SLEWIMODE atar A Ad a Edd 60 EHEQuency TRIGg
94. e set by VOLTage SLEW TRIGgered for a duration determined by the pulse commands LIST The slew rate is controlled by the voltage slew list when a triggered transient occurs Command Syntax SOURce VOLTage SLEW MODE lt mode gt Parameters FlXed STEP PULSe LIST RST Value FIX Examples VOLT SLEW MODE LIST VOLT SLEW MODE FIX Query Syntax SOURce VOLTage SLEW MODE Returned Parameters lt CRD gt Related Commands VOLT SLEW TRG VOLT SLEW VOLTage SLEW TRIGgered Phase Selectable This command selects the slew rate that will be set during a triggered step or pulse transient A parameter of MAXimum will set the slew to its maximum possible rate The maximum allowed value is1E9 Command Syntax SOURce VOLTage SLEW TRIGgered lt NRf gt Parameters 0 to 1E9 MAXimum Unit V S volts per second RST Value MAXimum Examples VOLT SLEW TRIG 1 VOLT SLEW TRIG MAX Query Syntax SOURce VOLTage SLEW TRIGgered Returned Parameters lt NR2 gt Related Commands VOLT SLEW MODE VOLT SLEW i Series iX Series May 2002 87 California Instruments SCPI Programming Manual Rev L 4 21 Status Subsystem Commands This subsystem programs the AC DC power source status registers There are four groups of status registers e Operation Status Group e Questionable Status Group e Questionable Instrument Isummary Group e Standard Event Group The Standard Event group is programmed with Common commands The Operation Questionable and Ins
95. eading the Questionable Event register clears it Query Syntax STATus QUEStionable EVENt Parameters None Returned Parameters lt NR1 gt Register Value Examples STAT QUES EVEN Related Commands CLS STATus QUEStionable CONDition This query returns the value of the Questionable Condition register This is a read only register which holds the real time unlatched questionable status of the AC DC power source Query Syntax STATus QUEStionable CONDition Example STAT QUES COND Returned Parameters lt NR1 gt Register value STATus QUEStionable ENABle This command sets or reads the value of the Questionable Enable register This register is a mask for enabling specific bits from the Questionable Event register to set the questionable summary QUES bit of the Status Byte register This bit bit 3 is the logical OR of all the Questionable Event register bits that are enabled by the Questionable Status Enable register Command Syntax STATus QUESionable ENABle lt NRf gt Parameters 0 to 32727 Default Value 0 Examples STAT QUES ENAB 18 Query Syntax STATus QUEStionable ENABle Returned Parameters lt NR1 gt Register value Related Commands STAT QUES EVEN 90 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments STATus QUEStionable INSTrument ISUMmary Phase Selectable This command returns the value of the Questionable Event register for a specific output of a three phase AC source
96. ecord when an acquire trigger is used The values can range from 104 msec to 1000 msec in a single phase configuration and from 312 msec to 1000 msec in a three phase configuration When the value specified is negative less than 0 msec the values in the beginning of the data record represent samples taken prior to the actual trigger moment Command Syntax SENSe SWEep OFFSet lt NRf gt Parameters 104 to 1000 for single phase configuration 812 to 1000 for three phase configuration RST Value 0 Examples SENS SWE OFFS 5 Query Syntax SENSe SWEep OFFSet Returned Parameters lt NR2 gt Related Commands SENS SWE TINT MEAS ARR SENSe SWEep TINTerval This command query the time period between samples when voltage and current digitization is controlled by the acquire trigger sequence The query response of the sample period query will be 25 6 usec for single phase and 76 8 usec for three phase AC DC source configurations respectively Query Syntax SENSe SWEep TINTerval Returned Parameters lt NR2 gt Related Commands SENS SWE OFFS MEAS ARR i Series iX Series May 2002 65 California Instruments SCPI Programming Manual Rev L 4 15 Source Subsystem List This subsystem controls the generation of complex sequences of output changes with rapid precise timing and synchronized with internal or external signals Each subsystem command for which lists can be generated has an associated list of values that specify the outpu
97. ee SOURce PHASe command Command Syntax CALibrate PHASe lt NRf gt Parameters lt NRf gt a value between 360 0 and 360 0 Examples CAL PHAS 2 3 Query Syntax CAL PHAS Returned Parameters lt NR1 gt value range 180 0 to 180 0 Related Commands FREQ MODE SOURce PHASe INST NSEL 4 2 5 Output AC Voltage CALibrate SOURce VOLTage AC LRANge FSCale lt NRf gt This command will set the calibration coefficent for the AC full scale output voltage at the low voltage range Command Syntax CALibrate VOLTage LRANge lt NRf gt Parameters lt NRf gt a value between 127 and 128 Examples CAL VOLT LRAN 2 Query Syntax CALibrate VOLTage LRANge Returned Parameters lt NR1 gt value range 127 to 128 Related Commands CAL VOLT LRAN ZERO CAL VOLT LRAN HFR i Series iX Series May 2002 27 California Instruments SCPI Programming Manual Rev L CALibrate SOURce VOLTage AC LRANge ZERO lt NRf gt This command will set the calibration coefficent for the output voltage offset at the low voltage range Command Syntax CALibrate VOLTage LRANge ZERO lt NRf gt Parameters lt NRf gt a value between 127 and 128 Examples CAL VOLT LRAN ZERO 10 Query Syntax CALibrate VOLTage LRANge ZERO Returned Parameters lt NR1 gt value range 127 to 128 Related Commands CAL VOLT LRAN CAL VOLT LRAN HFR CALibrate SOURce VOLTage AC LRANge HFRequency lt NRf gt This command will set the calibration coefficen
98. em Mode The MODE command allows switching between the different output modes available on the AC DC power source The i series provides either AC or DC mode while the ix series adds AC DC mode as well When switching modes the output is automatically set to zero to prevent hot switching of the output After a mode command the output voltage needs to be programmed to the desired setting Subsystem Syntax SOURce MODE AC DC ACDC Sets the output mode MODE The mode command switches the output voltage between the available output modes Command Syntax SOURce MODE Parameters AC DC ACDC Example MODE AC Query Syntax SOURce MODE Returned Parameters lt CRD gt Related Commands PONS VOLT MODE 74 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 17 Source Subsystem Phase This subsystem programs the output phase angle of the AC DC source When the phase command is used to program a single phase unit the only discernible effect is to cause an instantaneous shift in the output waveform phase relative to an external reference signal Subsystem Syntax SOURce PHASe IMMediate lt n gt Sets the output phase PHASe Phase Selectable This commands sets the phase of the output voltage waveform relative to an external reference for single phase power source Phase B and C in a three phase system are programmed relative to phase A The phase angle is programmed in degrees Po
99. en 8 2 3 Using QUEVES E 11 2 4 Structure of a SCPI Message ssssssseee eene nnne nnn nnn hn n ene hne nnne 11 2 5 SCPI Data Formals e cce is video e gu dre ied eed euren 14 3 System Considerations seeeeeesseeeeeeeseeeeeeee eene rn rn 15 3 1 Assigning the IEEE 488 Address ccceceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeeeeeaaeaeeesaaaeeeeaaaeeees 15 3 2 GPIB Controllers c 15 3 3 AS2320 MONACO Em 17 4 SCPI Command Reference cceececeeceeeeeeeeeeeeeeeeeeeeeeeeaeeeeeaeeeeeeeaeeeeeeseeeeeeeeeeneeeseaeseeeeees 19 4 1 A ete bes ee teeta eet NETen ved ANAT TEn A Rea re APATE Ga at EARN E 19 4 2 Calibration S bsystermt coiere eerte deae Hance erie indole id ci 20 4 3 Instrument SUDSYS Maida 33 4 4 Array Measurement Subsystem iX series ONly ooooocooncnccnncccccccocccnnnnncnnnnnnncnnnnnnncnnnnnnnn 35 4 5 Current Measurement Subsystem sssssssssssseeeee nennen nennen enne 43 4 6 Frequency Measurement Subsystem sssssessseeeee m enm nemen 47 4 7 Power Measurement Subsystem ssssssssssssesseeee eene nhe nennen 48 4 8 Voltage Measurement SubsySteM oocooonnccccnonccccononoccconnnncnncnnancncnnnnncnnnnnnnn nennen enne 50 4 9 Output SUubSyStelL ues oder ered de ear N AA E URE EATE easy ETEA ea dai pt 53 4 10 Source Subsystem Current atesa a a a A a a a 56
100. ents Query Syntax MEASure SCALar CURRent AMPLitude MAXimum FETCh SCALar CURRent AMPLitude MAXimum Parameters None Examples MEAS CURR AMPL MAX FETC CURR AMPL MAX Returned Parameters lt NR2 gt Related Commands INST NSEL MEAS CURR AMPL RESet MEASure CURRent AMPLitude RESet Phase Selectable This command will reset the peak current measurement to zero Query Syntax MEASure SCALar CURRent AMPLitude RESset Parameters None Examples MEAS CURR AMPL RES Returned Parameters None Related Commands MEAS CURR AMPL MAX 4 May 2002 iSeries iX Series SCPI Programming Manual Rev L California Instruments MEASure CURRent CREStfactor FETCh CURRent CREStfactor Phase Selectable These queries return the output current crest factor This is the ratio of peak output current to rms output current Query Syntax MEASure SCALar CURRent CREStfactor FETCh SCALar CURRent CREStfactor Parameters None Examples MEAS CURR CRES FETC CURR CRES Returned Parameters lt NR2 gt Related Commands INST NSEL MEASure CURRent HARMonic ix series only FETCh CURRent HARMonic ix series only Phase Selectable These queries return the rms amplitude of the Nth harmonic of output current The parameter is the desired harmonic number Queries sent with a value of 0 return the dc component A value of 1 returns the fundamental output frequency Harmonic frequencies can be queried up to the fundamental measurement bandwidth of
101. equency list point has an associated dwell time specified by LIST DWELl n lt n gt where n specifies the dwell time in seconds The number of dwell points must equal the number of output points If a dwell list has only one value that value will be applied to all points in the output list After each new output level or point is programmed the output remains at that point in the list for the programmed dwell interval before the list advances to the next point Only an ABORt command can transfer the system out of the Dwelling state At the end of the dwell interval the transition to the next state depends on whether or not the list has completed its sequencing and the state of the LIST STEP command see Error Reference source not found If the list is completed the trigger system returns to the Idle state If the list is not completed then the system reacts as follows LIST STEP ONCE programs the trigger system to return to the Initiated state to wait for the next trigger LIST STEP AUTO programs the trigger system to immediately execute the next list point i Series iX Series May 2002 125 California Instruments SCPI Programming Manual Rev L 6 6 Acquiring Measurement Data The source has the capability to return a number of current voltage and power measurements When the AC source is turned on it is continuously sampling the instantaneous output voltage and current for several outpu
102. er defined waveform table with the name lt waveform_name gt and makes its memory available for other waveforms Command Syntax TRACe DELete NAME lt waveform_name gt Parameters lt waveform name gt Example TRAC DEL flattop Related Commands TRAC DATA TRAC DEL FUNC SHAP i Series iX Series May 2002 97 California Instruments SCPI Programming Manual Rev L 4 24 Trigger Subsystem This subsystem controls the triggering of the AC DC power source See chapter 6 under Triggering Output Changes for an explanation of the Trigger Subsystem The INITiate commands control the initialization of the transient system The trigger subsystem must first be enabled using the INITiate commands or no triggering action will occur Refer to Figure 6 5 for a block diagram of the trigger system Subsystem Syntax ABORt Resets the trigger system to the Idle state INITiate IMMediate Initiates the system for one trigger TRANsient ACQuire CONTinuous sets if the initate continuous to ON OFF TRIGger TRANsient SOURce Sets the trigger source IMMediate BUS COUNt Set if the trigger is controlled at every count NONE ALL ACQuire SOURce set the aquire trigger soure IMMediate SYNChronize BUS TTLTrg SYNChronize SOURce source Sets the trigger sync source IMM PHAS PHASe lt n gt Sets the synchronous phase reference STATe Return the trigger state IDLE ARM BUSY ABORt This command resets the transient trigger systems
103. er source the measurement calibration portions of such programs may have to be revised to support the new i series controller 8 4 Detecting i Series Controller Versions A control program can use the SYSTem VERSion command to determine the AC DC controller generation in use If the year code returned by this query equals 1990 the controller uses the old style command system and you should use the original i series programming commands listed in this chapter If the year code is 1995 the unit uses the new command syntax and the information in this programming manual applies i Series iX Series May 2002 143 California Instruments SCPI Programming Manual Rev L 8 5 Sample code 144 The following sample VB 5 0 code illustrates the use of the System Version command to handle both controller generations within a single application program The first two function are used by the sample code fragment Function SourceQuery ByVal cmd As String As String This function issues the command cmd and returns the response in a string If an error occurs an empty string is returned Dim X As Integer Dim sl As String Call Send 0 AC Adr cmd NLend If ibsta And EERR Then SI e xm Else Process response from AC Source sl Space 255 Call Receive 0 AC Adr s1 STOPend If ibsta And EERR Then sl ElseIf InStr sl Chr 10 Then sl Left sl InStr sl Chr 10 1 End If End If
104. er swing harmonics combination test The class must be selected prior to this command Query with min and max to find the range of the dwell time Command Syntax IEC413OSWing DWELI lt NRf gt Parameters Examples 1EC413 0SWing DWEL 10 Query Syntax IEC413 OSWing DWEL Returned Parameters lt NR1 gt 1EC413 0SWing PAUSe This command will set the pause time in seconds This is the time between tests when RUN ALL is selected The class must be selected prior to this command Query with min and max to find the range of the pause time Command Syntax IEC413 0SWing PAUSe lt NRf gt Parameters Examples 1EC413 0SWing PAUS 2 Query Syntax 1EC413 0SWing PAUS Returned Parameters lt NR1 gt 154 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 1EC413 SWEep LEVel This command will set the level for the harmonics sweep test The command will accept either one parameter or five parameters In case of one parameter the level will be set for the selected range only The IEC413 STATe must be in the off position and the user class is selected to accept the command Command Syntax IEC413 SWEep LEVel lt NRf gt lt NRf1 NRf4 gt Parameters 0 to 20 Examples 1EC413 SWE LEVel 10 Query Syntax 1EC413 SWE LEVel Returned Parameters lt NR2 gt 1EC413 SWEep DWELI This command will set the dwell time in seconds for the entire sweep range The class must be selected prior to this command Query wi
105. er with the Windows gpib 32 dll driver e Hewlett Packard HP 82335A GP IB Controller using the SICL driver library 3 1 Assigning the IEEE 488 Address The AC DC source address can be set remotely or localy All i and ix Series AC DC source are shipped with the IEEE 488 address set to 1 from the factory Once the address is set you can assign it inside programs Note that some PC IEEE 488 controller interface cards may require you to run a setup utility to assign the AC DC source address In most cases however the instrument address can be set from the application program For systems using the National Instruments driver the address of the IEEE 488 controller is specified in the software configuration program located in the Windows 95 control panel This is not the instrument address The controller often uses 0 as its own address so the use of 0 as an instrument address should be avoided The AC DC source address can be assigned dynamically in the application program see the National Instruments GP IB documentation supplied with the controller card 3 2 GPIB Controllers The HP 82335A and National Instruments GP IB are two popular GPIB controllers for the PC platform Each is briefly described here See the software documentation supplied with the controller card for more details 3 2 1 HP 82335A Driver The HP82335A supports the SICL instrument driver library which provides software compatabilty accross all HP GPIB controllers
106. ered oc tao 60 FUNCION IRE TII LR 61 TUNCUON SMODO RR TETTE 53 FUNCHONIGSING 20 a a a a aL 62 FUNCION MODE RO RET 62 G GPIB controllerS Lai its A A A E E aera Mag 15 180 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments H header pre 13 ieri B 13 Head A 9 OPIO iii A aia 10 HP 82335A P 15 I EE UD eL cum IM Tn 7 setting address oe ded ets tere E eae Rhe hut etel E DL Pe Ebert eda tu Pete ku theta bet rdiet 7 IEE E496 m En 6 INITIate ACUE 5 tecto Eee A A AA coUe dace et et eal 99 INETiate CON TIRLUOUS 5 zt eeu fabs lidia acc 99 INITiate IMMediate T RANsient eerca ina e cece centr ee ee ee tees mH mmm nnne hne EE EAA A 99 INSTrument COUP IS ias lila ibi 33 INSTr ment NSELOGGL pei eterne ee Manco lies e isa 33 INSTrument SELOcl tC MCN 34 L LIMIRGURRG Mts HE 63 BIMIEEREQUSFDGY c tent cette idee vectra tan ei A bho aate cbe DM bet joanne RE ed n A 63 LIMEPHA Imm 64 Blaue TM 63 LIST ICOU Em 67 eS TID WEL oad rm 67 LIST DWELIPROINIS Pcia da IO iii 67 LISTERREQUGNICY ii EE p eis Mice Re Eb D MERE NE QE 68 EIST EREQuUenCV POINIS iet daa iet teste ec te coo tet Ban eod HERI E HARE COH Ert RE ae ioa ied Per Phe cota 68 EIST EREQUSnCY LE Wicca ii ina linia 68 LIST FREQuency SEEW POI N SP cocos toe dali aa ie eben 68
107. ete when all commands sent before OPC have been executed This includes overlapped commands Most commands are sequential and are completed before the next command is executed Overlapped commands are executed in parallel with other commands Commands such as measurement and calibration are overlapped with subsequent commands sent to the AC DC power source The OPC command provides notification that all overlapped commands have been completed OPC does not prevent processing of subsequent commands but Bit 0 will not be set until all pending operations are completed The query causes the interface to place an ASCII 1 in the Output Queue when all pending operations are completed Command Syntax OPC Parameters None Query Syntax OPC Returned Parameters lt NR1 gt Related Commands TRIG WAI 106 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 5 6 OPT This query requests the AC source to identify any options that are installed Options are identified by a string keyword or a number A 0 indicates no options are installed If an option is installed its corresponding keyword will be returned Refer to the SYSTem CONFigure BYTE command on page 92 for more details Query Syntax OPT Returned Parameters lt CRD gt lt CRD gt 5 7 PSC This command controls the automatic clearing at power on of the Service Request Enable and the Standard Event Status Enable registers see chapter
108. etup was stored is the same If not the AC DC power source will attempt to recall a waveform that likely does not exist in the presently selected group of waveforms In this case an error message is generated and no switching of the waveform at the output of the source takes place A waveform can be selected for output using the FUNCtion SHAPe FUNCtion SHAPe TRIGgered or LIST SHAPe commands Command Syntax TRACe DATA lt waveform_name gt lt NRf gt lt NRf gt Parameters lt waveform_name gt lt amplitude gt Example TRAC flattop 0 1 0 3 0 7 0 7 0 3 0 1 Query Syntax none Related Commands TRAC DATA TRAC DEL FUNC SHAP 96 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments TRACe CATalog These commands return a list of defined waveform names The list includes both pre defined waveforms such as SlINusoid SQUare and CSINusoid as well as any user defined waveforms Query Syntax TRACe CATalog Returned Parameters lt SRD gt Example TRAC CAT Related Commands TRAC DATA TRAC DEL FUNC SHAP TRACe DEFine These commands define a new waveform with the name lt waveform_name gt and allocates storage for its data The waveform name can then be referenced by the TRACe DATA Command Syntax TRACe DEFine lt waveform_name gt Parameters lt waveform_name gt Example TRAC DEF flattop Related Commands TRAC DATA TRAC DEL FUNC SHAP TRACe DELete These commands delete the us
109. evice dependent error EXE Execution error OPC Operation complete PON Power on QYE Query error Command Syntax ESE lt NRf gt Parameters 0 255 Power On Value 0 see PSC command Example ESE 129 Query Syntax ESE Returned Parameters lt NR1 gt Register value Related Commands ESR STB 5 3 ESR This query reads the Standard Event Status Event register Reading the register clears it The bit configuration of this register is the same as the Standard Event Status Enable register see ESE See chapter 7for a detailed explanation of this register Query Syntax ESR Parameters None Returned Parameters lt NR1 gt Register value Related Commands CLS ESE ESE OPC i Series iX Series May 2002 105 California Instruments SCPI Programming Manual Rev L 5 4 IDN This query requests the source to identify itself lt returns the data in four fields separated by commas Query Syntax IDN Returned Parameters lt AARD gt Field Information California Instruments Manufacturer XXXXXX Model number and letter nnnnnn Serial number or 0 Rev xx xx Revision levels of firmware Example CALIFORNIA INSTRUMENTS 5001iX 1234 Rev 1 0 5 5 OPC This command causes the interface to set the OPC bit bit 0 of the Standard Event Status register when the source has completed all pending operations See ESE for the bit configuration of the Standard Event Status registers Pending operations are compl
110. f gt lt NRf gt Parameters Values limited to the frequency range Unit HZ Hertz Examples LIST FREQ 60 65 70 Query Syntax SOURce LIST FREQ Returned Parameters lt NR2 gt Related Commands LIST FREQ POIN LIST COUN LIST DWEL LIST STEP LIST FREQ SLEW LIST FREQuency POINts This query returns the number of points specified in LIST FREQuency Note that it returns only the total number of points not the point values Query Syntax SOURce LIST FREQ LEVel POINts Returned Parameters NR1 Example LIST FREQ POIN Related Commands LIST FREQ LIST FREQuency SLEW This command sets the sequence of frequency slew list points The frequency points are given in the command parameters which are separated by commas The order in which the points are entered determines the sequence in which they are output when a list is triggered Command Syntax SOURce LIST FREQuency SLEW lt NRf gt lt NRf gt Parameters 0 01 to 1E9 MAXimum Unit HZ Hertz per second Examples LIST FREQ SLEW 10 1E2 MAX Query Syntax SOURce LIST FREQ SLEW Returned Parameters lt NR3 gt Related Commands LIST FREQ SLEW POIN LIST COUN LIST DWEL LIST STEP LIST FREQ LIST FREQuency SLEW POINts This query returns the number of points specified in LIST FREQuency SLEW Note that it returns only the total number of points not the point values Query Syntax SOURce LIST FREQ SLEW POINts Returned Parameters lt NR1 gt Example LIST FR
111. f the output waveform such as the zero crossing point 0 or the positive peak 90 To synchronize the start of a transient with a particular phase angle of the internal phase reference you must select PHASE as the trigger source Use TRIGger SYNC SOURce PHASe To select the desired phase use TRIGger SYNC PHASe 90 which specifies the 90 degree phase angle of the internal phase reference as the point where the transient begins To turn off transient phase synchronization use TRIGger SYNC SOURce IMMediate When IMMediate is selected the trigger system goes directly to the Output state This is the parameter selected at RST May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 6 5 4 Generating Triggers Providing that you have specified the appropriate trigger source you can generate triggers as follows Single Triggers By sending one of the following over the IEEE 488 e INIT e TRG e a group execute trigger Continuous Triggers By sending the following commands over the IEEE 488 e TRIGger SOURce IMMediate e NITiate CONTinuous ON When the trigger system enters the Output Change state upon receipt of a trigger see Error Reference source not found the triggered functions are set to their programmed trigger levels When the triggered actions are completed the trigger system returns to the Idle state Specifying a Dwell Time for Each List Point Each voltage and fr
112. form or an execution error will be generated and the transient list will not execute Command Syntax SOURce LIST FUNCtion SHAPe lt shape gt lt shape gt Parameters depends on the available shape defined by the TRACe CAT Examples LIST FUNC SIN ARRAY TRIANG Query Syntax SOURce LIST FUNC SHAPe Returned Parameters lt CRD gt Related Commands LIST FUNC POIN LIST COUN LIST DWEL LIST STEP LIST VOLT LIST FUNCtion POINts This query returns the number of points specified in LIST FUNC Note that it returns only the total number of points not the point values Query Syntax SOURce LIST VOLTage POINts Returned Parameters lt NR1 gt Example LIST VOLT POIN Related Commands LIST VOLT i Series iX Series May 2002 69 California Instruments SCPI Programming Manual Rev L 4 15 5 List Repeat LIST REPeat COUNt This command sets the sequence of repeat values for each data list point The repeat values are given in the command parameters which are separated by commas The order in which the points are entered determines the sequence in which they are repeated when a list is triggered Command Syntax SOURce LIST REPeat COUNt lt NRf gt lt NRf gt Parameters 0 to 99 Examples LIST REPeat 1 0 5 Query Syntax SOURce LIST REPeat Returned Parameters lt NR1 gt Related Commands LIST PHAS POIN LIST COUN LIST DWEL LIST STEP LIST REPeat POINts This query returns the number of points specified in
113. ges each with an associated dwell time or paced by triggers Fixed turns off the transient functions which means that only the IMMediate values are used as the data source for a particular function After a RST or Device Clear command all functions are set to FIXed which turns off the transient functions 118 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 6 4 1 Transient System Model Figure 6 1 shows a model of the transient system The figure shows the transient modes and the output waveform that is generated in each mode When a trigger is received in step or pulse modes the triggered functions are set from their IMMediate to their TRIGgered value In Step mode the triggered value becomes the immediate value In Pulse mode the functions return to their immediate value during the low portion of the pulse If there are no further pulses the immediate value remains in effect In List mode the functions remain at the last list value at the completion of the list You can not mix STEP PULSe and LIST modes among functions IMMediate Fewegt 31 7347 77 7737734777ER773 773777ER 773773777 7732773077467 Triggers ignored output always set to FIXED mode immediate command levels TRIGered level IMMediate levet Agp wA At trigger the triggered level becomes the new STEP mode immediate level TRIGered level IMMediate leye R p v At trigger the triggered level is act
114. hase A B or C using numeric references SELect A B C Selects phase A B or C using character references INSTrument COUPle This command may be used to couple all output phase in three phase mode When the phases are coupled commands issues subsequently affect all three phases This allows the output voltage to be programmed for all three phases using a single command and without the need to select each phase individually When uncoupled commands issued must be preceeded by the PHAS NSEL command and will only affect the selected command Available parameters are ALL to couple all phases and NONE to uncouple all phases In single phase mode the INST COUP commands are ignored Command Syntax INSTrument COUPle Parameters ALL NONE Examples INST COUP ALL Query Syntax INST COUP Returned Parameters lt CRD gt Related Commands INST NSEL INST SEL INSTrument NSELect This command may be used select a specific output phase in three phase mode using a numeric reference A 1 denotes phase A a 2 denotes phase B and a 3 denotes Phase C As long as the instrument state is coupled however programming command will affect all phases As soon as the INST COUP NONE command is issued the last selected phase becomes selected To immediately change the output of a single phase only make sure the instrument state is uncoupled when issuing the INST NSEL command Note that the MEASuse and FETCh subsystems are not affected by the INST COUP command an
115. he root at the top Some are single commands while others are grouped within specific subsystems Refer to appendix A for the AC source SCPI tree structure May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 2 2 2 Types of SCPI Messages There are two types of SCPI messages program and response e A program message consists of one or more properly formatted SCPI commands sent from the controller to the AC DC source The message which may be sent at any time requests the AC DC source to perform some action e A response message consists of data in a specific SCPI format sent from the AC source to the controller The AC source sends the message only when commanded by a program message called a query 2 2 3 The SCPI Command Tree As previously explained the basic SCPI communication method involves sending one or more properly formatted commands from the SCPI command tree to the instrument as program messages The following figure shows a portion of a subsystem command tree from which you access the commands located along the various paths you can see the complete tree in appendix A STATe PON TTLT s STATE SOURCe PETIT REAL REACtive STATus PESE EVEN CON Dition Figure 2 1 Partial Command Tree The Root Level Note the location of the ROOT node at the top of the tree Commands at the root level are at the top level of the command tree The SCPI inte
116. he Nth harmonic of current THD Returns of total harmonic distortion of current MEASure CURRent AC FETCh CURRent AC Phase Selectable These queries return the ac component rms current being sourced at the output terminals if the voltage mode is set for AC only and will return the AC plus the DC component if the voltage mode is set for ACDC Query Syntax MEASure SCALar CURRent AC FETCh SCALar CURRent AC Parameters None Examples MEAS CURR AC FETC CURR Returned Parameters lt NR2 gt Related Commands INST NSEL i Series iX Series May 2002 43 California Instruments SCPI Programming Manual Rev L MEASure CURRent DC FETCh CURRent DC Phase Selectable These queries return the de component of the output current being sourced at the output terminals This command should be used when the voltage mode of the source is set for DC Query Syntax MEASure SCALar CURRent DC FETCh SCALar CURRent DC Parameters None Examples MEAS CURR FETC CURR Returned Parameters lt NR2 gt Related Commands INST NSEL MEASure CURRent AMPLitude MAXimum FETCh CURRent AMPLitude MAXimum Phase Selectable These queries return and hold the absolute value of the peak current as sampled over one measurement acquisition of 4096 data points The returned value will be updated only when a larger value is found To update the value with every measurement a peak current reset commnad should be used prior to the peak measurem
117. he original command or query Subsystem commands Subsystem commands are specific to AC DC source functions They can be a single command or a group of commands The groups are comprised of commands that extend one or more levels below the root The description of common commands follows the description of the subsystem commands The subsystem command groups are listed in alphabetical order and the commands within each subsystem are grouped alphabetically under the subsystem Commands followed by a question mark take only the query form When commands take both the command and query form this is noted in the syntax descriptions IEEE 488 2 common commands Common commands are defined by the IEEE 488 2 standard and are described in chapter 5 of this manual i Series iX Series May 2002 19 California Instruments 4 2 Calibration Subsystem SCPI Programming Manual Rev L The commands in this subsystem allow you to do the following e Enable and disable the calibration mode e Calibrate the measured current and measured voltage and store new calibration in nonvolatile memory e Calibrate the current and voltage output levels and store new calibration constants in nonvolatile memory e Calibrate the output impedance of the AC source and store new calibration constants in nonvolatile memory Subsystem Syntax CALibrate PASSword MEASure CURRent AMBient AC FSCale DC FSCale ZERO TEMPeratu
118. he right of the least significant digit Example 273 lt NR2 gt Digits with an explicit decimal point Example 0273 lt NR3 gt Digits with an explicit decimal point and an exponent Example 2 73E 2 lt Bool gt Boolean Data Example 0 1 or ON OFF Listening Formats lt Nrf gt Extended format that includes lt NR1 gt lt NR2 gt and lt NR3 gt Examples 273 273 0 2 73E2 lt Nrf gt Expanded decimal format that includes lt Nrf gt and MIN MAX Examples 273 273 0 2 73E2 MAX MIN and MAX are the minimum and maximum limit values that are implicit in the range specification for the parameter Bool Boolean Data Example 0 1 2 5 2 Character Data Character strings returned by query statements may take either of the following forms depending on the length of the returned string lt CRD gt Character Response Data Permits the return of character strings lt AARD gt Arbitrary ASCII Response Data Permits the return of undelimited 7 bit ASCII This data type has an implied message terminator lt SRD gt String Response Data Returns string parameters enclosed in double quotes 4 0 May 2002 iSeres iX Series SCPI Programming Manual Rev L California Instruments 3 System Considerations This chapter addresses some system issues concerning programming These are AC DC Source addressing and the use of the following IEEE 488 system interface controllers e National Instruments AT GPIB TNT controll
119. i Series iX Series May 2002 181 California Instruments SCPI Programming Manual Rev L MEASure CURRent AMPLitude RESOt oocccoccccccccccocncocnconcnnnnonnconnnncnoncnoncnnnnnnnnnnnnnonnconnnnnnnannnnnnnons 44 MEAS ure CGURRenEGRESITaCtOr iiie i ide ea onn ni ta ema nado n RET A deta EY RR E RR RNV a aa ER Ka ains 45 MEASure CURRent HARMonic PHASe sessessesssssssssssesees ee eene nene serene seen rese N 46 MEASure CURRent HARMonic THD esssessssssssesseeeee nene nennen nenne sensere se rese sre serere 46 MEASure CURRentEHARMOnDIG 2 rte A A A sue a viser re dae DR eee ydg dnt 45 MEAS re GURRO6HNE cis ata etr entis te eorr enda da db cantae tan ale re ETE EE ae e Ext sates LERRA 44 MEASUure EREGQUetiIGy uuo rns A ever peor ouem 47 MEASure POWer AG APPAaArent crescere terere tena CP rre paene e Pe ere te Rhe diia 48 MEASure POWeCAG PEAGIOE itecto eve Hei ve vite e vetat d dE vec Yd du OVE Pra TES ead E VA TQ EYE ia 49 MEASUre POWet AG esc edite e e A ERREUR ER ERR RR GR OO ORE SERES eye deu PERS Eh RR Mag 48 MEASure POWer DG icti boe ev exea e A vane bara nera dedu a a 49 MEASure VOLTage AG iot rai 50 MEASure VOLTage HARMonic PHASe sssssssssssesssseee eene eene nennen enhn enne nennen 51 MEASure VOLTage HARMonic THD essssesssssssessssssee eene nennen hehehe enhn nen nnn nnne 52 MEASure VOLTage HARMOhRIC canos raunin nE AN ci e da dup aed asi ileal 51 MEASure VO
120. iDrate PASSWOIQ xd est comete cuore atu A nei eee 22 CALibrate SOURce REACtive ZERO Nrfe sssssssssssssssessee nennen nennen nnns ner nr nnns 32 CALibrate SOURce REACtive FSCale Nrf4 sseessessseeeee mem eene 32 CALibrate SOURce REAL ZERO Nrfes sssssssssssessssseneeee nennen h nn enses nnne rtr nnns 32 CALibrate SOURceJ REAL FSCale Nrf amp ccccccececcceeeeeeeeeeeeceaeeaeeeeeeeeeeseaaaaeeeeeeeeeeeaeeaneneeeees 32 CALibrate SOURce VOLTage DC HRANge ZERO NRf eeessssssesee eene 31 CALibrate SOURce VOLTage DC HRANge FSCale POSitive lt NRf gt eeeeesssss 30 CALibrate SOURce VOL Tage DC HRANge FSCale NEGative lt NRf gt esee 31 CALibrate SOURce VOLTage DC LRANge ZERO lt NRf gt eessssseee mee 30 CALibrate SOURce VOLTage DC LRANge FSCale NEGative lt NRf gt oooocccocococccononnccnnnnnnccnnnnnnnos 30 CALibrate SOURce VOLTage DC LRANge FSCale POSitive NRf4 eeeeeeesessss 30 CALibrate SOURce VOLTage AC HRANge HFRequency NHRf eese 29 CALibrate SOURce VOLTage AC HRANge ZERO NRf eesssssssseeeee nn 29 CALibrate SOURce VOLTage AC HRANge FSCale NHfe seee 28 CALibrate SOURce VOLTage AC LRANge HFRequency lt NRft gt coooccccccoocccononnccconcnnconnnnnnconinnnnnns 28 i Series iX Series May 2002 179 California Inst
121. idth are affected when one parameter is set in a single program message if two or three parameters are set in a single message there sequence will define how they will be affected Command Syntax SOURce PULSe HOLD lt parameter gt Parameters WIDTh DCYCle RST Value WIDTh Examples PULS HOLD DCYC Query Syntax SOURce PULSe HOLD Returned Parameters lt CRD gt Related Commands PULS COUN PULS DCYC PULS PER PULS WIDT May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments DCYCle PERiod WIDTh y Sets WIDTh If WIDTh lt PERiod recalculates DCYCle otherwise recalculates the PERiod and DCYCle ie Sets PERiod If WIDTh lt PERiod recalculates DCYCle otherwise recalculates the PERiod and DCYCle Sets DCYCle and recalculates PERiod Table 4 1 PULSe HOLD WIDTh parameters LL Sas wibthandrecatatestie PERod sis Ped and ecacuiates te WIDTR Tas Dv and recatuiates PERS Table 4 2 PULSe HOLD DCYCle parameters PULSe DCYCle This command sets the duty cycle of the triggered output pulse The duty cycle units are specified in percent Command Syntax SOURce PULSe DCYCle lt NRf gt Parameters 0 to 100 MINimum MAXimum RST Value 50 Examples PULS DCYC 75 PULS DCYC MAX Query Syntax SOURce PULSe DCYCle Returned Parameters lt NR2 gt Related Commands PULS COUN PULS PER PULS WIDT PULSe PERiod This command sets the period of a triggered output tr
122. in PC AT style serial port is supplied with the source If you are unable to locate this cable you need to use a cable that conforms to the wiring diagram shown in Figure 3 1 3 3 1 Serial Communication Test Program The following sample program written in GW BASIC can be used to check communication to the i Series source over the RS232C serial interface California Instruments i ix Series RS232C c This 1995 Copyright California Instruments program is for demonstration purposes Communication Demo Program All Rights Reserved only and is not to be used commercial for any application OPEN COM2 COM1 COM3 or COM4 The input and output buffers are set to 2K each although Replace with for Com port used this is not required for most operations OPE CLS PRINT COM2 9600 n 8 1 BIN TB2048 RB2048 FOR RANDOM AS 1 kk kk INTERACTIVE MODE ter and endless loop to accept user entered commands DO INPUT Enter AC Source Command IF cmd lt gt QUIT AND cmd lt gt PRINT 1 cmd CHRS 10 IF INSTR cmd THEN PRINT 1 CHR 4 LINE INPUT T PRINT response quit to exit 5 cmd quit THEN response END IF Check for PRINT 1 PRINT 1 CHR 4 LINE INPUT 1 esr VAL esr AND 60 AND 4 THEN Errors after each command is issued ESR CHRS 10 esr IF esr PRINT END IF Query Error Reported by AC Source AND 8 TH
123. int determines the minimum time that the output remains at that point If a trigger is received before the previous dwell time completes the trigger is ignored Therefore to ensure that no triggers are lost program the dwell time minimum Step 6 Use the transient trigger system to trigger the list This is described in detail under Triggering Output Changes May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 6 5 Triggering Output Changes The following transient trigger sources can be selected IMMediate Generates a trigger when the trigger system is initiated BUS Selects IEEE 488 bus triggers 6 5 1 Trigger System Model Figure 6 2 is a model of the trigger system The rectangular boxes represent states The arrows show the transitions between states These are labeled with the input or event that causes the transition to occur IDLE STATE INIT IMM INITIATED STATE INIT CONT ON OR LIST NOT COMPLETE amp TRIGGER RECEIVED LIST STEP ONCE WAIT FOR SYNC STATE SYNC COMPLETED OUTPUT OUTPUT OUTPUT STEP PULSE LIST CHANGES CHANGES CHANGES LIST STEP ONCE Figure 6 2 Transient Trigger System Model i Series iX Series May 2002 123 California Instruments SCPI Programming Manual Rev L 6 5 2 Initiating the Output Trigger System When the source is turned on the trigger subsystem is in the idle state In this state the trigger subsystem ignores all triggers Sending the
124. itten properly the same test program can be made to operate with either generation i series Programs originally developed for the first generation i series controller may have to be modified slightly when used with this new generation controller version This chapter illustrates the few command differences and show sample code on how to handle either version i series The ix series is not affected by these differences so you can skip this chapter if you have an ix series AC DC power source 8 2 Trigger Subsystem The trigger subsystem has been modified by eliminating the ARM root level command and replacing it with the TRIGger TRANsient IMMediate SOURce command to further distinguish between the trigger mode and trigger source command sequences the SYNChronize keyword was added to the TRIGger command tree The old and new trigger subsystems are shown in the table below First generation command New generation command changes ABORt ABORt INITiate IMMediate INIT IMMediate TRANsient optional keyword INITiate CONTinuous INITiate CONTinuous lt ON OFF gt lt ON OFF gt ARM SOURce TRIGger TRANsient SOURce changed lt IMMediate BUS gt lt IMMediate BUS gt TRIGger SOURce TRIGger SYNChronize SOURce changed lt IMMediate PHAS gt lt IMM PHAS gt TRIGger PHASe lt n gt TRIGger SYNChronize PHASe lt n gt changed TRIGger COUNt TRIGger TRANsient COUNt optional lt NONE ALL gt lt NONE ALL gt keyword TRIGger STATe
125. ive during the PULSE mode pulse width portion of the pulse waveform IM M ediate level UN RA At trigger the list starts When list cornpletes LIST mode output returns to immediate level stepo Trigger List Applied Complete Figure 6 1 Output transient system i Series iX Series May 2002 119 California Instruments SCPI Programming Manual Rev L 6 4 2 Step and Pulse Transients 120 Step 1 Set the functions that you do not want to generate transients to FIXed mode A convenient way to do this is with the RST command Then set the mode of the function that will generate the transient to STEP or PULSe as required For example to enable the voltage function to generate a single triggered output voltage change use RST VOLTage MODE STEP Step 2 Set the triggered level of the function that will generate the transient For example if the previously programmed voltage function is going to step the output voltage amplitude to 135 volts upon reciept of a trigger use VOLTage TRIGger 135 Step 3 Select the trigger source that will generate the trigger For example to select the Immediate use TRIGger SOURce IMM Trigger sources are discussed in detail under Triggering Output Changes Step 4 Only perform this step if you have selected PULSE as the transient mode in Step 1 Specify the pulse count the pulse period and then either the duty cycle or the pulse width using the following
126. l FREQuency TRANsient This command applies to Group 1 only for the Eurocae standard Refer to Table 12 in the User Manual Command Syntax Parameters Examples Query Syntax Returned Parameters DO160 CATegory DO160 ABNormal FREQuency TRANsient none DO160 ABN FREQ TRAN none none This command will select the proper equipment category in DC mode only It has no effect in AC mode Command Syntax Parameters Examples Query Syntax DO160 STANdard DO160 CATegory lt A B Z gt DO160 CAT B DO160 CAT This command will select the proper standard The standard selection must be verified prior to any test selection Airbus standard is the same as the Eurocae standard with the exception of nominal voltage modulation Command Syntax Parameters Examples Query Syntax DO160 GROup This command is used to select equipment Group 1 2 or 3 It is only valid with the EUROCAE 166 standard Command Syntax Parameters Examples Query Syntax DO160 STANdard lt RTCA EURocae AlRBus gt DO160 STAN RTCA DO160 STAN DO160 GROup lt NR1 gt 1 through 3 DO160 GROup 2 DO160 GRO May 2002 i Series iX Series SCPI Programming Manual Rev L 9 5 MIL STD 704E California Instruments MIL704 tests can be executed remotely from the GPIB or RS232 using the following command tree AC SYSTEM MIL 704 VERSion DJE SSTate VOLT LEVel MODulation UNBalance PHASe DIFFerence WAVeform
127. les IEC411 VAR HOLD VOLT 70 Query Syntax 1EC411 VAR HOLD VOLT Returned Parameters lt NR2 gt IEC411 VARiants FALL TIME This command will set the variant fall time in seconds Refer to Figure 9 13 in the User Manual Command Syntax 1EC411 VARiants FALL TIME lt NRf gt Parameters lt seconds gt Examples 1EC411 VAR FALL 0 5 Query Syntax 1EC411 VAR FALL Returned Parameters lt NR2 gt IEC411 VARiants RISE TIME This command will set the variant rise time in seconds Refer to Figure 9 13 in the User Manual Command Syntax 1EC411 VARiants RISE TIME lt NRf gt Parameters lt seconds gt Examples 1EC411 VAR RISE TIME 0 25 Query Syntax 1EC411 VAR RISE TIME Returned Parameters lt NR2 gt i Series iX Series May 2002 149 California Instruments SCPI Programming Manual Rev L 9 3 IEC 1000 4 13 9 3 1 IEC 1000 4 13 Subsystem 150 The following are the remote commands set for IEC1000 4 13 The ABORt command will terminate the test in progress at any time Test completion can be checked using the OPC query if the OPC 1 command is issued immediately after an IEC1000 4 13 RUN command Upon completion of the test run OPC will return a 1 This may be relevant for ATE applications in view of long test times 1EC413 STATe Enable or disable the IEC test RUN Run the IEC test PAUSe Pause test CLASs lt 2 3 USER gt INDVidual HARMonics NUMber Set the IEC harmonic number IHARmonics
128. limit the output voltage amplitude is reduced until the rms current is within the limit if the current protection mode is disabled and the current protection delay time is expired The CL bit of the questionable status register indicates that the current limit control loop is active If the current protection state is programmed on the output latches into a disabled state when current limiting occurs and the current protection delay time is expired Note that the CURRent command is coupled with the voL Tage RANGe and SOURce MODE commands This means that the maximum current limit that can be programmed at a given time depends on the voltage range setting and the voltage mode DC or AC in which the unit is presently operating Command Syntax SOURce CURRent LEVel IMMediate AMPLitude lt NRf gt Parameters lt NR2 gt Unit A rms amperes RST Defined by the PONSetup CURRent Examples CURR 5 CURR LEV 5 Query Syntax SOURce CURReni LE Vel IMMediate AMPLitude Returned Parameters lt NR2 gt Related Commands CURR PROT STAT VOLT RANG 56 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments CURRent PROTection STATe This command selects overcurrent OC protection mode If the overcurrent protection function is enabled and the load current exceeds the programmed level then the output is disabled after a time delay specified by the CURRent PROTection DELay and the Questionable Con
129. meters BYPassed ENGaged RST Value BYPassed Examples OUTP OMNI ENG Query Syntax OUTPut OMNI STATe Returned Parameters BYP ENG Related Commands None i Series iX Series May 2002 169 California Instruments SCPI Programming Manual Rev L Appendix A SCPI Command tree The following command three contains all the supported commands for the ix series AC DC source Some command listed may not apply to the i series version Check the relevant reference section for specific details on using each of these commands ABORt CALibrate denies IMPedance pda esta REAL arena wee FSCale sau bbtad obs ded ahe 2s ZERO uie mS REACtive eer ere wee FSCale eM mm ZERO padanie MEASURE AS CURRent eee eee see AMBient RAN AC Um FSCALe EET E DC O FSCALe ET REM ZERO EEE TEATIS TEMP mE AC o aor dote FSCALE e a DC EATE FSCALe nM usage ZERO Palais na VOLTage So Rena AMBient diritto ix arte AC o ai FSCALe do loa 9 ace Riis DC O M FSCALe r ZERO AO TEMP a O Ho utu AC e d dA UE FSCALE EA ETAT DC quic EEEE E T FSCALe RM ZERO e PASSWORD PETERS SOURce ERR PHASe Dalia ieu VOLTage now Me e AC ETET LRANGe o E FSCale boedo aa ZERO IMEEM HFRequency nneec m HRANGe ET FSCale ZERO 170 May 2002 i Series iX Series SCPI Programming Manual Rev L I X eene oHFHRequency VOR dor beste ert DC Vero ea ed eas eene LRANGO Donoso e eese iFSOCale on eese eii PO
130. mmands X series only This subsystem programs the output waveform of the AC DC power source Subsystem Syntax TRACe CATalog Return list of defined waveforms DATA waveform names n lt n gt Assign values to a waveform DEFine waveform name waveform name 1024 Create and name new waveform DELete NAME lt waveform_name gt Delete waveform to free its memory TRACe These commands set the values of a user defined waveform table The first parameter is the name of a waveform that was previously defined with TRACe DEFine Following the name are 1024 data points that define the relative amplitudes of exactly one cycle of the waveform The first data point defines the relative amplitude that will be output at O degrees phase reference An error will occur if exactly 1024 data points are not sent with the command Data points can be in any arbitrary units The AC source scales the data to an internal format that removes the dc component and ensures that the correct ac rms voltage is output when the waveform is selected You cannot use the predefined names as names for your waveform Waveform data is stored in nonvolatile memory and is retained when input power is removed Up to 50 user defined waveforms may be created and stored per group The RST and RCL commands have no effect on user defined waveforms Be careful when using the RCL command to make sure the waveform group that was selected when the front panel s
131. ms volts The first value returned is the dc component the second value is the fundamental frequency and so on up to the 50th harmonic Harmonic orders can be measured up to the fundamental measurement bandwidth of the measurement system which is 19 53KHz for a single pahse system and 6 51KHz for three phase system Thus the maximum harmonic that can be measured is dependent on the output frequency Any harmonics that represent frequencies greater than above frequencies are returned as 0 Query Syntax MEASure ARRay VOLTage HARMonic AMPLitude lt nrf gt FETCh ARRay VOLTage HARMonic AMPLitude lt nrf gt Parameters None Examples MEAS ARR VOLT HARM FETC ARR VOLT HARM Returned Parameters 51 NR2 values Related Commands INST NSEL i Series iX Series May 2002 41 California Instruments SCPI Programming Manual Rev L MEASure ARRay VOLTage HARMonic PHASe lt nrf gt FETCh ARRay VOLTage HARMonic PHASe lt nrf gt Phase Selectable These queries return an array of harmonic phases of output voltage in degrees referenced to the positive zero crossing of the fundamental component The fundamental component will return a value relative to the fundamental voltage for phase A Phase A will return a zero value The first value returned is the dc component always returned as O degrees phase the second value is the fundamental frequency and so on up to the 50th harmonic Harmonic orders can be measured up to the fundamental mea
132. ndition register This is a read only register which holds the real time unlatched operational status of the AC DC power source Query Syntax STATus OPERation CONDition Parameters None Examples STAT OPER COND Returned Parameters lt NR1 gt Register value STATus OPERation ENABle This command and its query set and read the value of the Operation Enable register This register is a mask for enabling specific bits from the Operation Event register to set the operation summary bit OPER of the Status Byte register The operation summary bit is the logical OR of all enabled Operation Event register bits Command Syntax STATus OPERation ENABle lt NRf gt Parameters 0 to 32727 Default Value 0 Examples STAT OPER ENAB 32 STAT OPER ENAB 1 Query Syntax STATus OPERation ENABle Returned Parameters lt NR1 gt Register value Related Commands STAT OPER EVEN i Series iX Series May 2002 89 California Instruments SCPI Programming Manual Rev L Bit Configuration of Questionable Registers Bit 10 Position PATA ta used wwa E eee VF over or under voltage protection has tripped CF over current protection has tripped OT over temperature protection has tripped RI remote inhibit is active CL rms current limit is active STATus QUEStionable EVENt QUEStionablef EVENt This query returns the value of the Questionable Event register The Event register is a read only register which holds latches all events R
133. ns power factor DC Return the dc component of power measurement MEASure POWer AC FETCh POWer AC Phase Selectable This query returns the in phase component of power being sourced at the output terminals in kilo watts KW Query Syntax MEASure SCALar POWer AC REAL Parameters None Examples MEAS POW AC Returned Parameters lt NR2 gt Related Commands None MEASure POWer AC APParent FETCh POWer AC APParent Phase Selectable This query returns the apparent power being sourced at the output terminals in kilo volt amperes KVA Query Syntax MEASure SCALar POWer AC APParent Parameters None Examples MEAS POW AC APP Returned Parameters lt NR2 gt Related Commands None 48 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments MEASure POWer AC PFACtor FETCh POWer AC PFACtor Phase Selectable This query returns the output power factor The power factor is computed as power factor real power apparent power Query Syntax MEASure SCALar POW er AC PFACtor Parameters None Examples MEAS POW PFAC Returned Parameters lt NR2 gt Related Commands None MEASure POWer DC FETCh POWer DC Phase Selectable This query returns the DC component of the power being sourced at the output terminals in kilo watts KW The query should be used only when the voltage mode is set for DC or an error message will be generated Query Syntax MEASure SCALar POWe
134. ock offset to start with Number of blocks is from 1 to 16 offset is from 0 to 15 Examples MEAS ARR CURR FETC ARR CURR 4 0 Returned Parameters 4096 data points in arbitrary block data format Related Commands INST NSEL SENS SWE 36 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments MEASure ARRay CURRent HARMonic lt nrf gt FETCh ARRay CURRent HARMonic lt nrf gt Phase Selectable These queries return an array of harmonic amplitudes of output current in rms amperes The first value returned is the dc component the second value is the fundamental frequency and so on up to the 50th harmonic Harmonic orders can be measured up to the fundamental measurement bandwidth of the measurement system which is 19 531 kHz for a single phase System and 6 510kHz for a three phase system Thus the maximum harmonic that can be measured is dependent on the output frequency Any harmonics that represent frequencies greater than the above frequencies are returned as 0 The total number of harmonic values returned may be specified as a parameter to the query command Only harmonic data values from O dc to the number specified will be returned This capability may be used to reduce the transfer time by avoiding the transfer of unwanted data If the fundamental frequency is programmed to 400 Hz for example there is no need to query harmonics above number Query Syntax MEASure ARRay CURRent HARMonic AMPLitude
135. oltage CALibrate MEASure VOLTage AMBient AC FSCale lt NRf gt This command initiates the calibration of the rms voltage measurement at full scale and at ambient temperature Command Syntax CALibrate MEASure VOLTage AMBient AC FSCale Parameters lt NRf gt actual rms output voltage measured with external device Examples CAL MEAS VOLT 120 Query Syntax CALibrate MEASure VOL Tage Returned Parameters lt NR2 gt value range 1000 to 1000 Related Commands CALibrate MEASure VOLTage TEMPerature AC FSCale CALibrate MEASure VOLTage AMBient DC FSCale lt NRf gt This command initiates the calibration of the DC voltage measurement at full scale and at ambient temperature Command Syntax CALibrate MEASure VOLTage AMBient DC FSCale Parameters lt NRf gt actual DC output voltage measured with external device Examples CAL MEAS VOLT DC 120 Query Syntax CALibrate MEASure VOLTage DC Returned Parameters lt NR2 gt value range 1000 to 1000 Related Commands CALibrate MEASure VOLTage TEMPerature DC FSCale CALibrate MEASure VOLTage AMBient DC ZERO lt NRf gt This command initiates the offset adjustment of the DC voltage measurement at ambient temperature Command Syntax CALibrate MEASure VOLTage AMBient DC ZERO Parameters lt NRf gt 0 or desired offset value Examples CAL MEAS VOLT DC ZERO 0 Query Syntax CALibrate MEASure VOLT DC ZERO Returned Parameters lt NR1 gt value range 127 to 128
136. on Commands Common commands begin with an and consist of three letters command or three letters and a query Common commands are defined by the IEEE 488 2 standard to perform some common interface functions The AC DC power source responds to the required common commands that control status reporting synchronization and internal operations It also responds to optional common commands that control triggers and stored operating parameters Common commands and queries are listed alphabetically If a command has a corresponding query that simply returns the data or status specified by the command then both command and query are included under the explanation for the command If a query does not have a corresponding command or is functionally different from the command then the query is listed separately The description for each common command or query specifies any status registers affected Refer to chapter 7 for details on how to read specific register bits and use the information that they return Common Commands Syntax CLS ESE n ESE ESR IDN OPC OPC OPT PSC bool PSC RCL n RST SAV n SRE n SRE STB TRG WAI i Series iX Series Clear status Standard event status enable Return standard event status enable Return event status register Return instrument identification Enable operation complete bit in ESR Return a 1 when operation complete Return option number P
137. oups as defined in the IEEE 488 2 Standard Digital Interface for Programmable Instrumentation The bit configuration is shown in Table 7 2 Command Action STB reads the data in the register but does not clear it returns MSS in bit 6 serial poll reads and clears the data in the register returns RQS in bit 6 The MSS Bit This is a real time unlatched summary of all Status Byte register bits that are enabled by the Service Request Enable register MSS is set whenever the AC source has one or more reasons for requesting service STB reads the MSS in bit position 6 of the response but does not clear any of the bits in the Status Byte register The RGS Bit The RQS bit is a latched version of the MSS bit Whenever the AC source requests service it sets the SRQ interrupt line true and latches RQS into bit 6 of the Status Byte register When the controller does a serial poll RQS is cleared inside the register and returned in bit position 6 of the response The remaining bits of the Status Byte register are not disturbed The MAV bit and Output Queue The Output Queue is a first in first out FIFO data register that stores AC source to controller messages until the controller reads them Whenever the queue holds one or more bytes it sets the MAV bit bit 4 of the Status byte register 138 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 7 6 Examples The following section contains examples of
138. ower on status clear state set reset Return power on status clear state Recall instrument state Reset Save instrument state Set service request enable register Return service request enable register Return status byte Trigger Hold off bus until all device commands done May 2002 103 California Instruments SCPI Programming Manual Rev L 5 1 CLS This command clears the following registers see chapter 7 for descriptions of all status registers Standard Event Status Operation Status Event Questionable Status Event Status Byte Error Queue Command Syntax CLS Parameters None 104 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 5 2 ESE This command programs the Standard Event Status Enable register bits The programming determines which events of the Standard Event Status Event register see ESR are allowed to set the ESB Event Summary Bit of the Status Byte register A 1 in the bit position enables the corresponding event All of the enabled events of the Standard Event Status Event Register are logically ORed to cause the Event Summary Bit ESB of the Status Byte Register to be set See for descriptions of the Standard Event Status registers The query reads the Standard Event Status Enable register Bit Configuration of Standard Event Status Enable id Bit Position EEE AE ERE Bit Name EXE tee 32 TS HET iva ANA CME Command error DDE D
139. ples 1EC413 RUN ALL Query Syntax 1EC413 RUN Returned Parameters group IEC413 PAUSe This command will cause the test to pause at the time the command is issued Command Syntax IEC413 PAUSe boolean Parameters ON OFF 1 0 Examples IEC413 PAUS ON Query Syntax 1EC413 PAUS Returned Parameters boolean IEC413 CLASs This command will the select the class Command Syntax IEC413 CLASs class Parameters 2 3 USER Examples IEC413 CLAS 3 Query Syntax IEC413 CLAS Returned Parameters class i Series iX Series May 2002 151 California Instruments SCPI Programming Manual Rev L IEC413 INDVidual HARMonics NUMBer This command is used to set the desired harmonic number when the IEC413 RUN POINt is used Command Syntax IEC413 INDVidual HARMonics NUMBer lt NRf gt Parameters 2 to 40 Examples 1EC413 INDV HARM 3 Query Syntax IEC413 INDV HARM Returned Parameters lt NR1 gt IEC413 INDVidual IHARMonics FREQuency This command is used to set the desired Interharmonic frequency when the IEC413 RUN POINt is used Command Syntax IEC413 INDVidual IHARMonics FREQuency lt NRf gt Parameters within frequency range and step size Examples IEC413 INDV IHARM 400 Query Syntax IEC413 INDV IHARM Returned Parameters lt NR1 gt IEC413 INDVidual SWEep RANGe This command is used to set the desired Interharmonic frequency range for the sweep group or interharmonics group when the IEC4
140. plished using the PSC command Once set this condition is retained in non volatile memory and will be recalled when power is applied to the AC DC source See paragraph 5 7 for details on the use of the PSC command 7 2 Operation Status Group The Operation Status group records signals that occur during normal operation The group consists of the following registers Condition STAT OPER COND A register that holds real time status of the circuits being monitored It is a read only register Event STAT OPER EVEN A register that latches any condition It is a read only register that is cleared when read Enable STAT OPER ENAB lt n gt A register that functions as a mask for enabling specific bits from the Event register It is a read write register Table 7 1 Operation Status Register The outputs of the Operation Status register group are logically ORed into the OPER ation summary bit 7 of the Status Byte register 134 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments Ke QUESTIONABLE STATUS 3 ov CONDITION EVENT ENABLE oO 1 OCP 2 u n 3 TEMP 4 n u 5 8 n u RI LOGICAL OR n u n u CL rms n u 14 15 I 1 identical register set for each phase j CONDITION EVENT ENABLE OCP u n TEMP n u nu 5 RI n u __10 o 1 2 3 4 8 9 LOGICAL OR n u 11 CL rms 12 n u 13 15 SERVICE STANDARD EVENT STATUS event ENABLE D gt ST
141. pond to the query before processing any subsequent command WAI can be aborted by sending any other command after the WAI command Command Syntax WAI Parameters None Related Commands OPC i Series iX Series May 2002 111 California Instruments SCPI Programming Manual Rev L 6 Programming Examples 6 1 Introduction This chapter contains examples on how to program the AC DC source Simple examples show you how to program Output functions such as voltage frequency and phase The transient waveform generator Internal and external triggers Measurement functions User defined waveforms The status and protection functions The examples in this chapter use generic SCPI commands See chapter 2 for information about encoding the commands as language strings Where appropriate optional commands are shown for clarity in the examples May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 6 2 Programming the Output 6 2 1 Power on Initialization When the AC source is first turned on it wakes up with the output state defined by the PONSetup In this state the output voltage is set to a value defined by the INIT VOLT The following commands are given implicitly at power on RST CLS SRE 0 ESE 0 RST is a convenient way to program all parameters to a known state Refer to Table 5 1 under the RST command in paragraph 5 9 to see how each programmable parameter i
142. queries using INST SEL n FETC VOLT WAI Note that when the instrument is subsequently put in the uncoupled state using INST COUP NONI To make sure the desired phase is selecte an INST SEL n command Command Syntax INSTrument SEL Parameters A B C Examples INST SEL A Query Syntax INST SEL Returned Parameters lt CRD gt Related Commands INST COUP INST NSEL E the last issued phase selection will be in effect d follow the INST COUP NONE command with May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 4 Array Measurement Subsystem iX series only This command subsystem lets you retrieve arrays containing measurement data Only current and voltage measurements are stored in an array Two measurement commands are available MEASure and FETCh A MEASure command triggers the acquisition of new data before returning the readings from the array A FETCh command returns previously acquired data from the array Individual outputs of a three phase source are specified by the setting of INSTrument NSELect Subsystem Syntax MEASure FETCh ARRay CURRent DC HARMonic AMPLitude PHASe MODE VOLTage DC HARMonic AMPLitude PHASe i Series iX Series Returns the digitized instantaneous current Returns amplitudes of the first 50 harmonics Returns phase angles of the first 50 harmonics Selects waveform data t
143. r DC Parameters None Examples MEAS POW Returned Parameters lt NR2 gt Related Commands None i Series iX Series May 2002 49 California Instruments SCPI Programming Manual Rev L 4 8 Voltage Measurement Subsystem This subsystem programs the voltage measurement capability of the i iX Series Two measurement commands are available MEASure and FETCh MEASure triggers the acquisition of new measurement data before returning a reading FETCh returns a reading computed from previously acquired data Individual outputs of a three phase source are specified by the setting of INSTrument NSELect Subsystem Syntax MEASure FETCh SCALar VOLTage AC Returns ac rms voltage DC Returns the dc component of the voltage HARMonic AMPLitude lt n gt Returns amplitude of the Nth harmonic of voltage PHASe lt n gt Returns phase of the Nth harmonic of voltage THD Returns of total harmonic distortion of voltage MEASure VOLTage AC FETCh VOLTage AC Phase Selectable These queries return the ac rms voltage being sourced at the output terminals Query Syntax MEASure SCALar VOLTage AC FETCh SCALar VOLTage AC Parameters None Examples MEAS VOLT AC FETC VOLT AC Returned Parameters lt NR2 gt Related Commands INST NSEL MEASure VOLTage DC FETCh VOLTage DC Phase Selectable These queries return the dc component of the output voltage being sourced at the output terminals This command should
144. r is completely spelled out such as VOLTAGE STATUS and OUTPUT Short Form The header has only the first three or four letters such as VOLT STAT and OUTP The SCPI interface is not sensitive to case It will recognize any case mixture such as TRIGGER Trigger TRIGger Short form headers result in faster program execution Header Convention In the command descriptions in chapter 4 of this manual headers are emphasized with boldface type The proper short form is shown in upper case letters such as DELay May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments Header Separator If a command has more than one header you must separate them with a colon VOLT LEVel OUTPut RELay ON Optional Headers The use of some headers is optional Optional headers are shown in brackets such as OUTPut STATe ON As previously explained under The Effect of Optional Headers if you combine two or more message units into a compound message you may need to enter the optional header 2 4 4 Query Indicator Following a header with a question mark turns it into a query VOLTage VOLTage RANGe If a query contains a parameter place the query indicator at the end of the last header VOLTage LEVel MAX 2 4 5 Message Unit Separator When two or more message units are combined into a compound message separate the units with a semicolon STATus OPERation QUEStionable 2 4 6 Root Specifier When it precede
145. rameters lt NR2 gt SYSTem COMMunicate GPIB ADDRess This command will set the GPIB address Command Syntax SYSTem COMMunicate GPIB ADDRess lt NRF gt Parameters 0 to 31 lt listen address gt Example SYST COMM GPIB ADDR 2 Returned Parameters lt NR1 gt SYSTem COMMunicate SERial BAUD This command will set the SERial communication baud rate Command Syntax SYSTem COMMunicate SERial BAUD lt NRF gt Parameters 1200 2400 4800 9600 Example SYST COMM SER BAUD 9600 Returned Parameters lt NR1 gt 94 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments SYSTem COMMunicate SERial PARity This command will set the SERial communication parity Command Syntax SYSTem COMMunicate SERial PARity parity Parameters NONE EVEN ODD Example SYST COMM SER PAR NONE Returned Parameters lt CRD gt SYSTem COMMunicate SERial BITS This command will set the SERial communication number of data bits Command Syntax SYSTem COMMunicate SERial BITS lt NRF gt Parameters 7 8 Example SYST COMM SER BITS 8 Returned Parameters lt NR1 gt SYSTem COMMunicate SERial SBITs This command will set the SERial communication number of stop bits Command Syntax SYSTem COMMunicate SERial SBITs lt NRF gt Parameters 112 Example SYST COMM SER SBITs 1 Returned Parameters lt NR1 gt i Series iX Series May 2002 95 California Instruments SCPI Programming Manual Rev L 4 23 Trace Subsystem Co
146. rammed voltage range Programming both the current and the voltage range in one program message unit can be done based on the order and the initial voltage setting If the following commands are sent i Series iX Series May 2002 117 California Instruments SCPI Programming Manual Rev L VOLTage RANGe 270 CURRent 44 VOLTage RANGe 135 CURRent 37 no error will be generated because the combined current limit and voltage range specified on the second line are within the output ratings of the power source but the voltage range command must be sent before the current command 6 4 Programming Output Transients Output transients are used to e Synchronize output changes with a particular phase of the voltage waveform e Synchronize output changes with internal or external trigger signals e Simulate surge sag and dropout conditions with precise control of duration and phase e Create complex multi level sequences of output changes e Create output changes that have rapid or precise timing requirements The following AC DC source functions are subject to transient control e AC output voltage e DC output voltage e Frequency e Start phase angle e AC DC voltage slew rate e Frequency slew rate The following transient modes can be generated Step generates a single triggered output change Pulse generates an output change which returns to its original state after some time period List generates a sequence of output chan
147. ramming Manual Rev L DO160 NORMal VOLT_FREQ MAXimum This command will set the voltage and frequency to the maximum level for the normal operation Command Syntax DO160 NORMal VOLT_FREQ MAXimum Parameters none Examples DO160 NORM VOLT_FREQ MAX Query Syntax none DO160 NORMal VOLTage UNBalance This command will unbalance the voltage level for each phase to the normal high and low operating voltage of each phase This test is valid only for three phase AC source Command Syntax DO160 NORMal VOLTage UNBalance Parameters none Examples DO160 NORM VOLT UNB Query Syntax none DO160 NORMal WAVeform DISTortion This command will set the voltage distortion to 596 for the duration of the test Command Syntax DO160 NORMal WAVeform DISTortion Parameters none Examples DO160 NORM WAV DIST Query Syntax none DO160 NORMal VOLTage MODulation 162 This command will cause output voltage modulation The level of modulation is the function of the rate of modulation Refer to Figure 9 4 in the User Manual The command parameter is the rate of modulation in Hz Command Syntax DO160 NORMal VOLTage MODulation lt NRf gt Parameters lt frequency gt Examples DO160 NORM VOLT MOD 20 Query Syntax DO160 NORM VOLT MOD Returned Parameters lt NR1 gt May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments DO160 NORMal VOLTage INTerrupt This command will cause output voltage interruption There are
148. ransfer format Returns the digitized instantaneous voltage Returns amplitudes of the first 50 harmonics Returns phase angles of the first 50 harmonics May 2002 35 California Instruments SCPI Programming Manual Rev L 4 4 1 Current Array Data MEASure ARRay CURRent DC FETCh ARRay CURRent DC Phase Selectable These queries return an array containing the instantaneous output current in amperes The data returned in arbitrary block data format as follows 5 lt block length n gt lt b0 gt lt b1 gt lt b2 gt lt b3 gt lt bn 3 gt lt bn 2 gt lt bn 1 gt lt bn gt where b0 b1 b2 b3 are four hex bytes represent IEEE single precision floating number where bO is the most significant byte and b3 is the least significant byte The output voltage and current are digitized whenever a measure command is given or whenever an acquire trigger occurs The time interval between samples is 25 6 microseconds for a single phase system and 76 8 microseconds for three phase system The query SENSe SWEep TINTerval will return the time interval the position of the trigger relative to the beginning of the data buffer is determined by SENSe SWEep OFFSet Query Syntax MEASure ARRay CURRent DC lt n gt lt n gt FETCh ARRay CURRent DC lt n gt lt n gt Parameters Optional block and offset parameters n n Where the first value n is the number of 256 sample blocks to transfer and the second value n is the first bl
149. ransient occurs PULSe The output frequency is changed to the value set by FREQuency TRIGgered for a duration determined by the pulse commands LIST The output frequency is controlled by the frequency list when a triggered transient occurs SENSe Selects external sync mode EXTernal Selects external clock input Command Syntax SOURce FREQuency MODE mode Parameters FIXed STEP PULSe LISTISENSe EXT RST Value FIXed Examples FREQ MODE FIX Query Syntax SOURce FREQuency MODE Returned Parameters lt CRD gt Related Commands FREQ FREQ TRIG FREQuency SLEW This command sets the rate at which frequency changes for all programmed changes in output frequency Instantaneous frequency changes can be obtained by sending MAXimum Command Syntax SOURce FREQuency SLEW IMMediate lt NRf gt Parameters 0 01 to 1E9 MAXimum Unit Hz Hertz per second RST Value MAXimum Examples FREQ SLEW IMM 75FREQ SLEW MAX Query Syntax SOURce FREQuency SLEW Returned Parameters lt NRf gt Related Commands FREQ SLEW MODE FREQ i Series iX Series May 2002 59 California Instruments SCPI Programming Manual Rev L FREQuency SLEW MODE This command determines how the frequency slew rate is controlled during a triggered output transient The choices are FIXed The frequency slew rate is unaffected by a triggered output transient STEP The frequency slew rate is programmed to the value set by FREQuency TRIGgered when a triggered
150. re AC FSCale DC FSCale ZERO VOLTage AMBient AC FSCale DC FSCale ZERO TEMPerature AC FSCale DC FSCale ZERO 20 Allows entry of calibration password required to change calibration coefficients Ambient temperature calibrations Calibrate full scale AC current measurements Calibrate full scale DC current measurements Cancel DC current measurements offset Elevated temperature calibrations Calibrate full scale AC current measurements at higher temperature Calibrate full scale AC current measurements at higher temperature Cancel AC current measurements offset at a higher temperature Ambient temperature calibrations Calibrate full scale AC voltage measurements Calibrate full scale AC voltage measurements Cancel AC voltage measurements offset Elevated temperature calibrations Calibrate full scale AC voltage measurements at higher temperature Calibrate full scale AC voltage measurements Cancel AC voltage measurements offset May 2002 i Series iX Series SCPI Programming Manual Rev L Subsystem Syntax continued SOURce PHASe VOLTage AC LRANge FSCale ZERO HFRequency HRANge FSCale ZERO HFRequency DC LRANge FSCale POSitive NEGative ZERO HRANge FSCale POSitive NEGative ZERO IMPedance REAL FSCale ZERO REACtive FSCale ZERO i Series iX Series California Instruments Calibra
151. returns the path to the root The Effect of Optional Headers If a command includes optional headers the interface assumes they are there For example if you enter SOURCe VOLTage 115 the interface recognizes it as SOURce VOLTage LEVel 115 This returns the active path to the root VOL Tage But if you enter SOURce VOLTage LEVel 115 then the active path remains at LEVel This allows you to send SOURce VOLTage LEVel 115 RANGe 135 in one message If you did not send LEVel you are allowed to send the following command SOURce VOLTage 115 FREQuency 60 The optional header SOURce precedes the current frequency function phase pulse list and voltage subsystems This effectively makes CURRent FREQuency FUNCtion PHASe PULse LIST and VOL Tage root level commands Moving Among Subsystems In order to combine commands from different subsystems you need to be able to restore the active path to the root You do this with the root specifier For example you could open the output relay and check the status of the Operation Condition register as follows OUTPut STATe ON STATus OPERation CONDition Because the root specifier resets the command parser to the root you can use the root specifier and do the same thing in one message OUTPut on STATus OPERation CONDition The following message shows how to combine commands from different subsystems as well as within the same subsystem VO
152. rface is at this location when e The AC DC source is powered on e A device clear DCL is sent to the AC source e The SCPI interface encounters a message terminator e The SCPI interface encounters a root specifier Active Header Path In order to properly traverse the command tree you must understand the concept of the active header path When the AC DC source is turned on or under any of the other conditions listed above the active path is at the root That means the SCPI interface is ready to accept any command at the root level such as SOURCe or MEASurement i Series iX Series May 2002 9 California Instruments SCPI Programming Manual Rev L If you enter SOURCe the active header path moves one colon to the right The interface is now ready to accept VOLTage FREQuency or CURRent as the next header You must include the colon because it is required between headers If you now enter VOLTage the active path again moves one colon to the right The interface is now ready to accept either RANGe or LEVel as the next header If you now enter RANGe you have reached the end of the command string The active header path remains at RANGe If you wished you could have entered RANGe 135 LEVel 115 and it would be accepted as a compound message consisting of SOURce VOLTage RANGe 135 SOURce VOLTage LEVel 115 The entire message would be SOURCe VOLTage RANGe 135 LEVel 115 The message terminator after LEVel 115
153. rharmonics output as of reference SOURce IHARmonics STATe This command enables the interharmonics generator This command must be set to the on state before sending any other command listed in this section Command Syntax SOURce IHARmonics STATe lt boolean gt Parameters lt ON OFF 1 0 gt Examples IHAR ON Query Syntax IHAR Returned Parameters lt boolean gt SOURce IHARmonics COUPle If this command is turned on the reference voltage for the interharmonics is programmed to a value equal to the ac program value If the coupling is turned off the reference voltage must be programmed to a value between 0 and 250V Command Syntax SOURce IHARmonics COUPle boolean Parameters lt ON OFF 1 0 gt Examples IHAR COUP ON Query Syntax IHAR COUP Returned Parameters lt boolean gt SOURce IHARmonics FREQuency This command will program the inter harmonic frequency This frequency may range from 1Hz to 2400Hz with 1Hz resolution Command Syntax SOURce IHARmonics FREQuency lt NRf gt Parameters lt frequency gt Examples IHAR FREQ 400 Query Syntax IHAR FREQ Returned Parameters lt NR1 gt i Series iX Series May 2002 159 California Instruments SCPI Programming Manual Rev L SOURce IHARmonics REFerence This command will program the inter harmonic reference voltage The coupling must be set to on to accept any program value The reference will take a value of 0 to 250V Command S
154. rom the queue When all errors have been read the query returns 0 No Error If more errors are accumulated than the queue can hold the last error in the queue is 350 Too Many Errors Query Syntax SYSTem ERRor Parameters None Returned Parameters lt NR1 gt lt SRD gt Example SYST ERR 92 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments SYSTem VERSion This query returns the SCPI version number to which the AC DC source complies The returned value is of the form YYYY V where YYYY represents the year and V is the revision number for that year Note This command can be used to determine the revision of an i series AC DC power source If the year code equals 1990 the controller uses the old style command system and you should refer to the original series programming manual for the correct command syntax If the year code is 1995 the unit uses the new command syntax and the information in this programming manual applies Refer to Chapter 8 for details on command compatability between older and newer i series AC DC sources Query Syntax SYSTem VERSion Parameters None Returned Paramters lt NR2 gt Example SYST VERS SYSTem LOCal This command can only be used with the RS 232 interface It sets the interface in Local state which enables the front panel controls Command Syntax SYSTem LOCal Parameters None Example SYST LOC Related Commands SYST REM SYSTem REMote This
155. ruments SCPI Programming Manual Rev L CALibrate SOURce VOLTage AC LRANge ZERO lt NRhe gt oocccocccoocconoccccnncncnnnnnnnnnccnncnnnnnnnnncncnnnos 28 CALibrate SOURce VOLTage AC LRANge FSCale NRf seen 27 command SUDSYVSIOMN EET 19 commands A TII uem 11 CONVENIOS cover terio A a E Pa ovato vd bein MAA vene erede I e end 8 eere riis 1 CURRO tus a vibrat reso Evi Deve ode cu eius retos reo cete Aud Tivi r AIA 56 CURR PROTECCION O TATO d erat vb onera Een x oda regt Key exe rd vanes nds RE YR aaa 57 E Error Handlirig e er oe toon eee oH era todo i og COE eei bn eed eta codi be exo ool coena 16 F FETCh ARRay CURRent HARMonic PHASe sessssssssssssssssesee eene nennen nnne nnne nnne 38 EETGR ARRay GURRent 3 nues ent ener EE E A Pee Cen d eR M tex MEE aa 36 FETCh ARRay VOLTage HARMonic PHASe essssssssssssssssssseeee nennen nennen rnnt nnne nnne 42 FETCh ARRay VOLTage HARMoniC esses nennen nne nnn inneren EEEE EEE nnn n nenas 41 FEICh ARRay VOLTage iocos ne Triton t A Hbc Pee paved rne eU ge ees a UE a Ree 41 EETCh GURReBEAGO 5 coco te eater eo rta cenital dee Ea REOR CEdR E Ewa De Pinca CERE Gud 43 FETCh CURRent AMPLitude MAXimum ssessseeseseeeeenee ne ene en nnnm nnnn nnne nnne nnn en nennen nnns 44 FE TGRIGURRENEGRESHACION i ic a An AE A era SERE Ern QUEE a Ae ainia a Y BEER E RR Ad a 45 FETCh CURRent HARMonic PHASe ccccccccccc
156. s set by RST Refer to the PSC command in chapter 5 for more information on the power on initialization of the ESE and the SRE registers 6 2 2 Enabling the Output To enable the output use the command OUTPut ON 6 2 3 AC Voltage and Frequency The AC rms output voltage is controlled with the VOLTage command For example to set the AC output voltage to 125 volts rms use MODE AC VOLTage 125 The DC output voltage is controlled with the VOLTage DC command For example to set the DC output voltage to 100 volts DC use MODE DC VOLTage DC 100 The AC DC power source can be programmed to turn off its output if the actual output voltage does not agree within a given tolerance with the set value using the measurement query command Maximum Voltage The maximum rms output voltage that can be programmed can be queried with VOLTage MAX The maximum voltage that the AC DC source can output is limited by the maximum peak voltage capability of the AC DC source This value is expressed in the equivalent rms value of a sinewave crest factor 1 414 The maximum rms value is defined by the LIMIT subsystem If a custom waveform is selected with a crest factor higher than 1 414 the maximum rms voltage will be less than the LIMIT value i Series iX Series May 2002 113 California Instruments SCPI Programming Manual Rev L Voltage Ranges The power source has two voltage ranges that are controlled by relay The command
157. s the first header of a message unit the colon becomes the root specifier It tells the command parser that this is the root or the top node of the command tree Note the difference between root specifiers and header separators in the following examples CURRent PROTection DELay 1 All colons are header separators CURRent PROTection DELay 1 Only the first colon is a root specifier CURRent PROTection DELay 1 VOLTage 12 5 Only the third colon is a root specifier You do not have to precede root level commands with a colon there is an implied colon in front of every root level command 2 4 7 Message Terminator A terminator informs SCPI that it has reached the end of a message Three permitted message terminators are e newline NL which is ASCII decimal 10 or hex OA e end or identify lt END gt e both of the above lt NL gt lt END gt In the examples of this manual there is an assumed message terminator at the end of each message If the terminator needs to be shown it is indicated as NL regardless of the actual terminator character i Series iX Series May 2002 13 California Instruments SCPI Programming Manual Rev L 2 5 SCPI Data Formats All data programmed to or returned from the AC source is in ASCII The data type may be numerical or character string 2 5 1 Numerical Data Formats Symbol Data Form Talking Formats lt NR1 gt Digits with an implied decimal point assumed at t
158. s the number of frequency slew points FUNCtion SHAPe lt shape gt lt shape gt Sets the waveform shape list POINts Returns the number of shape points REPeat COUNI lt n gt lt n gt Set the repeat count for each data points POINts Returns the number of repeat for each data points STEP ONCE AUTO Defines whether list is dwell or trigger paced TTLTrg lt bool gt lt bool gt Defines the output marker list POINts Returns the number of output marker list points VOLTage LEVel lt n gt lt n gt Sets the voltage list POINts Returns the number of voltage level points SLEW lt n gt lt n gt Sets the voltage slew list POINts Returns the number of voltage slew points 66 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 15 1 List Count LIST COUNt This command sets the number of times that the list is executed before it is completed The command accepts parameters in the range 1 through 2E8 Command Syntax SOURce LIST COUNt lt NRf gt Parameters 1 to 2E8 MINimum MAXimum RST Value 1 Examples LIST COUN 3 LIST COUN MAX Query Syntax SOURce LIST COUNt Returned Parameters lt NRf gt Related Commands LIST FREQ LIST TTLT LIST VOLT 4 15 2 List Dwell LIST DWELI This command sets the sequence of list dwell times Each value represents the time in seconds that the output will remain at the particular list step point before completing the step At the
159. s with the acquisition trigger system is discussed under Triggering Measurements Note For each MEASure form of the query there is a corresponding query that begins with the header FETCh FETCh queries perform the same calculation as their MEASure counterparts but do not cause new data to be acquired Data acquired by an explicit trigger or a previously programmed MEASure command are used 6 6 1 Voltage and Current Measurements 126 To the rms voltage or current use MEASure VOLTage or MEASure CURRent To measure the dc voltage or current use MEASure VOLTage DC or MEASure CURRent DC To measure the maximum current amplitude and the current crest factor use MEASure CURRent AMPLitude MAXimum MEASure CURRent CREStfactor To reset the peak measuremnt use May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments MEAS CURR AMPL RESet 6 6 2 Power Measurements The MEASure queries can return real and apparent power measurements as well as dc power and power factor using the following commands MEASure POWer AC APParent measures the AC component of apparent power in VA MEASure POWer AC REAL measures the in phase component of power in watts MEASure POWer AC PFACtor returns the output power factor MEASure POWer DC measures the dc component of power 6 6 3 Frequency Measurements To measure the frequency use the following command MEAS
160. single message unit consisting of a command header or keyword followed by a message terminator FREQuency lt newline gt VOLTage lt newline gt The message unit may include a parameter after the header The parameter usually is numeric but it can be a string VOLTage 20 lt newline gt VOLTage MAX lt newline gt i Series iX Series May 2002 11 California Instruments SCPI Programming Manual Rev L 2 4 Combining Message Units The following command message is briefly described here with details in subsequent paragraphs Data Message Unit Query Indicato VEM ET N l VOLT LEV 80 RANG 135 CURR 4 Header Message Separator 9 Terminato Message Unit Separator Root Specifier Figure 2 2 Command Message Structure The basic parts of the above message are Message Component Example Headers VOLT LEV PROT CURR Header Separator The colon in VOLT LEV Data 80 88 Data Separator The space in VOLT 80 and PROT 88 Message Units VOLT LEV 80 PROT 88 CURR Message Unit The semicolons in VOLT LEV 80 and PROT 88 Separator Root Specifier The colon in PROT 88 CURR Query Indicator The question mark in CURR Message Terminator The lt NL gt newline indicator Terminators are not part of the SCPI syntax 2 4 3 Headers Headers are instructions recognized by the AC DC source Headers which are sometimes known as keywords may be either in the long form or the short form Long Form The heade
161. sitive phase angles are used to program the leading phase negative phase angles are used to program the lagging phase Command Syntax SOURce PHASe IMMediate lt NRf gt Parameters 360 through 360 RST Value Define by the PONSetup PHASe Examples PHAS 45 Query Syntax SOURce PHASe Returned Parameters lt NR2 gt i Series iX Series May 2002 75 California Instruments SCPI Programming Manual Rev L 4 18 Source Subsystem PONSetup This subsystem will control the initial condition of the power source at the power on state Subsystem syntax SOURce PONSetup FREQuency lt n gt Set the frequency value VOLTage LEVel lt n gt Set the voltage level MODE DC AC ACDC Set the voltage mode CURRent lt n gt Set the current limit PHASe ANGLe Set the phase angle relative to external VRANge 135 270 150 300 Set the voltage range NOUTput ONEPhase THReephase LAST Set the command language OUTPut RELay 0 1 OFF ON Set the state of the output relay OLOad MODE CVOLT CCURR Set the over load mode const voltage or const current CLOCk INT EXT Set the the clock source to internal or external SENSe INT EXT Set the voltage sense to internal or external WGRoup n Set the wave group to 0 3 ix series only PONSetup FREQuency This command sets the initial frequency of the power source at the power on Command Syntax SOURce PONSetup FREQuncy lt NRf gt Parameters set by the LIMit FREQuency Examples PONS FR
162. source in mili ohms OUTPut IMPedance STATe must be enabled for the programmed impedance to affect the output Command Syntax OUTP IMPedance REAL lt NRf gt Parameters min to 1000 RST Value min Examples OUTP IMP REAL 250 Query Syntax OUTPut IMP REAL Returned Parameters lt NR2 gt Related Commands OUTP IMP OUTP IMP REAC 54 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments OUTPut IMPedance REACtive ix series only Phase Selectable This command sets the reactive part of the output impedance of the AC source in micro Henry OUTPut IMPedance STATe must be enabled for the programmed impedance to affect the output Command Syntax OUTP IMP REACtive lt NRf gt Parameters min to 1000 uHenrys RST Value min Examples OUTP IMP REAC 700 Query Syntax OUTPut IMP REACtive Returned Parameters lt NR2 gt Related Commands OUTP IMP OUTP IMP REAL i Series iX Series May 2002 55 California Instruments SCPI Programming Manual Rev L 4 10 Source Subsystem Current This subsystem programs the output current of the X Series source Subsystem Syntax SOURce CURRent LEVel IMMediate AMPLitude lt n gt Sets the rms current limit PROTection STATe bool Select rms current limit protection mode DELay Set the delay in seconds before protection is enabled CURRent Phase selectable This command sets the rms current limit of the output If the output current exceeds this
163. surement bandwidth of the measurement System which is 19 531 kHz for a single phase system and 6 510kHz for a three phase system Thus the maximum harmonic that can be measured is dependent on the output frequency Any harmonics that represent frequencies greater than the above frequencies are returned as 0 Query Syntax MEASure ARRay VOLTage HARMonic PHASe lt NRf gt FETCh ARRay VOLTage HARMonic PHASe lt NRf gt Parameters None Examples MEAS ARR VOLTage HARM PHAS 30 FETC ARR VOLTage HARM PHAS Returned Parameters 31 NR2 values Related Commands INST NSEL 42 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 5 Current Measurement Subsystem This subsystem programs the current measurement capability of the AC DC source Two measurement commands are available MEASure and FETCh e MEASure triggers the acquisition of new measurement data before returning a reading e FETCh returns a reading computed from previously acquired data Individual outputs of a three phase source are specified by the setting of INSTrument NSELect Subsystem Syntax MEASure FETCh SCALar CURRent AC Returns ac rms current DC Returns dc component of the current AMPLitude MAX Returns peak current RESet Reset the peak current measurements CREStfactor Returns current crestfactor HARMonic AMPLitude n Returns amplitude of the Nth harmonic of current PHASe lt n gt Returns phase of t
164. t dla Ai PHASe lt n gt 2s COUNT n MAX TEES CURRent n n a es POINts M n DWELI n n 172 May 2002 SCPI Programming Manual Rev L Series iX Series SCPI Programming Manual Rev L California Instruments Im POINts it FREQuency LEVel lt n gt lt n gt MO DRE POINts SLEW n n POINTs STEP ONCE AUTO TTLTrg lt bool gt lt bool gt POINts SLEW lt n gt lt n gt POINts A IMMediate n uu PONSetup PATEE FREQuency lt n gt EEEE VOLTage LEVel lt n gt A MODE AC DC ACDC ET CURRent lt n gt Aulae wes ANGLE n VRANGE 135 270 150 300 I NOUTPUT ONE THRILAST ROA OUTPUT E we RELay 0 1 ONJOFF NE OLOad a MODE CVOLT CCURR CLOCKk INT EXT odo SENSe INT EXT is WGRoup lt n gt PULSe COUNt n MAXimum DCYCLE n PERiod n WIDTh n dosi ade HOLD WIDTh DCYCle Siu VOLTage Mosis qp peu LEVel i Series iX Series May 2002 173 California Instruments AA vea es RA TRIGgered m eene AMPLitude n Mc E td EE LEVel n PP IMMediate n MAXimum MEME MODE mode po Rcs TRIGgered PVH vehi ile dice ses ode dida AMPLitude n MAXimum STATus poros sage sue ae eet Es EVENt eese es eis CONDition Top EE wwii ENABle n TRACe fetes CATalog a DATA waveform names lt n gt lt n gt DEFine waveform name waveform name 1024 TAE DELete dte o vs es NAME waveform
165. t lt bool gt Parameters 0 1 OFFION Examples LIST TTLT 1 0 1 LIST TTLT ON OFF ON Query Syntax LIST TTLT Returned Parameters 0 1 Related Commands LIST TTLT POIN LIST COUN LIST DWEL LIST STEP OUTP TTLT STAT OUTP TTLT SOUR LIST TTLTrg POINts This query returns the number of points specified in LIST TTLT Note that it returns only the total number of points not the point values Query Syntax SOURce LIST TTLTrg POINts Returned Parameters lt NR1 gt Example LIST TTLT POIN Related Commands LIST TTLT i Series iX Series May 2002 71 California Instruments SCPI Programming Manual Rev L 4 15 8 List Voltage 72 LIST VOLTage Phase Selectable This command specifies the output voltage points in a list The voltage points are given in the command parameters which are separated by commas The order in which the points are entered determines the sequence in which the list will be output when a list transient is triggered Command Syntax SOURce LIST VOLTage LEVel lt NRf gt lt NRf gt Parameters Value depends on the voltage range and the voltage mode Unit V rms voltage Examples LIST VOLT 2 0 2 5 3 0 LIST VOLT MAX 2 5 MIN Query Syntax SOURce LIST VOLTage LEVel Returned Parameters lt NR2 gt Related Commands LIST VOLT POIN LIST COUN LIST DWELLIST STEP LIST SHAP LIST VOLT OFFS LIST VOLTage POINts Phase Selectable This query returns the number of points specified in LIST VOLT Note
166. t voltage The range is 0 to 20 percent Command Syntax SOURce FUNCtion SHAPe CSINusoid lt NRf gt Parameters 0 to 20 RST Value 0 no clipping Examples FUNC CSIN 10 Query Syntax SOURce FUNCtion SHAPe CSINusoid Returned Parameters lt NR2 gt Related Commands FUNC MODE 62 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 13 Source Subsystem Limit This subsystem controls the voltage frequency and current limit of the power source These limits are set at the factory and depends on the power source rating It is not accessable by the user The query format is accessable however Subsystem Syntax SOURce LIMit FREQuency lt n1 gt lt n2 gt VOLTage lt n gt CURRent lt n gt PHASe n LIMit FREQuency This command sets the upper and lower frequncy limit of the power source Command Syntax SOURce LIMit FREQuency lt NRf gt lt NRf gt Parameters low freq limit upper frequency limit command protected Query Syntax SOURce LIMit FREQuency Returned Parameters lt NR2 gt lt NR2 gt LIMit CURRent This command will set the maximum current limit the power source will operate at in the low voltage range Command Syntax SOURce LIMit CURRent lt NRf gt Parameters maximum current limit at low voltage range command protected Query Syntax SOURce LIMit CURRent Returned Parameters lt NR2 gt LIMit VOLTage This command will set the ma
167. t at each list step LIST COUNt determines how many times the source sequences through a list before that list is completed LIST REPeat determines how many times each data point will repeat LIST DWELI specifies the time interval that each value point of a list is to remain in effect LIST STEP detemines if a trigger causes a list to advance only to its next point or to sequence through all of its points All active subsystems that have their modes set to LIST must have the same number of points up to 32 or an error is generated when the first list point is triggered The only exception is a list consisting of only one point Such a list is treated as if it had the same number of points as the other lists with all of the implied points having the same value as the one specified point MODE commands such as VOLTage MODE LIST are used to activate lists for specific functions However the LIST DWELI command is active whenever any function is set to list mode Therefore LIST DWELI must always be set either to one point or to the same number of points as the active list Subsystem Syntax SOURce LIST COUNt n MAXimum Sets the list repeat count DWELI lt n gt lt n gt Sets the list of dwell times POINts Returns the number of dwell list points FREQuency LEVel lt n gt lt n gt Sets the frequency list POINts Returns the number of frequency points SLEW lt n gt lt n gt Sets the frequency slew list POINts Return
168. t cycles and writing the results into a buffer The buffer holds 4096 voltage and current data points The AC source uses the data from the voltage and current buffer to calculate the requested measurement information Data in the voltage and current buffers is always re acquired for subsequent measurement requests There are two ways to make measurements e Use the MEASure commands to immediately start acquiring new voltage and current data and return measurement calculations from this data as soon as the buffer is full This is the easiest way to make measurements since it requires no explicit trigger programming e Use an acquisition trigger to acquire the voltage and current data from the buffer Then use the FETCh commands to return calculations from the data that was retrieved by the acquisition trigger This method gives you the flexibility to synchronize the data acquisition with an external signal FETCh commands do not trigger the acquisition of new measurement data but they can be used to return many different calculations from the same set of data that was captured as a result of same acquisition trigger The query response for measurements is not immediate The source will accept commands from the interface while the measurement in progress To prevent the source from accepting additional commands during measurement the WAI must be used with the measurement query command MEAS FREO WAI Making triggered measurement
169. t for the AC full scale output voltage at the low voltage range and at high output frequency Command Syntax CALibrate VOLTage LRANge HFRequency lt NRf gt Parameters lt NRf gt a value between 127 and 128 Examples CAL VOLT LRAN HFRequency 10 Query Syntax CALibrate VOLTage LRANge HFRequency Returned Parameters lt NR1 gt value range 127 to 128 Related Commands CAL VOLT LRAN CAL VOLT LRAN ZERO CALibrate SOURce VOLTage AC HRANge FSCale lt NRf gt This command will set the calibration coefficent for the AC full scale output voltage at the high voltage range Command Syntax CALibrate VOLTage HRANge lt NRf gt Parameters lt NRf gt a value between 127 and 128 Examples CAL VOLT HRAN 2 Query Syntax CALibrate VOLTage HRANge Returned Parameters lt NR1 gt value range 127 to 128 Related Commands CAL VOLT HRAN ZERO CAL VOLT HRAN HFR 28 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments CALibrate SOURce VOLTage AC HRANge ZERO lt NRf gt This command will set the calibration coefficent for the output voltage offset at the high voltage range Command Syntax CALibrate VOLTage HRANge ZERO lt NRf gt Parameters lt NRf gt a value between 127 and 128 Examples CAL VOLT HRAN ZERO 10 Query Syntax CALibrate VOLTage HRANge ZERO Returned Parameters NR1 value range 127 to 128 Related Commands CAL VOLT HRAN CAL VOLT HRAN HFR CALibrate SOURce
170. tal harmonic distortion in the clipped sine waveform User Defined Waveform To create a user defined waveform use TRACe DEFine command to create a name for the waveform then use the TRACe DATA command to send the list of 1024 amplitude points The waveform can then be selected using the FUNCtion command For example a waveform named Distortion can be created with TRACe DEFine DISTORTION TRACe DATA DISTORTION nl n2 n3 n1024 where n1 n1024 are the data points that define the relative amplitudes of exactly one cycle of the waveform The first data point defines the amplitude that will be output at 0 degrees phase reference Data points can be in any arbitrary units The AC source scales the data to an internal format that ensures that the correct ac rms voltage is output when the waveform is selected When queried trace data is returned as normalized values in the range of 1 Waveform data is stored in nonvolatile memory and is retained when input power is removed Up to 50 user defined waveforms may be created and stored in one of 4 separate groups Because waveform shape commands are coupled with the voltage commands changing waveforms without changing the programmed voltage may result in an error if the resulting peak voltage amplitude exceeds the maximum voltage rating of the AC DC power source Refer to Coupled Commands for more information 6 2 8 Individual Phases iX Series only 116 In the 15003ix s
171. te arek lad ha Mattes eal ka acer talaat 107 5 7 O TE EE MEE 107 5 8 di HH 107 i Series iX Series May 2002 3 California Instruments SCPI Programming Manual Rev L 5 9 A EE 108 5 10 A RN 109 5 11 SRE pA 109 5 12 Enc ELE 110 5 13 Hic M ee 111 5 14 M7 M 111 6 Programming Examples c eeeeeeeeeeeeeeen eene rre 112 6 1 INTO UCM LE 112 6 2 Programming the Output di 113 6 3 CoUpled COMMANS2 lt fe sstcadecdscedeia ekecanedaceds ENEE E E E EAA EEEE ARGAN 117 6 4 Programming Output Transient eenia E e E AR 118 6 5 Triggering Output C NANOS a aae a e EENS EEE AEAEE EEA E S AR EA 123 6 6 Acquiring Measurement Data iiics aesir EAA EEE ALEA ETALE EEA 126 6 7 Controlling the Instantaneous Voltage and Current Data Buffers esses 130 6 8 TriggerSysteM SUMMA Veo 132 7 Status Register iii ii 134 73 Power On Conditions coomcccccconnncncconnnoncconnnoncnnnnnnncnnnnnrncnnnnnnn UREA rA rrr their ar nnn nnn 134 7 2 Operation Status Group neci a ai 134 7 3 Questionable Status Group rsrsr uirinn ke ernari riata Kiar ENAA Ena ennemis 137 7 4 Standard Event Status GOUD ree a a a e e aiana aaee EEEa 138 7 5 Status Byte Regist ccoo atole 138 7 6 Examples nosa m 139 7 7 SCPI Command Complotonc s irinenn te eea E aa AEUR EEE ENEAS 140 8 Series Controller Compata
172. te output phase angle relative to external sync Calibrate full scale output voltage at low voltage range Trim output voltage offset at low voltage range Calibrate full scale output voltage at low voltage range and high frequency Calibrate full scale output voltage at high voltage range Trim output voltage offset at high voltage range Calibrate full scale output voltage at high voltage range and high frequency Calibrate full scale output dc positive voltage at low voltage range Calibrate full scale output dc negative voltage at low voltage range Trim output dc voltage offset at low voltage range Calibrate full scale output dc positive voltage at high voltage range Calibrate full scale output dc negative voltage at high voltage range Trim output dc voltage offset at high voltage range Calibrate the real part of the programmable output impedance at full scale value Calibrate the real part of the programmable output impedance at minimum value Calibrate the reactive part of the programmable output impedance at full scale value Calibrate the reactive part of the programmable output impedance at minimum value May 2002 21 California Instruments SCPI Programming Manual Rev L 4 2 1 Password CALibrate PASSword This command allows the entry of the calibration password The calibration password is required to use the data entry form of the calibration commands Without the use of this password only the query form can
173. th min and max to find the range of dwell time Command Syntax IEC413 SWEep DWELI lt NRf gt Parameters lt nrf gt Examples 1EC413 SWE DWEL 200 Query Syntax 1EC413 SWE DWEL Returned Parameters lt NRI1 gt 1EC413 SWEep CURRent DATA This command will return the measured harmonic current This data is available after the sweep is completed Command Syntax IEC413 SWEep CURRent DATA Parameters none Query Syntax IEC413 SWE CURR Returned Parameters NR2 lt NRn gt IEC413 SWEep FREQuency DATA This command will return the frequency data points that correspond to the harmonic current data points This data is available after the sweep is completed Command Syntax IEC413 SWEep FREQuency Parameters none Query Syntax 1EC413 SWE CURR FREQ Returned Parameters NR2 lt NRn gt i Series iX Series May 2002 155 California Instruments SCPI Programming Manual Rev L 1EC413 SWEep CURRent RESonant This command will return the measured harmonic resonant current This data is available after the sweep is completed If no resonant current is found the command will return a null char Command Syntax 1EC413 SWEep CURRent RESonant Parameters none Query Syntax 1EC413 SWE CURR RES Returned Parameters NR2 lt NRn gt IEC413 SWEep FREQuency RESonant This command will return the frequency resonant data points that correspond to the harmonic current data points This d
174. the LIMit VOLTage command Unit V rms voltage RST Value 0 volt Examples VOLT TRIG 120 VOLT LEV TRIG 120 Query Syntax SOURce VOLTage LEVel TRIGgered AMPLitude Returned Parameters lt NR2 gt Related Commands VOLT VOLT MODE VOLTage MODE Phase Selectable This command determines how the output voltage is controlled during a triggered output transient The choices are FIXed The voltage is unaffected by a triggered output transient STEP The voltage is programmed to the value set by VOLTage TRIGgered when a triggered transient occurs PULSe The voltage is changed to the value set by VOLTage TRIGgered for a duration determined by the pulse commands LIST The voltage is controlled by the voltage list when a triggered transient occurs Command Syntax SOURce VOLTage MODE lt mode gt Parameters FlXed STEP PULSe LIST RST Value FIX Examples VOLT MODE LIST VOLT MODE FIX Query Syntax SOURce VOLTage MODE Returned Parameters lt CRD gt Related Commands VOLT TRG VOLT 84 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments VOLTage RANGe LEVel This command sets the voltage range of the power source On the ix series two pairs of voltage ranges are available e 135 volt range and a 270 volt range 135 270 range pair e 150 volt range and a 300 volt range 150 300 range pair Sending a parameter other than 135 or 270 when in 135 270 range pair will not be accepted Sen
175. the logical OR of all the Questionable Event register bits that are enabled by the Questionable Status Enable register Command Syntax STATus QUEStionable INSTrument ISUMmary ENABle lt NRf gt Parameters 0 to 32767 Default Value 0 Examples STAT QUES INST ISUM ENAB 18 Query Syntax STATus QUEStionable INSTrument ISUMmary ENABle Returned Parameters lt NR1 gt Register value i Series iX Series May 2002 91 California Instruments SCPI Programming Manual Rev L 4 22 System Commands The system commands control the system level functions of the AC DC Source Subsystem Syntax SYSTem ERRor Returns the error number and error string VERSion Returns the SCPI version number LOCal Go to local mode RS 232 only REMote Go to remote mode RS 232 only CONFigure Set system configuration password required BYTE NOUT Set the number of output phases one two or three if the mode option is available ETIMe Returns the elapse time TEMPerature Returns the internal ambient temperature in C COMMunicate GPIB ADDRess Set GPIB address SERial BAUD Set the baud rate PARity Set the parity type BITS Set number of bits SBITs Set number of stop bits SYSTem ERRor This query returns the next error number followed by its corresponding error message string from the remote programming error queue The queue is a FIFO first in first out buffer that stores errors as they occur As it is read each error is removed f
176. ting IEC 1000 4 11 IEC 1000 4 13 MIL STD 704E RTCA DO 160C OMNI OPTION The AC DC power source will report all installed options including any firmware options when queried using the SYST CONF BYTE or OPT command Additional firmware options may be added over time Consult the factory for additional information on firmware options not listed here but present on your unit i Series iX Series May 2002 145 California Instruments SCPI Programming Manual Rev L 9 2 IEC 1000 4 11 The following are the remote commands set for IEC1000 4 11 The ABORt command will terminate a test in progress at any time Test completion can be checked using the OPC query if the OPC 1 command is issued immediately after an IEC 1000 4 11 command Upon completion of the test run OPG will return a 1 This may be relevant for ATE applications in view of long test times for some IEC 1000 4 11 test sequences Details on the actual tests performed as a result of each of these commands may be found in the IEC 1000 4 11 option section of the User Manual which is supplied with the AC DC power source 1EC411 NOMinal VOLTage DIPS RUN ALL SINGIe VOLTage PERCent CYCLes ANGLe VARiants RUN ALL SINGle HOLD TIME VOLTage PERCent FALL TIME RISE TIME IEC411 NOMinal VOLTage This command set the nominal voltage for the test Command Syntax IEC411 NOMinal VOLTage lt NRf gt Parameters lt volatge gt
177. trument ISummary status groups each consist of the following three registers Refer to chapter 7 for more information about the status registers Subsystem Syntax STATus OPERation EVENt Returns the value of the event register CONDition Returns the value of the condition register ENABle lt n gt Enables specific bits in the Event register QUEStionable EVENt Returns the value of the event register CONDition Returns the value of the condition register ENABle lt n gt Enables specific bits in the Event register INSTruments SUMmary EVENt Returns the selected phase s event register value CONDition Returns the selected phase s condition register ENABle Enable specific bits in selected phase s Event register values 88 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments Bit Configuration of Status Operation Registers Bit Position wa 8 7 CAL Calibration is completed TRANS Transient is completed MEAS Measurement is completed STATus OPERation EVENt This query returns the value of the Operation Event register The Event register is a read only register which holds latches all events Reading the Operation Event register clears it Query Syntax STATus OPERation EVENt Parameters None Returned Parameters lt NR1 gt Register Value Examples STAT OPER EVEN Related Commands CLS STATus OPERation CONDition This query returns the value of the Operation Co
178. turned Parameters lt NR2 gt PONSetup VRANge This command sets the initial voltage range of the power source Command Syntax SOURce VRANge lt NRf gt Parameters 1351270 or 1501300 Examples PONS VRAN 135 Query Syntax PONS VRAN Returned Parameters lt NR2 gt PONSetup NOUTput This command sets the configuration of the power source to one phase or three phase if this option is enabled Command Syntax SOURce PONSetup NOUTput lt selection gt Parameters ONEPhase THReephase LAST Examples PONS NOUT LAST Query Syntax PONS NOUT Returned Parameters lt CRD gt i Series iX Series May 2002 77 California Instruments SCPI Programming Manual Rev L PONSetup OUTPut RELay This command sets the initial state of the output relay at the power on Command Syntax SOURce PONSetup OUTPut RELay boolean Parameters 0 1 OFFJON Examples OUTP ON OUTP 0 Query Syntax PONS OUTP Returned Parameters 0Oj 1 PONSetup OLOad MODE This command determines how the power source will react to an over current condition In const current mode the output voltage is reduced to a value that maintains a constant laod current In constant voltage mode the output faults to an initial value if the over current condition is maintained beyond the protection delay period Command Syntax SOURce PONSetup OLOad MODE mode Parameters CCURrent CVOLTage Examples OLOad CCUR Query Syntax PONS OLO Returned Parameters lt CR
179. tute of Electrical and Electronics Engineers 345 East 47th Street New York NY 10017 USA 1 3 Introduction to Programming IEEE 488 Capabilities of the AC DC Source All AC DC source functions are programmable over the IEEE 488 or RS232C interface bus The IEEE 488 2 capabilities of the AC DC source are listed in appendix A of the User s Guide IEEE 488 Address The AC DC source operates from a single IEEE 488 address that may be set from the front panel or programmatically through the IEEE 488 bus To set the IEEE 488 address from the front panel select the Utility entry from the menu screen Care must be used when setting the IEEE 488 address programmatically since the next statement sent to the source must reflect the new address i Series iX Series May 2002 7 California Instruments SCPI Programming Manual Rev L 2 Introduction to SCPI SCPI Standard Commands for Programmable Instruments is a programming language for controlling instrument functions over the IEEE 488 SCPI is layered on top of the hardware portion of IEEE 488 1 The same SCPI commands and parameters control the same functions in different classes of instruments For example you would use the same MEAS VOLT command to measure the AC DC source output voltage or the output voltage measured using a SCPI compatible multimeter 2 1 Conventions Used in This Manual Angle brackets lt gt Vertical bar Square Brackets Braces Boldface font
180. ual to the one item For example LIST VOLTage 120 100 110 FREQuency 600 i Series iX Series May 2002 121 California Instruments SCPI Programming Manual Rev L 122 is the same as LIST VOLTage 120 100 110 LIST FREQuency 60 60 60 Step 3 Determine the time interval that the output remains at each level or point in the list before it advances to the next point The time is specified in seconds For example to specify five dwell intervals use LESTIDWELI Ly 3 5 Ley ud 3 985 1 2 The number of dwell points must equal the number of output points If a dwell list has only one value that value will be applied to all points in the output list Step 4 Determine the number of times the list is executed before it completes For example to run a list 10 times use LIST COUNt 10 At RST the count is set to 1 Step 5 Determines how the list sequencing responds to triggers For a closely controlled sequence of output levels you can use a dwell paced list To cause the list to be paced by dwell time use LIST STEP AUTO As each dwell time elapses the next point is immediately output This is also the RST setting If you need the output to closely follow asynchronous events then a trigger paced list is more appropriate In a trigger paced list the list advances one point for each trigger received To enable trigger paced lists use LIST STEP ONCE The dwell time associated with each po
181. uments 4 9 Output Subsystem This subsystem controls the main outputs the signal outputs and the output impedance ix only of the AC DC source Subsystem Syntax OUTPut STATe bool Enable disable output voltage current power etc TTLTrg STATe lt bool gt Enable disable trigger out drive SOURce lt source gt Selects a TTLTrg source BOT EOT LIST IMPedance STATe lt bool gt Enable disable output impedance program REAL Sets resistive part of output impedance REACtive Sets inductive part of output impedance 4 9 1 Output Relay OUTPut STATe This command enables or disables the source output The state of a disabled output is an output voltage amplitude set to 0 volts with output relays opened The query form returns the output state Command Syntax OUTPut STATe lt bool gt Parameters 0 OFF 1 ON RST Value OFF Examples OUTP 10UTP STAT ON Query Syntax OUTPut STATe Returned Parameters 0 1 Related Commands RCL SAV 4 9 2 External Trigger Output OUTPut TTLTrg This command enables or disables the Trigger Out FUNCTION STROBE signal which is available at the system interface connector on the rear panel of the AC DC source Refer to the User Manual for pin out information and signal levels for the function strobe signal Command Syntax OUTPut TTLTrg STATe lt bool gt Parameters 0 1 OFFION RST Value OFF Examples OUTP TTLT1 OUTP TTLT OFF Query Syntax OUTPut TTLTrg
182. urces the acquisition trigger system is not present OUT EASUREMENT Function A TRIGGER Strobe TIRGGER E E SYSTEM OUTPUT TRANSIENT TRIGGER TRIGGER SYSTEM Figure 6 5 Trigger system block diagram 132 May 2002 i Series X Series SCPI Programming Manual Rev L California Instruments i Series iX Series May 2002 133 California Instruments SCPI Programming Manual Rev L 7 Status Registers You can use status register programming to determine the operating condition of the AC source at any time For example you may program the AC source to generate an interrupt assert SRQ when an event such as a current limit occurs When the interrupt occurs your program can then act on the event in the appropriate fashion Figure 7 1shows the status register structure of the AC DC source Table 5 1defines the status bits The Standard Event Status Byte and Service Request Enable registers as well as the Output Queue perform standard IEEE 488 functions as defined in the IEEE 488 2 Standard Digital Interface for Programmable Instrumentation The Operation Status and the Questionable Status registers implement functions that are specific to the AC DC source 7T 1 Power On Conditions All status register groups are cleared at power on This means all data bits and all Event Enable register bits are cleared It is possible however the set the PON mask in the Event enable register to cause a SRQ This can be accom
183. ure FREQuency 6 6 4 Harmonic Measurements The MEASure and FETCh queries can return the amplitude and phase of up to the 50th harmonic of voltage and current They can also return the total harmonic distortion in the output voltage or current For example to return readings for an individual harmonic component use the following commands EASure CURRent HARMonic AMPLitude harmonic number M MEASure CURRent HARMonic PHASe harmonic number M EASure VOLTage HARMonic AMPLitude harmonic number MEASure VOLTage HARMonic PHASe harmonic number Harmonic numbers are related to the programmed frequency of output voltage Queries sent with an argument of O return the dc component An argument of 1 indicates the fundamental frequency 2 indicates the second harmonic 3 indicates the third and so on The maximum harmonic component that can be read is limited by the fundamental measurement bandwidth which is 19 53 kHz for a single phase configuration and 6 51kHz for three phase configuration An error is generated if a query is sent for a harmonic that has a frequency greater than the bandwidth above To return all the harmonic components with a single query use the following commands EASure ARRay CURRent HARMonic AMPLitude lt n gt M MEASure ARRay CURRent HARMonic PHASe lt n gt M EASure ARRay VOLTage HARMonic AMPLitude lt n gt MEASure ARRay VOLTage HARMonic PHASe lt n gt
184. ured with external device Examples CAL MEAS CURR 11 5 Query Syntax CALibrate MEASure CURRent Returned Parameters lt NR2 gt value range 1000 to 1000 Related Commands CALibrate MEASure CURRent TEMPerature AC FSCale CALibrate MEASure CURRent AMBient DC FSCale lt NRf gt This command initiates the calibration of the DC current measurement at full scale and at ambient temperature Command Syntax CALibrate MEASure CURRent AMBient DC FSCale Parameters lt NRf gt actual load current measured with external device Examples CAL MEAS CURR DC 11 5 Query Syntax CALibrate MEASure CURRent DC Returned Parameters lt NR2 gt value range 1000 to 1000 Related Commands CALibrate MEASure CURRent TEMPerature DC FSCale CALibrate MEASure CURRent AMBient DC ZERO lt NRf gt This command initiates the offset adjustment of the DC current measurement at ambient temperature Command Syntax CALibrate MEASure CURRent AMBient DC ZERO Parameters lt NRf gt 0 or desired offset value Examples CAL MEAS CURR DC ZERO Query Syntax CALibrate MEASure CURRent DC ZERO Returned Parameters lt NR1 gt value range 127 to 128 Related Commands CALibrate MEASure CURRent TEMPerature DC ZERO CALibrate MEASure CURRent TEMPerature AC FSCale lt NRf gt This command initiates the calibration of the AC current measurement at full scale and at elevated temperature Command Syntax CALibrate MEASure CURRent TEMPerature AC F
185. us QUEStionable ENABle 11 Step 2 Program the Service Request Enable register to allow the QUES summary bit from the Status Byte register to generate RQS Use SRE 8 Step 3 When you service the request read the event register to determine which Questionable Status Event register bits are set and clear the register for the next event Use STATus QUEStionable EVENt i Series iX Series May 2002 139 California Instruments SCPI Programming Manual Rev L 7 7 SCPI Command Completion 140 SCPI commands sent to the AC 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 list and trigger actions measurements and calibration are among the parallel command 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 Error Reference source not found Some practical considerations for using these commands are as follows WAI OPC OPC TRIG STATe This prevents the AC source from processing subsequent commands until all pending operations are completed except for transients This places a 1 in the Output Queue when all pen
186. utput voltage referenced to the positive zero crossing of the fundamental component The parameter is the desired harmonic number Queries sent with a value of O return the dc component A value of 1 returns the fundamental output frequency Harmonic orders can be queried up to the fundamental measurement bandwidth of the measurement system which is 19 531 kHz for a single phase system and 6 510kHz for a three phase system Thus the maximum harmonic that can be measured is dependent on the output frequency Any harmonics that represent frequencies greater than above frequncies are returned as 0 Query Syntax MEASure SCALar VOLTage HARMonic PHASe lt NRf gt FETCh SCALar VOLTage HARMonic PHASe lt NRf gt Parameters 0 to 50 Examples MEAS VOLT HARM PHAS 3 FETC VOLT HARM PHAS 1 Returned Parameters lt NR2 gt Related Commands INST NSEL i Series iX Series May 2002 51 California Instruments SCPI Programming Manual Rev L MEASure VOLTage HARMonic THD X series only FETCh VOLTage HARMonic THD X series only Phase Selectable These queries return the percentage of total harmonic distortion and noise in the output voltage Query Syntax MEASure SCALar VOLTage HARMonic THD FETCh SCALar VOLTage HARMonic THD Parameters None Examples MEAS VOLT HARM THD FETC VOLT HARM THD Returned Parameters lt NR2 gt Related Commands INST NSEL 52 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instr
187. w The AC source also has the ability to control the slew rate of frequency changes To set the frequency slew rate to 30 Hz per second use FREQuency SLEW 30 At RST the slew rate is set to MAXimum which means that frequency changes occur instantaneously The frequency slew rate applies to programmed changes in frequency while the unit is operating in fixed mode Frequency changes made by the step pulse and list transients are controlled by the same rules that apply to all other functions that are subject to transient control See Programming Output Transients 114 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 6 2 5 Programming the Output Phase You can control the phase of the AC voltage waveform relative to an external reference with PHASe n which sets the phase in degrees If n is positive the voltage waveform leads the internal reference or phase A value in three phase configuration For the 15003i 15003ix clk and 30003ix clk three phase three controller clock and lock configurations the PHASe command sets the relative phase of B and C with respect to phase A 6 2 6 Current Limit This command will set the rms current limit to set this limit is CURRent n where n is the rms current limit in amperes If the load attempts to draw more current than the programmed limit and the source is set for constant current mode the output voltage is reduced to keep the
188. x Parameters Examples Query Syntax DO160 EMERgency VOLTage UNBalance none DO160 EMER VOLT UNB none DO160 ABNormal VOLTage MINimum This command will set the voltage to the minimum level for the abnormal operation Command Syntax Parameters Examples Query Syntax DO160 ABNormal VOLTage MINimum none DO160 ABN VOLT MIN none DO160 ABNormal VOLTage MAXimum This command will set the voltage to the maximum level for the abnormal operation Command Syntax Parameters Examples Query Syntax DO160 ABNormal VOLTage MAXimum none DO160 ABN VOLT MAX none DO160 ABNormal VOLTage UNDer This command will set the voltage to the under voltage level for the abnormal operation Command Syntax Parameters Examples Query Syntax DO160 ABNormal VOLTage UNDer none DO160 ABN VOLT UND none DO160 ABNormal VOLTage OVER This command will set the voltage to the surge level for the abnormal operation Command Syntax Parameters Examples Query Syntax DO160 ABNormal VOLTage OVER none DO160 ABN VOLT OVER none DO160 ABNormal VOLTage DC LOW This command will set the voltage to low voltage test for the abnormal operation Refer to Section 9 1 of the User Manual i Series iX Series May 2002 165 California Instruments Command Syntax Parameters Examples Query Syntax SCPI Programming Manual Rev L DO160 ABNormal VOLTage DC LOW none DO160 ABN VOLT DC LOW none DO160 ABNorma
189. ximum voltage the power source will operate at in the high voltage range Command Syntax SOURce LIMit VOLTage lt NRf gt Parameters maximum current limit at low voltage range command protected Query Syntax SOURce LIMit VOLTage Returned Parameters lt NR2 gt i Series iX Series May 2002 63 California Instruments SCPI Programming Manual Rev L LIMit PHASe This command will configure the power source controller for the number of output phases A value of zero will configure the source as a single phase unit A value of 120 will configure the power source controller as a three phase unit with a 120 phase offset between phase A B and C Any other value will configure the controller as a two phase unit using phase A and C Command Syntax SOURce LIMit PHASe lt NRf gt Parameters 0 to 360 command protected Query Syntax SOURce LIMit PHASe Returned Parameters lt NR2 gt 64 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 4 14 Sense Subsystem Sweep iX series only This subsystem controls the measurement current range the data acquire sequence and the harmonic measurement window of the AC source Subsystem Syntax SENSe SWEep OFFSet lt n gt Define trigger points relative to the start of the digitizer data record TINTerval Query the digitizer sample spacing SENSe SWEep OFFSet This command defines the trigger point relative to the start of the returned data r
190. yntax SOURce IHARmonics REFerence lt NRf gt Parameters lt reference gt Examples IHAR REF 230 Query Syntax IHAR REF Returned Parameters lt NR1 gt SOURce IHARmonics VOLTage This command will program the interharmonic voltage as a percentage of the reference voltage It will accept a value from 0 to 20 Command Syntax SOURce IHARmonics VOLTage lt NRf gt Parameters lt voltage gt Examples IHAR VOLT 10 Query Syntax IHAR VOLT Returned Parameters lt NR1 gt 160 May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments 9 4 RTCA DO 160D The following are the remote commands set for DO 160D ABORt command will terminate the test in progress at any time DO160 NORMal VOLT FREQ MINinum MAXimum VOLTage UNBalance WAVeform DISTortion VOLTage MODulation numeric INTerrupt numeric SURG DC UNDer FREQency MODulation numeric TRANSient VARiation EMERgency VOLT FREQ MINimum MAXimum VOLTage UNBalance ABNormal stage VOLTage MINimum MAXimum UNDer OVER DC LOW FREQuency TRANsient CATegory STANdard GROup DO160 NORMal VOLT_FREQ MINimum This command will set the voltage and frequency to the minimum level for the normal operation Command Syntax DO160 NORMal VOLT_FREQ MINimum Parameters none Examples DO160 NORM VOLT_FREQ MIN Query Syntax none i Series iX Series May 2002 161 California Instruments SCPI Prog
191. ystem configuration the following functions can be controlled separately in each phase VOLTage CURRent PHASe FUNCtion MEASure FETCh CALibrate Selecting a Phase Two commands determine which output phase or phases receive commands in the three phase mode These are INSTrument COUPle ALL NONE INSTrument NSELect lt n gt The RST setting for INSTrument COUPle is NONE This setting causes programming commands to be sent to the selected output phases only To send a programming command to all of the output phases set INSTrument COUPle to ALL For individual phase programming use ALL then select the desired output to receive the command with INSTrument NSELect For example when the commands INSTrument COUPle NONE May 2002 i Series iX Series SCPI Programming Manual Rev L California Instruments INSTrument NSELect 2 are sent all subsequent voltage commands will go to output phase 2 and all measurement queries will return readings from output phase 2 Note The INSTrument COUPle command has no effect on queries In the three phase mode queries are always directed to the output selected by INSTrument NSELect Programming the Output Phase You can control the phase of the ac voltage waveform relative to an internal reference or to phase A with PHASe lt n gt which sets the phase in degrees If n is positive the voltage waveform leads the internal reference In a 15003ix configuration th
192. ystem to make a measurement from the Idle state to the Waiting for Trigger state If the trigger system is not in the Idle state the initiate commands are ignored Command Syntax INITiate ACQuire Parameters None Examples INIT ACQ Related Commands ABOR INIT CONT TRIG INITiate CONTinuous These commands control the transient generator trigger system e 10rON continuously initiates the transient trigger system e 0 or OFF turns off continuous triggering In this state the trigger system must be initiated for each triggered event using INITiate TRANsient Command Syntax INITiate CONTinuous Parameters 0 1 OFFION RST Value OFF Examples INIT CONT ON Related Commands ABOR INIT CONT TRG i Series iX Series May 2002 99 California Instruments SCPI Programming Manual Rev L TRIGger TRANSient SOURce This command will determine the source of the trigger event for the transient The following sources are available e MMediate Triggering occurs as soon as the INIT command is received e BUS Triggering occurs following the INIT command after receiving the TRG command or a Group Execute Trigger GET IEEE signal Command Syntax TRIGger TRANSient SOURce Parameters IMMediate BUS RST Value IMMediate Examples TRIG SOUR BUS Related Commands ABOR group execute trigger TRIGger COUNt This command determines whether the phase synchronization is accomplished at the begining of the transient list or pulse for every

Download Pdf Manuals

image

Related Search

Related Contents

"取扱説明書"  Samsung RS21SSHCS 用户手册(-)    FICHA TÉCNICA Desinfectante-Bactericida  Uniden DXI5686-2 Owner's Manual  バスサポーター N-130・N  DES MINES - MINES Saint  químicasquimxel  Installation Operation and Maintenance Instructions  GE MMI & MML Data Sheet  

Copyright © All rights reserved.
Failed to retrieve file