PROGRAMMING MANUAL Function/Arbitrary Waveform Generator MODEL: 4050 Series (4052, 4053, 4054, 4055)
Table of Contents 1.1. About Commands & Queries ______________________________________ 1 1.2. Table of Commands & Queries ____________________________________ 3 1.3. IEEE 488.2 Common Command Introduction ______________________ 4 1.4. Output Command ________________________________________________ 6 1.5. Basic Wave Command ____________________________________________ 7 1.6. Modulate Wave Command ________________________________________ 8 1.7.
1.1. About Commands & Queries This section lists and describes the remote control commands and queries recognized by the instrument. All commands and queries can be executed in either local or remote state. The description for each command or query, with syntax and other information, begins on a new page. The name (header) is given in both long and short form, and the subject is indicated as a command or query or both.
placeholders, of which there are two types: the header path and the data parameter of a command. := A colon followed by an equals sign separates a placeholder from the description of the type and range of values that may be used in a command instead of the placeholder. { } Braces enclose a list of choices, one of which one must be made. [ ] Square brackets enclose optional items. … An ellipsis indicates that the items both to its left and right may be repeated a number of times.
1.2. Table of Commands & Queries Short Long Form Subsystem What Command/Query dose *OPC *OPC SYSTEM Get or set the OPC bit (0) in the Event Status Register (ESR).
1.3. IEEE 488.2 Common Command Introduction IEEE standard defines the common commands used for querying the basic information of the instrument or executing basic operations. These commands usually start with "*" and the length of the keywords of the command is usually 3 characters. 1.3.1 CHDR DESCRIPTION COMMAND SYNTAX QUERY SYNTAX RESPONSE FORMAT EXAMPLE 1 CHDR LONG EXAMPLE 2 return: 1.3.2 OPC DESCRIPTION QUERY SYNTAX RESPONSE FORMAT This Command is used to change query command return format.
1.3.3 IDN DESCRIPTION QUERY SYNTAX RESPONSE EXAMPLE 1 The *IDN? Query causes the instrument to identify itself. The response comprises manufacturer, model number, serial number, software version and firmware version. *IDN? FORMAT *IDN ,,,,,, :=“BK Precision” is used to identify instrument. := A model identifier less than 14 characters. := A nine- or 10-digit decimal code .
1.4. Output Command DESCRIPTION Enable or disable the output of the [Output] connector at the front panel corresponding to the channel. The query returns ON or OFF.
1.5. Basic Wave Command DESCRIPTION Set or get basic wave parameters. COMMAND SYNTAX :BaSicWaVe :={C1, C2} := {a parameter from the table below} Parameters Value FRQ WVTP AMP OFST SYM DUTY PHSE VAR MEAN DLY Description Type of wave Value of frequency. This parameter cannot be set for noise wave. Value of amplifier.
Maximal is 6V. Channel two minimum value 0.004V, Maximal is 20V. } := { Default unit is "V". maximal value depends on the maximal value depends on the version.} := {If wave type is square, range is from 20% to 80%. if wave type is pulse, range is from 0.1% to 99.9%} :={ 0% to 100%} := {0° to 360°} := Maximal is 2.222V, minimum value is 0.4mV.The default unit is "V". := The range depends on Variance . The default unit is "V".
:={C1, C2} := {a parameter from the table below. } Parameters Value STATE AM,SRC AM,MDSP AM,DEPTH DSBAM,MDSP FM, MDSP FM,DEVI PM,FRQ AM frequency. Only AM signal source is set to INT. AM deep. Only AM signal source is set to INT. DSBAM signal source DSBAM modulation wave. Only AM signal source is set to INT. DSBAM frequency. Only AM signal source is set to INT.
PWM,FRQ PWM,DEVI PWM,MDSP PWM,SRC PM,DEVI ASK,SRC ASK,KFRQ CARR,OFST CARR,SYM CARR,DUTY CARR,PHSE CARR DLY PM phase offset. Only PM signal source is set to INT. ASK signal source. ASK key frequency. Only ASK signal source is set to INT. CARR,AMP PWM signal source. FSK,SRC CARR,FRQ PWM modulation wave. Only carry wave is PULSE wave. CARR,WVTP Duty cycle deviation.
:= {0% to 120%} := {0.002Hz to 20000Hz} :={0 to basic wave frequency / 2} :={ 0.002Hz to 20000Hz} := {0° to 360°} := {0Hz to 4kHz } := {depends on carry wave duty} := {0.002Hz to 20000Hz} := {0.002Hz to 50000Hz} := { the same witch basic wave frequency} :={SINE ,SQUARE, RAMP, ARB, PULSE } := { Default unit is "HZ".
AMP,FRQ,1000HZ,AMP,4V,OFST,0V,SYM,50 EXAMPLE 3 Reads channel one modulate wave parameters that STATE is OFF. C1:MDWV? return: C1:MDWV STATE,OFF EXAMPLE 4 set channel one Fm frequency to 1000HZ C1:MDWV FM, FRQ, 1000HZ EXAMPLE 5 EXAMPLE 6 RELATED COMMANDS set the Value of channel one carrier wave shape to SINE. C1:MDWV CARR,WVTP,SINE set the Value of channel one carrier wave frequency to 1000hZ.
1.7. Sweep Wave Command DESCRIPTION COMMAND SYNTAX Parameters Set or get sweep wave parameters. :SWeepWaVe :={C1, C2} := {a parameter from the table below.
where: QUERY SYNTAX RESPONSE FORMAT EXAMPLE 1 EXAMPLE 2 EXAMPLE 3 := {ON|OFF}
EXAMPLE 4 Reads channel two modulate wave parameters that STATE is OFF. C2:SWWV? Return: C2:SWWV STATE,OFF 1.8. Burst Wave Command DESCRIPTION COMMAND SYNTAX Parameters Set or get burst wave parameters. :BursTWaVe :={C1, C2} := {a parameter from the table below.} Value Description PRD STPS When carrier wave is NOISE wave, this cannot be set. When GATE is selected, you cannot set this.
EDGE TIME MTRIG CARR,WVTP CARR,OFST CARR,FRQ CARR,AMP CARR,SYM CARR,DUTY CARR,PHSE CARR,DLY CARR VAR CARR MEAN where: When carrier wave is NOISE wave, you can’t set it. When NCYC is selected and TRSR is set to EXT, you can set it. When carrier wave is NOISE wave, you can’t set it. When NCYC is selected, you can set it.
:={ Default unit is "V". the maximal value depends on the version.} :={ If wave type is Square, range is from 20% to 80% If wave type is pulse, range is from 0.1% to 99.9%} :={ 0% to 100%} := {Maximal is Pulse Period, minimum valve is 0. Unit is S.} :={0.4mv to 666.
1.9. Parameter Copy Command DESCRIPTION copy channel data. COMMAND SYNTAX PAraCoPy , := {C1, C2} := {C1, C2} Note: the parameters C1 and C2 must be set to device together. C1 is destination channel, C2 is source charnel. EXAMPLE 1 Copy parameters from channel one to channel two. PACP C2,C1 RELATED COMMANDS ARWV, BTWV, CFG, CPL, MDWV, SWWV, BSWV 1.10. Arbitrary Wave Command DESCRIPTION Change arbitrary wave type.
11 12 ExpRise LogFall 22 23 QUERY SYNTAX RESPONSE FORMAT ne Lorentz Gauspul s 36 37 Kaiser BlackMan 47 48 :ARbWaVe? :={C1, C2} :ARbWaVe EXAMPLE 1 Set StarUp arbitrary wave output by index. ARWV INDEX, 2 EXAMPLE 2 Reads system current wave. ARWV? Return: ARWV INDEX,2,NAME,stairup Set Atan arbitrary wave output by name.
1.11. Phase Command DESCRIPTION COMMAND SYNTAX QUERY SYNTAX RESPONSE FORMAT EXAMPLE 1 Set or get phase parameters. INVerT := {OFF, ON} INVerT? INVERT Set load to invert. INVT ON 1.12. Sync Command DESCRIPTION Set signal output from backward panel in phase with forward.
1.13. Configuration Command DESCRIPTION COMMAND SYNTAX Changes system load data of power on. Sys_CFG := {DEFAULT,LAST} QUERY SYNTAX Sys_CFG? EXAMPLE 1 Set system load data of power on to last time data. RESPONSE FORMAT Sys_CFG SCFG LAST 1.14. Buzzer Command DESCRIPTION COMMAND SYNTAX Turns on or off buzzer. BUZZer := {ON,OFF} QUERY SYNTAX BUZZer? EXAMPLE 1 Turns on buzzer. RESPONSE FORMAT BUZZer BUZZ ON 1.15.
QUERY SYNTAX SCreen_SaVe? EXAMPLE 1 Set screen save time 5 minutes. RESPONSE FORMAT SCreen_SaVe SCSV 5 1.16. Clock Source Command DESCRIPTION COMMAND SYNTAX QUERY SYNTAX RESPONSE FORMAT EXAMPLE 1 Set or get signal oscillator resource . ROSCillator := {INT, EXT } ROSCillator? ROSC Uses system clock source. ROSC INT 1.17. Frequency Counter DESCRIPTION COMMAND SYNTAX QUERY SYNTAX RESPONSE FORMAT Set or get frequency counter.
TRG Input signal trig level. NW Input signal negative width. PW MODE DEF HFR Note: Input signal positive width. Frequency counter mode. Set configuration to default. Turn HFR on or off To use this function, you must turn on the frequency counter. You can only set the mode, def and hfr from the above list. parameters are f or query only.
1.18. Store list command DESCRIPTION This command is used to read the device wave data name. If the store unit is empty, the command will return “EMPTY” string. Note: M50~ M59 is user defined memory. The name will return what you defined it’s not defined, the name will “EMPTY”. QUERY SYNTAX SToreList? EXAMPLE 1 Read device memory saved arbitrary data.
1.19. Get arbitrary wave data command DESCRIPTION This command changes the user defined memory unit arbitrary wave data. COMMAND SYNTAX Parameters Value TYPE WVNM LENGTH FREQ AMPL OFST PHASE WAVEDATA WaVe_DaTa , := {M50~M59} := {a parameter from the table below. } Description arbitrary wave name Arbitrary wave type .Note the value has to be set to 5.
\x01\x0e\x01\x11\x01\x14\x01\x17\x01\x1a\x01\x1d\x01 \x01$\x01'\x01*\x01-\x010\x013\x016\x01:\x01=\x01@\x01C\x01F\x01I\x01L\x01P\x01S\x 01V\x01Y\x01\\\x01_\x01b\x01f \x01i\x01l\x01o\x01r\x01u\x01x\x01{\x01\x7f \x01\x82\x0 1\x85\x01\x88\x01\x8b\x01\x8e\x01\x91\x01\x95\x01\x98\x01\x9b\x01\x9e\x01\xa1\x01 \xa4\x01\xa7\x01\xab\x01\xae\x01\xb1\x01\xb4\x01\xb7\x01\xba\x01\xbd\x01\xc0\x01\x c4\x01\xc7\x01\xca\x01\xcd\x01\xd0\x01\xd3\x01\xd6\x01\xda\x01\xdd\x01\xe0\x01\xe3\ x01\xe6\x01\xe9\x01\xec\x01\xf0\x01\xf3\x
1.20. Virtual key command DESCRIPTION This sends a virtual key command to the device. representations of the front panel buttons. COMMAND SYNTAX VirtualKEY VALUE,,STATE, := {a parameter from the table below.
1.21.