background image

 
 

53 

 

Bit 6: 

User Request (URQ). This bit is not used. 

Bit 7: 

Power On (PON). This bit is set when the device is powered on. 

 
 
 

The SESR is queried using the *ESR? common query. 

 

The SESR is paired with an enable register, the Standard Event Status Enable Register (SESER). This register 
enables one or more events in the SESR to be reflected in the Status Byte ESB summary message bit. The bits of 
the SESER correspond to those of the SESR. Setting a bit in the SESER enables the corresponding event to set the 
ESB bit when it occurs. The SESER is set with the *ESE common command and queried with the *ESE? 
command query. 

 
 

4.11.4  The Error Queue 

 

The error queue is used to store codes of errors detected in the device. It is implemented as a cyclic buffer of 
length 10. When the error queue is not empty, bit EVQ in the Status Byte is set. The error queue is read with either 
one of the following two queries: 

 
 

 

:SYSTEM:ERROR? 

 

 

:STATUS:QUEUE:NEXT? 

 
 

The first error in the queue is returned, and the queue is advanced. 

 

4.11.5  Error Codes 

 
 

The negative error codes are defined by SCPI. Positive codes are specific to the instrument. 

 
 

The error message is returned in the form 

 
 

 

<error number>,"<error description>" 

 
 

A table of error numbers and their descriptions is presented here. 

 
 

No error reported 

 
 

 

 

 

No error 

 
 

 

Command Errors 

 

A command error is in the range -199 to -100, and indicates that a syntax error was detected. This includes the 
case of an unrecognized header. The occurrence of a command error causes the CME bit (bit 5) of the Standard 
Event Status Register to be set. 

 
 

 

-100 

 

 

Command Error 

 

 

-101 

 

 

Invalid character 

 

 

-102 

 

 

Syntax error 

 

 

-103 

 

 

Invalid separator 

 

 

-104 

 

 

Data type error 

 

 

-105 

 

 

GET not allowed 

 

 

-108 

 

 

Parameter not allowed 

 

 

 

 

 

 

More parameters than allowed were received 

 

 

-109 

 

 

Missing parameter 

Summary of Contents for 4076

Page 1: ...Model 4076 4079 50 MHz Arbitrary Function Generator USER MANUAL...

Page 2: ...www bkprecision com 714 921 9095 Include with the returned instrument your complete return shipping address contact name phone number and description of problem LIMITED THREE YEAR WARRANTY B K Precisi...

Page 3: ...Component replacement and internal adjustments must be made by qualified maintenance personnel Disconnect the power cord before removing the instrument covers and replacing components Under certain c...

Page 4: ...roy the AC line fuses For continued fire protection replace fuses only with those of the specified voltage and current ratings CAUTION This product uses components which can be damaged by electro stat...

Page 5: ...gnal Connections 12 2 9 RS 232 Connection 12 2 10 RS 232 Configuration 13 2 11 GPIB Address 14 2 12 GPIB Connections 14 Section 3 15 Operating Instructions 15 3 1 General Description 15 3 2 Display Wi...

Page 6: ...ion 47 4 8 Instrument Reset 47 4 9 Self Test 47 4 10 Command Syntax 48 4 11 Status Reporting 51 4 12 Common Commands 56 4 13 Instrument Control Commands 60 4 14 IEEE 488 1 Interface Messages 89 4 15 S...

Page 7: ...veform memory and can specify any data value in the range from 8191 to 8191 for any point in waveform memory 14 bit depth Due to their large memory bank the 4076 and 4079 can essentially give the user...

Page 8: ...Cable Specifications Models 4076 4079 Channels 1 Channel 2 Channels Frequency Characteristics Sine 1 uHz to 50 MHz Square 1 Hz to 50 MHz Triangle Ramp 1 Hz to 5 MHz Pulse 0 5 mHz to 25 MHz Accuracy 0...

Page 9: ...meters Triggered Output quiescent until triggered by an internal or external trigger then one waveform cycle is generated to programmed parameters Up to 20 MHz trigger rate for ARB waveforms and 10 MH...

Page 10: ...ght Approx 2 5 kg 5 5lbs Power 100 240 VAC 10 50 VA max Temperature Operating 0 C to 50 C Non operating 20 C to 70 C Humidity 95 RH 0 C to 30 C EMC According to EN55011 for radiated and conducted emis...

Page 11: ...s across the face for protection Use packing material around all sides of the container and seal it with tape bands Mark the box FRAGILE 2 3 Initial Inspection After the mechanical inspection verify t...

Page 12: ...Requirements For the safety of operating personnel the instrument must be grounded The central pin on the AC plug grounds the instrument when properly connected to the ground wire and plugged into pr...

Page 13: ...face As a general reference provided below is a chart that shows the approximate amount of time it takes to download or send the waveforms of the indicated sizes at the rated baudrate speed Number of...

Page 14: ...ith up to 4 000 000 points As a general reference the GPIB interface can send and receive 1 000 000 points within less than 12 minutes Note When GPIB is used transferring in blocks of 100 000 points a...

Page 15: ...s Figure 3 1 Front Panel View 1 Power ON OFF Applies and removes AC power to the unit 2 Display Window Displays all instrument data and settings on a LCD 3 FI F5 Keys Select the menu options that appe...

Page 16: ...l 4079 only Channel select key 15 UTIL Key Selects remote interface options LCD intensity power settings and summing input 16 ENTER Key Used for confirming parameter adjustments and settings 3 2 Displ...

Page 17: ...ter function and mode settings They also include the keys you use to program and generate arbitrary waveform output Refer to Figure 3 1 Use the rotary input knob and the cursor movement keys to enter...

Page 18: ...utput of channel one For model 4076 the sync output is in the front panel of the instrument see Figure 3 1 3 Modulation In Modulation input used for external modulation of a signal in AM FM FSK mode M...

Page 19: ...accidental voltages applied to the main output connector It operate as a 50 ohm voltage source working into a 50 ohms load At higher frequencies non terminated or improperly terminated output causes a...

Page 20: ...ULSE FREQ PERIOD WIDTH EQUAL EDGE LEAD TRAIL PREV o ARB START LENGTH MARK ADDR LENGTH ON OFF PREV EDIT POINT o ADRS o DATA o PREV LINE o FROM o TO o EXEC NO YES PREV o PREV PREDEF o TYPE Predefined Wa...

Page 21: ...P Sweep Stop Frequency o RATE Sweep Rate o LIN LOG Linear or Logarithmic MODUL o AM ON OFF of Modulation SHAPE AM Modulation Shape MOD FREQ AM Modulation Frequency EXT INT External or Internal Modulat...

Page 22: ...d frequency the waveform generator displays an Out of Range error message F3 AMPL OFST Selects the Amplitude or the Offset parameters In Arbitrary mode this setting defines the maximum peak to peak am...

Page 23: ...ced the waveform generator will display a Setting Conflict message F5 INTREF EXTREF Selects internal or external reference source the external reference must be connected to the rear panel Ref In conn...

Page 24: ...need to be synchronized with different phase relations After selecting the TRIG GATE or BURST menu the trigger source menu is available Trigger Menu F1 MAN Selects manual as the trigger source To tri...

Page 25: ...e must always be an even number If you input an odd number length a message will pop up and say Even wave length and then decrement one value to an even number For example if you entered 1001 as the l...

Page 26: ...e signal to be available at the Marker Out connector The F2 ADDR F3 LENGTH or F4 ON OFF can be selected and the Marker output signal can be available at any desired location address between the start...

Page 27: ...s to the waveform offset and 8191 corresponds to the negative peak amplitude F1 POINT This menu allows point by point waveform editing When selected the following menu is displayed F1 ADRS Select the...

Page 28: ...1 Table 3 1 Waveform Length Limits for Predefined Waveforms F5 EXEC Prompts you to confirm whether to execute the selected predefined waveform Press NO to abort executing the predefined waveform pres...

Page 29: ...000 F4 EXEC Prompts you to confirm whether to clear Press NO to abort clearing YES to clear F5 PREV Returns to previous menu Protect Function Protects makes read only a section of waveform memory F1 F...

Page 30: ...he value the dimmer the display F3 POWER Power on default Selects the power on default setting Select a value using the numeric keypad or the rotary input knob The selection is effective after a 10 s...

Page 31: ...T sweep In order to change to other modes of sweep do the following 1 Set sweep to ON FIRST by pressing F1 2 Then press the MODE button on front panel 3 Select between triggered TRIG burst BURST or ga...

Page 32: ...nal applied to the Modulation In connector F3 FM If the FM is selected the following menu is available FM Menu F1 ON OFF Selects the Modulation ON or OFF operating mode F2 DEV Defines the FM deviation...

Page 33: ...l a setup the waveform generator restores the front panel settings to those that you stored in the selected buffer All waveform data except for the waveform memory data is stored in the setup SETUP Me...

Page 34: ...ns to save the starting address and lengths of each created arbitrary waveforms users can quickly locate in the memory and output each of the different waves These functions can behave like reference...

Page 35: ...nd text will appear in the display window Other error codes appear when you enter an invalid front panel setting For more information on error codes see the Error Indication section 3 12 When the wave...

Page 36: ...of the data stored in memory so that you can manually restore such data if necessary 3 11 2 Dynamic RAM The DRAM stores waveform output For arbitrary waveform output the waveform generator loads the s...

Page 37: ...rm requires selecting the waveform type parameters modes etc and their settings that define the waveform Generating a standard waveform requires the following Selecting the waveform by pressing WAVE k...

Page 38: ...Section 3 14 4 respectively 3 14 2 Entering Individual Data Points The most basic way to program an arbitrary waveform is to enter data points for the waveform one data point at a time While this can...

Page 39: ...first 1000 points of waveform memory into execution memory WAVEFORM F5 ARB F1 START 1 F2 LENGTH 1000 F5 PREV MODE F1 CONT OUTPUT ON The following steps set up the waveform shown in Figure 3 2 ACTION K...

Page 40: ...litch data value 4095 at addresses 600 through 606 WAVEFORM F5 ARB F4 EDIT F1 PONT F1 ADRS 600 F2 DATA 4095 repeat 4095 and ENTER for addresses 601 606 Step 5 Add a 5 noise signal to addresses 700 thr...

Page 41: ...0 the rate is calculated as EXAMPLE Setting the Output Frequency To set the output frequency of a 1000 point waveform in execution memory to 1000 Hz set the rate to 1 s ACTION KEYSTROKES Step 1 Set th...

Page 42: ...mber For example if you entered 1001 as the length the message will pop up for one second and change the value automatically to 1000 3 14 7 Generating a Waveform Output Once you load a waveform into e...

Page 43: ...play the menu 2 Press F3 STORE to select the Store mode 3 Use the rotary input knob to select a buffer number Valid buffer numbers range from 1 to 49 Buffer 0 is a read only buffer that contains the p...

Page 44: ...figured only as a DCE so in most cases it can be connected with a straight through cable to a computer but would require special cabling to connect to another DCE device The baud rate is the bit rate...

Page 45: ...State The device may be in one of the four possible states described below The transition between states is defined by IEEE 488 1 4 2 1 Local State LOCS In the LOCS the device may be operated from th...

Page 46: ...ust be considered 4 5 1 The Input Buffer The device has a 256 byte long cyclic input buffer Decoding of remote messages begins as soon as the input buffer is not empty that is as soon as the controlle...

Page 47: ...eeping the wavelength constant if it too is not specified in the same program message If the wavelength is specified as well the frequency or point rate must change in accordance with the new value Th...

Page 48: ...mnemonics Two types of Program Headers are used in the 4076 4079 Instrument control headers and Common Command and Query headers A Program Header may consist of more than one mnemonic in which case th...

Page 49: ...ric value is rounded to an integer A non zero result is interpreted as 1 ON and a zero result as 0 OFF Queries return the values 0 or 1 iii NRf This is a decimal numeric data type where NR1 indicates...

Page 50: ...by the Program Data Separator It is defined as optional whitespace characters followed by a comma which in turn is followed by optional whitespace characters There are two types of Program Message Un...

Page 51: ...are at the same level c When Program Message Units describe different subsystems a colon prefix must be used to reset the command reference to the root Here the frequency and the output state are set...

Page 52: ...serial poll If the RQS bit was set it is then cleared The STB may also be read by the STB common query 4 11 2 Service Request Enabling Service request enabling allows the user to select which Status B...

Page 53: ...not empty bit EVQ in the Status Byte is set The error queue is read with either one of the following two queries SYSTEM ERROR STATUS QUEUE NEXT The first error in the queue is returned and the queue...

Page 54: ...d 170 Expression error Only 6 error ranges may be specified 171 Invalid expression An error was found in the expression 178 Expression data not allowed Execution Errors An execution error indicates th...

Page 55: ...sent 430 Query DEADLOCKED The input buffer and output queue are full and the controller is attempting to send more data In this case the output queue and input buffers will be cleared Parsing will re...

Page 56: ...tification query The identification query enables unique identification of the device over the GPIB This query should always be the last in a program message It returns a string with four fields Manuf...

Page 57: ...REQ 5KHZ OPC The OPC command and the OPC query described below find use mainly when commands having relatively long execution times are executed for example the programming of long predefined waveform...

Page 58: ...gister clears it Type Common Query Syntax ESR Response NR1 d PSC Power on status clear command This command is used to control the automatic power on clearing of certain status functions Arguments Typ...

Page 59: ...he IEEE 488 1 Group Execute Trigger interface message and has the same effect It is used to trigger the device to output a wave and is accepted only when the trigger mode is set to Trigger Gate or Bur...

Page 60: ...hould be prefixed with a colon Mnemonics appearing in square brackets are optional The character is used to denote a choice of specifications The ws is used to denote a white space character 4 13 1 SO...

Page 61: ...uments Type Numeric Units MHz KHz Hz default Range Dependent on the Point Rate and Wavelength Fmax 1 8nS Wavelength Fmin 1 100S Wavelength Rounding The value is rounded to 4 digits Command Type Settin...

Page 62: ...s MINimum MAXimum Examples VOLT AMPL VOLT AMPL MAX Response NR2 Considerations 1 The MAXimum amplitude is dependent on the offset 2 The MAX and MIN arguments should not be used in a program message co...

Page 63: ...This clock sets the arbitrary waveform point rate Arguments Type Character Options INTernal EXTernal Command Type Setting or Query Setting Syntax SOURce REFerence SOURce ws option Examples REF SOUR I...

Page 64: ...STATe Response 0 1 4 13 1 7 2 AM DEPTh This command sets the AM modulation depth in Arguments Type Numeric Units none implied Range 0 to 100 Rounding to integer Command Type Setting or Query Setting S...

Page 65: ...command selects the AM modulation source as either internal then the above settings are effective or external and then the external waveform determines depth shape and frequency of modulation Argumen...

Page 66: ...M SHAPe This command selects the FM modulating waveform shape Arguments Type Character Options SINusoid TRIangle SQUare Command Type Setting or Query Setting Syntax SOURce FM SHAPe ws SIN TRI SQU Exam...

Page 67: ...This command activates or deactivates FSK modulation Arguments Type Boolean Command Type Setting or Query Setting Syntax SOURce FSK STATe ws ON 1 OFF 0 Examples FSK STAT ON FM OFF Query Syntax SOURce...

Page 68: ...K RATE This command sets the rate of switching between the two frequencies of the modulation Arguments Type Numeric Units MHz KHz Hz default Range Fmax 1MHz Fmin 0 01Hz Rounding The value is rounded t...

Page 69: ...Sweep SPACing This command sets the sweep spacing as either LINear or LOGarithmic Arguments Type Character Options LINear LOGarithmic Command Type Setting or Query Setting Syntax SOURce SWEEP SPACing...

Page 70: ...10 5 Sweep STOP This command sets the stop frequency of the sweep Arguments Type Numeric Units MHz KHz Hz default Range Dependent on the frequency range of the current function Rounding The value is...

Page 71: ...e PERiod 500NS Query Syntax SOURce PULse PERiod ws MINimum MAXimum Response NR3 4 13 1 12 2 PULse WIDth This command pulse width to the specified value Arguments Type Numeric Units S mS uS nS Range 20...

Page 72: ...alling edge of the pulse to the specified value Arguments Type Numeric Units S mS uS nS Range 100 nS minimum maximum defined by period and width see note above Rounding 4 digits Command Type Setting o...

Page 73: ...e to change channel 2 output to ON send the command OUTP2 ON or OUTP2 1 4 13 2 1 Output State OUTPut STATe state 0 1 This command controls whether the output is ON or OFF Arguments Type Boolean Comman...

Page 74: ...nd is used to set the trigger mode It is not a standard SCPI command Arguments Type Character Options CONTinuous TRIGger GATE BURSt Command Type Setting or Query Setting Syntax TRIGger MODE ws option...

Page 75: ...s TRIG BURS 100 TRIG BURS MAXIMUM Query Syntax TRIGger BURSt ws MAXimum MINimum Response NR1 Examples TRIG BURST TRIG BURS MAX 4 13 3 4 Internal Trigger Rate TRIGger TIMer trigger rate Sets the rate o...

Page 76: ...umeric value MARKer ADDRess numeric value STATe Boolean LENGth numeric value SAVe Note For model 4079 nothing changes in the commands above to control channel 1 But for channel 2 change ARB to ARB2 Fo...

Page 77: ...ry ADDRess ws MINimum MAXimum Examples ARB ADDR 100 Query Syntax ARBitrary ADDRess ws MINimum MAXimum Response NR1 4 13 4 3 Data ARBitrary DATA data This command is used to set the values of the wavef...

Page 78: ...ing ARB ADDR command prior to the query 4 13 4 4 Line Draw ARBitrary DRAW start address end address This command is used to generate a straight line between two points in the arbitrary waveform memory...

Page 79: ...rm to a different location in waveform memory Arguments Type NRf Range 1 to 4 000 000 Rounding to integer value Command Type Setting only Setting Syntax ARBitrary COPY ws start length destination Exam...

Page 80: ...ined Waveforms ARB PRED shape start address length scale This command is used to load the waveform memory with a specific type of waveform Arguments Shape Type Character Options SINusoid SQUare TRIang...

Page 81: ...ng table shows the data values required in order to achieve maximum scale SHAPE DATA SIN 0 SQU 0 TRI 0 NOIS 0 4 13 4 10 Start Address ARBitrary STARt start address This command sets the start address...

Page 82: ...es ARB MARK 45 Query Syntax ARBitrary MARKer ADDRess Example ARB MARK Response Marker address in NR1 format Considerations The marker is only output if its address is within the range of addresses cur...

Page 83: ...vent queue The OPERation status registers are mandated by SCPI and so are implemented but are not used by the hardware No status is ever reported through them and they are not detailed in this manual...

Page 84: ...the range of errors enabled is as set by the STATus PRESet command ie 440 to 100 If PSC is cleared the status is not cleared on power on and the errors and events enabled are those that were enabled b...

Page 85: ...ion filter enables a bit in the event register to be set when a condition changes from false to true The negative transition register enables a bit in the event register to be set when a condition cha...

Page 86: ...R1 4 13 5 4 5 Event Enable Register STAT QUES ENABle This command is used to set and query the value of the enable register Arguments Type NRf Range 0 to 131 072 Non integer arguments are rounded befo...

Page 87: ...Setting the address to 31 puts the instrument in the off bus state 2 Using the MAX option sets the address to 30 not 31 Default Power on is address 9 4 13 6 2 Error Queue Reading SYSTem ERRor This que...

Page 88: ...ws ON 1 OFF 0 Examples SYST SEC ON SYST SEC OFF Query Syntax SYSTem SECurity STATe Response 0 1 4 13 6 5 Power on Buffer SYSTem POBuffer buffer number This command is used to set the Power On Buffer s...

Page 89: ...DCL Device Clear In response to the DCL the AWG does the following a Clears the input buffer and the output queue b Resets the Message Processing Functions 4 14 3 SDC Selected Device Clear The respons...

Page 90: ...l SOURce SHAPe ADJust FREQuency value SOURce INT EXT value IMMediate INT SIN value FM STATe ON OFF EXT SQU DEViation value TRI SHAPe SIN SQU TRI ARB FREQuency value AMPLitude OFFSet SOURce INT EXT ROS...

Page 91: ...NT value TRIG EXT GATE MAN BURS BUS 4 15 5 ARBitrary Subsystem ARBitrary PRATe ADDRess DATA STARt LENGth SAVe value value value value value DRAW COPY CLEar PROTect start end start end RANGe STATe star...

Page 92: ...TRansition NTRansition value value value QUEStionable EVENt CONDtion ENABle PTRansition NTRansition value value value PRESet QUEue NEXT ENABle expression 4 15 7 SYSTem Subsystem SYSTem COMMunicate ERR...

Page 93: ...47 MLA15 10 020 16 DLE 30 060 48 0 MLA16 11 021 17 DC1 LLO 31 061 49 1 MLA17 12 022 18 DC2 32 062 50 2 MLA18 13 023 19 DC3 33 063 51 3 MLA19 14 024 20 DC4 DCL 34 064 52 4 MLA20 15 025 21 NAK PPU 35 06...

Page 94: ...TA15 6F 157 111 o MSA15 PPE 50 120 80 P MTA16 70 160 112 p MSA16 PPD 51 121 81 Q MTA17 71 161 113 q MSA17 PPD 52 122 82 R MTA18 72 162 114 r MSA18 PPD 53 123 83 S MTA19 73 163 115 s MSA19 PPD 54 124 8...

Page 95: ...ken together give the byte count Example of definite form sending values 0 1 2 decimal ARB DATA 16 x0 x0 x0 x1 x0 x2 means that the byte count consists of 1 byte only and the number of bytes is 6 Note...

Page 96: ...s are idle the front panel ADRS indicator is off If the waveform generator is talk addressed or listen addressed the ADRS indicator lights IFC Interface Clear Bus pin 9 The IFC message places both the...

Page 97: ...Go To Local 1 with ATN Listen addressed instruments respond to GTL by changing to a local state Remote to local transitions caused by GTL do not affect the execution of the message being processed wh...

Page 98: ...S When the waveform generator is in a local without lockout state LWLS it operates the same as it does in LOCS However in LWLS rtl does not inhibit a transition to remote state Remote State REMS When...

Page 99: ...Address MLA is received Basic Listener L4 Unlisten if My Talk Address MTA is received Service Request SR1 Complete capability Remote Local RL1 Complete capability including Local Lockout LLO Parallel...

Page 100: ...100 22820 Savi Ranch Parkway Yorba Linda CA 92887 www bkprecision com 2009 B K Precision Corp V082009...

Reviews: