Home

[SOURce[1|2]]

image

Contents

1. Command Defined in Not defined in SCPI 1999 0 SCPI 1999 0 PERiod y TRANsition TRAiling y LEADing y WIDTh y PWM INTernal FREQuency y FUNCtion y EFILe y SOURce y STATe y DEViation DCYCle y SWEep HTIMe y MODE y RTIMe y SPACing y TIME y VOLTage LIMit HIGH y LOW y UNIT y LEVel IMMediate HIGH y LOW y OFFSet y AMPLitude y SOURce lt 3 4 gt POWer LEVel IMMediate AMPLitude y STATus OPERation EVENt y CONDition y ENABIe y PRESet y QUEStionable EVENt y CONDition y ENABIe y SYSTem BEEPer STATe y IMMediate y ERRor NEXT y KCLick STATe y KLOCk STATe y SECurity IMMediate y ULANguage y VERSion y AFG3000 Series Arbitrary Function Generators Reference Manual C 3 Appendix C SCPI Conformance Information Table C 1 SCPI conformance information cont Command Defined in Not defined in SCPI 1999 0 SCPI 1999 0 TRACe DATA CATalog y COPY y DATA y LINE y VALue y DEFine y DEL ete NAME y LOCK STATe y POINts y TRIGger SEQuence SLOPe y SOURce y TIMer y IMMediate y CAL y CLS y ESE y ESR y IDN y OPC y OPT y PSC y RCL y RST y SAV y SRE y STB y TRG y TST y WAI y C 4 AFG3000 Series Arbi
2. First Level Second Level Third Level Description 1 0 Interface GPIB Address Sets the instrument GPIB address Configuration Select Talk Listen to Talk Listen enable the GPIB bus Off Bus communication Select Off Bus to isolate the instrument from the GPIB bus communication Ethernet IP Address Sets an IP address manually Subnet Mask Sets a subnet mask manually Default Gateway Sets a default gateway manually DHCP Select DHCP On to Off On assign an IP Address automatically Select DHCP Off to assign an IP Address manually Language English Selects a language to display on the instrument French screen German After selecting a desired language the bezel Japanese menu pop up message and built in help are more 1 of 2 displayed in the selected language The main Korean display area see page 1 11 is not translated Simplified Chinese Traditional Chinese blank more 2 of 2 AFG3000 Series Arbitrary Function Generators Reference Manual 2 23 Reference 2 24 Table 2 13 Utility Menu cont First Level Second Level Third Level Description System Trigger Out Select Trigger to generate the trigger signal for Trigger the oscilloscope Sync Select Sync to synchronize multiple AFG3000 series instruments Clock Ref Select Internal to accept the internal reference Internal Clock External Select External to accept an external reference clock Power On S
3. Operation Complete Request Control Query Error Device Dependent Error Execution Error Command Error User Request Power On Errorand Event SESR ESER Status Block NI gt ESAS e ESR ESE lt bit_value gt ESE Figure 4 1 Error and event handling process SBR SRER STB SRE lt bit_value gt SRE Status Byte Register AFG3000 Series Arbitrary Function Generators Reference Manual Status and Events Standard Event Status This block is used to report power on off command error and command execution Block status The block has two registers the Standard Event Status Register SESR and the Event Status Enable Register ESER Refer to the Standard Event Status Block shown at the bottom of Figure 4 1 Standard Event Status Register The SESR is an eight bit status register When an error or other type of event occurs on the instrument the corresponding bit is set You cannot write to this register Event Status Enable Register The ESER is an eight bit enable register that masks the SESR You can set this mask and take AND with the SESR to determine whether or not the ESB bit in the Status Byte Register SBR should be set Operation Status Block This block is used to report on the status of several operations being executed by the arbitrary function generator The block has three registers the Operation Condition Reg
4. 1 5 Waveform parameter comparison CH2 selected 1 5 Run Mode menu Continuous 0 eee e eee cece eeee 1 8 Sreem interlace 05 055 hh his iw os eS aS ie bs wie Piste ee 1 11 Level Meter carener en a ejes 1 12 Graphical representation of button status 1 13 Default display esne eaae cece cece cere eect ee eens 1 14 Frequency Period Phase Menu oooooooooocmocmommo ooo 1 14 Screen display with Frequency active 1 o o o 1 15 Screen display with Frequency active 2 o oooooo o 1 15 Screen display with Frequency active 3 o o o 1 15 Screen display with Frequency active 4 o o o o 1 16 Amplitude Level Menu 0 cee cece ccc c ee ee eee eeee 1 16 PWM sample screen 0 cece cece e cece cece e s 1 17 PWM parameter menu Freq is selected 1 17 PWM parameter menu Period is selected 1 18 Rear panel connectors cece ce cee eee reece eee 1 19 SWEEP type ui id ots ed oa lens a 2 9 Frequency SWeep ccc cece cece iinei iise e ee roo 2 10 Number of Points 0 ccc cece eee eee m2 9 29 2 16 Using the Cursor Line edit oo oooooommooomo m 2 18 Line Edit example 0 cece cece cee ee cee E 2 19 Operation Edit by Data Point o oooooomomo o o 2 19 Cut example cece ccc eee eee cere eee ce
5. Figure 4 6 Event Status Enable Register ESER Service Request Enable Register SRER The SRER consists of bits defined exactly the same as bits 0 through 7 in the SBR You can use this register to define which events will generate service requests The SRER bit 6 cannot be set Also the RQS is not maskable The generation of a service request with the GPIB interface involves changing the SRQ line to LOW and making a service request to the controller The result is that a status byte for which an RQS has been set is returned in response to serial polling by the controller Use the SRE command to set the bits of the SRER Use the SRE query to read the contents of the SRER Bit 6 must be set to 0 Figure 4 7 shows the SRER func tions 6 7 RQS 5 4 3 2 1 0 OSB 6 ESB MAV QSB Eas MSS Figure 4 7 Service Request Enable Register SRER Operation Enable Register OENR The OENR consists of bits defined exactly the same as bits 0 through 15 in the OEVR see Figure 4 8 You can use this register to control whether or not the Operation Status Bit OSB in the SBR is set when an event occurs and the corresponding OEVR bit is set Use the STATus OPERation ENABle command to set the bits in the OENR Use the STATus OPERation ENAB1e query to read the contents of the OENR 15 14 13 12 11 10 9 8 7 6 5 4 la J2 l1 J
6. 00 0 0 cece ee o 3 96 SYSTem ULAN guage ic se sis ate Sv ee Seige ele poe ad ogee ope Wee wales 3 97 SYSTEM VERSION A A A RA 3 97 TRACEe DATA CATA Op Tr irs nti a REEE E ira di ees 3 98 TRACe DATA COPY No Query For 3 98 TRAGCEe DATA DATA Ti aa ies 3 99 AFG3000 Series Arbitrary Function Generators Reference Manual iii Table of Contents Status and Events TRACe DATA DATA LINE No Query Form ooooooooooo nnna 3 100 TRACe DATA DATA VALue onoono ccc ccc cee eens 3 101 TRACe DATA DEFine No Query Form 0 0 0000 0000 e eee 3 102 TRACe DATA DELete NAME No Query Form 2220005 3 103 TRACe DATA LOCK STATe o 3 103 TRACe DATA POINS 0 e eens 3 104 TRG No Query Form 0 0 ccc ect ence tree e aia 3 104 TRIGger SEQuence SLOPe 1 0 eect e eee 3 105 TRIGger SEQuence SOURCE of kee vee ee es nae oe ee oa ee 3 105 TRIGger SEQuence TIMer 0 0 cece cece eee eens 3 106 TRIGger SEQuence MMediate No Query Form 200005 3 106 FTSE A A Senta IE O em Cath olay cag SENG Sapte REN TO y 3 107 WAI No Query Form 0 cece eee e een ene nee 3 107 Status and EVENS cui a aa o a ns as 4 1 Status Reporting Structure 2 0 cor 4 1 RESISTE A AA A SR 4 4 QUEUE dad toda od dd ae ee 4 10 Messages and Codes eiii a e dale eee as Pa eae Soe a 4 11 Programming Examples Appendices Index Programming Examples 0 cece cece cree cec
7. Examples DATA DATA EMEMory 42000 lt DAB gt lt DAB gt lt DAB gt transmits a waveform to the edit memory in the arbitrary function generator The block data element 42000 indicates that 4 is the number of digits in 2000 byte count and the 2000 bytes of binary data are to be transmitted AFG3000 Series Arbitrary Function Generators Reference Manual 3 99 Syntax and Commands TRACe DATA DATA LINE No Query Form 3 100 Group Syntax Arguments Examples This command writes line data to the edit memory The data between the specified points is interpolated linearly Trace TRACe DATA DATA LINE EMEMory lt start_point gt lt point_datal gt lt end point gt lt point data2 gt lt start_point gt lt NR1 gt where lt NR1 gt is the first point from which the data is interpolated linearly lt point_datal gt lt NR1 gt where lt NR1 gt is the data value at the start point lt end_point gt lt NR1 gt where lt NR1 gt is the last point from which the data is interpolated linearly lt point_data2 gt lt NR1 gt where lt NR1 gt is the data value at the end point DATA DATA LINE EMEMory 1 2047 250 4094 sets a data value of 2047 for start point 1 and a data value of 4094 for end point 250 and interpolates linearly between these two points in the edit memory AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands TRACe DATA DATA VALue This co
8. Offset Omv PWM Freq 10 00 kHe Buty 50 0 Figure 1 20 PWM parameter menu Period is selected The Frequency Period shortcut button is used to select the setting that was last used Frequency or Period If Frequency was selected you can change the shortcut by pushing the shortcut button again The next time you push the Frequency Period button Period will be selected NOTE The Duty Width and Leading Trailing shortcut buttons are operational only when Pulse is selected in the Functional button AFG3000 Series Arbitrary Function Generators Reference Manual Operating Basics Rear Panel Figure 1 21 shows the locations of the instrument rear panel connectors Security slot ADD INPUT cn LAN UE Ep USB Chassis ground screw EXT REF OUT GPIB EXT REF INPUT EXT MODULATION CH2 INPUT EXT MODULATION CH1 INPUT Figure 1 21 Rear panel connectors EXT REF INPUT This input is used when synchronizing multiple arbitrary function generators or an arbitrary function generator and another device EXT REF OUTPUT This output is used when synchronizing multiple arbitrary func tion generators or an arbitrary function generator and another device ADD INPUT Dual channel model only Additional Input connector allows you to input a signal
9. SOURce 1 2 FREQuency CONCurrent ON OFF lt NR1 gt SOURce 1 2 FREQuency CONCurrent ON or lt NR1 gt 40 enables the concurrent copy function OFF or lt NR1 gt 0 disables the concurrent copy function lt NR1 gt SOURce1 FREQuency CONCurrent ON copies the frequency value of CH 1 to CH 2 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 FREQuency CW FIXed Group Syntax Arguments Returns Examples This command sets or queries the frequency of output waveform for the specified channel This command is available when the Run Mode is set to other than Sweep The setting range of output frequency depends on the type of output waveform If you change the type of output waveform 1t might change the output frequency because changing waveform types impacts on the setting range of output frequency Source SOURce 1 2 FREQuency CW FIXed lt frequency gt MINimum MAX imum SOURce 1 2 FREQuency CW FIXed MINimum MAX imum lt frequency gt lt NRf gt lt units gt where lt NRf gt is the output frequency lt units gt Hz kHz MHz lt frequency gt SOURcel FREQuency FIXed 500kHz sets the CH 1 output frequency to 500 kHz when the Run Mode is set to other than Sweep AFG3000 Series Arbitrary Function Generators Reference Manual 3 51 Syntax and Commands SOURce 1 2 FREQuency MODE 3 52 Group Related Commands
10. 3 108 AFG3000 Series Arbitrary Function Generators Reference Manual Status and Events Status and Events This section provides details about the status information and events the arbi trary function generator reports Status Reporting Structure The arbitrary function generator status reporting functions conform to IEEE 488 2 and SCPI standards Use the status reporting function to check for instrument errors and to identify the types of events that have occurred on the instrument Figure 4 1 shows an outline of the instrument error and event reporting function The error and event reporting system consists of the following three blocks E Standard Event Status E Operation Status E Questionable Status The operations processed in these blocks are summarized in status bytes which provide the error and event data AFG3000 Series Arbitrary Function Generators Reference Manual 4 1 Status and Events STATus QUEStionable CONDition STATus QUEStionable EVENt STATus QUEStionable ENABle lt bit_value gt Questionable Status Block FREQuency QCR QEVR QENR OCR OEVR OENR Operation Status Block Waiting for TRIGger CH1 Error and Event Queue Waiting for TRIGger CH2 Output Queue STATus OPERation CONDition L STATus OPERation ENABle lt bit_value gt STATus OPERation EVENt
11. 313 Calibration memory lost 314 Save recall memory lost 315 Configuration memory lost 320 321 Storage fault Out of memory 330 340 Self test failed Calibration failed 350 Queue overflow 360 Communication error 361 Parity error in program message 362 Framing error in program message 363 Input buffer overrun 365 Time out error Query Errors Table 4 9 lists the error codes that are returned in response to an unanswered query Table 4 9 Query errors Error codes Message 400 query error 410 query INTERRUPTED 420 query UNTERMINATED 430 query DEADLOCKED 440 query UNTERMINATED after indefinite response Power on Events These events occur when the instrument detects an off to on transition in its power supply Table 4 10 Power on events Event code 500 Event message Power on AFG3000 Series Arbitrary Function Generators Reference Manual 4 15 Status and Events User Request Events Request Control Events Operation Complete Events 4 16 These events are not used in this instrument Table 4 11 User request events Event code Event message 600 User request These events are not used in this instrument Table 4 12 Request control events Event code Event message 700 Request control These events occur when instrument s synchronization protocol having been enabled by
12. If the spec ified setup memory is deleted this command causes an error Group Memory Related Commands SAV Syntax RCL 0 1 2 3 4 Arguments 0 1 2 3 or 4 specifies the location of setup memory Examples RCL 3 restores the instrument from a copy of the settings stored in memory location 3 AFG3000 Series Arbitrary Function Generators Reference Manual 3 35 Syntax and Commands RST No Query Form This command resets the instrument to the factory default settings This command is equivalent to pushing the Default button on the front panel The default values are listed in Default Settings on page D 1 Group System Syntax RST Arguments None Examples RST resets the arbitrary function generator settings to the factory defaults SAV No Query Form This command stores the current settings of the arbitrary function generator to a specified setup memory location A setup memory location numbered 0 last setup memory is automatically over written by the setups when you power off the instrument If a specified numbered setup memory is locked this command causes an error Group Memory Related Commands RCL Syntax SAV 0 1 2 3 4 Arguments 0 1 2 3 or 4 specifies the location of setup memory Examples SAV 2 saves the current instrument state in the memory location 2 3 36 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 AM DEPTh Group Synt
13. Paste at End The Paste at End appends the contents of the user waveform memory Userl User2 User3 or User4 USB memory or the current contents of edit memory at the end of the waveform currently being edited When this opera tion is executed the Number of Points setting is automatically modified If this operation would cause the waveform to exceed 65 536 AFG3021 or AFG3022 or 131 072 AFG3101 AFG3102 and AFG3251 AFG3252 points the waveform append will not be executed Waveform in Edit Memory Waveform stored in internal or USB memory 1000 Waveform after executing Paste at Beginning Stored waveform is pasted at the end of the waveform being edited ae 1000 2000 Figure 2 9 Paste at End Write to The currently edited waveform is in Edit Memory If the instrument power is turned off the contents of Edit Memory will be lost To allow this wave form to be used the next time the power is turned on the contents of Edit Memory must be saved into the user waveform memory or a USB memory For more information on saving a user defined waveform file refer to Saving a Waveform File on page 2 29 AFG3000 Series Arbitrary Function Generators Reference Manual Reference Utility Menu The Utility menu provides access to utilities used by the arbitrary function gener ator such as language selection instrument diagnostics and user preferences Table 2 13 Utility Menu
14. Syntax Arguments Returns Examples This command sets or queries the frequency sweep state You can select sine square ramp or arbitrary waveform for sweep The arbitrary function generator automatically changes to the Continuous mode if any waveform is selected other than sine square ramp or an arbitrary waveform Source SOURce 1 2 FREQuency CW FIXed SOURce 1 2 FREQuency CENTer SOURce 1 2 FREQuency SPAN SOURce 1 2 FREQuency STARt SOURce 1 2 FREQuency STOP SOURce 1 2 FREQuency MODE CW FIXed SWEep SOURce 1 2 FREQuency MODE CW FIXed means that the frequency is controlled by the SOURce 1 2 FREQuency CW FIXed command The sweep is invalid SWEep means that the output frequency is controlled by the sweep command set The sweep is valid CW FIXed SWEep SOURcel FREQuency MODE SWEep specifies the sweep command set for controlling the CH 1 output frequency AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 FREQuency SPAN This command sets or queries the span of frequency sweep for the specified channel This command is always used with the SOURce 1 2 FREQuency CENTer command The setting range of frequency span depends on the waveform selected for sweep Group Source Related Commands SOURce 1 2 FREQuency CENTer SOURce 1 2 FREQuency MODE Syntax SOURce 1 2 FREQuency SPAN lt frequency gt MI
15. TRACe y OUTPut 1 2 IMPedance y POLarity y STATe y TRIGger MODE y SOURce ROSCillator SOURce y SOURce 1 2 VOLTage CONCurrent STATe y AM STATe y INTernal FREQuency y FUNCtion y EFILe y AFG3000 Series Arbitrary Function Generators Reference Manual C 1 Appendix C SCPI Conformance Information Table C 1 SCPI conformance information cont Command Defined in SCPI 1999 0 Not defined in SCPI 1999 0 SOURce y DEPTh y BURSt MODE COMBine NCYCles TDELay STATe FEED 2 2 2 lt FM INTernal FREQuency L FUNCtion lt EFILe SOURce STATe DEViation FREQuency CENTer 2 2 2 CONCurrent STATe MODE SPAN STARt STOP CWIFIXed 2 2 2 2 e FSKey INTernal RATE SOURce STATe FREQuency FUNCtion EFILe RAMP SYMMetry Lje jejejeje SHAPe 2 PHASe INITiate ADJust PM INTernal FREQuency L PULSe FUNCtion EFILe SOURce STATe DEViation DCYCle DELay HOLD 2 2 2 2 2 lt AFG3000 Series Arbitrary Function Generators Reference Manual Appendix C SCPI Conformance Information Table C 1 SCPI conformance information cont
16. Table 3 11 Status commands Header Description CLS Clear all event registers and queues ESE Set query standard event status enable register ESR Return standard event status register PSC Set query power on status clear SRE Set query service request enable register STB Read status byte STATus OPERation EVENt STATus OPERation CONDition Return operation event register Return operation condition register STATus OPERation ENABle STATus PRESet Set query operation enable register Preset SCPI enable register AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands Table 3 11 Status commands cont Header STATus QUEStionable EVENt Description Return questionable event register STATus QUEStionable CONDition Return questionable condition register STATus QUEStionable ENABle Set query questionable enable register System Commands System commands let you control miscellaneous instrument functions Table 3 12 lists and describes System commands Table 3 12 System commands Header Description IDN Return identification information OPT Return option information RST Reset SYSTem BEEPer STATe Set query beeper state Generate an audible tone Return error event queue SYSTem BEEPer lMMediate SYSTem ERRor NEXT SYSTem KCLick STATe Set query click sound SYSTem KLOCKk STATe Set query fro
17. lt period gt SOURce1 PULSe PERiod 200ns sets the CH 1 pulse period to 200 ns SOURce 1 2 PULSe TRANsition LEADing Group Syntax Arguments Returns Examples This command sets or queries the leading edge time of pulse waveform Source SOURce 1 2 PULSe TRANsition LEADing lt seconds gt MINimum MAXimum SOURce 1 2 PULSe TRANsition LEADing MINimum MAXimum lt seconds gt lt NRf gt lt units gt where lt NRf gt is the leading edge time of pulse waveform lt units gt ns us ms s lt seconds gt SOURcel PULSe TRANsition LEADing 200ns sets the CH 1 leading edge time to 200 ns AFG3000 Series Arbitrary Function Generators Reference Manual 3 69 Syntax and Commands SOURce 1 2 PULSe TRANsition TRAiling This command sets or queries the trailing edge time of pulse waveform Group Source Syntax SOURce 1 2 PULSe TRANsition TRAiling lt seconds gt MINimum MAX imum SOURce 1 2 PULSe TRANsition TRAi ing MINimum MAXimum Arguments lt seconds gt lt NRf gt lt units gt where lt NRf gt is the trailing edge of pulse waveform lt units gt ns us ms s Returns lt seconds gt Examples SOURcel PULSe TRANsition TRAiling 200ns sets the trailing edge time to 200 ns 3 70 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 PULSe WIDTh This command sets or queries the pulse width for the
18. two cursors are displayed like Line edit The edit operation is applied to the portion between the two cursors AFG3000 Series Arbitrary Function Generators Reference Manual Reference Line Line Edit The Line edits by linearly interpolating from a specified point in the waveform currently edited to another specified point as shown in Figure 2 5 Before executing Line edit After executing Line edit Number of Points 200 Number of Points 200 Line From To EditMemory Graphic Figure 2 5 Line Edit example Data Edit by Data Point The Data edits a specified point in the waveform cur rently being edited Data Graph display Data Table display Number of Points 200 Number of Points 200 EditMemory Graphic Figure 2 6 Operation Edit by Data Point If you enter a number that exceeds the number of points in the current waveform the entered value will be automatically changed to the number of points in the cur rent waveform If you push the Execute bezel button in the Data operation the instrument will auto increment to the next point For example you specify a data point X and then push Execute the instrument will automatically move from point X to X 1 in anticipation of your next input AFG3000 Series Arbitrary Function Generators Reference Manual 2 19 Reference Cut Cut by Data Points The Cut deletes an area between specified points in the waveform When Cut is selected two values can
19. 2 FM INTernal FUNCtion EFILe lt file_name gt SOURce 1 2 FM INTernal FUNCtion EFILe lt file_name gt lt string gt specifies a file name in the mass storage system The lt file_name gt includes path Path separators are forward slashes lt file_name gt SOURce1 FM INTernal FUNCtion EFILe SAMPLE1 sets a file named SAMPLE1 in the mass storage SOURce 1 2 FM SOURce Group Syntax Arguments Returns Examples 3 48 This command sets or queries the source of modulating signal of FM modulation for the specified channel Source SOURce 1 2 FM SOURce INTernal EXTernal SOURce 1 2 FM SOURce INTernal means that the carrier waveform is modulated with the internal source EXTernal means that the carrier waveform is modulated with an external source INT EXT SOURce1 FM SOURce INTernal sets the CH 1 source of modulating signal to internal AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 FM STATe Group Syntax Arguments Returns Examples This command enables or disables FM modulation The query command returns the state of FM modulation Source SOURce 1 2 FM STATe ON OFF lt NR1 gt SOURce 1 2 FM STATe ON or lt NR1 gt 0 enables FM modulation OFF or lt NR1 gt 0 disables FM modulation lt NR1 gt SOURce1 FM STATe ON enables the CH 1 FM modulation SOURce 1 2 FREQuency CENTer G
20. 6 AFG3000 Series Arbitrary Function Generators Reference Manual
21. Arguments Returns Examples This command inverts a specified output waveform relative to the offset level The query command returns the polarity for the specified channel Output OUTPut 1 2 POLarity NORMal INVerted OUTPut 1 2 POLarity NORMal sets the specified output waveform polarity to Normal INVerted sets the specified output waveform polarity to Inverted NORM INV OUTPut1 POLarity NORMal sets the CH 1 waveform polarity to Normal This command sets or query whether to enable the arbitrary function generator output for the specified channel Output OUTPut 1 2 STATe ON OFF lt NR1 gt OUTPut 1 2 STATe ON or lt NR1 gt 40 enables the arbitrary function generator output OFF or lt NR1 gt 0 disables the arbitrary function generator output lt NR1 gt OUTPut1 STATe ON sets the arbitrary function generator CH 1 output to ON AFG3000 Series Arbitrary Function Generators Reference Manual 3 33 Syntax and Commands OUTPut TRIGger MODE 3 34 Group Syntax Arguments Returns Examples This command sets or queries the mode trigger or sync for Trigger Output signal When the burst count is set to Inf Cycles in burst mode TRIGger indicates that the infinite number of cycles of waveform will be output from the Trigger Output connector When the burst count is set to Inf Cycles in burst mode SYNC indicates that one pulse waveform is output from the Trigger Output connector when the Inf
22. BEEPer STATe 3 94 SYSTem ERRor NEXT 3 95 SYSTem KCLick STATe 3 95 SYSTem KLOCKk STATe 3 96 SYSTem SECurity MMediate 3 96 SYSTem ULANguage 3 97 T Technical support contact information xii Toggle button selections 1 13 Top Menu button 1 3 To access the Output menu 2 2 TRACe DATA CATalog 3 98 TRACe DATA COPY 3 98 TRACe DATA DATA 3 99 TRACe DATA DATA LINE 3 100 TRACe DATA DATA VALue 3 101 TRACe DATA DEFine 3 102 TRACe DATA LOCK STATe 3 103 TRACe DATA POINts 3 104 TRG 3 104 Trigger Input connector 1 10 Trigger Out Utility menu 2 24 Trigger Output connector 1 10 Triggered burst mode 2 11 TRIGger SEQuence MMediate 3 106 TRIGger SEQuence SLOPe 3 105 TRIGger SEQuence SOURce 3 105 TRIGger SEQuence TIMer 3 106 TST 3 107 U Unified coarse screw 1 20 Unlock front panel controls 1 10 Upper Menu button 1 3 USB connector rear panel 1 20 USB memory 2 28 Firmware Update 2 27 SB Memory connector front panel 1 10 EE ser request events 4 16 ser defined waveform 2 5 sing cursors 2 18 sing the menu system 2 1 tility button 1 6 tility menu 2 23 V View button 1 3 View tab screen interface 1 11 W WAI 3 107 Waveform data file Browsing 2 28 Saving 2 29 Waveform parameters how to change 1 14 Web site Tektronix xii Write to Edit menu 2 22 Z Zoom Fit Edit menu 2 15 Gee qq AFG3000 Series Arbitrary Function Generators Reference Manual Index 5 Index Index
23. Calibration failed CH1 ASIC TINT 1402 1403 Calibration failed CH2 ASIC TINT Calibration failed CH1 ASIC SGEN 1404 Calibration failed CH2 ASIC SGEN 1405 Calibration failed CH1 ASIC clock duty 1406 Calibration failed CH2 ASIC clock duty 2100 Self test failed Calibration data not found 2101 Self test failed Calibration data checksum 2102 Self test failed Calibration data invalid 2201 Self test failed ASIC 1 memory 2202 Self test failed ASIC 2 memory 2203 2204 Self test failed ASIC 1 overheat Self test failed ASIC 2 overheat 2301 2302 Self test failed CH1 Internal offset Self test failed CH2 Internal offset 2303 Self test failed CH1 Output offset 2304 Self test failed CH2 Output offset AFG3000 Series Arbitrary Function Generators Reference Manual 4 17 Status and Events Table 4 14 Device errors cont Error code Error message 2305 Self test failed CH1 Output gain 2306 Self test failed CH2 Output gain 2401 Self test failed CH1 x 3 dB attenuator 2402 Self test failed CH2 x 3 dB attenuator 2403 Self test failed CH1 x 6 dB attenuator 2404 Self test failed CH2 x 6 dB attenuator 2405 Self test failed CH1 x 10 dB attenuator 2406 Self test failed CH2 x 10 dB attenuator 2407 Self test failed CH1 x 20 dB 1 attenuator 2408 Self test failed CH2 x 20 dB 1 a
24. Commands ESE This command sets or queries the bits in the Event Status Enable Register ESER used in the status and events reporting system of the arbitrary function generator The query command returns the contents of the ESER Group Status Related Commands CLS ESR PSC SRE STB Syntax ESE lt bit_value gt ESE Arguments lt bit_value gt lt NRI1 gt where lt NR1 gt is a value in the range of O through 255 The binary bits of the ESER are set according to this value Returns lt bit_value gt Examples ESE 177 sets the ESER to 177 binary 10110001 which sets the PON CME EXE and OPC bits ESE might return 186 indicating that the ESER contains the binary value 10111010 AFG3000 Series Arbitrary Function Generators Reference Manual 3 21 Syntax and Commands ESR Group Related Commands Syntax Arguments Returns Examples IDN Group Syntax Arguments Returns Examples 3 22 This query only command returns the contents of the Standard Event Status Register SESR used in the status events reporting system in the arbitrary function generator ESR also clears the SESR since reading the SESR clears it Status CLS ESE SRE STB ESR None lt NR1 gt indicates that the contents of the SESR as a decimal integer ESR might return 181 which indicates that the SESR contains the binary number 10110101 This query only command returns identification inf
25. Cycles starts When Run Mode is specified other than Burst Inf Cycles TRIGger and SYNC have the same effect Output OUTPut TRIGger MODE TRIGger SYNC OUTPut TRIGger MODE TRIGger means TRIGger is selected for Trigger Out SYNC means SYNC is selected for Trigger Out TRIG SYNC OUTPut TRIGger MODE SYNC outputs one cycle waveform from the Trigger Output connector when Inf Cycles starts AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands PSC This command sets and queries the power on status flag that controls the automatic power on execution of SRER and ESER When PSC is true SRER and ESER are set to 0 at power on When PSC is false the current values in the SRER and ESER are preserved in nonvolatile memory when power is shut off and are restored at power on Group Status Syntax PSC lt NR1 gt PSC Arguments lt NR1 gt 0 sets the power on status clear flag to false disables the power on clear and allows the instrument to possibly assert SRQ after power on lt NR1 gt 0 sets the power on status clear flag true Sending PSC 1 therefore enables the power on status clear and prevents any SRQ assertion after power on Returns lt NR1 gt Examples PSC 0 sets the power on status clear flag to false RCL No Query Form This command restores the state of the instrument from a copy of the settings stored in the setup memory The settings are stored using the SAV command
26. Firmware update 2 27 Frequency Period button shortcut button 1 9 Front panel controls 1 2 Function buttons 1 8 Fuse adapter A 3 G Gated burst mode 2 11 Gaussian More waveform menu 2 6 GPIB connector rear panel 1 20 H Haversine More waveform menu 2 6 Help button 1 6 I O Interface Utility menu 2 23 IDN 3 22 Instrument options A 1 Index 2 Instrument setup file Browsing 2 31 Saving 2 31 Invert Output menu 2 12 L LAN connector rear panel 1 20 Language options A 1 Language Utility menu 2 23 Last setup memory 2 13 3 24 3 25 3 28 3 36 Leading Trailing button shortcut button 1 9 Level meter 1 11 1 12 Limit Output menu 2 12 Line Edit menu 2 19 Load Impedance 1 10 Output menu 2 12 Lock a directory 2 29 Lock or unlock a file 2 29 Lock Unlock Edit menu 2 15 Save menu 2 13 Lorentz More waveform menu 2 6 M Main display area 1 11 2 23 Manual Trigger button 1 5 MEMory STATe DELete 3 23 MEMory STATe LOCK 3 24 MEMory STATe RECall AUTo 3 25 MEMory STATe VALid 3 23 Menu buttons 1 6 Menu structure 2 2 Menu system 2 1 Message display area 1 11 1 12 Messages and codes 4 11 MEMory CATalog 3 26 MEMory CDIRectory 3 27 lt m lt e 3 pi J m ey KA N MEMory LOAD STATe 3 28 MEMory LOAD TRACe 3 28 MEMory MDIRectory 3 29 MEMory STORe STATe 3 30 MEMory STORe TRACe 3 30 MEMory LOCK STATe 3 29 Modulation Parameter Menu 2 7 More Waveform Menu 2 6 More
27. Manual Operating Basics State Buttons The Channel Select CH1 CH2 Output and Run Mode buttons are called State buttons Channel Select button The Channel Select button directly controls the display toggling between the two channels This button is used to select the channel that you are currently interacting with Only one channel can be selected at a time When you push the Channel Select button on the Edit Utility Save Recall or Help screen the arbitrary function generator returns to previous display The displayed channels do not toggle if you push the Channel Select button on those screen menus After restoring the main display area pushing the Channel Select button toggles between CH1 and CH2 CH1 CH2 Output On button The arbitrary function generator allow you to turn on and off the signal output for CH1 and CH2 independently You can configure the signal with the outputs off to minimize the chance of sending a problematic signal to your device You can select either one or both of these buttons Each button is lit with an LED when in the On state Run Mode buttons Only one Run Mode menu can be selected for each channel The Run Mode buttons are unique because they are both State and Menu buttons When one of four buttons is selected that run mode is activated and the menu for configuring that run mode is displayed on the screen The selected button is lit with an LED E Continuous E Modulation E Sweep E Burst
28. REO NA A oa 3 16 CAEibration ALE ii ale Sas eos a hh eae eh Sek gh ete cme eed 3 17 CLS No Query Form 6 u ee eee eee eee e e e been aa 3 17 DIAG nostic ALE e cs sect ease de a doce ds 3 18 DISPlay CON Trast socia ek ies GRR dines Hae ae ee nee tes 3 19 DISPlay S AVer STATE init A Rs Wa See FS a gee el 3 19 DISPlay WINDow TEXT DATA 00 0 c cece eee nee 3 20 DISPlay WINDow TEXT CLEar No Query Form 0002s eee 3 20 ESE a Lae Sie T eG ane ENN Sie SNES ae Bes 3 21 PE OR etch a als oa nates nae aaa aie Mate ie ee aes 3 22 sd DD eran oi 3 22 MEMory STATe VALid r i t ce eee een teen eens 3 23 MEMory STATe DELete No Query Form 0 00 cece ee eee eee 3 23 MEMory STATOHLOCK 5 45 hoc scopes aod A id 3 24 MEMory STATe RECall AUTo 0 ce eee eee 3 25 MMEMory CATalog ticas Seg de a dus es ae Se ale aa Set ales 3 26 MMEMory CDIRectory 0 20 0 ce eee teens 3 27 MMEMory DELete No Query Form 20 0 c cece eee eee eens 3 27 MMEMory LOAD STATe No Query Form 0 0 0 eee ee eee eee 3 28 AFG3000 Series Arbitrary Function Generators Reference Manual i Table of Contents MMEMory LOAD TRACe No Query Form 20 0 e cece eee eee eee 3 28 MMEMory LOCK STATe 0 0 ee cece ence en ene nee 3 29 MMEMory MDIRectory No Query Form 0 00 0 0c eee eee eee 3 29 MMEMory STORe STATe No Query Form 00 e eee eee eee eee 3 30 MMEMo
29. Related Commands Syntax Arguments Examples 3 30 This command copies a waveform data file in the Edit Memory to a file in the mass storage system If the file in the mass storage is locked this command causes an error You cannot create a new file if the directory is locked Mass Memory MMEMory LOCK STATe MMEMor y LOAD TRACe MMEMory STORe TRACe EMEMory lt file name gt lt file_name gt lt string gt specifies a file name in the mass storage system The lt file_name gt includes path Path separators are forward slashes MMEMory STORe TRACe EMEMory SAMPLE1 TFW Copies the content of EMEMory to a file named SAMPLE1 TFW in the mass storage system AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands OPC Group Syntax Arguments Returns Examples OPT Group Syntax Arguments Returns Examples This command generates the operation complete message by setting bit 0 in the Standard Event Status Register SESR when all pending commands that generate an OPC message are complete The query command places the ASCII character 1 into the output queue when all such OPC commands are complete Synchronization OPC OPC None lt execution complete gt 1 where 1 indicates that all pending operations are complete OPC might return 1 to indicate that all pending OPC operations are finished This query only command retur
30. SLOP POS TRIG SEQ SOUR EXT Identical root and lower level nodes TRIG SEQ TIM 2 5 SLOP POS SOUR EXT Firstcommand Additional commands omitted the root nodes Figure 3 5 Example of omitting root and lower level nodes Units and SI Prefix If the decimal numeric argument refers to voltage frequency impedance or time you can express it using SI units instead of using the scaled explicit point input value format lt NR3 gt SI units are units that conform to the System International d Unites standard For example you can use the input format 200 mV or 1 0 MHz instead of 200 0E 3 or 1 0E 6 respectively to specify voltage or frequency AFG3000 Series Arbitrary Function Generators Reference Manual 3 7 Syntax and Commands General Rules for Using The following are three general rules for using SCPI commands queries and SCPI commands parameters E You can use single or double quotation marks for quoted strings but you cannot use both types of quotation marks for the same string correct This string uses quotation marks correctly correct This string also uses quotation marks correctly incorrect This string does not use quotation marks correctly E You can use upper case lower case or a mixture of both cases for all com mands queries and parameters SOURCE FREQUENCY 10MHZ 1s the same as source frequency 100mhz and SOURCE frequency 1
31. STATe ON enables the CH 1 FSK modulation AFG3000 Series Arbitrary Function Generators Reference Manual 3 57 Syntax and Commands SOURce 1 2 FUNCtion EFILe Group Syntax Arguments Returns Examples This command sets or queries an EFILe name used as an output waveform A file name must be specified in the mass storage system This command causes an error if there is no file in the mass storage Source SOURce 1 2 FUNCtion EFILe lt file_ name gt SOURce 1 2 FUNCtion EFILe lt file_name gt lt string gt specifies a file name in the mass storage system The lt file_name gt includes path Path separators are forward slashes lt file_name gt SOURcel FUNCtion EFILe SAMPLE1 sets a file named SAMPLE1 in the mass storage SOURce 1 2 FUNCtion RAMP SYMMetry Group Syntax Arguments Returns Examples 3 58 This command sets or queries the symmetry of ramp waveform for the specified channel Source SOURce 1 2 FUNCtion RAMP SYMMetry lt symmetry gt MINimum MAX imum SOURce 1 2 FUNCtion RAMP SYMMetry MINimum MAXimum lt symmetry gt lt NR2 gt lt units gt where lt NR2 gt is the symmetry lt units gt PCT lt symmetry gt SOURce1 FUNCtion RAMP SYMMetry 80 5 sets the symmetry of the CH 1 ramp waveform to 80 5 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 FUNCtion SHAPe This comm
32. commands let you change setup memory attributes Table 3 7 lists and describes Memory commands Table 3 7 Memory commands Header Description MEMory STATe VALid Query the availability of setup memory MEMory STATe DELete Delete the setup memory MEMory STATe LOCK Set query the lock of setup memory overwrite and deletion MEMory STATe RECall AUTo Set query the recall of last set memory RCL Recall instrument setting from setup memory SAV Save instrument setting to setup memory AFG3000 Series Arbitrary Function Generators Reference Manual 3 9 Syntax and Commands Mass Memory Commands Mass Memory commands let you change mass memory attributes Table 3 8 lists and describes Mass Memory commands Table 3 8 Mass Memory commands Header MMEMory CATalog Description Query the status of mass memory MMEMory CDIRectory Set query current directory MMEMory DELete Delete file or directory in mass memory MMEMory LOAD STATe Copy instrument setting in mass memory to setup memory MMEMory LOAD TRACe Copy waveform data file in mass memory to edit memory MMEMory LOCK STATe Set query the lock of mass memory overwrite and deletion MMEMory MDIRectory Create directory in mass memory MMEMory STORe STATe MMEMory STORe TRACe Save the setup memory status to mass memory Save waveform data file in edit memory to mass memory Output Commands Output commands let you set outpu
33. is a query The header may begin with a colon character if the command is concatenated with other commands the beginning colon is required The beginning colon can never be used with command head ers beginning with a star lt Mnemonic gt A header subfunction Some command headers have only one mne monic If a command header has multiple mnemonics they are always separated from each other by a colon character lt Argument gt A quantity quality restriction or limit associated with the header Not all commands have an argument while other commands have multiple argu ments Arguments are separated from the header by a lt Space gt Argu ments are separated from each other by a lt Comma gt lt Comma gt A single comma between arguments of multiple argument commands It may optionally have white space characters before and after the comma lt Space gt A white space character between command header and argument It may optionally consist of multiple white space characters AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands Figure 3 1 shows the five command message elements Comma Header MMEMory STATe LOCK 1 ON o Mnemonics Arguments Space Figure 3 1 Command message elements Commands Commands cause the instrument to perform a specific function or change one of its settings Commands have the structure lt Header gt lt Space gt
34. messages cece cece cree cece ececees 4 13 Table 4 8 Device specific error Messages 0c cece eee e eee e eens 4 15 Table 4 9 Query errors 20 cece ec ccc cece ee cee ee ee tere eens 4 15 Table 4 10 Power on events 0 cece cece cee ce cece tee kissit 4 15 Table 4 11 User request events 0 ccc cece cece cee eee e reece ross 4 16 Table 4 12 Request control events 0 ccc ce cece cece tere e neces 4 16 Table 4 13 Operation complete events 0 ccc cece cece rece cece 4 16 Table 4 14 Device Trois i c ocooccncncncocs cados oud ors cabs eee ages 4 17 AFG3000 Series Arbitrary Function Generators Reference Manual vii List of Tables viii Table A 1 Options 2 0 0 cc ccc cree ee ee eee ee eee eee e eee ross A 1 Table A 2 Standard accessories cc ccc cece cece crete eee eeeees A 2 Table A 3 Optional accessories 0 cc cee ce cece cee cece cece eee A 2 Table C 1 SCPI conformance information oooooooooooo oo C 1 Table D 1 Default settings ccc cece ce cece eee e reece eee D 1 AFG3000 Series Arbitrary Function Generators Reference Manual General Safety Summary Review the following safety precautions to avoid injury and prevent damage to this product or any products connected to it To avoid potential hazards use this product only as specified Only qualified personnel should perform service procedures To avoid Fire or Use Prope
35. name of source code Refer to Tek VISA manual for details about resouce AFG3000 Series Arbitrary Function Generators Reference Manual 5 1 Programming Examples Example 1 This is a sample program for setting the arbitrary function generator outputs Private Sub Samplel Click Assign resource Tvcl Descriptor GPIBO 11 INSTR Y Initialize of device setting Y Tvcl WriteString RST Y Set CH1 output parameters Tvcl WriteString FUNCTION SIN Set output waveform SIN Tvcl WriteString FREQUENCY 10E3 Set frequency 10kHz Tvcl WriteString VOLTAGE AMPLITUDE 2 00 Set amplitude 2Vpp Tvcl WriteString VOLTAGE OFFSET 1 00 Set offset 1V Tvcl WriteString PHASE ADJUST ODEG Set phase Odegree Y Set CH2 output parameters Tvcl WriteString SOURCE2 FUNCTION SIN Set output waveform SIN Tvcl WriteString SOURCE2 FREQUENCY 10E3 Set frequency 10kHz Tvcl WriteString SOURCE2 VOLTAGE AMPLITUDE 1 00 Set amplitude 1Vpp Tvcl WriteString SOURCE2 VOLTAGE OFFSET 0 00 Set offset OV Tvcl WriteString SOURCE2 PHASE ADJUST 90DEG Set phase 90degrees Y Save settings and output on Y Tvcl WriteString SAV 1 Save settings to Setupl Tvcl WriteString RCL 1 Recall settings from Setupl End Sub 5 2 AFG3000 Series Arbitrary Function Generators Reference Manual Programming Examples Example 2 This is a sample program for sending an ar
36. or unlocks a file Erase Erase a file blank Make Directory Creates a new directory This menu item is available when USB is selected more 2 2 more 2 3 Zoom Fit Adjusts the graph scale and display the complete waveform cycle blank blank blank more 3 3 AFG3000 Series Arbitrary Function Generators Reference Manual 2 15 Reference Number of Points This bezel menu sets the number of points of the waveform to be created or the length of Edit Memory The point can be set to a value in the follow ing range M 2 to 65 536 AFG3021 and AFG3022 E 2 to 131 072 AFG3101 AFG3102 and AFG3251 AFG3252 If a waveform is already written to Edit Memory and Number of Points is set to a value smaller than the number of points in that waveform then the data for the points starting at that value plus one will be lost For example if Number of Points is set to 500 in the state where a waveform with 1000 points has been written to Edit Memory the waveform data for points 1 to 500 will remain without change but the data from point 501 will be lost If a waveform is already written to Edit Memory and Number of Points is set to a value greater than the number of points in that waveform then the data for the points starting at that value plus one to the point identified by the Number of Points will be set to the zero level For example if Number of Points is set to 1500 in the state where a waveform with 1000 points ha
37. output waveforms The arbitrary function generator performs the same operation if you specify either SOURcel or SOURce2 If your arbitrary function generator is single channel model this command is not supported Source SOURce 1 2 PHASe INITiate None SOURce1 PHASe INITiate synchronizes the phase of CH 1 and CH 2 output signals SOURce 1 2 PM DEViation Group Syntax Arguments Returns Examples This command sets or queries the peak frequency deviation of PM modulation for the specified channel Source SOURce 1 2 PM DEViation lt deviation gt MINimum MAXimum SOURce 1 2 PM DEViation MINimum MAXimum lt deviation gt lt NR3 gt lt units gt where lt NR3 gt is the phase deviation lt units gt RAD DEG If lt units gt are omitted RAD is specified automatically The setting ranges are RAD 1 PI to 1 PI relative to phase value DEG 180 to 180 in 1 degree steps relative to phase value lt deviation gt SOURce1 PM DEViation MAXimum sets the maximum value for the CH 1 phase deviation AFG3000 Series Arbitrary Function Generators Reference Manual 3 61 Syntax and Commands SOURce 1 2 PM INTernal FREQuency Group Related Commands Syntax Arguments Returns Examples 3 62 This command sets or queries the internal modulation frequency of PM modulation for the specified channel You can use this command only when the internal modu lation source is sele
38. query pulse width modulation waveform SOURce 1 2 PWM INTernal FUNCtion EFILe Set query EFlLe name SOURce 1 2 PWM SOURce Set query pulse width modulation source SOURce 1 2 PWM STATe Set query pulse width modulation status SOURce 1 2 PWM DEViation DCYCle Set query pulse width modulation deviation SOURce 1 2 S5WEep HTIMe Set query sweep hold time SOURce 1 2 SWEep MODE Set query sweep mode SOURce 1 2 SWEep RTIMe Set query sweep return time SOURce 1 2 SWEep SPACing Set query sweep spacing SOURce 1 2 SWEep TIME Set query sweep time SOURce 1 2 VOLTage CONCurrent STATe Set query concurrent change of amplitude level SOURce 1 2 VOLTage LIMit HIGH Set query output amplitude upper limit SOURce 1 2 VOLTage LIMit LOW Set query output amplitude lower limit SOURce 1 2 VOLTage UNIT Set query output amplitude units SOURce 1 2 VOLTage LEVel IMMedi ate HIGH SOURce 1 2 VOLTage LEVel IMMedi ate LOW Set query output amplitude high level Set query output amplitude low level SOURce 1 2 VOLTage LEVel IMMedi ate OFFSet Set query output offset voltage SOURce 1 2 VOLTage LEVel lMMediate AMPLitude Set query output amplitude Status Commands Status commands let you determine the status of the instrument Table 3 11 lists and describes Status commands
39. settings This might cause a remote communication error System SYSTem SECurity IMMediate None SYSTem SECurity IMMediate initializes the instrument AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SYSTem ULANguage Group Syntax Arguments Returns Examples SYSTem VERSion Group Syntax Arguments Returns Examples AFG3000 Series Arbitrary Function Generators Reference Manual This command sets or queries the language that the instrument uses to display information on the screen System SYSTem ULANguage ENGLish FRENch GERMan JAPanese KORean SCHinese TCHinese SYSTem ULANguage ENGLish FRENch GERMan JAPanese KORean SCHinese TCHinese specifies which language will be used to display instrument information on the screen ENGLish FRENch GERMan JAPanese KORean SCHinese TCHinese SYSTem ULANguage FRENch specifies that the instrument displays information in French This query only command returns the conformed SCPI version of the instrument System SYSTem VERSion None lt SCPI Version gt YYYY V where YYYY indicates year V indicates the version number for that year SYSTem VERSi on might return 1999 0 3 97 Syntax and Commands TRACe DATA CATalog This query only command returns the names of user waveform memory and edit memory Group Trace Syntax TRACe DATA CATalog Arguments None Returns lt string gt A se
40. specified channel Pulse Width Period x Duty Cycle 100 The pulse width must be less than the period The setting range is 0 1 to 99 9 in terms of duty cycle AFG3021 and AFG3022 30 ns to 999 s AFG3101 and AFG3102 8 ns to 999 s AFG3251 and AFG3252 4 ns to 999 s Pulse Width lt Pulse Period 0 8 x Leading Edge Time Trailing Edge Time Pulse Width 0 625 x Leading Edge Time Trailing Edge Time Group Source Related Commands SOURce 1 2 PULSe DCYC1e Syntax SOURce 1 2 PULSe WIDTh lt seconds gt MINimum MAXimum SOURce 1 2 PULSe WIDTh MINimum MAXimum Arguments lt seconds gt lt NRf gt lt units gt where lt NRf gt is the pulse width lt units gt ns us ms s Returns lt seconds gt Examples SOURcel PULSe WIDTh 200ns sets the CH 1 pulse width to 200 ns AFG3000 Series Arbitrary Function Generators Reference Manual 3 71 Syntax and Commands SOURce 1 2 PWM INTernal FREQuency 3 72 Group Related Commands Syntax Arguments Returns Examples This command sets or queries the internal modulation frequency of PWM modula tion for the specified channel You can use this command only when the internal modulation source is selected Source SOURce 1 2 PWM SOURce SOURce 1 2 PWM INTernal FREQuency lt frequency gt MINimum MAXimum SOURce 1 2 PWM INTernal FREQuency MINimum MAXimum lt frequency gt lt NRf gt lt units gt wher
41. the Edit Menu pushing the View button will toggle between Edit text and graphical views This is the only function of the single channel model view button When the instrument is in the Save Recall Utility Output or Help menu pushing the View button will have no effect AFG3000 Series Arbitrary Function Generators Reference Manual 1 3 Operating Basics View Format 1 Figure 1 3 is a single channel parameter and graph setup display In this view Channel 1 is selected with the Channel Select button When Channel 2 is selected the parameters and graph for Channel 2 will be displayed in this view You can easily toggle between the information for Channel 1 and Channel 2 with this view CH1 Freq 00 000 00 me Phase D Ampl Offset Om Figure 1 3 Waveform parameter and graph display View Format 2 Figure 1 4 is a graph compare view In this view the Channel Select button selects the active graph The selected channel is highlighted Tek Cont Figure 1 4 Graph comparison AFG3000 Series Arbitrary Function Generators Reference Manual Operating Basics View Format 3 Figure 1 5 is a channel compare view In this view Channel 1 is selected with the Channel Select button CH1 Cont Freg 1 000000 000 00 me Phase D Ampl A Offset Om CH2 Cont Freq Delay 50 00 Leading 5 00ns Ampl J pp Trailing 2 50 ns Figure 1 5 Waveform parameter comparison CH1 selected In Figure 1 6 Channel 2
42. too long 138 Suffix not allowed 140 Character data error 141 Invalid character data 144 Character data too long 148 Character data not allowed 150 String data error 151 Invalid string data 158 String data not allowed 160 Block data error 161 Invalid block data 168 Block data not allowed 170 Expression error 171 Invalid expression 178 Expression data not allowed 180 Macro error 181 Invalid outside macro definition 183 Invalid inside macro definition 184 Macro parameter error 4 12 AFG3000 Series Arbitrary Function Generators Reference Manual Status and Events Execution Errors Table 4 7 lists the errors that are detected during execution of a command Table 4 7 Execution error messages Error code Error message 200 Execution error 201 Invalid while in local 202 Settings lost due to RTL 203 Command protected 210 Trigger error 211 Trigger ignored 212 Arm ignored 213 Init ignored 214 Trigger deadlock 215 Arm deadlock 220 Parameter error 221 Settings conflict 222 Data out of range 223 Too much data 224 Illegal parameter value 225 Out of memory 226 Lists not same length 230 Data corrupt or stale 231 Data questionable 232 Invalid format 233 Invalid version 240 Hardware error 241 Hardware missing 250 Mass storage error 251 Missing mass storage 252 Mi
43. 0 0 0 0 000 c cece eee eee 3 48 SOURce 1 2 FM SOURce 0 nen nee eens 3 48 SOURce 1 2 FM STATe 0 0 0 eee eens 3 49 SOURce 1 2 FREQuency CENTer 000 c cece cece eee eee eens 3 49 SOURce 1 2 FREQuency CONCurrent STATe 0 0 0 0 000 cc cece eee eee 3 50 SOURce 1 2 FREQuency CW FIXed 0 000s 3 51 SOURce 1 2 FREQuency MODE 0 00 c cece eee eee eens 3 52 SOURce 1 2 FREQueney SPAN oooooocooooooonooo eens 3 53 SOURce 1 2 FREQuency STARt 0 cc ccc cece eens 3 54 SOURce 1 2 FREQuency STOP 0000 c cece eee ees 3 55 SOURce 1 2 FSKey FREQuency 0 00 c cece ccc eee eee eens 3 56 SOURce 1 2 FSKey INTernal RATE 0 0 0 ccc cece eens 3 56 SOURce 1 2 FSKey SOURce 1 cece narrer 3 57 SOURce 1 2 FSKey STATe 0 0 ence eee nena es 3 57 SOURce 1 2 FUNCtion EFILe 0 0 eee eee eens 3 58 SOURce 1 2 FUNCtion RAMP SYMMetry 0 0000 cece cece 3 58 SOURce 1 2 FUNCtion SHAPe 0 00 0 0c cece eee ees 3 59 SOURce 1 2 PHASe ADJust 00 eee eee ees 3 60 SOURce 1 2 PHASe INITiate No Query Form 00 cece eens 3 61 SOURce 1 2 PM DEViation 0 000 c cece eee 3 61 SOURce 1 2 PM INTernal FREQuency 0 0 0 ccc cece eee cece es 3 62 SOURce 1 2 PM INTernal FUNCtion 0 0 0 0000s 3 63 AFG3000 Series Arbitrary Function Generators Reference Manual Table of Contents SOURc
44. 0MHZ NOTE Quoted strings are case sensitive E No embedded spaces are allowed between or within nodes correct OUTPUT FILTER LPASS FREQUENCY 200MHZ incorrect QUTPUT FILTER LPASS FREQUENCY 200MHZ 3 8 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands Command Groups This section lists the commands organized by functional group The Command Descriptions section starting on page 3 15 lists all commands alphabetically Calibration and Diagnostic Commands Calibration and Diagnostic commands let you initiate the instrument self calibration routines and examine the results of diag nostic tests Table 3 5 lists Calibration and Diagnostic commands Table 3 5 Calibration and Diagnostic commands Header Description CAL Perform self calibration and return result status CALibration ALL Perform self calibration DIAGnostic ALL Perform self test TST Perform self test and return result status Display Commands Display commands let you change the graticule style displayed contrast and other display attributes Table 3 6 lists and describes Display commands Table 3 6 Display commands Header Description DISPlay CONTrast Set query the LCD display contrast DISPlay SAVer STATe Set query the screen saver settings DISPlay WINDow TEXT DATA Set query the text message display DISPlay WINDow TEXT CLEar Delete text message Memory Commands Memory
45. 1 TFS copies a file named SETUP1 TFS in the mass storage into the internal memory location 1 MMEMory LOAD TRACe No Query Form Group Related Commands Syntax Arguments Examples 3 28 This command copies a waveform data file in the mass storage system to Edit Memory If the file format is different this command causes an error Mass Memory MMEMor y STORe TRACe MMEMory LOAD TRACe EMEMory lt file_name gt lt file_name gt lt string gt specifies a waveform data file to be copied MMEMor y LOAD TRACe EMEMory TEKOO1 TFW copies a file named TEK001 TFW in the mass storage into Edit Memory AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands MMEMory LOCK STATe Group Syntax Arguments Returns Examples This command sets or queries whether to lock a file or directory in the mass storage system If you lock a file or directory you cannot overwrite or delete it Mass Memory MMEMory LOCK STATe lt file_name gt ON OFF lt NR1 gt MMEMory LOCK STATe lt file_ name gt ON or lt NR1 gt 40 locks a file or directory in the mass storage system OFF or lt NR1 gt 0 allows you to overwrite or delete a file or directory in the mass storage system lt NR1 gt MEMory LOCK STATe SETUP1 TFS ON locks the file SETUP1 TFS MMEMory MDIRectory No Query Form Group Syntax Arguments Examples This command creates a directory in the mass
46. 1 USER2 USER3 USER4 EMEMory EFILe Examples SOURce1 PM INTernal FUNCtion SQUare selects Square as the shape of modulating waveform for the CH 1 output AFG3000 Series Arbitrary Function Generators Reference Manual 3 63 Syntax and Commands SOURce 1 2 PM INTernal FUNCtion EFILe Group Syntax Arguments Returns Examples This command sets or queries an EFILe name used as a modulating waveform for PM modulation A file name must be specified in the mass storage system This command causes an error if there is no file in the mass storage Source SOURce 1 2 PM INTernal FUNCtion EFILe lt file_name gt SOURce 1 2 PM INTernal FUNCtion EFILe lt file_name gt lt string gt specifies a file name in the mass storage system The lt file_name gt includes path Path separators are forward slashes lt file_name gt SOURce1 PM INTernal FUNCtion EFILe SAMPLE1 sets a file named SAMPLE1 in the mass storage SOURce 1 2 PM SOURce Group Syntax Arguments Returns Examples 3 64 This command sets or queries the source of modulation signal of PM modulation for the specified channel Source SOURce 1 2 PM SOURce INTernal EXTernal SOURce 1 2 PM SOURce INTernal means that the carrier waveform is modulated with an internal source EXTernal means that the carrier waveform is modulated with an external source INT EXT SOURce1 PM SOURce INTernal sets the CH 1 source o
47. 2 1 Phase Menu Amplitude Level Menu Refer to Table 2 1 Run Mode Menu Continuous Modulation Refer to Table 2 6 Sweep Refer to Table 2 7 Burst Refer to Table 2 8 Output Menu Refer to Table 2 9 Pulse Menu Table 2 3 shows the Pulse menu Table 2 3 Pulse Menu First Level Second Level Description Pulse Parameter Duty Selects Duty as a parameter to be changed Menu Width Selects Width as a parameter to be changed Leading Edge Selects Leading Edge as a parameter to be changed Trailing Edge Selects Trailing Edge as a parameter to be changed Frequency Period Frequency Selects Frequency as a parameter to be Delay Menu changed Period Selects Period as a parameter to be changed Frequency Period Toggles between Off and On to disable enable CH1 CH2 the function to set the CH1 and CH2 to the same Off On value Lead Delay Selects Lead Delay as a parameter to be changed Recover Use to align the lead delay of two channel Lead Delay signals Amplitude Level Menu Refer to Table 2 1 Run Mode Menu Continuous Modulation Refer to Table 2 6 Burst Refer to Table 2 8 Output Menu Refer to Table 2 9 1 Dual channel model only AFG3000 Series Arbitrary Function Generators Reference Manual Reference Arb Menu The arbitrary function generator can output a user defined waveform that is stored in the internal memory Edit Memory or a USB memory Table 2 4 sh
48. 20 Rear panel 1 19 Recall button 1 6 Recall menu 2 13 Recover Lead Delay Pulse menu 2 4 Reference Manual part number A 2 Registers 4 4 Request control events 4 16 RST 3 36 Run Mode buttons 1 6 1 7 S Sales support contact information xii SAV 3 36 Save button 1 6 Save menu 2 13 SBR 4 5 SCPI Conformance information C 1 Standard codes 4 11 SCPI commands 3 4 General rules 3 8 Screen interface 1 11 Screen Saver Utility menu 2 24 Screen view formats 1 3 Secure 2 26 Utility menu 2 24 AFG3000 Series Arbitrary Function Generators Reference Manual Index 3 Index Security slot rear panel 1 20 Select a channel 1 7 Service Manual part number A 2 Service options A 1 Service Request Enable Register 4 9 Service support contact information xii SESR 4 6 Setup memory location 0 3 36 Shortcut buttons 1 9 Changing waveform parameters 1 17 Side menu buttons 1 13 2 1 Sin x x More waveform menu 2 6 Sine button 1 8 Sine menu 2 3 Soft keys 1 13 2 1 SOURce 1 2 AM DEPTh 3 37 SOURce 1 2 AM INTernal FREQuency 3 38 SOURce 1 2 AM INTernal FUNCtion 3 39 SOURce 1 2 AM INTernal FUNCtion EFILe 3 40 SOURce 1 2 AM SOURce 3 40 SOURce 1 2 AM STATe 3 41 SOURce 1 2 BURSt MODE 3 41 SOURce 1 2 BURSt NCYCles 3 42 SOURce 1 2 BURSt STATe 3 43 SOURce 1 2 BURSt TDELay 3 44 1 2 1 2 1 2 1 2 1 2 1 2 R R R R R R SOURce 1 2 COMBine FEED 3 45 S
49. Bit Function 15to6 Not used 5 FREQ Frequency Indicates whether frequency accuracy of the signal is of questionable quality 4to0 Not used There are four types of enable registers Event Status Enable Register ESER page 4 8 Service Request Enable Register SRER page 4 9 Operation Enable Register OENR page 4 9 Questionable Enable Register QENR page 4 10 Each bit in the enable registers corresponds to a bit in the controlling status register By setting and resetting the bits in the enable register you can determine whether or not events that occur will be registered to the status register and queue Event Status Enable Register ESER The ESER consists of bits defined exactly the same as bits O through 7 in the SESR register You can use this register to control whether or not the Event Status Bit ESB in the SBR should be set when an event has occurred and to determine if the corresponding SESR bit is set To set the ESB in the SBR when the SESR bit has been set set the ESER bit corresponding to that event To prevent the ESB from being set reset the ESER bit corresponding to that event AFG3000 Series Arbitrary Function Generators Reference Manual Status and Events Use the ESC command to set the bits in the ESER Use the ESR query to read the contents of the ESER Figure 4 6 shows the ESER functions 7 6 5 4 3 2 1 0 PON URQ CME EXE DDE QYE RQC OPC
50. FECTIVE PRODUCTS IS THE SOLE AND EXCLUSIVE REMEDY PROVIDED TO THE CUSTOMER FOR BREACH OF THIS WARRANTY TEKTRONIX AND ITS VENDORS WILL NOT BE LIABLE FOR ANY INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES IRRESPECTIVE OF WHETHER TEKTRONIX OR THE VENDOR HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES Table of Contents Operating Basics Reference General Safety Summary cece cece cece cece cece eee eeeeeeeeees ix Prefa laico ve ts aj a DN gOS Os xi Documentations RA O Re Pisa weet be xi Contacting Tektronix ooooooooooooorrorrr e rererere reru xii Operating Basics ici eo Sa EE la asa 1 1 Front Panel Controls 0 0 0 5 cece cee cee A A E A E 1 2 Display Area and Screen Interface 0 0 eee ee eee 1 11 Waveform Parameters and Numeric Input 0 0 00 e cece eee eee 1 14 Rear Panel iS ciao IIA DR a Aah aba tes 1 19 R lerentE nia ala 2 1 Menu ys vii A AAA et Pay 2 1 Menu Structure eii se nab A A ate A A RAS at ences 2 2 Fil Operas nea eee ey hee tana se eae eS 2 28 Syntax and Commands Syntax and Commands cece cece ce cece eee ee ee eer eeeeeees 3 1 Command Syntax update US ed aL 3 1 Command Groups domi da De Lib E ere dee ee te eee 3 9 Command Descriptions 2 2 0 cee ec eee eens 3 15 ABORt No Query Form 0 cece cece eee eee eee n eee 3 15 AFGControl CSCopy No Query Form 0 0 c eee eee eee 3 16 BCAA ayn eek Hane aoe A OEM Gilg oA ips AION
51. Function Generators was designed for easy access to specialized functions through the menu structure When you push a front panel button the arbitrary function generator displays the corresponding menu on the right side of the screen The menu shows the options that are available when you push the unlabeled bezel buttons directly to the right of the screen Some documentation may also refer to the bezel buttons as side menu buttons or soft keys Using the Menu System The arbitrary function generator uses the following methods to display menu options Submenu Selection For some menus you can use the bezel button to choose the submenus For example when you push the 1 O Interface bezel button in the Util ity menu the arbitrary function generator displays the I O Interface submenu GPIB or Ethernet Action The arbitrary function generator displays the type of action that will imme diately occur when you push an action bezel button For example when you push the front panel Save button and then push the Save bezel button the arbitrary func tion generator saves the settings immediately Option Buttons The arbitrary function generator uses a different button for each option The currently selected option is highlighted For example the instrument displays various language options when you push the Utility menu button and then push the Language bezel button To select the option push the corresponding but ton Option button is also ca
52. If your instrument is a dual channel model Run Mode can be set independently for each channel AFG3000 Series Arbitrary Function Generators Reference Manual 1 7 Operating Basics Function Buttons Select the Run Mode Menu bezel button from the default screen see page 1 14 to display the Run Mode menus The Continuous mode is selected in Figure 1 7 If you select Modulation Sweep or Burst as the Run Mode the corresponding bezel menu is highlighted CH1 Cont Freq 1 000 000 000 00 me Fe lt Continuous Mode is Phase D ia selected active Ampl A Offset Om Figure 1 7 Run Mode menu Continuous Only one of the Function buttons can be selected for each channel at a time The selected button will be lit with an LED Sine button Pushing the Sine button selects the sine waveform causing the Sine button LED to turn on See Table 2 1 on page 2 3 for the menu map Square button Pushing the Square button selects the square waveform causing the Square button LED to turn on See Table 2 1 on page 2 3 for the menu map Ramp button Pushing the Ramp button selects the ramp waveform causing the Ramp button LED to turn on See Table 2 2 on page 2 4 for the menu map Pulse button Pushing the Pulse button selects the pulse waveform causing the Pulse button LED to turn on See Table 2 3 on page 2 4 for the menu map Arb button Pushing the Arb button causes the Arb waveform menu to be displayed on the screen and causes th
53. K 3 24 Group Syntax Arguments Returns Examples This command sets or queries whether to lock the specified setup memory If you lock a setup memory you cannot overwrite or delete the setup file You cannot execute this command for the setup memory of location number 0 last setup memory Memory MEMory STATe LOCK 1 2 3 4 ON OFF lt NR1 gt MEMory STATe LOCK 1 2 3 4 ON or lt NR1 gt 40 locks the specified location of setup memory OFF or lt NR1 gt 0 allows you to overwrite or delete the specified location of setup memory lt NR1 gt MEMory STATe LOCK 1 0N locks the setup memory of location number 1 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands MEMory STATe RECall AUTo This command sets or queries whether to enable the automatic recall of last setup memory when powered on The next time you apply the power the arbitrary func tion generator will automatically recall the settings you used when you powered off the instrument If you select OFF the default setups are recalled when you power on the instru ment Group Memory Syntax MEMory STATe RECal1 AUTo ON OFF lt NR1 gt MEMory STATe RECal1 AUTo Arguments ON or lt NR1 gt 40 enables the recall of the setup memory you last used before powering off the instrument OFF or lt NR1 gt 0 disables the last setup recall function Returns lt NR1 gt Examples MEMory STATe RECa11 AUTo ON sets the ins
54. N OFF lt NR1 gt SOURce 1 2 AM STATe ON or lt NR1 gt 0 enables AM modulation OFF or lt NR1 gt 0 disables AM modulation lt NR1 gt SOURce1 AM STATe ON enables the CH 1 AM modulation SOURce 1 2 BURSt MODE Group Syntax Arguments Returns Examples This command sets or queries the burst mode for the specified channel Source SOURce 1 2 BURSt MODE TRIGgered GATed SOURce 1 2 BURSt MODE TRIGgered means that triggered mode is selected for burst mode GATed means that gated mode is selected for burst mode TRIG GAT SOURcel BURSt MODE TRIGgered selects triggered mode AFG3000 Series Arbitrary Function Generators Reference Manual 3 41 Syntax and Commands SOURce 1 2 BURSt NCYCles This command sets or queries the number of cycles burst count to be output in burst mode for the specified channel The query command returns 9 9E 37 if the burst count is set to INFinity Group Source Syntax SOURce 1 2 BURSt NCYCles lt cycles gt INFinity MINimum MAXimum SOURce 1 2 BURSt NCYCles MINimum MAXimum Arguments lt cycles gt lt NRf gt where lt NRf gt is the burst count The burst count ranges from 1 to 1 000 000 INFinity sets the burst count to infinite count MINimum sets the burst count to minimum count MAXimum sets the burst count to maximum count Returns lt cycles gt Examples SOURcel BURSt NCYCles 2 sets the CH 1 burst count to 2 3 42 AFG3000 Series A
55. Nimum MAXimum SOURce 1 2 FREQuency SPAN MINimum MAXimum Arguments lt frequency gt lt NRf gt lt units gt where lt NRf gt is the frequency span lt units gt Hz kHz MHz Returns lt frequency gt Examples SOURcel FREQuency SPAN 900 kHz sets the CH 1 frequency span to 900 kHz AFG3000 Series Arbitrary Function Generators Reference Manual 3 53 Syntax and Commands SOURce 1 2 FREQuency STARt This command sets or queries the start frequency of sweep for the specified channel This command is always used with the SOURce 1 2 FREQuency STOP command The setting range of start frequency depends on the waveform selected for sweep Group Source Related Commands SOURce 1 2 FREQuency MODE SOURce 1 2 FREQuency STOP Syntax SOURce 1 2 FREQuency STARt lt frequency gt MINimum MAXimum SOURce 1 2 FREQuency STARt MINimum MAXimum Arguments lt frequency gt lt NRf gt lt units gt where lt NRf gt is the start frequency lt units gt Hz kHz MHz Returns lt frequency gt Examples SOURcel FREQuency STARt 10kHz sets the sweep start frequency of CH 1 to 10 kHz 3 54 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 FREQuency STOP This command sets or queries the start frequency of sweep for the specified channel This command is always used with the SOURce 1 2 FREQuency STARt command The setti
56. OURce ROSCillator SOURce Group Syntax Arguments Returns Examples This command sets the reference clock to either internal or external Source SOURce ROSCillator SOURce INTernal EXTernal SOURce ROSCi11ator SOURce INTernal means that the reference clock is set to internal EXTernal means that the reference clock is set to external INT EXT SOURce ROSCillator SOURce INTernal selects the internal clock reference SOURce 1 2 SWEep HTIMe Group Syntax Arguments Returns Examples This command sets or queries the sweep hold time Hold time represents the amount of time that the frequency must remain stable after reaching the stop frequency Source SOURce 1 2 SWEep HTIMe lt seconds gt MINimum MAX imum SOURce 1 2 SWEep HTIMe MINimum MAX imum lt seconds gt lt NRf gt lt units gt where lt NRf gt is the hold time in seconds lt units gt ns us ms s lt seconds gt SOURce1 SWEep HTIMe 1ms sets the CH 1 hold time to 1 ms AFG3000 Series Arbitrary Function Generators Reference Manual 3 77 Syntax and Commands SOURce 1 2 SWEep MODE 3 78 Group Related Commands Syntax Arguments Returns Examples The SOURce 1 2 SWEep MODE command selects auto or manual for the sweep mode for the specified channel The query command returns the sweep mode for the specified channel Source SOURce 1 2 SWEep HTIMe SOURce 1 2 SWEep RTIMe S
57. OURce 1 2 SWEep TIME TRIGger SEQuence SOURce TRIGger SEQuence TIMer SOURce 1 2 SWEep MODE AUTO MANual SOURce 1 2 SWEep MODE AUTO sets the sweep mode to auto The instrument outputs a continuous sweep at a rate specified by Sweep Time Hold Time and Return Time MANual sets the sweep mode to manual The instrument outputs one sweep when a trigger input is received AUTO MAN SOURcel SWEep MODE AUTO sets the CH1 sweep mode to auto The instrument outputs a continuous sweep AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 SWEep RTIMe Group Syntax Arguments Returns Examples This command sets or queries the sweep return time Return time represents the amount of time from stop frequency through start frequency Return time does not include hold time Source SOURce 1 2 SWEep RTIMe lt seconds gt MINimum MAX imum SOURce 1 2 SWEep RTIMe MINimum MAX imum lt seconds gt lt NRf gt lt units gt where lt NRf gt is the return time in seconds lt units gt ns us ms s lt seconds gt SOURce1 SWEep RTIMe 1ms sets the CH 1 return time to 1 ms SOURce 1 2 SWEep SPACing Group Syntax Arguments Returns Examples The SOURce 1 2 SWEep SPACing command selects linear or logarithmic spacing for the sweep for the specified channel The query command returns the type for the sweep spacing fo
58. OURce 1 2 FM DEViation 3 46 SOURce 1 2 FM INTernal FREQuency 3 46 SOURce 1 2 FM INTernal FUNCtion 3 47 SOURce 1 2 FM INTernal FUNCtion EFILe 3 48 SOURce 1 2 FM SOURce 3 48 SOURce 1 2 FM STATe 3 49 SOURce 1 2 FREQuency CENTer 3 49 SOURce 1 2 FREQuency CONCurrent STATe 3 50 SOURce SOURce SOURce SOURce SOURce SOURce SOURce SOURce SOURce SOURce SOURce SOURce 12 112 12 12 12 112 12 112 112 1 2 12 12 FREQuency CW FIXed 3 51 FREQuency MODE 3 52 FREQuency SPAN 3 53 FREQuency STARt 3 54 FREQuency STOP 3 55 FSKey FREQuency 3 56 FSKey INTernal RATE 3 56 FSKey SOURce 3 57 FSKey STATe 3 57 FUNCtion EFILe 3 58 FUNCtion RAMP SYMMetry 3 58 FUNCtion SHAPe 3 59 mg peg pieg pij pieg pig ee pig pag ee panay a Kon sas ae e il ll SOURce 1 2 PHASe ADJust 3 60 SOURce 1 2 PHASe INITiate 3 61 SOURce 1 2 PM DEViation 3 61 SOURce 1 2 PM INTernal FREQuency 3 62 SOURce 1 2 PM INTernal FUNCtion 3 63 SOURce 1 2 PM INTernal FUNCtion EFILe 3 64 SOURce 1 2 PM SOURce 3 64 SOURce 1 2 PM STATe 3 65 SOURce 1 2 PULSe DCYCle 3 67 SOURce 1 2 PULSe DELay 3 68 SOURce 1 2 PULSe HOLD 3 68 SOURce 1 2 PULSe PERiod 3 69 SOURce 1 2 PULSe TRANsition LEADing 3 69 SOURce 1 2 PULSe TRANsition TRAiling 3 70 SOURce 1 2 PULSe WIDTh 3 71 SOURce 1 2 PWM DEViation DCYCle 3 76 SOURce 1 2 PWM INTernal FREQuency 3 72 SOURce 1 2
59. OURce 1 2 PHASe ADJust Initiate output waveform phase synchronization Set query output waveform phase SOURce 1 2 PM INTernal FREQuency Set query internal modulation frequency SOURcef 1 2 PM INTernal FUNCtion Set query internal modulation waveform SOURce 1 2 PM INTernal FUNCtion EFILe Set query EFlLe name SOURcef 1 2 PM SOURce SOURce 1 2 PM STATe Set query phase modulation source Set query phase modulation status SOURce 1 2 PM DEViation Set query phase modulation deviation SOURce lt 3 4 gt POWer LEVel IMMediate AMPLitude Set query internal noise level SOURce 1 2 PULSe DCYCle Set query pulse waveform duty cycle SOURce 1 2 PULSe DELay Set query pulse waveform lead delay SOURce 1 2 PULSe HOLD Set query pulse waveform parameter SOURce 1 2 PULSe PERiod Set query pulse waveform period SOURce 1 2 PULSe TRANsition LEADing Set query pulse waveform leading edge time SOURce 1 2 PULSe TRANsition TRAiling Set query pulse waveform trailing edge time SOURce 1 2 PULSe WIDTh Set query pulse waveform width AFG3000 Series Arbitrary Function Generators Reference Manual 3 11 Syntax and Commands 3 12 Table 3 10 Source commands cont Header SOURce 1 2 PWM INTernal FREQuency Description Set query pulse width modulation frequency SOURce 1 2 PWM INTernal FUNCtion Set
60. PULSe DELay lt delay gt MINimum MAX imum SOURce 1 2 PULSe DELay MINimum MAX imum lt delay gt lt NR2 gt lt units gt where lt NR2 gt is the lead delay lt units gt ns us ms s Setting range O ns to Pulse Period Pulse Width 0 8 x Leading Edge Time Trailing Edge Time lt delay gt SOURce1 PULSe DELay 20ms sets the CH 1 lead delay to 20 ms SOURce 1 2 PULSe HOLD Group Syntax Arguments Returns Examples 3 68 The SOURce 1 2 PULSe HOLD command sets the arbitrary function generator to hold either pulse width or pulse duty The SOURce 1 2 PULSe HOLD command returns WIDTh or DUTY Source SOURce 1 2 PULSe HOLD WIDTh DUTY SOURce 1 2 PULSe HOLD WIDTh means that the arbitrary function generator holds the pulse width setting DUTY means that the arbitrary function generator holds the pulse duty setting WIDT DUTY SOURce1 PULSe HOLD WIDTh holds the CH 1 pulse width setting AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 PULSe PERiod Group Syntax Arguments Returns Examples This command sets or queries the period for pulse waveform Source SOURce 1 2 PULSe PERiod lt period gt MINimum MAXimum SOURce 1 2 PULSe PERiod MINimum MAXimum lt period gt lt NRf gt lt units gt where lt NR gt is the pulse period lt units gt ns us ms s
61. PWM INTernal FUNCtion 3 73 SOURce 1 2 PWM INTernal FUNCtion EFILe 3 74 SOURce 1 2 PWM SOURce 3 74 SOURce 1 2 PWM STATe 3 75 SOURce 1 2 SWEep HTIMe 3 77 SOURce 1 2 SWEep MODE 3 78 SOURce 1 2 SWEep RTIMe 3 79 SOURce 1 2 SWEep SPACing 3 79 SOURce 1 2 SWEep TIME 3 80 SOURce 1 2 VOLTage CONCurrent STATe 3 81 SOURce 1 2 VOLTage LEVel IMMediate AM PLitude 3 85 SOURce 1 2 VOLTage LEVel IMMedi ate HIGH 3 82 SOURce 1 2 VOLTage LEVel IMMedi ate LOW 3 83 SOURce 1 2 VOLTage LEVel IMMediate OFF Set 3 84 SOURce 1 2 VOLTage LIMit HIGH 3 86 SOURce 1 2 VOLTage LIMit LOW 3 87 SOURce 1 2 VOLTage UNIT 3 88 SOURce lt 3 4 gt POWer LEVel IMMediate AM PLitude 3 66 SOURce ROSCillator SOURce 3 77 Square button 1 8 Square menu 2 3 SRE 3 89 SRER 4 9 Standard accessories A 2 Index 4 AFG3000 Series Arbitrary Function Generators Reference Manual Index Standard Event Status Register 4 3 4 6 State buttons 1 7 Status Byte Register 4 5 Status reporting structure 4 1 Status Utility menu 2 24 STATus OPERation CONDition 3 90 STATus OPERation ENABle 3 90 STATus OPERation EVENt 3 91 STATus PRESet 3 91 STATus QUEStionable CONDition 3 92 STATus QUEStionable ENABle 3 92 STATus QUEStionable EVENt 3 93 STB 3 93 Sweep Parameter Menu 2 9 Synchronous operation 2 26 System related menu Utility menu 2 24 SYSTem BEEPer MMediate 3 94 SYSTem
62. Parameter Types SCPI commands are created by stringing together the nodes of a subsystem hier archy and separating each node by a colon In Figure 3 2 TRIGger is the root node and SEQuence SLOPe SOURce and TIMer are lower level nodes To create an SCPI command start with the root node TRIGger and move down the tree structure adding nodes until you reach the end of a branch Most commands and some queries have parameters you must include a value for these parameters The command descriptions which begin on page 3 15 list the valid values for all parameters For example TRIGger SEQuence SOURce EXTernal is a valid SCPI command created from the hierarchy tree in Figure 3 2 Parameters are indicated by angle brackets such as lt file_name gt There are several different types of parameters as listed in Table 3 4 The parameter type is listed after the parameter Some parameter types are defined specifically for the arbi trary function generator command set and some are defined by SCPI Table 3 4 Parameter types used in syntax descriptions Parameter type Description Example arbitrary block A block of data bytes 512234XXXXX where 5 indicates that the follow ing 5 digits 12234 specify the length of the data in bytes XXXXX indicates the data or OXXXXX lt LF gt lt amp EO gt boolean Boolean numbers or values ON or 0 OFF or 0 discrete A list of specific values MIN MAX binary Bin
63. R contains the binary number 00000000 00100000 and the CH 1 of the instrument is waiting for trigger STATus OPERation ENABle Group Syntax Arguments Returns Examples 3 90 This command sets or queries the mask for the Operation Enable Register Status STATus OPERation ENABle lt bit_value gt STATus OPERation ENABTe lt bit_value gt lt NR1 gt lt bit_value gt STATus OPERation ENABle 1 sets the CALibrating bit in the OENR to on AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands STATus OPERation EVENt This query only command returns the value in the Operation Event Register and clears the Operation Event Register Group Status Syntax STATus OPERation EVENt Arguments None Returns lt NR1 gt Examples STATus OPERation EVENt might return 1 which indicates that the OEVR contains the binary number 00000000 00000001 and the CALibrating bit is set to on STATus PRESet No Query Form This command presets the SCPI status registers OENR and QENR Group Status Syntax STATus PRESet Arguments None Examples STATus PRESet presets the SCPI status registers AFG3000 Series Arbitrary Function Generators Reference Manual 3 91 Syntax and Commands STATus QUEStionable CONDition Group Syntax Arguments Returns Examples This query only command returns the contents of the Questionable Condition Register Status STATus QUEStionable CONDition Non
64. Reference Manual Tektronix 7 AFG3000 Series Arbitrary Function Generators 071 1639 00 This document supports firmware version 1 0 0 and above www tektronix com Copyright Tektronix Inc All rights reserved Tektronix products are covered by U S and foreign patents issued and pending Information in this publication supercedes that in all previously published material Specifications and price change privileges reserved Tektronix Inc P O Box 500 Beaverton OR 97077 TEKTRONIX and TEK are registered trademarks of Tektronix Inc WARRANTY 16 Tektronix warrants that the product will be free from defects in materials and workmanship for a period of three 3 years from the date of original purchase from an authorized Tektronix distributor If the product proves defective during this warranty period Tektronix at its option either will repair the defective product without charge for parts and labor or will provide a replacement in exchange for the defective product Batteries are excluded from this warranty Parts modules and replacement products used by Tektronix for warranty work may be new or reconditioned to like new performance All replaced parts modules and products become the property of Tektronix In order to obtain service under this warranty Customer must notify Tektronix of the defect before the expiration of the warranty period and make suitable arrangements for the performance of service Customer shall be re
65. Standard Event Status Register SESR has been cleared or after an event readout has been performed 4 MAV Message Available Bit This bit indicates that a message has been placed in the output queue and can be retrieved 3 QSB Questionable Status Bit 2 EQS Error Event Queue Summary 1 0 Not used AFG3000 Series Arbitrary Function Generators Reference Manual 4 5 Status and Events Standard Event Status Register SESR The SESR records eight types of events that can occur within the instrument as shown in Figure 4 3 7 6 PON URQ 5 4 CME EXE 3 DDE QYE RQC OPC 2 1 0 Figure 4 3 The Standard Event Status Register SESR Table 4 2 SESR bit functions Bit 7 MSB Function PON Power On Indicates that the power to the instrument is on 6 URQ User Request Indicates that an application event has occurred The arbitrary function generator does not use this bit CME Command Error Indicates that an error occurred while the arbitrary function generator was parsing a command or query EXE Execution Error Indicates that an error occurred while the arbitrary function generator was executing a command or query Execution errors occur for one of the following reasons E A value designated in the argument is outside the allowable range of the instrument or is in conflict with the capabilities of the instrument m The command was not e
66. Table 2 12 Cut Opens Cut submenu See Table 2 12 blank blank Read from Memory Selects a memory type Internal or USB Internal USB Read Load one of the user defined waveforms which is stored in the internal or USB memory to Edit Memory Once Read is executed the edit waveform is overwritten blank Change Directory Opens a directory This menu item is available when USB is selected Cancel more 1 3 2 14 AFG3000 Series Arbitrary Function Generators Reference Manual Reference Table 2 11 Edit Menu cont First Level Second Level Description Paste at Beginning Memory Selects a memory type Internal or USB Internal USB Paste Pastes a waveform at the beginning of the current waveform blank Change Directory Opens a directory This menu item is available when USB is selected Cancel Paste at End Memory Selects a memory type Internal or USB Internal USB Paste Pastes a waveform at the end of the current waveform blank Change Directory Opens a directory This menu item is available when USB is selected Cancel blank Write to Memory Selects a memory type Internal or USB Internal USB Write Saves the current waveform to the internal or USB memory Write As Opens the submenu to enter a file name See page 2 30 Change Directory Opens a directory This menu item is available when USB is selected more 1 2 Lock Unlock Locks
67. The cursor is now under 1 Figure 1 13 Screen display with Frequency active 1 To move the cursor use the arrow keys Tel CH1 Cont Frequency is selected Freg 1 000 000 000 00 MHz Frequency active Phase 0 00 pi Period Frequency he cursor is moved Figure 1 14 Screen display with Frequency active 2 To change the value use the general purpose knob Turn the knob clockwise to increase the value turn the knob counterclockwise to decrease the value Tek E L3 EH Cont Frequency is selected E JOS 000 000 00 mie Frequency active Phase 0 00 Ampl U Period Offset Omi Frequency The value is changed to 5 Figure 1 15 Screen display with Frequency active 3 AFG3000 Series Arbitrary Function Generators Reference Manual 1 15 Operating Basics You can also change the value with the front panel numeric key pad Entering any value from the numeric key pad will automatically change the bezel menu to Units See Figure 1 16 CH1 Cont e The bezel menu is Freq ZN changed to Units High Low The value 2 is entered Figure 1 16 Screen display with Frequency active 4 After entering the frequency value push the Units bezel button or the front panel Enter button to complete the entry To change the amplitude value push the Top Menu button and then select the Amplitude Level Menu bezel button You can change the values of amplitude offset high
68. Viation Group Syntax Arguments Returns Examples This command sets or queries the peak frequency deviation of FM modulation for the specified channel The setting range of frequency deviation depends on the waveform selected as the carrier Source SOURce 1 2 FM DEViation lt deviation gt MINimum MAXimum SOURce 1 2 FM DEViation MINimum MAX imum lt deviation gt lt NRf gt lt units gt where lt NRf gt is the frequency deviation lt units gt Hz kHz MHz lt deviation gt SOURcel FM DEViation 1 0MHz sets the CH 1 frequency deviation to 1 0 MHz SOURce 1 2 FM INTernal FREQuency Group Syntax Arguments Returns Examples 3 46 This command sets or queries the internal modulation frequency of FM modulation for the specified channel You can use this command only when the internal modu lation source is selected Source SOURce 1 2 FM INTernal FREQuency lt frequency gt MINimum MAX imum SOURce 1 2 FM INTernal FREQuency MINimum MAXimum lt frequency gt lt NRf gt lt units gt where lt NRf gt is the modulation frequency lt units gt Hz kHz MHz lt frequency gt SOURcel FM INTernal FREQuency 10kHz sets the CH 1 internal modulation frequency to 10 kHz AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 FM INTernal FUNCtion Group Related Commands Syntax Arguments Retu
69. a LAN use a 10 Base T or 100 Base T cable Connect a LAN cable to the LAN port on the rear panel See page 1 19 for the location of the LAN port AFG3000 Series Arbitrary Function Generators Reference Manual 2 25 Reference 2 26 Synchronous Operation By synchronizing multiple arbitrary function generators you can configure the multichannel arbitrary function generator To synchronize multiple arbitrary function generators connect the instruments as follows NE Use a BNC cable to connect the front panel Trigger Output connector of the master unit and the Trigger Input connector of the slave unit E Use another BNC cable to connect the EXT REF OUTPUT connector on the rear panel of the master unit and the EXT REF INPUT connector of the slave unit Push the front panel Utility button Select System gt Trigger Out bezel menu and then select Sync NOTE The EXT REF OUTPUT connector is not provided with the AFG3021 and AFG3022 arbitrary function generator Power on Setting You can select the arbitrary function generator settings that are restored when the instrument is powered on By default the arbitrary function gen erator is set to restore the default settings at power on To change the power on set tings use the Utility gt System gt Power On bezel menu To restore the last powered off settings next time you power on the instrument select Last Secure The Secure function erases all the waveform setup data in
70. age to Vms DBM sets the units of the output voltage to dBm You cannot specify DBM if the load impedance is set to infinite VPP VRMS DBM SOURce1 VOLTage UNIT VPP sets the voltage units to Vp p AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SRE Group Related Commands Syntax Arguments Returns Examples This command sets and queries the bits in the Service Request Enable Register SRER Status PSC SRE lt bit_value gt TORE lt bit_value gt lt NR1 gt where lt NRl1 gt is a value in the range from 0 through 255 The binary bits of the SRER are set according to this value Using an out of range value causes an execution error The power on default for SRER is 0 if PSC is set to 1 If PSC is set to O the SRER maintains the previous power cycle value through the current power cycle lt bit_value gt SRE 48 sets the bits in the SRER to binary 00110000 SRE might return 32 showing that the bits in the SRER have the binary value of 00100000 AFG3000 Series Arbitrary Function Generators Reference Manual 3 89 Syntax and Commands STATus OPERation CONDition Group Syntax Arguments Returns Examples This query only command returns the contents of the Operation Condition Register Status STATus OPERation CONDition None lt bit_value gt lt NR1 gt STATus OPERation CONDition might return 32 which indicates that the OC
71. al noise or an external signal to an output signal for the specified channel When you specify the internal noise you can set or query the noise level by SOURce lt 3 4 gt POWer LEVel IMMediate AMPLitude command To disable the internal noise add or the external signal add function specify You can add an external signal to the CH 1 output signal of the AFG3100 and AFG3200 series arbitrary function generators Both the internal noise and an external signal can be added simultaneously to the arbitrary function generator Group Source Related Commands SOURce lt 3 4 gt POWer LEVe1 IMMediate AMPLitude Syntax SOURce 1 2 COMBine FEED NOISe EXTernal BOTH gt SOURce 1 2 COMBine FEED Arguments NOISe indicates that the internal noise is added to the output signal EXTernal indicates that an external signal is added to the CH 1 output signal of the AFG3100 or AFG3200 series arbitrary function generators BOTH indicates that the internal noise and an external signal are added to the CH 1 output signal of the AFG3100 or AFG3200 series arbitrary function generators disables the internal noise add and external signal add function Returns NOIS ce EXT BOTH 6099 Examples SOURce1 COMBine FEED EXTernal adds an external signal to the CH 1 output signal AFG3000 Series Arbitrary Function Generators Reference Manual 3 45 Syntax and Commands SOURce 1 2 FM DE
72. ally starts if no operations are applied to the instrument front panel for five minutes Display DISPlay SAVer STATe ON OFF lt NR1 gt DISPlay SAVer STATe ON or lt NR1 gt 40 enables the screen saver function OFF or lt NR1 gt 0 disables the screen saver function lt NR1 gt DISPlay SAVer STATe OFF disables the screen saver function AFG3000 Series Arbitrary Function Generators Reference Manual 3 19 Syntax and Commands DISPlay WINDow TEXT DATA Group Syntax Arguments Returns Examples The DISPlay WINDow TEXT DATA command displays a text message on the instrument screen The DISPlay WINDow TEXT DATA command returns a text string currently displayed on the instrument screen The displayable characters are ASCII code 32 through 126 and the instrument can display approximately 64 characters Display DISPlay WINDow TEXT DATA lt string gt DISPlay WINDow TEXT DATA lt string gt lt string gt A currently displayed text message is returned DISPlay WINDow TEXT DATA returns the currently displayed text message DISPlay WINDow TEXT CLEar No Query Form Group Syntax Arguments Examples 3 20 This command clears the text message from the display screen Display DISPlay WINDow TEXT CLEar None DISPlay WINDow TEXT CLEar clears the text message from the screen AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and
73. an OPC command completes all selected pending operations Table 4 13 Operation complete events Event code Event message 800 Operation complete AFG3000 Series Arbitrary Function Generators Reference Manual Status and Events Device Errors Table 4 14 lists the error codes that are unique to the AFG3000 Series Arbi trary Function Generators Table 4 14 Device errors Error code 1101 Error message Calibration failed CH1 Internal offset 1102 Calibration failed CH2 Internal offset 1103 Calibration failed CH1 Output offset 1104 Calibration failed CH2 Output offset 1105 Calibration failed CH1 Output gain 1106 Calibration failed CH2 Output gain 1201 Calibration failed CH1 x 3 dB attenuator 1202 1203 Calibration failed CH2 x 3 dB attenuator Calibration failed CH1 x 6 dB attenuator 1204 1205 Calibration failed CH2 x 6 dB attenuator Calibration failed CH1 x 10 dB attenuator 1206 Calibration failed CH2 x 10 dB attenuator 1207 Calibration failed CH1 x 20 dB 1 attenuator 1208 Calibration failed CH2 x 20 dB 1 attenuator 1209 Calibration failed CH1 x 20 dB 2 attenuator 1210 Calibration failed CH2 x 20 dB 2 attenuator 1211 Calibration failed CH1 Filter 1212 Calibration failed CH2 Filter 1301 Calibration failed CH1 Sine Flatness 1302 Calibration failed CH2 Sine Flatness 1401
74. and Commands SOURce 1 2 PWM INTernal FUNCtion EFILe Group Syntax Arguments Returns Examples This command sets or queries an EFILe name used as a modulating waveform for PWM modulation A file name must be specified in the mass storage system This command causes an error if there is no file in the mass storage Source SOURce 1 2 PWM INTernal FUNCtion EFILe lt file name gt SOURce 1 2 PWM INTernal FUNCtion EFILe lt file_name gt lt string gt specifies a file name in the mass storage system The lt file_name gt includes path Path separators are forward slashes lt file_name gt SOURce1 PWM INTernal FUNCtion EFILe SAMPLE1 creates a file named SAMPLE1 in the mass storage SOURce 1 2 PWM SOURce Group Syntax Arguments Returns Examples 3 74 This command sets or queries the source of modulating signal of PWM modulation for the specified channel Source SOURce 1 2 PWM SOURce INTernal EXTernal SOURce 1 2 PWM SOURce INTernal means that the carrier waveform is modulated with the internal source EXTernal means that the carrier waveform is modulated with an external source INT EXT SOURce1 PWM SOURce INTernal sets the source of modulating signal on CH 1 to internal AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 PWM STATe Group Syntax Arguments Returns Examples Thi
75. and sets or queries the shape of the output waveform When the speci fied user memory is deleted this command causes an error if you select the user memory Group Source Syntax SOURce 1 2 FUNCtion SHAPe SINusoid SQUare PULSe RAMP PRNoise DC SINC GAUSsian LORentz ERISe EDECay HAVersine USER 1 USER2 USER3 USER4 EMEMory EFI Le SOURce 1 2 FUNCtion SHAPe Arguments SINusoid SQUare PULSe RAMP PRNoise DC SINC GAUSsian LORentz ERISe EDECay HAVersine The following table shows the combination of modulation type and the shape of output waveform Sine Square Ramp Arb Sin x x Pulse Noise DC Gaussian Lorentz Exponential Rise Exponential Decay Haversine AM y FM y PM y FSK y PWM y Sweep y Burst y y If you select a waveform shape that is not allowed with a particular modulation sweep or burst the Run mode will automatically be changed to Continuous If you specify EFILe when there is no EFILe or the EFILe is not yet defined this command causes an error If you change the type of output waveform it might change the output frequency because changing waveform types impacts the setting range of output frequency USER 1 USER2 USER3 USER4 EMEMory A user defined waveform saved in the user waveform memory or the EMEMory can be selected as an output waveform AFG3000 Series Arbitrary Function Generators Reference Manual 3 59 Syntax and Commands R
76. ary func tion generator triggering Table 3 15 lists and describes Trigger commands Table 3 15 Trigger commands Header Description ABORt Initialize trigger system TRG Force trigger event TRIGger SEQuence SLOPe Set query the slope of trigger signal TRIGger SEQuence SOURce Set query the source of trigger signal TRIGger SEQuence TlMer Set query the period of internal clock TRIGger SEQuence MMediate Generate a trigger event AFG Control AFG Control command copies setups between two channels Table 3 16 AFG Control command Header AFGControl CSCopy Description Copy CH1 or CH2 setup parameters to CH2 or CH1 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands Command Descriptions Manual Conventions Commands either set or query instrument values Some commands both set and query some only set and some only query This manual uses the following conventions No Query Form indicates set only commands A question mark appended to the commands and Query Only indicates query only commands E Fully spells out headers mnemonics and arguments with the minimal spelling shown in upper case for example to use the abbreviated form of the DIS Play CONTrast command just type DISP CONT m Syntax of some commands varies depending on the model of arbitrary func tion generator you are using differences are noted ABORt No Query F
77. ary numbers B0110 octal Octal numbers Q75 Q3 hexadecimal Hexadecimal numbers 0 9 A F HAA H1 NR1 numeric Integers 0 1 15 1 NR2 numeric Decimal numbers 1 2 3 141516 6 5 NR3 numeric Floating point numbers 3 1415E 9 16 1E5 NRf numeric Flexible decimal number that See NR1 NR2 NR3 examples may be type NR1 NR2 or NR3 in this table string Alphanumeric characters must Testing 1 2 3 be within quotation marks AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands Special Characters Abbreviating Commands Queries and Parameters The Line Feed LF character or the New Line NL character ASCII 10 and all characters in the range of ASCII 127 255 are defined as special characters These characters are used in arbitrary block arguments only using these characters in other parts of any command yields unpredictable results You can abbreviate most SCPI commands queries and parameters to an accepted short form This manual shows these commands as a combination of upper and lower case letters The upper case letters indicate the accepted short form of a command as shown in Figure 3 3 The accepted short form and the long form are equivalent and request the same action of the instrument Long form of a command SOURcel FREQuency 100 Minimum information needed for accepted short form Accepted short form SOUR1 4 100 of a command Figure 3 3 Example of abbrevi
78. ate AMPLitude MINimum MAXimum lt percent gt lt NR2 gt lt units gt where lt NR2 gt is the noise level lt units gt PCT lt percent gt SOURce3 POWer LEVel IMMediate AMPLitude 50PCT sets the internal noise level that is added to the output signal to 50 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 PULSe DCYCle This command sets or queries the duty cycle of the pulse waveform for the speci fied channel The setting range is 0 1 to 99 9 in increments of 0 1 The arbitrary function generator will hold the settings of leading edge and trailing edge when the duty cycle is varied Refer to the SOURce 1 2 PULSe WIDTh command for the setting range Group Source Related Commands SOURce 1 2 PULSe WIDTh Syntax SOURce 1 2 PULSe DCYCle lt percent gt MINimum MAXimum SOURce 1 2 PULSe DCYCle MINimum MAXimum Arguments lt percent gt lt NR2 gt lt units gt where lt NRf gt is the duty cycle lt units gt PCT Returns lt percent gt Examples SOURcel PULSe DCYCle 80 5 sets the duty cycle of the pulse waveform on CH 1 to 80 5 AFG3000 Series Arbitrary Function Generators Reference Manual 3 67 Syntax and Commands SOURce 1 2 PULSe DELay Group Syntax Arguments Returns Examples This command sets or queries the lead delay of the pulse waveform for the speci fied channel Source SOURce 1 2
79. ating a command NOTE The numeric suffix of a command or query may be included in either the long form or short form The arbitrary function generator will default to 1 if no suffix is used AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands Chaining Commands and You can chain several commands or queries together into a single message To Queries create a chained message first create a command or query then add a semicolon and finally add more commands or queries and semicolons until you are done If the command following a semicolon is a root node precede it with a colon Figure 3 4 illustrates a chained message consisting of several commands and queries The chained message should end in a command or query not a semicolon Responses to any queries in your message are separated by semicolons SOUR FREQ FIX 100 OUTP STAT ON SOUR VOLT AMPL TRIG SEQ TIM First command Second command First query Second query The response from this chained message might be 1 000E0 1 000E 3 Response from first query Response from second query Figure 3 4 Example of chaining commands and queries If a command or query has the same root and lower level nodes as the previous command or query you can omit these nodes In Figure 3 5 the second command has the same root node SEQuence as the first command so these nodes can be omitted TRIG SEQ TIM 2 5 TRIG SEQ
80. ax Arguments Returns Examples This command sets or queries the modulation depth of AM modulation for the specified channel Source SOURce 1 2 AM DEPTh lt depth gt MINimum MAXimum SOURce 1 2 AM DEPTh MINimum MAXimum lt depth gt lt NR2 gt lt units gt where lt NR2 gt is the depth of modulating frequency lt units gt PCT MINimum sets the modulation depth to minimum value MAXimum sets the modulation depth to maximum value lt depth gt SOURce1 AM DEPth MAXimum sets the depth of modulating signal on CH 1 to the maximum value AFG3000 Series Arbitrary Function Generators Reference Manual 3 37 Syntax and Commands SOURce 1 2 AM INTernal FREQuency This command sets or queries the internal modulation frequency of AM modula tion for the specified channel You can use this command only when the internal modulation source is selected You can select the source of modulating signal by using the SOURce 1 2 AM SOURce INTernal EXTernal command Group Source Related Commands SOURce 1 2 AM SOURce Syntax SOURce 1 2 AM INTernal FREQuency lt frequency gt MINimum MAXimum SOURce 1 2 AM INTernal FREQuency MINimum MAXimum Arguments lt frequency gt lt NRf gt lt units gt where lt NRf gt is the modulation frequency lt units gt Hz kHz MHz Returns lt frequency gt Examples SOURcel AM INTernal FREQuency 10kHz sets the CH 1 internal modulati
81. be input From X1 and To X2 See Figure 2 7 Before executing Cut After executing Cut Number of Points 200 Number of Points 137 From To Line From m 1279 12795 EditMemory Graphic EditMemory Graphic Figure 2 7 Cut example NOTE Data that has been deleted cannot be recovered Read from Push the front panel Edit button and then push the Read from gt Memory bezel menu to load a waveform file from the internal memory or a USB memory into Edit Memory 2 20 AFG3000 Series Arbitrary Function Generators Reference Manual Reference Paste at Beginning The Paste at Beginning inserts the contents of the user wave form memory User1 User2 User3 or User4 USB memory or the current contents of Edit Memory at the beginning of the waveform that is currently being edited When this operation is executed the Number of Points setting is automati cally modified If this operation would cause the waveform to exceed 65 536 AFG3021 and AFG3022 or 131 072 AFG3101 AFG3102 and AFG3251 AFG3252 points the waveform insertion will not be executed Waveform in Edit Memory Waveform stored in internal or USB memory 35 U Stored waveform is pasted at the front of the waveform being edited NN Waveform after executing Paste at Beginning 1000 1000 2000 Figure 2 8 Paste at Beginning AFG3000 Series Arbitrary Function Generators Reference Manual 2 21 Reference 2 22
82. bitrary function generator firmware CAUTION Do not remove USB memory while writing or reading data It may cause data loss and the USB memory may be damaged Before reinsert a USB memory after removing it from the instrument wait at least one second Do not repeat insertion and removal of USB memory without waiting one second each time to avoid damage to the instrument The front panel may be locked by a remote user while the instrument is being remotely controlled via GPIB USB or Ethernet When the front panel is locked all keys and buttons are disabled except the power switch The Lock symbol at the top right of the screen indicates that the instrument front panel controls are locked To unlock the front panel use the remote command or push the front panel Cancel button twice in a row This method is not applied if the arbitrary function generator is in the GPIB LLO Local Lockout state AFG3000 Series Arbitrary Function Generators Reference Manual Operating Basics Display Area and Screen Interface Main Display Area Figure 1 8 shows the main areas of the instrument display Message display area Numeric input is available Knob is available le Pt T18 00 ns Main dis la Ampl pal ipp Sine Offset area a 0 Output status Duty 50 0 Deviation 6 0 i High Level Bezel menu Level meter View tab Figure 1 8 Screen interface Pushing the front panel View button changes the view format of the ma
83. bitrary waveform to the arbitrary func tion generator s Edit Memory and copying the contents of Edit Memory to the user waveform memory Private Sub Sample2_Click Assign resource Tvcl Descriptor GPIBO 11 INSTR Initialize of device setting Y Tvcl WriteString RST Make arbitrary block data 2000 Points Y Dim wave 4000 As Byte For i 0 To 499 Leading edge 500 Points Data i Int 16382 500 Data range is from 0 to 16382 High Int Data 256 AFG s Data Format is big endian Low Data High 256 wave 2 i High wave 2 i 1 Low Next 1 For i 500 To 799 Part of High Level 800 Points Data 16382 High Int Data 256 Low Data High 256 Next 1 For i 800 To 999 Trailing Edge 200 Points Data 1000 i Int 16382 200 High Int Data 256 Low Data High 256 AFG3000 Series Arbitrary Function Generators Reference Manual 5 3 Programming Examples Next 1 For i 1000 To 1999 Part of Low Level 1000 Points Data 0 High Int Data 256 Low Data High 256 Next 1 Y Transfer waveform Transfer arbitrary block data to edit memory Y Tvcl SendEndEnabled False Tvcl WriteString TRACE DATA EMEMORY 44000 Tvcl SendEndEnabled True Tvcl WriteByteArray wave Copy contents of edit memory to USER1 Tvcl WriteString TRAC COPY USER1 EMEM Y Set CH1 output parameters Y Tvc
84. ble Register QENR o oo oooomo oo 4 10 Figure A 1 Fuse adapter 0 ccc cece cece cece eee eee e tee e eens A 3 AFG3000 Series Arbitrary Function Generators Reference Manual List of Tables List of Tables Table 2 1 Sine Square Menu cores iaces ccc ccc ce ccc ee cece ee tee e eens 2 3 Table 2 2 Ramp Menu ccc cece cece cece cere eee e eee e te eeees 2 4 Table 2 3 Pulse Menu 0eoioiiac ra clare era ele toa ee tiecelewie s 2 4 Table 224 Arb Ment ii ee eae E EE ER 2 5 Table 2 5 More Menu cece ccc ce cece cece ee eee e eect ee eens 2 6 Table 2 6 Modulation Parameter Menu ccc cece cee ee eevee 2 7 Table 2 7 Sweep Parameter Menu 0 cece cece cece cece cece eee 2 9 Table 2 8 Burst Parameter Menu cece cee cece cece reece cece 2 11 Table 2 9 Output Menu cece cece cee teeter erect eee ooo 2 12 Table 2 10 Save Recall Menu cc ccc cece cee ce cee ee eee eee eee 2 13 Table2 11s Edit Menu esasen seine ane a 2 14 Table 2 12 Operations submenu cee c eee eee e eens 2 17 Table 2 13 Utility Menu oooooooocoooccrorrorcrorcorccnnno romo 2 23 Table 3 1 BNF notation 0 ccc ccc cece ce cee ce ee ee eee a eeee 3 1 Table 3 2 Command message elements 0 ccc cece eee ee cee eeee 3 2 Table 3 3 Query response examples 0 cece eee cece eect eee eeees 3 3 Table 3 4 Parameter types used in syntax descriptio
85. button 1 8 SSSSESS55 E25 AFG3000 Series Arbitrary Function Generators Reference Manual Index N New Edit menu 2 17 Noise More waveform menu 2 6 Output menu 2 12 Number of Points Edit menu 2 16 Numeric input 1 15 O OCR 4 7 OENR 4 9 OEVR 4 7 Offset Low button shortcut button 1 9 OPC 3 31 Operation complete events 4 16 Operation Condition Register 4 3 4 7 Operation Enable Register 4 3 4 9 Operation Event Register 4 3 4 7 Operations submenu Edit menu 2 17 OPT 3 31 Option buttons 2 1 Optional accessories A 2 Options A 1 Output a user defined waveform 2 5 Output menu 2 12 How to access 2 2 Output Queue 4 10 Output status 1 11 Output status screen interface 1 11 OUTPut 1 2 IMPedance 3 32 OUTPut 1 2 POLarity 3 33 OUTPut 1 2 STATe 3 33 OUTPut TRIGger MODE 3 34 p Paste at Beginning Edt menu 2 21 Paste at End Edit menu 2 22 Phase Delay button shortcut button 1 9 Phone Tektronix xii Power button 1 3 Power cord options A 1 Power On Utility menu 2 13 2 24 Power on events 4 15 Power on setting 2 26 Programming examples 5 1 PSC 3 35 Pulse button 1 8 Pulse menu 2 4 Q QCR 4 8 QENR 4 10 QEVR 4 8 Query errors 4 15 Questionable Condition Register 4 8 Questionable Enable Register 4 10 Questionable Event Register 4 8 Queues 4 10 Quick Start User Manual part number A 2 R Radio button 2 1 Ramp button 1 8 Ramp menu 2 4 RCL 3 35 Read from Edit menu 2
86. ce eter eees 2 20 Paste at Beginning ccc ccc cee ee tee terete ences 2 21 Paste at End 2203553 ciwie sea la a e AS ER 2 22 Browse waveform files USB memory oooooocmomo oo 2 28 Write As Character entry box ooooo ooooooomom m o 2 30 Recall menu Internal 0 cece ee eee eee eee eee 2 31 Save As Character entry DOX 00 ccc cece eee ee eee eee 2 32 Command message elements cece eee ee eee eececece 3 3 Example of SCPI subsystem hierarchy tree oo ooo oo o o 3 4 Example of abbreviating a command oooooooooooo o 3 6 Example of chaining commands and queries o 3 7 Example of omitting root and lower level nodes 3 7 Error and event handling process 0c cece eee ceeees 4 2 The Status Byte Register SBR 0 ccc cece cee ee ee eee 4 5 The Standard Event Status Register SESR o o oo oo 4 6 Operation Condition Register OCR oooooooooo mo o o 4 7 AFG3000 Series Arbitrary Function Generators Reference Manual V List of Figures vi Figure 4 5 Questionable Condition Register QCR oo oooomoo o 4 8 Figure 4 6 Event Status Enable Register ESER oo ooooooomomo 4 9 Figure 4 7 Service Request Enable Register SRER o ooooooooo 4 9 Figure 4 8 Operation Enable Register OENR oo oooooooomomo o 4 9 Figure 4 9 Questionable Ena
87. ck a directory you cannot create a new file new directory or delete existing files To unlock a file or directory select a locked file or directory and then push the Lock Unlock bezel button If the lock icon disappears it indicates that the file is unlocked To delete a file or directory select a file or directory and then push the Erase bezel button AFG3000 Series Arbitrary Function Generators Reference Manual 2 29 Reference 2 30 Entering a File Name When you select Write As from the Write to submenu the character entry box is displayed as shown in Figure 2 11 File name box A TERAFGOOLTE Ae en ln a a o 456709 3 S CDEFGHI JELMNOPORSTUYWAYZ Figure 2 11 Write As Character entry box English alphabet characters are displayed below the file name box A selected char acter is highlighted You can move the highlighted selection using the general pur pose knob To enter the desired character push the Enter Character bezel button or the front panel Enter button The selected character is displayed in the file name box To move the cursor in the file name box use the arrow keys To delete a character in the file name box push the front panel BKSP key To insert a character in the file name box move the cursor using the arrow keys then enter a character When the filename is specified push the OK bezel button To cancel the entry push the front panel Cancel button If you sel
88. cont Accessory Part number International Power Cord Option AO North American 161 0066 00 Option A1 European 161 0099 09 Option A2 United Kingdom 161 0099 10 Option A3 Australian 161 0099 13 Option A5 Switzerland 161 0154 00 Option A6 Japanese 161 0298 00 Option A10 China 161 0304 00 50 Q BNC Termination 011 0049 01 50 Q BNC Cable 91 cm 36 in W shield 012 0482 00 50 Q BNC Cable 250 cm 98 in W shield 012 1256 00 Fuse adapter BNC P to BNC R 013 0345 00 Fuse set 3 pcs 0 125 A 159 0454 00 Fuse Adapter The arbitrary function generator will be damaged if a large DC or AC voltage is applied to the output or input connectors To protect the output circuits a fuse adapter is provided as an optional accessory When the instrument is used by students or other inexperienced users always attach the fuse adapter to the output connectors to avoid damage Fuse adapter 0 125 A fuse Figure A 1 Fuse adapter AFG3000 Series Arbitrary Function Generators Reference Manual A 3 Appendix A Accessories and Options A 4 AFG3000 Series Arbitrary Function Generators Reference Manual Appendix B General Care and Cleaning General Care Do not store or leave the arbitrary function generator where the LCD display will be exposed to direct sunlight for long periods of time CAUTION To avoid damage to the arbitrary function generator do not expose the instrument to sprays liq
89. cted Source SOURce 1 2 PM SOURce SOURce 1 2 PM INTernal FREQuency lt frequency gt MINimum MAX imum SOURce 1 2 PM INTernal FREQuency MINimum MAXimum lt frequency gt lt NRf gt lt units gt where lt NRf gt is the modulation frequency lt units gt Hz kHz MHz lt frequency gt SOURce1 PM INTernal FREQuency 10kHz sets the CH 1 internal modulation frequency to 10 kHz AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 PM INTernal FUNCtion This command sets or queries the modulating waveform of PM modulation for the specified channel You can use this command only when the internal modulation source is selected If you specify EFILe when there is no EFILe or the EFILe is not yet defined this command causes an error Group Source Related Commands SOURce 1 2 PM SOURce Syntax SOURce 1 2 PM INTernal FUNCtion SINusoid SQUare TRIangle RAMP NRAMp PRNoise USER 1 USER2 USER3 USER4 EMEMory EFILe SOURce 1 2 PM INTernal FUNCtion Arguments SINusoid SQUare TRIangle RAMP NRAMp PRNoise One of six types of function waveform can be selected as a modulating signal USER 1 USER2 USER3 USER4 EMEMory A user defined waveform saved in the user waveform memory or the EMEMory can be selected as a modulating signal EFILe EFILe is used as a modulating signal Returns SIN SQU TRI RAMP NRAM PRN USER
90. d restores the previous value for the selected setting When the front panel controls are locked you can use the Cancel button to unlock the front panel controls See page 1 10 E Backspace BKSP button The BKSP button is only active when you are setting a value in the Numeric Input Area Pushing the BKSP button deletes the currently selected digit The Edit Utility Save Recall Help and Default buttons are called Menu buttons Edit button The Edit button opens Edit menu See Table 2 11 on page 2 14 for the Edit menu map Utility button The Utility button opens Utility menu See Table 2 13 on page 2 23 for the Utility menu map Save button The Save button opens the Save menu See Table 2 10 on page 2 13 for the Save menu map Recall button The Recall button opens the Recall menu See Table 2 10 on page 2 13 for the Recall menu map Help button The Help button opens the built in Help Default button The Default button restores the instrument settings to the default values When you push this button you will be prompted on the display with a pop up window message requesting you to confirm that you want to restore the defaults See Default Setup on page D 1 for the settings when you push the Default button Run Mode buttons When one of four Run Mode buttons is selected the menu for configuring the run mode is displayed on the screen See State buttons on page 1 7 AFG3000 Series Arbitrary Function Generators Reference
91. diate OFFSet lt voltage gt MINimum MAXimum SOURce 1 2 VOLTage LEVel IMMediate OFFSet MINimum MAXimum lt voltage gt lt NRf gt lt units gt where lt NRf gt is the offset voltage level lt units gt mV V lt voltage gt SOURcel VOLTage LEVel IMMediate 0FFSet 500mV sets the CH 1 offset level to 500 mV AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 VOLTage LEVel IMMediate AMPLitude This command sets or queries the output amplitude for the specified channel If your instrument is two channel model and the SOURce 1 2 VOLTage CONCur rent STATe command is set to ON then the output amplitude of the other channel is the same value Units Amplitude resolution VPP 0 1 mV or four digits VRMS 0 1 mVms or four digits DBM 0 1 dBm You can set the units of output amplitude by using either the bezel menu selection or the SOURce 1 2 VOLTage UNIT command The selection by bezel menu has priority over the remote command Group Source Related Commands SOURce 1 2 VOLTage CONCurrent STATe Syntax SOURce 1 2 VOLTage LEVel1 IMMediate AMPLitude lt amp1itude gt MINimum MAXimum SOURce 1 2 VOLTage LEVe1 IMMediate AMPLitude MINimum MAXimum Arguments lt amplitude gt lt NRf gt lt units gt where lt NRf gt is the output amplitude lt units gt VPP VRMS DBM R
92. e lt NRf gt is the modulation frequency lt units gt Hz kHz MHz lt frequency gt SOURce1 PWM INTernal FREQuency 10kHz sets the CH 1 internal frequency to 10 kHz AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 PWM INTernal FUNCtion This command sets or queries the modulating waveform of PWM modulation for the specified channel You can use this command only when the internal modula tion source is selected If you specify EFILe when there is no EFILe or the EFILe is not yet defined this command causes an error Group Source Related Commands SOURce 1 2 PWM SOURce Syntax SOURce 1 2 PWM INTernal FUNCtion SINusoid SQUare TRIangle RAMP NRAMp PRNoise USER 1 USER2 USER3 USER4 EMOMory EFILe SOURce 1 2 PWM INTernal FUNCti on Arguments SINusoid SQUare TRIangle RAMP NRAMp PRNoise One of six types of function waveform can be selected as a modulating signal USER 1 USER2 USER3 USER4 EMEMory A user defined waveform saved in the user waveform memory or the EMEMory can be selected as a modulating signal EFILe EFILe is used as a modulating signal Returns SIN SQU TRI RAMP NRAM PRN USER1 USER2 USER3 USER4 EMOMory EFILe Examples SOURcel PWM INTernal FUNCtion SQUare selects Square as the shape of modulating waveform for the CH 1 output AFG3000 Series Arbitrary Function Generators Reference Manual 3 73 Syntax
93. e lt bit_value gt lt NR1 gt STATus QUEStionable CONDition might return 32 which indicates that the QCR contains the binary number 00000000 00100000 and the accuracy of frequency is questionable STATus QUEStionable ENABle Group Syntax Arguments Returns Examples 3 92 This command sets or queries the mask for the Questionable Enable Register Status STATus QUEStionable ENABle lt bit_value gt STATus QUEStionable ENAB1le lt bit_value gt lt NR1 gt lt bit_value gt STATus QUEStionable ENABle 32 sets the FREQuency bit in the QENR to on AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands STATus QUEStionable EVENt Group Syntax Arguments Returns Examples STB Group Syntax Arguments Returns Examples This query only command returns the value in the Questionable Event Register and clears the Questionable Event Register Status STATus QUEStionable EVENt None lt bit_value gt lt NR1 gt STATus QUEStionable EVENt might return 32 which indicates that the QEVR contains the binary number 00000000 00100000 and the FREQuency bit is set to on This query only command returns the contents of the Status Byte Register SBR using the Master Summary Status MSS bit Status STB None lt NRI gt STB might return 96 showing that the SBR contains the binary value 01100000 AFG3000 Series Arbitrary Function Generators Re
94. e 1 2 PM INTernal FUNCtion EFILe ooooooooooooo e eee 3 64 SOURce 1 2 PM SOURCEe onnon nnna ence ee eee eee eees 3 64 SOURce 1 2 PM STATe ei a e ea eees 3 65 SOURce lt 3 4 gt POWer LE Vel IMMediate AMPLitude 0 3 66 SOURce 1 2 PULSe DCYCle o n nannu anunua rarae eees 3 67 SOURce 1 2 PULSe DELay 0 000 nunnurnar ccc ccc cece eens 3 68 SOURce 1 2 PULSe HOLD 0 0 c cece eee teens 3 68 SOURce 1 2 PULSe PERiod 0 0 06 cece cece ee eee eens 3 69 SOURce 1 2 PULSe TRANsition LEADing 00 00 c cence 3 69 SOURce 1 2 PULSe TRANsition TRAiling 0 0 0 0 0 00 000002 e eee 3 70 SOURce 1 2 PULSe WIDTh 0 00 06 e eee 3 71 SOURce 1 2 PWM INTernal FREQuency 00 0c eee 3 72 SOURce 1 2 PWM INTernal FUNCtion 0 0 0 0 0 000 0000 cece cece eee 3 73 SOURce 1 2 PWM INTernal FUNCtion EFILe ooooooooooooo oo 3 74 SOURce 1 2 PWM SOURCEe 1 cece tect arannana 3 74 SOURce 1 2 PWM STATe 20 eees 3 75 SOURce 1 2 PWM DEViation DCYCle ooooooooooooo 3 76 SOURce ROSCillator SOURCO 0 0c eee eens 3 77 SOURce 1 2 SWEep HTIMe 0 0 0 ccc eee eee eee ees 3 77 SOURce 1 2 SWEep MODE 0 00 ccc eee eee rnanan 3 78 SOURce 1 2 SWEep RTIMe 0 ees 3 79 SOURce 1 2 SWEep SPACing 2 0 00 ccc ununura rrearen 3 79 SOURce 1 2 SWEep TIME 0 0 0 0 0c 3 80 SOURce 1 21 VOLTage CONC
95. e Arb LED to turn on See Table 2 4 on page 2 5 for the menu map More button Pushing the More button causes the More waveform menu to be displayed on the screen and causes the More LED to turn on See Table 2 5 on page 2 6 for the menu map AFG3000 Series Arbitrary Function Generators Reference Manual Operating Basics Shortcut Buttons The following six buttons are called Shortcut buttons and are provided as shortcuts for experienced users You can push this button while viewing any of the display types If you are not in view format 1 2 or 3 see page 1 3 pushing the shortcut button will take you to the last view you used and highlight the selected setting Frequency Period button This button selects the setting that was last used Frequency or Period If Frequency was selected you can change the shortcut by selecting Period with the bezel menu The next time you push the Frequency Period button Period will be selected This shortcut button allows you to select the setting and enter their numeric value using the front panel without requiring any bezel menu selection Amplitude High button This button selects the setting that was last used Ampli tude or High Level Offset Low button This button selects the setting which was last used Offset or Low Level Duty Width button This button only operates when the Pulse function is selected for the current channel Otherwise the button does nothing when pushed T
96. e cece cece ee eeeeees 5 1 Accessories and Options cc cece cece cece eee e eee e eee ee ee eeees A 1 Ss sake Site a A nals Hea Bilas db Wipe ded ath IREA SDa gah A 1 ACCES o e Verds A 2 General Care and Cleaning o ooooooocoooccrorocorcrrornanorrons B 1 A O O B 1 Cleaning ye irer upra ts At Be tale Pewee B 1 SCPI Conformance Information cece cece cece cece ee cr C 1 Default Setup siii in ia ears ase A AA da aera elena D 1 MAER eE a aE a aid Index 1 AFG3000 Series Arbitrary Function Generators Reference Manual List of Figures List of Figures Figure 1 1 Figure 1 2 Figure 1 3 Figure 1 4 Figure 1 5 Figure 1 6 Figure 1 7 Figure 1 8 Figure 1 9 Figure 1 10 Figure 1 11 Figure 1 12 Figure 1 13 Figure 1 14 Figure 1 15 Figure 1 16 Figure 1 17 Figure 1 18 Figure 1 19 Figure 1 20 Figure 1 21 Figure 2 1 Figure 2 2 Figure 2 3 Figure 2 4 Figure 2 5 Figure 2 6 Figure 2 7 Figure 2 8 Figure 2 9 Figure 2 10 Figure 2 11 Figure 2 12 Figure 2 13 Figure 3 1 Figure 3 2 Figure 3 3 Figure 3 4 Figure 3 5 Figure 4 1 Figure 4 2 Figure 4 3 Figure 4 4 Dual channel model cece eee e cece eee e eee 1 1 Front panel controls cece cece cere eee eee eee eee 1 2 Waveform parameter and graph display o o 1 4 Graph comparison 0 cc cece cece cece reece nek 1 4 Waveform parameter comparison CH1 selected
97. e indicates that the event occurs on the rising edge of the external trigger signal NEGati ve indicates that the event occurs on the falling edge of the external trigger signal POS NEG TRIGger SEQuence SLOPe POSitive sets the trigger slope to positive which triggers on the rising edge of the signal TRIGger SEQuence SOURce Group Syntax Arguments Returns Examples This command sets or queries the trigger source for an external trigger signal Trigger TRIGger SEQuence SOURce TIMer EXTernal TRIGger SEQuence SOURce TIMer specifies an internal clock as the trigger source EXTernal specifies an external trigger input as the trigger source TIM EXT TRIGger SEQuence SOURce EXTernal sets an external trigger input as the trigger source AFG3000 Series Arbitrary Function Generators Reference Manual 3 105 Syntax and Commands TRIGger SEQuence TlMer Group Related Commands Syntax Arguments Returns Examples This command sets or queries the period of an internal clock when you select the internal clock as the trigger source with the TRIGger SEQuence SOURce command Trigger TRIGger SEQuence SOURce TRIGger SEQuence TIMer lt seconds gt TRIGger SEQuence TIMer lt seconds gt lt NRf gt lt units gt where lt units gt us ms s lt seconds gt TRIGger SEQuence TIMer 5ms sets the internal trigger rate to 5 ms TRIGger SEQuence MMediate N
98. ect Make Directory you can create a new directory The created direc tory name will be listed The file listings are in alphabetical order The specified filename will be highlighted NOTE File names are displayed only in English characters regardless of current instrument language selection If you use non English characters to name a file these characters are replaced by Roman symbols such as on the display screen AFG3000 Series Arbitrary Function Generators Reference Manual Reference Browsing Instrument To browse instrument setup files in the internal memory or ina USB memory push Setup Files the front panel Recall button and then push the Memory bezel button to specify Internal or USB as a memory type Figure 2 12 is an example of screen when Internal is selected Internal Se K Setup4 Figure 2 12 Recall menu Internal Select a desired setup file and then push Recall The selected setup file is recalled Saving an Instrument Use the front panel Save button to save instrument setups in the internal or in a Setup File USB memory 1 Push the front panel Save button to display the Save menu 2 Select a memory location E To save a setup to the internal memory select Internal E To save a setup to a USB memory select USB 3 Use the general purpose knob to scroll a file or directory E Select Save to overwrite the existing file E Select Save As to display the submenu to enter a file name USB
99. ected Source SOURce 1 2 FSKey INTernal RATE lt rate gt MINimum MAXimum SOURce 1 2 FSKey INTernal RATE MINimum MAXimum lt rate gt lt NRf gt lt units gt where lt NRf gt is the modulation rate lt units gt Hz kHz MHz lt rate gt SOURcel FSKey INTernal RATE 50Hz sets the CH 1 internal modulation rate to 50 Hz AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 FSKey SOURce Group Syntax Arguments Returns Examples This command sets or queries the source of modulation signal of FSK modulation for the specified channel Source SOURce 1 2 FSKey SOURce INTernal EXTernal SOURce 1 2 FSKey SOURce INTernal means that the carrier waveform is modulated with an internal source EXTernal means that the carrier waveform is modulated with an external source INT EXT SOURcel FSKey SOURce INTernal sets the CH 1 source of modulating signal to internal SOURce 1 2 FSKey STATe Group Syntax Arguments Returns Examples This command enables or disables FSK modulation The query command returns the state of FSK modulation You can select a sine square ramp or arbitrary wave form for the carrier waveform Source SOURce 1 2 FSKey STATe ON OFF lt NR1 gt SOURce 1 2 FSKey STATe ON or lt NR1 gt 0 enables FSK modulation OFF or lt NR1 gt 0 disables FSK modulation lt NR1 gt SOURce1 FSKey
100. elect Default to set the instrument power on Default status to the default settings Last f Select Last to set the instrument power on status to the last powered off settings Secure Select Secure to erase all data except Mac Address calibration data and the instrument serial number more 1 of 2 Contrast Select Contrast to change the instrument display contrast Screen Saver Select Screen Saver Off to deactivate the Off On screen saver Select Screen Saver On to activate the screen saver Click Tone Select Click Tone Off to deactivate the click Off On sound Select Click Tone On to activate the click sound Beeper Select Beeper Off to deactivate the beeper Off On sound Select Beeper On to activate the beeper sound more 2 of 2 Status Setup Select Setup to list the CH1 and CH2 waveform Misc parameter configuration Select Misc to list the instrument network configuration and user preferences blank Page Up Returns to previous page Page Down Moves to next page more 1 of 3 AFG3000 Series Arbitrary Function Generators Reference Manual Reference Table 2 13 Utility Menu cont First Level Second Level Third Level Description Diagnostics Execute Diagnostics Performs the instrument diagnostics Calibration Execute Calibration Performs the instrument self calibration Backup Type Selects file type Setup or Arb Restore Setup Arb Bac
101. eriod as a parameter to be changed Frequency Period Toggles between Off and On to CH1 CH2 disable enable the function that Off On sets the CH1 and CH2 to the same value Phase Selects Phase as a parameter to be changed Align Phase Use to align the phase of two channel signals Amplitude Level Menu Amplitude Selects Amplitude as a parameter to be changed Offset Selects Offset as a parameter to be changed High Level Selects High Level as a parameter to be changed Low Level Selects Low Level as a parameter to be changed more 1 of 2 Units Vpp Vpp Option buttons Vrms dBm Level Toggles between Off and On to CH1 CH2 disable enable the function that Off On sets the CH1 and CH2 to the same value more 2 of 2 Run Mode Menu Continuous Modulation Refer to Table 2 6 Sweep Refer to Table 2 7 Burst Refer to Table 2 8 Output Menu Refer to Table 2 9 1 Dual channel model only 2 dBm is used only for sine waveform AFG3000 Series Arbitrary Function Generators Reference Manual 2 3 Reference Ramp Menu Table 2 2 shows the Ramp menu Table 2 2 Ramp Menu First Level Second Level Description Ramp Parameter Symmetry Sets the Ramp waveform symmetry to your Menu desired value Set to 0 Sets the Ramp waveform symmetry to 0 Set to 50 Sets the Ramp waveform symmetry to 50 Set to 100 Sets the Ramp waveform symmetry to 100 Frequency Period Refer to Table
102. eturns Examples EFILe EFILe is specified as an output waveform SIN SQU PULS RAMP PRN DC SINC GAUS LOR ERIS EDEC HARV USER1 USER2 USER3 USER4 EMEMory EFILe SOURce1 FUNCtion SHAPe SQUare selects the shape of CH 1 output waveform to square waveform SOURce 1 2 PHASe ADJust Group Syntax Arguments Returns Examples 3 60 This command sets or queries the phase of output waveform for the specified channel You can set the value in radians or degrees If no units are specified the default is RAD The query command returns the value in RAD This command is supported when you select a waveform other than DC Noise and Pulse Source SOURce 1 2 PHASe ADJust lt phase gt MINimum MAXimum SOURce 1 2 PHASe ADJust MINimum MAXimum lt phase gt lt NR3 gt lt units gt where lt NR3 gt is the phase of output frequency lt units gt RAD DEG If lt units gt are omitted RAD is specified automatically The setting ranges are RAD 1 PI to 1 PI relative to phase value DEG 180 to 180 in 1 degree steps relative to phase value lt phase gt SOURce1 PHASe ADJust MAXimum sets the maximum value for the phase of CH 1 output frequency AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 PHASe INITiate No Query Form Group Syntax Arguments Examples This command synchronizes the phase of CH 1 and CH 2
103. eturns lt amplitude gt Examples SOURcel VOLTage LEVel IMMediate AMPLitude 1V sets the CH loutput amplitude to 1 V AFG3000 Series Arbitrary Function Generators Reference Manual 3 85 Syntax and Commands SOURce 1 2 VOLTage LIMit HIGH This command sets or queries the higher limit of the output amplitude high level for the specified channel If your instrument is a dual channel model and the SOURce 1 2 VOLTage CONCurrent STATe command is set to ON then the higher level limit of the other channel is the same value Group Source Related Commands SOURce 1 2 VOLTage CONCurrent STATe Syntax SOURce 1 2 VOLTage LIMit HIGH lt voltage gt MINimum MAXimum SOURce 1 2 VOLTage LIMit HIGH MINimum MAX imum Arguments lt voltage gt lt NRf gt lt units gt where lt NRf gt is the higher limit of output amplitude lt units gt mV V Returns lt voltage gt Examples SOURcel VOLTage LIMit HIGH 1V sets the higher limit of CH 1 output amplitude to 1 V 3 86 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 VOLTage LIMit LOW Group Related Commands Syntax Arguments Returns Examples This command sets or queries the lower limit of the output amplitude low level for the specified channel If your instrument is a dual channel model and the SOURce 1 2 VOLTage CONCurrent STATe command is set to ON then the low level lower limit of the ot
104. eturns lt directory name gt lt string gt Examples MMEMory CDIRectory AFG WORKO changes the current directory to AFG WORKO MMEMory DELete No Query Form This command deletes a file or directory from the mass storage system If a speci fied file in the mass storage is not allowed to overwrite or delete this command causes an error You can delete a directory 1f it is empty You cannot delete wave form data while it is outputting Group Mass Memory Syntax MMEMory DELete lt file name gt Arguments lt file_name gt lt string gt specifies a file to be deleted Examples MMEMory DELete TEKOO1 TFW deletes the specified file from the mass storage AFG3000 Series Arbitrary Function Generators Reference Manual 3 27 Syntax and Commands MMEMory LOAD STATe No Query Form Group Related Commands Syntax Arguments Examples This command copies a setup file in the mass storage system to an internal setup memory If a specified internal setup memory is locked this command causes an error When you power off the instrument the setups are automatically overwritten in the setup memory 0 last setup memory Mass Memory MEMory STATe LOCK MEMory STATe RECal1 AUTo MMEMory STORe STATe MMEMory LOAD STATe 0 1 2 3 4 lt file_name gt 0 1 2 3 or 4 specifies the location of setup memory lt file_name gt lt string gt specifies a setup file to be copied MMEMory LOAD STATe 1 SETUP
105. f modulating signal to internal AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 PM STATe Group Syntax Arguments Returns Examples This command enables or disables PM modulation The query command returns the state of PM modulation You can select a sine square ramp or arbitrary wave form for the carrier waveform Source SOURce 1 2 PM STATe ON OFF lt NR1 gt SOURce 1 2 PM STATe ON or lt NR1 gt 0 enables PM modulation OFF or lt NR1 gt 0 disables PM modulation lt NR1 gt SOURce1 PM STATe ON enables the CH 1 PM modulation AFG3000 Series Arbitrary Function Generators Reference Manual 3 65 Syntax and Commands SOURce lt 3 4 gt POWer LEVel IMMediate AMPLitude 3 66 Group Related Commands Syntax Arguments Returns Examples This command sets or queries the internal noise level which applies to the output signal for the specified channel The noise level represents the percent against current amplitude level The setting range is 0 to 50 This command is available when Run Mode is set to Continuous Burst or Sweep You can set or query whether to add the internal noise to the output signal using the SOURce 1 2 COMBine FEED command Source SOURce 1 2 COMBine FEED SOURce lt 3 4 gt POWer LEVel IMMediate AMPLitude lt percent gt MINimum MAXimum SOURce lt 3 4 gt POWer LEVel IMMedi
106. ference Manual 3 93 Syntax and Commands SYSTem BEEPer IMMediate No Query Form Group Syntax Arguments Examples This command causes the instrument to beep immediately System SYSTem BEEPer IMMediate None SYSTem BEEPer IMMediate causes a beep SYSTem BEEPer STATe Group Related Commands Syntax Arguments Returns Examples 3 94 The SYSTem BEEPer STATe command sets the beeper ON or OFF The SYSTem BEEPer STATe command returns 0 OFF or 1 ON When the beeper is set to ON the instrument will beep when an error message or a warning message is displayed on the screen The instrument does not beep when an error or warning caused by remote command execution System SYSTem BEEPer IMMediate SYSTem BEEPer STATe ON OFF lt NR1 gt SYSTem BEEPer STATe ON or lt NR1 gt 40 enables the beeper OFF or lt NR1 gt 0 disables the beeper lt NR1 gt SYSTem BEEPer STATe ON enables the beeper function AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SYSTem ERRor NEXT Group Syntax Arguments Returns Examples This query only command returns the contents of the Error Event queue System SYSTem ERRor NEXT None lt Error event number gt lt NR1 gt lt Error event description gt lt string gt SYSTem ERRor NEXT might return the following response 410 Query INTERRUPTED If the instrument detec
107. from some other source and add that signal to CH 1 output EXT MODULATION CH 1 INPUT A signal applied to the External Modulation CH 1 Input connector is used to modulate the CH 1 output signal The signal input level applied to this connector will control the modulation depth EXT MODULATION CH 2 INPUT Dual channel model only The External Modula tion CH 2 Input connector is used to apply an external modulating signal to the CH 2 output signal The signal input level applied to this connector will control the modulation depth AFG3000 Series Arbitrary Function Generators Reference Manual 1 19 Operating Basics USB The USB connector is used to connect a USB controller LAN This connector is used to connect the arbitrary function generator to a network Connect a 10BASE T or 100BASE T cable here GPIB The GPIB connector is used to control the arbitrary function generator through remote commands Security Slot Use a standard laptop computer security cable to secure your arbi trary function generator to your location Chassis Ground Screw The chassis ground screw is used to ground the arbi trary function generator Use a unified coarse screw 6 32 6 35 mm length or less 1 20 AFG3000 Series Arbitrary Function Generators Reference Manual Reference Reference This section describes the menus associated with each front panel menu button or control Menu System The user interface of the AFG3000 Series Arbitrary
108. ge the specified data point in the Y waveform currently being edited blank blank Execute Cut From X1 Use to delete an area between specified points in blank the waveform currently being edited To X2 blank Execute blank blank AFG3000 Series Arbitrary Function Generators Reference Manual 2 17 Reference 2 18 Using the Cursors You can use cursors to edit a waveform To use cursors select the Operations submenu in the Edit menu Figure 2 4 is a sample of Line edit screen Number of Points 205 Line From To EditMemory Graphi Figure 2 4 Using the Cursor Line edit In the Line edit screen there are two cursor types X1 cursor and X2 cursor Use the From X1 or To X2 bezel button to select which cursor to move To move the X1 cursor push the From X1 bezel button and then turn the general purpose knob Or you can enter a value for the point X1 using the numeric keypad Entering a value and then pushing the front panel Enter button will move the cursor to the specified point To move the X2 cursor push the To X2 bezel button and then turn the knob or enter a value After specified two points push the Execute bezel button to implement the edit operation The Line edit is applied to the portion between the two cursors X1 and X2 When you select Operations gt Data only one cursor is displayed The edit oper ation is applied to the specified point When you select Operations gt Cut
109. he instrument remembers which setting Duty or Width was last selected from the bezel menu and highlights that setting when this shortcut button is pushed Leading Trailing button This button only operates when the Pulse function is selected for the current channel otherwise the button does nothing when pushed The instrument remembers which setting Leading Edge or Trailing Edge was last selected from the bezel menu and highlights that setting when this shortcut button is pushed Phase Delay button This shortcut button is different from the other buttons This button does not toggle between two parameters For example if you push the Phase Delay shortcut button in the pulse parameter menu Delay becomes active Pushing the Phase Delay button again will have no effect because there is no Phase parameter in the pulse parameter menu Similarly when you push the Phase Delay button in the Sine Square or Ramp parameter menu Phase becomes active Pushing the button again will have no effect because there is no Delay parameter in these menus Knob and Arrow Keys The general purpose knob can be used to increase and decrease selected numeric values The arrow keys digit select keys are used to move the underbar to a field that contains an editable number This will allow you to change the digit with the knob Refer to page 1 15 for entering or changing numeric values using the knob and the arrow keys AFG3000 Series Arbitrary Functio
110. her channel is the same value Source SOURce 1 2 VOLTage CONCurrent STATe SOURce 1 2 VOLTage LIMit LOW lt voltage gt MINimum MAXimum SOURce 1 2 VOLTage LIMit LOW MINimum MAXimum lt voltage gt lt NRf gt lt units gt where lt NRf gt is the lower limit of output amplitude lt units gt mV V lt voltage gt SOURce1 VOLTage LIMit LOW 10mV sets the lower limit of CH 1 output amplitude to 10 mV AFG3000 Series Arbitrary Function Generators Reference Manual 3 87 Syntax and Commands SOURce 1 2 VOLTage UNIT 3 88 Group Related Commands Syntax Arguments Returns Examples This command sets or queries the units of output amplitude for the specified channel This command does not affect the offset High level or Low level of output The setting of this command is not affected by the units setting of SOURce 1 2 VOLTage LEVel IMMediate AMPLitude command P Vrms dBm 10x logy 0 001 P aie RL load impedance Vrms Vpp triangle 243 If your instrument is a dual channel model and the SOURce 1 2 VOLTage CONCurrent STATe command is set to ON then the units of the other channel are set the same Source SOURce 1 2 VOLTage CONCurrent STATe SOURce 1 2 VOLTage LEVel IMMediate AMPLitude SOURce 1 2 VOLTage UNIT VPP VRMS DBM SOURce 1 2 VOLTage UNIT VPP sets the units of the output voltage to Vp p VRMS sets the units of the output volt
111. ime you power on the instrument See the Utility Menu on page 2 23 The Lock Unlock menu allows you to lock the file against accidental overwrite When a memory location is locked a lock icon appears on the screen AFG3000 Series Arbitrary Function Generators Reference Manual 2 13 Reference Edit Menu The Edit menu is used to create or edit user defined waveforms and to import or export waveforms To output a user defined waveform waveform data must be created in the Edit Memory and then stored in the internal or a USB memory Although you can output the content of Edit Memory the content of Edit Memory will be deleted when the instrument is powered off There are three ways to create a waveform in the Edit Memory E Create a waveform file using the Edit Menu E Copy a waveform file using remote commands E Import a waveform file using the ArbExpress software Table 2 11 Edit Menu First Level Second Level Description Number of Points Sets the number of points of waveform to be created or the length of edit memory The default is 1000 New Sine Writes a standard waveform to Edit Memory Square The contents of Edit Memory will be overwritten You can select a waveform from Pulse five standard waveforms The written waveform Ramp has the number of points specified by the Noise Number of Points bezel menu Operation Line Opens Line submenu See Table 2 12 Data Opens Data submenu See
112. in display area See page 1 3 for screen view formats View Tab The view tabs correspond with the current view format Output Status If the output is set to disable the Output Off message is displayed in this area When you push the front panel channel output button to enable the output the message will disappear From the Output menu you can set the load impedance invert a waveform or add an external signal to the CH1 output The status will change based on the output status AFG3000 Series Arbitrary Function Generators Reference Manual 1 11 Operating Basics Message Display Area Level Meter Amplitude level is displayed To protect your DUT device under test use the Output Menu to set the limit values for high level and low level Figure 1 9 shows Level Meter Figure 1 9 Level meter 1 Shows maximum amplitude level of your instrument 2 Shows the range of high limit and low limit that you have set 3 Shows the amplitude level that is currently selected A message that monitors hardware status such as clock or trigger is displayed in this area The arbitrary function generator displays a message at the top of the screen which conveys the following types of information about hardware status m External Reference out of range E Waiting for Trigger You can also display a text message in this area by using the following remote command See page 3 20 DISPlay WINDow TEXT DATA AFG3000 Series Arb
113. ing lt gt Defined element ES Is defined as Exclusive OR Group one element is required Optional can be omitted Previous element s may be repeated Comment AFG3000 Series Arbitrary Function Generators Reference Manual 3 1 Syntax and Commands Command and Query Structure Commands consist of set commands and query commands usually simply called commands and queries Commands change instrument settings or perform a specific action Queries cause the instrument to return data and information about its status Most commands have both a set form and a query form The query form of the command is the same as the set form except that it ends with a question mark For example the set command DISPlay CONTrast has a query form DISPlay CONTrast Not all commands have both a set and a query form some commands are set only and some are query only A few commands do both a set and query action For example the CAL command runs a self calibration program on the instrument then returns the result of the cali bration A command message is a command or query name followed by any information the instrument needs to execute the command or query Command messages consist of five element types Table 3 2 lists and describes the five different element types Table 3 2 Command message elements Symbol Meaning lt Header gt The basic command name If the header ends with a question mark the command
114. ing place the frequency sweeps from start frequency to stop fre quency Refer to Figure 2 2 Frequency A Stop freq a Frequency span Center Toeman aaa frequency Start freq Y_ Time Sweep time E Hold time _ 1 Return time Figure 2 2 Frequency sweep The instrument sweeps from a low frequency to a high frequency when start fre quency is set to be lower than stop frequency start frequency lt stop frequency The instrument sweeps from a high frequency to a low frequency when start fre quency is set to be higher than stop frequency The frequency range differs based on the selected waveform types For frequency sweep you can select a sine square ramp or arbitrary waveform Pulse DC and Noise waveforms cannot be selected You can select one of the following two operation modes Repeat A continuous sweep is output at a rate specified by the sweep time hold time and return time Trigger One sweep waveform is output when a trigger input is received You can select a trigger source from an external signal applied to the front panel Trigger Input connector the trigger signal generated internally the manual trigger or the remote interface 2 10 AFG3000 Series Arbitrary Function Generators Reference Manual Reference Burst Parameter Menu Table 2 8 shows the Burst Parameter Menu Table 2 8 Burst Parameter Menu First Level Description 1 Cycle Sets burst count t
115. ing the test NOTE The self test can take several minutes to complete During this time the arbitrary function generator does not execute any commands Do not power off the instrument during the self test Calibration and Diagnostic TST DIAGnostic ALL DIAGnostic ALL None lt NR1 gt where lt NR1 gt 0 indicates that the self test completed without errors lt NR1 gt 0 indicates that the arbitrary function generator detected an error DIAGnostic ALL performs self test DIAGnostic ALL performs self test and might return an error code AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands DISPlay CONTrast Group Syntax Arguments Returns Examples DISPlay SAVer STATe Group Syntax Arguments Returns Examples This command sets or queries the contrast of the LCD display Display DISPlay CONTrast lt contrast gt MINimum MAXimum DISPlay CONTrast MINimum MAXimum lt contrast gt lt NR2 gt where lt NR2 gt is a range of display contrast from 0 through 1 The larger the value the greater the screen contrast MINimum sets the display to the O contrast level MAXimum sets the display to the largest contrast level lt NR2 gt DISPlay CONTrast MAXimum sets the display contrast to the largest contrast level This command sets or queries the screen saver setting of the LCD display When enabled the screen saver function automatic
116. is selected with the Channel Select button CH1 Cont Freg 1 ODO 00 mre Frequency Phase D Ampl 1 Offset Om Cont aime 000 O00 O00 00 mie Delay 50 00 ns Leading 5 00 ns Juro Trailing 2 50 ns Figure 1 6 Waveform parameter comparison CH2 selected Manual Trigger button Pushing the Manual Trigger button generates a trigger event manually The Manual Trigger is one of the trigger sources for sweep or burst waveform If you push the Manual Trigger button the arbitrary function generator will initiate one sweep in the Trigger Sweep mode or output a waveform that has the specified number of cycles in the Burst mode If the instrument is in Gated mode it outputs a waveform while the Manual Trigger button is depressed The Trig d LED lights whenever the instrument responds to a trigger AFG3000 Series Arbitrary Function Generators Reference Manual 1 5 Operating Basics Menu Buttons Other Action buttons The Enter button and the following related buttons are also classified as Action buttons Enter button The Enter button causes a numeric input to be updated button This button is only active when you are setting a value The button changes the sign of the currently selected parameter from positive to negative If the value is already negative this button makes it positive E Cancel button The Cancel button is active when you are setting a value Pushing the Cancel button closes the Units menu an
117. ister OCR the Oper ation Event Register OEVR and the Operation Enable Register OENR Refer to the Operation Status Block shown in Figure 4 1 Operation Condition Register When the instrument achieves a certain status the corresponding bit is set to the OCR It is not allowed for the user to write to this register Operation Event Register The OCR bits that have changed from false reset to true set status are set in the OEVR Operation Enable Register The function of the OENR is to mask the OEVR You can set this mask and take AND with the OEVR to determine whether or not the OSS bit in the Status Byte Register SBR should be set Questionable Status Block This block reports on the status of signals and data such as the accuracy of entered data and signals generated by the instrument The register configuration and process flow are the same as the Questionable Status Block AFG3000 Series Arbitrary Function Generators Reference Manual 4 3 Status and Events Registers Status Registers The registers in the event reporting system fall into two functional groups E The Status Registers contain information about the status of the instrument E Enable Registers determine whether selected types of events are reported to the Status Registers and the Event Queue There are six types of status registers Status Byte Register SBR page 4 5 Standard Event Status Register SESR page 4 6 Operation Condition Registe
118. ite space char acters include any combination of the ASCII control characters 00 through 09 and OB through 20 hexadecimal 0 through 9 and 11 through 32 decimal E The instrument ignores commands that consists of just a combination of white space characters and line feeds The arbitrary function generator uses a command language based on the SCPI stan dard The SCPI Standard Commands for Programmable Instruments standard was created by a consortium to provide guidelines for remote programming of instruments These guidelines provide a consistent programming environment for instrument control and data transfer This environment uses defined programming messages instrument responses and data formats that operate across all SCPI instruments regardless of manufacturer The SCPI language is based on a hierarchical or tree structure that represents a subsystem see Figure 3 2 The top level of the tree is the root node it is followed by one or more lower level nodes TRIGger Root nodes SEQuence Lower level nodes SLOPe SOURce TlMer Figure 3 2 Example of SCPI subsystem hierarchy tree You can create commands and queries from these subsystem hierarchy trees Commands specify actions for the instrument to perform Queries return measure ment data and information about parameter settings AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands Creating Commands
119. itrary Function Generators Reference Manual Operating Basics Bezel Menu Display Area When you push a front panel button the instrument displays the corresponding menu on the right side of the screen The menu shows the options that are available when you push the unlabeled bezel buttons directly to the right of the screen Some documentation may also refer to the bezel buttons as side menu buttons or soft keys The AFG3000 Series Arbitrary Function Generators use four types of menu button status See Figure 1 10 Currently selected and active focused Phase 0 00 Toggle button selection This shows that currently selected option Internal is highlighted Ampl VPP Source Internal Offset Omv ic 10 0 ns 1 000 ms Inactive This selection is currently not available 500 ral Oral Normal default This shows unselected state Figure 1 10 Graphical representation of button status E Focused active Blue background and white type The bezel menu item is currently selected E Non Focused Medium gray background and white type blue box around type only There are some toggle button selections within the bezel menus For example Internal and External You can specify either one but not both of these parameters E Inactive Medium gray background and light gray type This selection is currently not available because of the other instrument settings E Normal default Medium gray background and
120. kup Copies the contents of internal memory to a Internal gt USB memory USB Memory Restore Copies the files in the USB memory to the Internal lt internal memory USB Memory Change Directory Opens a directory in a USB memory Make Directory Creates a new directory in a USB memory Channel Copy CH1 gt CH2 ae the CH1 waveform parameter settings to H2 CH2 gt CH1 Copies the CH2 waveform parameter settings to CH1 blank more 2 of 3 Firmware Update Execute Performs the instrument firmware update blank blank Change Directory Opens a directory in a USB memory Cancel more 3 of 3 1 AFG3100 and AFG3200 series only 2 To connect your instrument to a network you must first obtain information from your network administrator The procedure for entering the Ethernet network parameters depends on your network configuration 3 If your network supports DHCP Dynamic Host Configuration Protocol select the DHCP On so that the instrument can automatically set its network address through DHCP 4 These menus are available only when a USB memory is inserted correctly to the instrument Connecting to a GPIB Network The GPIB Interface can be used for remotely con trolling the arbitrary function generator from an external device such as a PC Refer to Syntax and Commands on page 3 1 for information about remote control commands Connecting to a Ethernet Network To connect the arbitrary function generator to
121. l WriteString FUNCTION USER1 Set output waveform USER1 Tvcl WriteString FREQUENCY 8K Set frequency 8kHz Tvcl WriteString OUTPUT ON Set CH1 output on End Sub 5 4 AFG3000 Series Arbitrary Function Generators Reference Manual Appendices Appendix A Accessories and Options This section lists the standard and optional accessories available for the instrument as well as the product options Options The following options can be ordered for the instrument Table A 1 Options Option Description Power cord options Option AO North America Option A1 Universal Euro Option A2 United Kingdom Option A3 Australia Option A5 Switzerland Option A6 Japan Option A10 China Option A99 No power cord or AC adapter Manual options Option LO English Manual Option L1 French Manual Option L2 Italian Manual Option L3 German Manual Option L4 Spanish Manual Option L5 Japanese Manual Option L7 Simplified Chinese Manual Option L8 Traditional Chinese Manual Option L9 Korean Manual Option L10 Russian Manual Option L99 No printed Manual Service options Option C3 Calibration Service 3 Years Option C5 Calibration Service 5 Years Option D1 Calibration Data Report Option D3 Calibration Data Report 3 Years with Option C3 Option D5 Calibration Data Report 5 Years with Option C5 Option R5 Repair Service 5 Years AFG3000 Series Arbitrary Function Generators Refere
122. lect the modulation shape from the following Sine Square Triangle Up Ramp Down Ramp Noise Arb User1 to User4 Edit Memory Amplitude Modulation Amplitude modulation is a modulation technique in which the amplitude of the carrier frequency is modified by the amplitude of the modu lating waveform internal or external modulation source The modulation depth is expressed as a percentage and represents the extent of the amplitude variation Frequency Modulation Frequency modulation is a modulation technique in which the carrier frequency is modified by the amplitude of the modulating waveform The carrier frequency must always be greater than or equal to the deviation Also the sum of the carrier frequency and deviation must be less than or equal to the maximum frequency for the selected waveform AFG3000 Series Arbitrary Function Generators Reference Manual 2 7 Reference Phase Modulation Phase modulation is similar to FM Frequency modulation but in PM the phase of the carrier waveform is varied by the amplitude of the modu lating waveform Frequency Shift Keying Frequency shift keying modulation is a modulation tech nique that shifts the output signal frequency between two frequencies the carrier frequency and the FSK Hop frequency Pulse Width Modulation Pulse width modulation is a modulation technique in which the width of a pulse waveform is varied by the voltage of the modulating waveform 2 8 AFG3000 Se
123. level or low level Freq mt Amplitude Phase O Ampl J pp Offset Offset Om High Level Low Level more GA View 500 ral Figure 1 17 Amplitude Level Menu AFG3000 Series Arbitrary Function Generators Reference Manual Operating Basics Changing Parameters The shortcut buttons are provided for experienced users The buttons allow you to Using the Shortcut select a setup parameter without using any bezel menu selection The following Buttons example shows how the Frequency Period shortcut button works You can use the shortcut buttons while viewing any of the display formats Push a shortcut button to display the last view type and highlight the selected parameter setting Figure 1 18 is a sample screen of Pulse Width Modulation parameter menu display Amel 1 0 Offset Duty 50 0 Figure 1 18 PWM sample screen From Figure 1 18 pushing the Frequency Period shortcut button will change the bezel menu to look like Figure 1 19 CH1 PWM Freq 12 000 000 000 Om AEII lt Frequency is active Ampl Figure 1 19 PWM parameter menu Freq is selected AFG3000 Series Arbitrary Function Generators Reference Manual 1 17 Operating Basics 1 18 You can now change the frequency value If you push the Frequency Period shortcut button again the active parameter will change to Period See Figure 1 20 CH1 PWM Period 83 33 ns T18 00 ns Ampl Of pp Shape Sine Period Period is active
124. lled radio button Toggle For some menus pushing a bezel button will toggle the corresponding menu options For example when you push the Power On bezel button in the Util ity menu it will toggle between Default and Last Pushing the Beeper bezel but ton will toggle between On and Off AFG3000 Series Arbitrary Function Generators Reference Manual 2 1 Reference Menu Structure This section describes the menus and operating details associated with each front panel menu button Sine Square Menu page 2 3 Ramp Menu page 2 4 Pulse Menu page 2 4 Arb Menu page 2 5 More Menu page 2 6 Run Mode Menus E Continuous No bezel menu for Continuous mode E Modulation Parameter Menu page 2 7 EH Sweep Parameter Menu page 2 9 E Burst Parameter Menu page 2 11 Output Menu page 2 12 NOTE To access the Output menu push the front panel Top Menu button The arbitrary function generator does not have the Output menu button on the front panel Refer to page 1 3 for the Top Menu button Save Recall Menu page 2 13 E Edit Menu page 2 14 E Utility Menu page 2 23 AFG3000 Series Arbitrary Function Generators Reference Manual Reference Sine Square Menu Table 2 1 shows the Sine and Square menu Table 2 1 Sine Square Menu First Level Second Level Third Level_ Description Frequency Period Frequency Selects Frequency as a Phase Menu parameter to be changed Period Selects P
125. lt Argument gt lt Comma gt lt Argument gt A command header is made up of one or more mnemonics arranged in a hierar chical or tree structure The first mnemonic is the base or root of the tree and each subsequent mnemonic is a level or branch of the previous one Commands at a higher level in the tree may affect those at a lower level The leading colon always returns you to the base of the command tree Queries Queries cause the arbitrary function generator to return information about 1ts status or settings Queries have the structure lt Header gt lt Header gt lt Space gt lt Argument gt lt Comma gt lt Argument gt You can specify a query command at any level within the command tree unless otherwise noted These branch queries return information about all the mnemonics below the specified branch or level Query Responses When a query is sent to the arbitrary function generator only the values are returned When the returned value is a mnemonic it is noted in abbreviated format as shown in Table 3 3 Table 3 3 Query response examples Query Response SOURce PULSe DCYcle 50 0 OUTPut POLarity NORM AFG3000 Series Arbitrary Function Generators Reference Manual 3 3 Syntax and Commands Command Entry SCPI Commands and Queries Follow these general rules when entering commands Enter commands in upper or lower case You can precede any command with white space characters Wh
126. lt NR1 gt lt 0 locks the specified user waveform memory OFF or lt NR1 gt 0 unlocks the specified user waveform memory lt NR1 gt DATA LOCK STATe USER1 ON locks the USER1 waveform memory AFG3000 Series Arbitrary Function Generators Reference Manual 3 103 Syntax and Commands TRACe DATA POINts Group Syntax Arguments Returns Examples TRG No Query Form Group Related Commands Syntax Arguments Examples 3 104 This command sets or queries the number of data points for the waveform created in the edit memory Trace TRACe DATA POINts EMEMory lt points gt MINimum MAXimum TRACe DATA POINts EMEMory MIN MAX lt points gt lt NR1 gt where lt NR1 gt sets the number of points for the waveform created in the edit memory that ranges from 2 to 65536 for the AFG3021 and AFG3022 and 2 to 131072 for the AFG3101 AFG3102 AFG3251 and AFG3232 lt NR1 gt DATA POINts EMEMory 500 sets the waveform data points to 500 in the edit memory This command generates a trigger event Trigger TRIGger SEQuence IMMediate TRG None TRG generates a trigger event AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands TRIGger SEQuence SLOPe Group Syntax Arguments Returns Examples This command sets or queries the slope of trigger signal Trigger TRIGger SEQuence SLOPe POSitive NEGative TRIGger SEQuence SLOPe POSitiv
127. manual WARNING Warning statements identify conditions or practices that could result in injury or loss of life CAUTION Caution statements identify conditions or practices that could result in damage to this product or other property Terms on the Product These terms may appear on the product DANGER indicates an injury hazard immediately accessible as you read the marking WARNING indicates an injury hazard not immediately accessible as you read the marking CAUTION indicates a hazard to property including the product X AFG3000 Series Arbitrary Function Generators Reference Manual Preface This manual provides operating information for the AFG3000 Series Arbitrary Function Generators The manual consists of the following sections E Operating Basics covers operating principles of the instrument The operating procedures help you understand how your generator operates E Reference provides in depth descriptions of the instrument menu structures and menu button functions E Syntax and Commands defines the command syntax and processing conventions describes command notation E Status and Events explains the status information and event messages reported by the instrument E Programming Examples contains remote interface application programs to help you develop programs for your application E Appendix A Accessories amp Options describes the standard and optional accessories as well as the instrument option
128. memory The Restore function is provided for copying the contents of USB memory to the internal memory Firmware Update You can use the Utility menu to update your arbitrary function generator instrument firmware If Tektronix offers a newer version of firmware download the firmware file to your USB memory from the Tektronix Web site Go to www tektronix com Download a newer version of firmware to your USB memory Connect the USB memory to your arbitrary function generator Push the front panel Utility button Push the more bezel button twice and then select Firmware Update A Ge IE aie Select the downloaded firmware file and then push the Execute bezel button NOTE To check your instrument firmware version push the front panel Utility button The version information is displayed on the screen CAUTION Updating your instrument firmware is a sensitive operation which may damage your instrument if you do not follow the instructions carefully To prevent damage to the instrument do not remove the USB memory or power off the instrument during the update process AFG3000 Series Arbitrary Function Generators Reference Manual 2 27 Reference File Operations Browsing Waveform Files 2 28 This section describes the basic file operations such as browsing files and saving or recalling the instrument setups or waveform data The instrument setups or the waveform data can be saved in or recalled from files i
129. mmand sets or queries the data value at the specified point in the edit memory Group Trace Syntax TRACe DATA DATA VALue EMEMory lt point gt lt data gt TRACe DATA DATA VALue EMEMory lt points gt Arguments lt point gt lt NR1 gt where lt NR1 gt is the specified point number in the edit memory lt data gt lt NR1 gt where lt NR1 gt is the data value for the specified point number Returns lt NR1 gt Examples DATA DATA VALue EMEMory 500 2047 sets the data value to 2047 for the point number 500 in the edit memory DATA DATA VALue EMEMory 500 might return 2047 This example indicates that the data value of point number 500 is set to 2047 AFG3000 Series Arbitrary Function Generators Reference Manual 3 101 Syntax and Commands TRACe DATA DEFine No Query Form 3 102 Group Syntax Arguments Examples This command resets the contents of edit memory Trace TRACe DATA DEFine EMEMory lt points gt lt trace_name gt lt points gt lt NR1 gt where lt NR1 gt is the number of points for the waveform data in the edit memory that ranges from 2 to 65536 for AFG3021 and AFG3022 and 2 to 131072 for AFG3101 AFG3102 AFG3251 and AFG3232 If the second parameter in the argument is a numerical value the length of the edit memory will be the number of points specified by this number and each point will be initialized to the default value 8191 lt trace_name gt SIN
130. n Generators Reference Manual 1 9 Operating Basics BNC Connectors USB Memory A To Unlock Front Panel Controls Refer to Figure 1 2 on page 1 2 for the locations of the front panel BNC connec tors CH1 Output This BNC connector will output the Channel 1 signal This connector will be deactivated when the Channel 1 output button is not selected The load impedance for this connection can be set in the Output Menu CH2 Output Same functionality as Channel 1 Output This output is not present in the single channel instrument model Trigger Output This connector provides a TTL level pulse synchronized with the Channel 1 output The connector provides a signal that will allow an oscilloscope to synchronize with the arbitrary function generator When you synchronize multiple arbitrary function generators the Trigger Output on the master instrument is connected to the Trigger Input of the slave instrument Trigger Input When the arbitrary function generator is a slave to another device The Trigger Input connector will be used to synchronize the arbitrary function generator with the master device Trigger signals from other devices can also be input here The USB Memory connector is a host connector which allows a USB client memory device to be connected You can perform the following tasks E Save or recall user defined waveforms to from a USB memory E Save or recall setups to from files on a USB memory E Update your ar
131. n buttons Noise DC Gaussian more 1 of 2 Lorentz Option buttons Exponential Rise Exponential Decay Haversine more 2 of 2 Frequency Period Refer to Table 2 1 Phase Menu Amplitude Level Menu Refer to Table 2 1 Run Mode Menu Continuous Modulation Refer to Table 2 6 Sweep Refer to Table 2 7 Burst Refer to Table 2 8 Output Menu Refer to Table 2 9 NOTE When the arbitrary function generator outputs Sin x x Gaussian Lorentz Exponential Rise Exponential Decay or Haversine waveforms the peak to peak voltage is defined as twice the 0 to peak value 2 6 AFG3000 Series Arbitrary Function Generators Reference Manual Reference Modulation Parameter Table 2 6 shows the Modulation Parameter Menu Menu Table 2 6 Modulation Parameter Menu First Level Second Level Description Modulation AM Selects modulation type Type FM AM PM FSK PWM AM Source Selects modulation source internal or external Internal for AM FM PM FSK or PWM External AM FM PM PWM Sets modulation frequency or FSK rate Frequency or FSK Rate Modulation Shape Memory Selects a memory type internal or USB Internal USB blank Change Directory Opens a directory in a USB memory OK Cancel Depth Deviation Sets modulation depth for AM deviation for FM Hop Frequency and PM or Hop Frequency for FSK 1 If you specify Internal as the memory type you can se
132. n the internal memory or a USB memory To browse for a waveform file in the internal memory or in a USB memory use the Arb Waveform Menu You can select either Internal or USB as a memory type Figure 2 10 is a screen display example when USB is selected Read from Figure 2 10 Browse waveform files USB memory You can select a waveform to be output The specified waveform is output if the output is enabled USB Memory When you select USB from the Memory bezel menu a directory of folder and files on the USB memory are displayed on the screen You can select a folder or file using the general purpose knob to scroll up and down the rows of the list The directory of contents are listed in alphabetical order on the screen The arbitrary function generator displays the directory with an index number the instrument numbers the directory contents from 1 to 500 files You can also enter an item index number using the numeric keypad to get close to the item you want The currently selected item is highlighted You can open a directory by selecting that row and then pushing the Change Directory bezel button To open a file select that row and then push OK AFG3000 Series Arbitrary Function Generators Reference Manual Reference Browsing Waveform Files using Edit Menu You can also browse through wave forms using the Edit Menu Select a file you want to edit and then push the Read bezel button The specified waveform is loaded
133. nce Manual A 1 Appendix A Accessories and Options Accessories All accessories standard and optional are available by contacting your local Tektronix field office Table A 2 lists standard accessories for this instrument Standard The following accessories are shipped with the instrument Table A 2 Standard accessories Accessory Part number AFG3000 Series Quick Start User Manual A single printed manual is included Refer to Table A 3 for a complete list of available language manuals AFG3000 Series Product CD 063 3828 xx ArbExpress Software CD 063 3763 xx Power Cord Optional The accessories in Table A 3 are orderable for use with the instrument at the time this manual was originally published Check the Tektronix Web site www tektronix com for the most current information Table A 3 Optional accessories Accessory Part number AFG3000 Series Quick Start User Manual English 071 1631 xx French 071 1632 xx Italian 071 1669 xx German 071 1633 xx Spanish 071 1670 xx Japanese 071 1634 xx Simplified Chinese 071 1635 xx Traditional Chinese 071 1636 xx Korean 071 1637 xx Russian 071 1638 xx AFG3000 Series Reference Manual English 071 1639 xx AFG3000 Series Service Manual English 071 1640 xx RM3100 Rackmount Kit RM3100 A 2 AFG3000 Series Arbitrary Function Generators Reference Manual Appendix A Accessories and Options Table A 3 Optional accessories
134. nel controls The AFG3000 Series Arbitrary Function Generators front panel key controls are divided into the following categories Action buttons Menu buttons State buttons Function buttons Shortcut buttons 1 2 AFG3000 Series Arbitrary Function Generators Reference Manual Operating Basics Action Buttons The Power not shown in Figure 1 2 Upper Menu Top Menu View and Manual Trigger buttons are called action buttons When you push these action buttons it will cause an action Power button Pushing the power button once turns the instrument on Pushing the power button when the instrument is on will turn off the instrument Upper Menu button Pushing the Upper Menu 8 button returns the currently displayed bezel menu to the upper level of the menu tree Top Menu button The Top Menu button is used to return to the top level of the menu tree from the current menu location View button The View View button is used to toggle the screen view format The arbitrary function generator provides the following three screen view formats View format 1 Waveform parameter and graph display see Figure 1 3 View format 2 Graph comparison see Figure 1 4 View format 3 Waveform parameter comparison see Figure 1 5 and Figure 1 6 When the instrument is in one of the three display format pushing the View button will toggle through the three views in a repeating cycle in the order described above When the instrument is in
135. nerators Reference Manual Reference Save Recall Menu The Save and Recall menus store or recall arbitrary function generator setups The setups are stored in either internal setup memory or USB memory Table 2 10 Save Recall Menu Save or Recall First Level Second Level Description Save Memory Selects amemory type Internal Internal or USB USB Save Saves the instrument settings to the specified setup memory location Save As Enter Character Refer to page 2 32 for OK entering a file name Cancel Change Directory Opens a directory more 1 2 Lock Unlock Locks or unlocks a file Erase Erases a file blank Make Directory Enter Character Refer to page 2 28 for OK file operations Cancel more 2 2 Recall Memory Selects amemory type Internal Internal or USB USB Recall Recalls the instrument settings from the specified file blank Change Directory Opens a directory blank The arbitrary function generator has four storage locations in non volatile memory to store the instrument setups The locations are numbered 1 through 4 The instru ment uses location 0 which is called last setup memory to overwrite the instru ment setups at power off You can select the instrument settings that are restored when you power on the instrument If you select Power On Last in the Utility menu the instrument will restore the last powered off settings the next t
136. ng edge Positive or falling edge Negative of the signal applied to the front panel Trigger Input connector AFG3000 Series Arbitrary Function Generators Reference Manual 2 11 Reference 2 12 Output Menu Table 2 9 shows the Output Menu To access the Output menu push the front panel Top Menu button and then push the bottom bezel button Table 2 9 Output Menu First Level Second Level Description Load Impedance 50 Q Option buttons Set the load impedance to 50 Q Load Option buttons amp Numeric input You can set the load impedance to any value from 1 Qto 10 kQ High Z Option buttons Select high impedance Invert Selects Invert On to invert a waveform Off On Limit High Limit Numeric input Low Limit Specifies the higher and lower amplitude limit See Level Meter on page 1 12 Noise Noise Add Selects Noise Add On to add the internal noise Off On to a waveform Noise Level Sets the noise level External Add Selects External Add On to add an external Off On signal to the CH 1 output signal 1 Range 1 Q to 10 KQ When dBm is currently selected for output amplitude units the amplitude units setting is automatically changed to V if you select high impedance Range 0 to 50 of amplitude setting V of signal waveform resolution 1 The maximum value of noise range is limited by waveform and amplitude range AFG3100 and AFG3200 series only AFG3000 Series Arbitrary Function Ge
137. ng range of stop frequency depends on the waveform selected for sweep Group Source Related Commands SOURce 1 2 FREQuency MODE SOURce 1 2 FREQuency STARt Syntax SOURce 1 2 FREQuency STOP lt frequency gt MINimum MAXimum SOURce 1 2 FREQuency STOP MINimum MAXimum Arguments lt frequency gt lt NRf gt lt units gt where lt NRf gt is the stop frequency lt units gt Hz kHz MHz Returns lt frequency gt Examples SOURcel FREQuency STOP 100KHz sets the stop frequency of CH 1 to 100 kHz AFG3000 Series Arbitrary Function Generators Reference Manual 3 55 Syntax and Commands SOURce 1 2 FSKey FREQuency Group Syntax Arguments Returns Examples This command sets or queries the hop frequency of FSK modulation for the spec ified channel Source SOURce 1 2 FSKey FREQuency lt frequency gt MINimum MAXimum SOURce 1 2 FSKey FREQuency MINimum MAXimum lt frequency gt lt NRf gt lt units gt where lt NRf gt is the hop frequency lt units gt Hz kHz MHz lt frequency gt SOURce1 FSKey FREQuency 1 0MHz sets the hop frequency of CH 1 FSK modulation to 1 0 MHz SOURce 1 2 FSKey INTernal RATE Group Syntax Arguments Returns Examples 3 56 This command sets or queries the internal modulation rate of FSK modulation for the specified channel You can use this command only when the internal modula tion source is sel
138. ns 3 5 Table 3 5 Calibration and Diagnostic commands ooooooooooo o o 3 9 Table 3 6 Display commands ccc cee cece cece eee eee e eee eeee 3 9 Table 3 7 Memory commands ccc cee cece cece ee ee eee eeeeeeee 3 9 Table 3 8 Mass Memory commands eee cece cere cere eeees 3 10 Table 3 9 Output commands cece cece eter eee eee eens 3 10 Table 3 10 Source commands cc cee cece eee rere eee eee 3 10 Table 3 11 Status commands 0 ccc cece cece cece reece eee 3 12 Table 3 12 System commands cc cece eee c eee e eee ee ee eee ees 3 13 Table 3 13 Synchronization commands o o ooooooocmoooomom o 3 13 Table 3 14 Trace commands 0 0c cece eee e eee c ee ee eee e eee eeee 3 14 Table 3 15 Trigger commands 0 ccc cece eee c ee ee tere e ences 3 14 Table 3 16 AFG Control command 0 cece eee eee eee eees 3 14 Table 4 1 SBR bit functions 2 0 0 ccc ccc cece ce eee ee ee eect ee eees 4 5 Table 4 2 SESR bit functions 0 cee cece ce cee ee eee mr r orooso 4 6 Table 4 3 OCR bit functions 0 ccc cece ee cece eee ee eeee 4 7 Table 4 4 QCR bit functions 2 0 nran e eee erect tree renee 4 8 Table 4 5 Definition of event codes ooooooooooomomom oro eee e eens 4 11 Table 4 6 Command error messages 00 c cece e eee e cece ec ecees 4 11 Table 4 7 Execution error
139. ns a list of the options installed in your arbi trary function generator System OPT None lt OPT gt lt OPT gt lt OPT gt lt OPT gt OPT might return 0 which indicates no option is installed in the instrument AFG3000 Series Arbitrary Function Generators Reference Manual 3 31 Syntax and Commands OUTPut 1 2 IMPedance 3 32 Group Syntax Arguments Returns Examples The OUTPut IMPedance command sets the output load impedance for the specified channel The specified value is used for amplitude offset and high low level settings You can set the impedance to any value from 1 Q to 10 kQ The default value is 50 Q The OUTPut IMPedance command returns the current load impedance setting in ohms If the load impedance is set to INFinity the query command returns 9 9E4 37 Output OUTPut 1 2 IMPedance lt ohms gt INFinity MINimum MAXimum OUTPut 1 2 IMPedance MINimum MAXimum lt ohms gt lt NR3 gt lt units gt where lt units gt OHM INFinity sets the load impedance to gt 10 KQ MINimum sets the load impedance to 1 Q MAXimum sets the load impedance to 10 KQ lt ohms gt lt NR3 gt OUTPut1 IMPedance MAXimum sets the CH 1 load impedance to 10 KQ AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands OUTPut 1 2 POLarity Group Syntax Arguments Returns Examples OUTPut 1 2 STATe Group Syntax
140. nt panel lock unlock SYSTem SECurity lMMediate Reset to factory default SYSTem ULANguage Set query language for display screen SYSTem VERSion Return version information Synchronization Commands Synchronization commands let you synchronize the operation of the instrument Table 3 13 lists and describes Synchronization commands Table 3 13 Synchronization commands Header Description OPC Set query operation complete WAI Wait to continue AFG3000 Series Arbitrary Function Generators Reference Manual 3 13 Syntax and Commands 3 14 Trace Commands Trace commands let you set the edit memory and user waveform memory Table 3 14 lists and describes Trace commands Table 3 14 Trace commands Header Description TRACe DATA CATalog Return user waveform memory status TRACe DATA COPY Copy edit memory or user waveform memory content to user waveform memory or edit memory TRACe DATA DATA Set query waveform data to edit memory TRACe DATA DELete NAME Delete user waveform memory contents TRACe DATA DEFine Set edit memory content TRACe DATA LOCK STATe Set query lock unlock of user waveform memory TRACe DATA POINts Set query number of points for waveform data in edit memory TRACe DATA DATA LINE Write waveform data with interpolation TRACe DATA DATA VALue Set query waveform data in edit memory Trigger Commands Trigger commands let you control all aspects of arbitr
141. o WTRIG WTRIG SWE CAL CH2 CH1 Figure 4 8 Operation Enable Register OENR AFG3000 Series Arbitrary Function Generators Reference Manual 4 9 Status and Events Queues 4 10 Output Queue Error Event Queue Questionable Enable Register QENR The QENR consists of bits defined exactly the same as bits 0 through 15 in the QEVR register see Figure 4 9 You can use this register to control whether the QSB in the SBR is set when an event occurs and the corresponding QEVR bit is set Use the STATus QUEStionable ENAB1e command to set the bits in the OENR Use the STATus QUEStionable ENAB1e query to read the contents of the OENR 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 FREQ Figure 4 9 Questionable Enable Register QENR There are two types of queues in the status reporting system output queue and error event queues The output queue is an FIFO first in first out queue that holds response messages to queries awaiting retrieval When there are messages in the queue the MAV bit in the SBR is set The output queue is emptied each time a command or query is received so the controller must read the output queue before the next command or query is issued If this is not done an error occurs and the output queue is emptied however the operation proceeds even if an error occurs The event queue is an FIFO queue which stores events as they occ
142. o 1 N Cycle Sets burst count to N N 1 to 1 000 000 Inf Cycle Sets burst count to Infinite Gate Selects gated burst mode more 1 2 Delay Sets trigger delay between the receipt of the trigger and the start of the burst waveform The range is 0 to 500 s Source Select trigger source Internal or External Internal External Slope Selects trigger slope Positive or Negative Available only when you Positive select External as a trigger source Negative Trigger Interval Sets trigger interval Available only when you select Internal as a trigger source more 2 2 Triggered Burst Mode When a trigger event occurs in burst mode the waveform is output for the number of cycles specified by the Burst Parameter Menu Once the triggered burst mode is selected the arbitrary function generator will wait for a trigger event to occur Gated Burst Mode In the gated burst mode the output is enabled or disabled based on the internal gate signal or an external signal applied to the front panel Trigger Input connector While the gate signal is true or the front panel Manual Trigger but ton is depressed the instrument outputs a continuous waveform When the trigger source is set to Internal the trigger interval can be set The set ting range of trigger interval is 1 ms to 500 s The default is 1 ms When the trigger source is set to External you can select Positive or Negative as the trigger slope The instrument will trigger on the risi
143. o Query Form Group Syntax Arguments Examples 3 106 This command forces a trigger event to occur Trigger TRIGger SEQuence IMMediate None TRIGger SEQuence IMMediate generates a trigger event AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands TST Group Related Commands Syntax Arguments Returns Examples WAI No Query Form Group Related Commands Syntax Arguments Examples AFG3000 Series Arbitrary Function Generators Reference Manual This command performs a self test and returns the results NOTE The self test can take several minutes to complete During this time the arbitrary function generator does not execute any commands Do not power off the instrument during the self test Calibration and Diagnostic DIAGnostic ALL TST None lt NR1 gt where lt NR1 gt 0 indicates that the self test completed without errors lt NR1 gt 0 indicates that the arbitrary function generator detected an error TST performs a self test and returns 0 if no error is reported This command prevents the instrument from executing further commands or queries until all pending commands that generate an OPC message are complete Synchronization OPE WAI None WAI prevents the instrument from executing any further commands or queries until all pending commands that generate an OPC message are complete 3 107 Syntax and Commands
144. on frequency to 10 kHz 3 38 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 AM INTernal FUNCtion Group Related Commands Syntax Arguments Returns Examples This command sets or queries the modulating waveform of AM modulation for the specified channel You can use this command only when the internal modulation source is selected If you specify EFILe when there is no EFILe or the EFILe is not yet defined this command causes an error Source SOURce 1 2 AM SOURce SOURce 1 2 AM INTernal FUNCtion SINusoid SQUare TRIangle RAMP NRAMp PRNo ise USER 1 USER2 USER3 USER4 EMEMory EFILe SOURce 1 2 AM INTernal FUNCtion SINusoid SQUare TRIangle RAMP NRAMp PRNoise One of six types of function waveform can be selected as a modulating signal USER 1 USER2 USER3 USER4 EMEMory A user defined waveform saved in the user waveform memory or the EMEMory can be selected as a modulating signal EFILe EFILe is used as a modulating signal SIN SQU TRI RAMP NRAM PRN USER1 USER2 USER3 USER4 EMEMory EFILe SOURce1 AM INTernal FUNCtion SQUare selects Square as the shape of modulating waveform for the CH 1 output AFG3000 Series Arbitrary Function Generators Reference Manual 3 39 Syntax and Commands SOURce 1 2 AM INTernal FUNCtion EFILe Group Syntax Arguments Returns Examples This command sets or que
145. only E Select Make Directory to create a new directory USB only AFG3000 Series Arbitrary Function Generators Reference Manual 2 31 Reference 2 32 File Management Conventions Entering a File Name When you select Save As the file name box is displayed as shown in Figure 2 13 File name box SA TERA FGOOLTES opqrst OPQASTUV Wea Figure 2 13 Save As Character entry box English alphabet characters are displayed below the file name box A selected char acter is highlighted You can move the highlighted selection using the general pur pose knob To enter the desired character push the Enter Character bezel button or the front panel Enter button The selected character is displayed in the file name box To move the cursor in the file name box use the arrow keys To delete a character in the file name box push the front panel BKSP key To insert a character in the file name box move the cursor using the arrow keys then enter a character When the filename is specified push the OK bezel button To cancel the entry push the front panel Cancel button If you select Make Directory you can create a new directory The created direc tory name will be listed The file listings are in alphabetical order The specified filename will be highlighted The arbitrary function generator checks for available space on the USB memory before saving files and displays a warning message if there is not enough memor
146. orm Group Syntax Arguments Examples Initializes all the current trigger system parameters and resets all trigger sequences Trigger ABORt None ABORt resets the trigger system AFG3000 Series Arbitrary Function Generators Reference Manual 3 15 Syntax and Commands AFGControl CSCopy No Query Form Group Syntax Arguments Examples CAL Group Related Commands Syntax Arguments Returns Examples 3 16 This command copies setup parameters for one channel to another channel If your arbitrary function generator is a single channel model this command is not supported AFG Control AFGControl CSCopy CH1 CH2 CH1 CH2 CH1 CH2 AFGControl CSCopy CH1 CH2 copies the CH1 setup parameters into CH2 This command performs an internal calibration and returns 0 Pass or a calibration error code NOTE The self calibration can take several minutes to complete During this time the arbitrary function generator does not execute any commands Do not power off the instrument during the self calibration Calibration and Diagnostic CALibration ALL CAL None lt NR1 gt where lt NR1 gt 0 indicates that the internal calibration completed without errors lt NR1 gt 0 indicates that the arbitrary function generator detected an error CAL performs an internal calibration and returns results For example it might return 0 which indicates that the calibration completed without any error
147. ormation on the arbitrary func tion generator System TDN None lt Manufacturer gt lt Model gt lt Serial Number gt lt Firmware Level gt where lt Manufacturer gt TEKTRONIX lt Model gt AFG3021 AFG3022 AFG3101 AFG3102 AFG3251 AFG3252 lt Serial Number gt lt Firmware Level gt SCPI 99 0 FV 1 0 IDN might return the following response TEKTRONIX AFG3102 C100101 SCP1 99 0 FV 1 0 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands MEMory STATe VALid This query only command returns the availability of a setup memory Group Memory Syntax MEMory STATe VALid 0 1 2 3 4 Arguments 0 1 2 3 or 4 specifies the location of setup memory Returns lt NR1 gt 1 means that the specified setup memory has been saved 0 means that the specified setup memory has been deleted Examples MEMory STATe VALid 0 might return 1 if the specified setup memory has been saved MEMory STATe DELete No Query Form This command deletes the contents of specified setup memory If a specified setup memory is not allowed to overwrite or delete this command causes an error Group Memory Syntax MEMory STATe DELete 0 1 2 3 4 Arguments 0 1 2 3 or 4 specifies the location of setup memory Examples MEMory STATe DELete 1 deletes the contents of specified setup memory AFG3000 Series Arbitrary Function Generators Reference Manual 3 23 Syntax and Commands MEMory STATe LOC
148. ows the Arb menu Table 2 4 Arb Menu First Level Second Level Description Arb Waveform Menu Memory Selects a memory type Internal or USB Internal Refer to page 2 28 for file operations USB blank Change Directory Opens a directory in a USB memory OK Cancel Frequency Period Refer to Table 2 1 Phase Menu Amplitude Level Menu Refer to Table 2 1 Run Mode Menu Continuous Modulation Refer to Table 2 6 Sweep Refer to Table 2 7 Burst Refer to Table 2 8 Output Menu Refer to Table 2 9 To output a user defined waveform you have two options Output the contents of Edit Memory E Output one of user defined waveforms stored in the internal or in a USB memory To output a user defined waveform you must first save the file in the internal or USB memory You can save up to four user defined waveforms in the internal waveform memory Waveform data in the Edit Memory can also be output but the contents of Edit Memory is deleted when the instrument power is turned off NOTE When the arbitrary function generator outputs an Arb waveform the peak to peak voltage of the measurement result is the same as the setup value if the waveform data is normalized AFG3000 Series Arbitrary Function Generators Reference Manual 2 5 Reference More Menu Table 2 5 shows the More menu Table 2 5 More Menu First Level Second Level Description More Waveform Menu Sin x x Optio
149. query command returns 0 off or 1 on If your arbitrary function generator is a single channel model this command is not supported Group Source Syntax SOURce 1 2 VOLTage CONCurrent STATe ON OFF lt NR1 gt SOURce 1 2 VOLTage CONCurrent STATe Arguments ON or lt NR1 gt 0 enables the concurrent copy function OFF or lt NR1 gt 0 disables the concurrent copy function Returns lt NR1 gt Examples SOURcel VOLTage CONCurrent STATe ON enables the concurrent copy function AFG3000 Series Arbitrary Function Generators Reference Manual 3 81 Syntax and Commands SOURce 1 2 VOLTage LEVel IMMediate HIGH This command sets or queries the high level of output amplitude for the specified channel If your instrument is a dual channel model and the SOURce 1 2 VOLTage CONCurrent STATe command is set to ON then the high level of other channel is also the same value Group Source Related Commands SOURce 1 2 VOLTage CONCurrent STATe Syntax SOURce 1 2 VOLTage LEVel IMMediate HIGH lt voltage gt MINimum MAXimum SOURce 1 2 VOLTage LEVe1 IMMediate HIGH MINimum MAXimum Arguments lt voltage gt lt NRf gt lt units gt where lt NRf gt is the high level of output amplitude lt units gt mV V Returns lt voltage gt Examples SOURcel VOLTage LEVel IMMediate HIGH 1V sets the high level of CH 1 output amplitude to 1 V 3 82 AFG3000 Series A
150. r OCR page 4 7 Operation Event Register OEVR page 4 7 Questionable Condition Register QCR page 4 8 Questionable Event Register QEVR page 4 8 AFG3000 Series Arbitrary Function Generators Reference Manual Status and Events Status Byte Register SBR The SBR is made up of 8 bits Bits 4 5 and 6 are defined in accordance with IEEE Std 488 2 1992 see Figure 4 2 These bits are used to monitor the output queue SESR and service requests respectively 6 7 ROS 5 4 3 2 1 0 OSB 6 ESB MAV QSB EQS MSS Figure 4 2 The Status Byte Register SBR Table 4 1 SBR bit functions Bit Function 7 MSB OSB Operation Status Bit Indicates that an operation event has occurred 6 RQS Request Service When the instrument is accessed using the GPIB serial poll command this bit is called the Request Service RQS bit and indicates to the controller that a service request has occurred in other words that the GPIB bus SRQ line is LOW The RQS bit is cleared when serial poll ends 6 MSS Master Status Summary When the instrument is accessed using the STB query this bit is called the Master Status Summary MSS bit and indicates that the instrument has issued a service request for one or more reasons The MSS bit is never cleared to 0 by the STB query 5 ESB Event Status Bit This bit indicates whether or not a new event has occurred after the previous
151. r Power Cord Use only the power cord specified for this product and Personal Injury certified for the country of use Ground the Product This product is grounded through the grounding conductor of the power cord To avoid electric shock the grounding conductor must be connected to earth ground Before making connections to the input or output terminals of the product ensure that the product is properly grounded Observe All Terminal Ratings To avoid fire or shock hazard observe all ratings and markings on the product Consult the product manual for further rating information before making connections to the product Do not apply a potential to any terminal including the common terminal that exceeds the maximum rating of that terminal Power Off The power cord provides Mains disconnect Do Not Operate Without Covers Do not operate this product with covers or panels removed Do Not Operate With Suspected Failures If you suspect there is damage to this product have it inspected by qualified service personnel Do Not Operate in Wet Damp Conditions Do Not Operate in an Explosive Atmosphere Keep Product Surfaces Clean and Dry Provide Proper Ventilation Refer to the manual s installation instructions for details on installing the product so it has proper ventilation AFG3000 Series Arbitrary Function Generators Reference Manual ix General Safety Summary Symbols and Terms Terms in this Manual These terms may appear in this
152. r the instrument is waiting for a CH2 trigger This bit is set when CH 2 in the case of dual channel model is waiting for a trigger Bit is reset when the waiting for trigger status is canceled 5 WTRIG Waiting for Trigger Indicates whether the instrument is waiting for a CH1 trigger This bit is set when CH 1 in the case of dual channel model is waiting for a trigger Bit is reset when the waiting for trigger status is canceled 4 Not used 3 SWE Sweep Indicates whether the instrument is executing a frequency sweep This bit is set when a frequency sweep is being executed on CH 1 or another channel in the case of dual channel model Bit is reset when the execution stops 2 to 1 Not used 0 CAL Calibration Indicates whether the instrument is being calibrated This bit is set when calibration is in progress and is reset when the calibration is complete AFG3000 Series Arbitrary Function Generators Reference Manual 4 7 Status and Events Enable Registers Questionable Event Register QEVR This register has the same content as the Questionable Condition Register Questionable Condition Register QCR The Questionable Condition Register is made up of sixteen bits which not the occurrence of only one type of event 15 14 13 12 11 10 9 8 7 6 5 4 3 2 h Jo FREQ Figure 4 5 Questionable Condition Register QCR Table 4 4 QCR bit functions
153. r the specified channel Source SOURce 1 2 SWEep SPACing LINear LOGarithmic SOURce 1 2 SWEep SPACing LIN ear sets the sweep spacing to linear LOGarithmic sets the sweep spacing to logarithmic LIN LOG SOURcel SWEep SPACing LINear sets the CH1 sweep spacing to linear AFG3000 Series Arbitrary Function Generators Reference Manual 3 79 Syntax and Commands SOURce 1 2 SWEep TIME 3 80 Group Syntax Arguments Returns Examples This command sets or queries the sweep time for the sweep for the specified channel The sweep time does not include hold time and return time The setting range is 10 ms to 100 s Source SOURce 1 2 SWEep TIME lt seconds gt MINimum MAX imum SOURce 1 2 SWEep TIME MINimum MAX imum lt seconds gt lt NRf gt lt units gt where lt NRf gt is the sweep time in seconds lt units gt ns us ms s lt seconds gt SOURce1 SWEep TIME 100ms sets the CH 1 sweep time to 100 ms AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 VOLTage CONCurrent STATe This command enables or disables the function to copy the voltage level of one channel to another channel The SOURce 1 2 VOLTage CONCurrent STATe command copies the voltage level of the channel specified by the header suffix to another channel If you specify CH 1 with the header the CH 1 voltage level will be copied to CH 2 The
154. rbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 VOLTage LEVel IMMediate LOW This command sets or queries the low level of output amplitude for the specified channel If your instrument is a dual channel model and the SOURce 1 2 VOLTage CONCurrent STATe command is set to ON then the low level of other channel is also the same value Group Source Related Commands SOURce 1 2 VOLTage CONCurrent STATe Syntax SOURce 1 2 VOLTage LEVel IMMediate LOW lt voltage gt MINimum MAXimum SOURce 1 2 VOLTage LEVel IMMediate LOW MINimum MAXimum Arguments lt voltage gt lt NRf gt lt units gt where lt NRf gt is the low level of output amplitude lt units gt mV V Returns lt voltage gt Examples SOURcel VOLTage LEVel IMMediate LOW 1V sets the low level of CH 1 output amplitude to 1 V AFG3000 Series Arbitrary Function Generators Reference Manual 3 83 Syntax and Commands SOURce 1 2 VOLTage LEVel IMMediate OFFSet 3 84 Group Related Commands Syntax Arguments Returns Examples This command sets or queries the offset level for the specified channel If your instrument is a dual channel model and the SOURce 1 2 VOLTage CONCur rent STATe command is set to ON then the offset level of the other channel is also the same value Source SOURce 1 2 VOLTage CONCurrent STATe SOURce 1 2 VOLTage LEVel IMMe
155. rbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 BURSt STATe Group Syntax Arguments Returns Examples This command enables or disables the burst mode for the specified channel The query command returns the state of burst mode Source SOURce 1 2 BURSt STATe ON OFF lt NR1 gt SOURce 1 2 BURSt STATe ON or lt NR1 gt 0 enables the burst mode OFF or lt NR1 gt 0 disables the burst mode lt NR1 gt SOURce1 BURSt STATe ON enables the burst mode for the CH 1 AFG3000 Series Arbitrary Function Generators Reference Manual 3 43 Syntax and Commands SOURce 1 2 BURSt TDELay This command sets or queries delay time in the burst mode for the specified channel It specifies a time delay between the trigger and the signal output This command is available only in the Triggered burst mode Group Source Syntax SOURce 1 2 BURSt TDELay lt delay gt MINimum MAXimum SOURce 1 2 BURSt TDELay MINimum MAX imum Arguments lt delay gt lt NRf gt lt units gt where lt units gt s ms us ns MINimum sets the delay time to minimum value MAXimum sets the delay time to maximum value Returns lt delay gt Examples SOURcel BURSt DELay 20ms sets the CH 1 delay time to 20 ms 3 44 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 COMBine FEED This command sets or queries whether to add the intern
156. ries Arbitrary Function Generators Reference Manual Reference Sweep Parameter Menu Table 2 7 shows the Sweep Parameter Menu Table 2 7 Sweep Parameter Menu First Level Description Start Frequency Numeric input Sets start frequency Stop Frequency Numeric input Sets stop frequency Sweep Time Numeric input Sets sweep time Return Time Numeric input Sets return time more 1 of 3 Center Frequency Numeric input Sets center frequency Span Numeric input Sets frequency span Hold Time Numeric input Sets hold time Type Selects sweep type Linear or Logarithm See Figure 2 1 Linear Logarithm more 2 of 3 Mode Repeat Trigger Selects sweep mode Repeat or Trigger Source Internal External Selects trigger source Internal or External Slope Positive Negative Selects trigger slope Positive or Negative Available only when you select External as a trigger source Trigger Interval Numeric input Sets trigger interval Available only when you select Internal as a trigger source more 3 of 3 The sweep function outputs a waveform with the output signal frequency varying linearly or logarithmically Stop frequency Linear sweep Logarithmical sweep Start frequency fe Sweep time he Sweep time Figure 2 1 Sweep type AFG3000 Series Arbitrary Function Generators Reference Manual 2 9 Reference When sweep is tak
157. ries an EFILe name used as a modulating waveform for AM modulation A file name must be specified in the mass storage system This command causes an error if there is no file in the mass storage Source SOURce 1 2 AM INTernal FUNCtion EFILe lt file_name gt SOURce 1 2 AM INTernal FUNCtion EFILe lt file_name gt lt string gt specifies a file name in the mass storage system The lt file_name gt includes path Path separators are forward slashes lt file_name gt SOURce1 AM INTernal FUNCtion EFILe SAMPLE1 sets a file named SAMPLE1 in the mass storage SOURce 1 2 AM SOURce Group Syntax Arguments Returns Examples 3 40 This command sets or queries the source of modulating signal of AM modulation for the specified channel Source SOURce 1 2 AM SOURce INTernal EXTernal SOURce 1 2 AM SOURce INTernal means that the carrier waveform is modulated with an internal source EXTernal means that the carrier waveform is modulated with an external source INT EXT SOURce1 AM SOURce INTernal sets the CH 1 source of modulating signal to internal AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands SOURce 1 2 AM STATe Group Syntax Arguments Returns Examples This command enables or disables AM modulation for the specified channel The query command returns the state of AM modulation Source SOURce 1 2 AM STATe O
158. ries of strings separated by commas is returned Each string is enclosed within quotation marks Examples DATA CATalog might return USER1 USER4 EMEM This example indicates that waveform data of USER2 and USER3 are deleted and not saved Edit memory always has data TRACe DATA COPY No Query Form This command copies the contents of edit memory or user waveform memory to a specified user waveform memory or edit memory Group Trace Syntax TRACe DATA COPY lt trace_name gt EMEMory TRACe DATA COPY EMEMory USER 1 USER2 USER3 USER4 Arguments lt trace_name gt USER 1 USER2 USER3 USER4 This command is invalid when lt trace_name gt is being output Examples DATA COPY USER1 EMEMory copies the waveform data in the edit memory to the user waveform memory USERI1 DATA COPY EMEMory USER1 copies the waveform data in the user waveform memory USER1 to the edit memory 3 98 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands TRACe DATA DATA This command transfers the waveform data from the external controller to the edit memory in the arbitrary function generator The query command returns the binary block data Group Trace Syntax TRACe DATA DATA EMEMory lt binary block_data gt TRACe DATA DATA EMEMory Arguments lt binary block_data gt where lt binary_ block _data gt is the waveform data in binary format Returns lt binary block data gt
159. rive PO Box 500 Beaverton OR 97077 USA www tektronix com 1 800 833 9200 select option 1 1 800 833 9200 select option 2 1 800 833 9200 select option 3 6 00 a m 5 00 p m Pacific time mail message This phone number is toll free in North America After office hours please leave a voice Outside North America contact a Tektronix sales office or distributor see the Tektronix web site for a list of offices AFG3000 Series Arbitrary Function Generators Reference Manual Operating Basics Operating Basics The AFG3000 Series Arbitrary Function Generators front panel is divided into easy to use functional areas This section provides you with a quick overview of the controls Figure 1 1 shows the front panel of dual channel model Function 1 Run Mod Sine Continuous Modulation Sweep Burst oodo Square Frequency Period Amplitude High En Ram mA ih Phase Delay Offset Low Figure 1 1 Dual channel model AFG3000 Series Arbitrary Function Generators Reference Manual 1 1 Operating Basics Front Panel Controls This section introduces you to the front panel controls of the instrument and provides a brief overview on how to use the front panel key controls eee Sr A TA ROOK Run Mode Sine Continuous Modulation Sweep Frequency Period Amplitude High O O Phase Delay 0 U Duty Width Leading Trailing a 1 Figure 1 2 Front pa
160. rns Examples This command sets or queries the modulating waveform of FM modulation for the specified channel You can use this command only when the internal modulation source is selected If you specify EFILe when there is no EFILe or the EFILe is not yet defined this command causes an error Source SOURce 1 2 FM SOURce SOURce 1 2 FM INTernal FUNCtion SINusoid SQUare TRIangle RAMP NRAMp PRNoi se USER 1 USER2 USER3 USER4 EMEMory EFILe SOURce 1 2 FM INTernal FUNCtion SINusoid SQUare TRIangle RAMP NRAMp PRNoise One of six types of function waveform can be selected as a modulating signal USER 1 USER2 USER3 USER4 EMEMory A user defined waveform saved in the user waveform memory or the EMEMory can be selected as a modulating signal EFILe EFILe is used as a modulating signal SIN SQU TRI RAMP NRAM PRN USER1 USER2 USER3 USER4 EMEMory EFILe SOURce1 FM INTernal FUNCtion SQUare selects Square as the shape of modulating waveform for the CH 1 output AFG3000 Series Arbitrary Function Generators Reference Manual 3 47 Syntax and Commands SOURce 1 2 FM INTernal FUNCtion EFILe Group Syntax Arguments Returns Examples This command sets or queries an EFILe name used as a modulating waveform for FM modulation A file name must be specified in the mass storage system This command causes an error if there is no file in the mass storage Source SOURce 1
161. roup Related Commands Syntax Arguments Returns Examples This command sets or queries the center frequency of sweep for the specified channel This command is always used with the SOURce 1 2 FREQuency SPAN command The setting range of center frequency depends on the waveform selected for sweep Source SOURce 1 2 FREQuency SPAN SOURce 1 2 FREQuency MODE SOURce 1 2 FREQuency CENTer lt frequency gt MINimum MAXimum SOURce 1 2 FREQuency CENTer lt frequency gt lt NRf gt lt units gt where lt NRf gt is the center frequency lt units gt Hz kHz MHz lt frequency gt SOURce1 FREQuency CENTer 550kHz sets the CH 1 center frequency to 550 kHz AFG3000 Series Arbitrary Function Generators Reference Manual 3 49 Syntax and Commands SOURce 1 2 FREQuency CONCurrent STATe 3 50 Group Syntax Arguments Returns Examples This command enables or disables the function to copy the frequency or period of one channel to another channel The SOURce 1 2 FREQuency CONCurrent command copies the frequency or period of the channel specified by the header suffix to another channel If you specify CH 1 with the header the CH 1 frequency will be copied to CH 2 The SOURce 1 2 FREQuency CONCurrent command returns 0 off or 1 on If your arbitrary function generator is single channel model this command is not supported Source
162. ry STORe TRACe No Query Form 0 0c eee eee eee 3 30 NA E E E EE ee E E O A A EEEN 3 31 SAA A E eh E 3 31 OUTPut 1 2 IMPedance o 3 32 OQUTPU POLA tas DA tae iaa 3 33 OUTPUt 2 ESTA Tehran id ia iii 3 33 OUTPut TRIGger MODE oe tee pla ed aa a ee G 3 34 A et ted Abn a TPN OL E Late Cw a ph Sls i EME NG ENT td 3 35 RCL NO QUE FoM o Baek Po A ERAN SIG E 3 35 RST No Query Form cese ner eee a deed Hee be eta be eed eb eee ee ees 3 36 SAV No Query FOr tesina dto Eek e BAR aN eld Paes wg IRALA 3 36 SOURce 1 2 AM DEPTh 00000 c cece cece eee eee eens 3 37 SOURce 1 2 AM INTernal FREQuency 0 0 0 0 0000 cece cece ee 3 38 SOURce 1 2 AM INTernal FUNCtion 0 000000 c ccc eee ees 3 39 SOURce 1 2 AM INTernal FUNCtion EFILe 0 0 0 0 000 cece eee 3 40 SOURce 1 2 AM SOURCEe onnon cece eee eee eee eens 3 40 SOURce 1 2 AM STATe 0 ene eee eens 3 41 SOURce 1 2 BURSt MODE 0 00 0 eee eens 3 41 SOURce 1 2 BURSt NCYCles 0 cece eee nnn 3 42 SOURce 1 2 BURSt STATe 0 0 00 eee eects 3 43 SOURce 1 2 BURSt TDELay 0 000000 3 44 SOURce 1 2 COMBine FEED 0 00 ccc ccc eee eee 3 45 SOURce 1 2 FM DEViation 00000 c cece eee eee eee ees 3 46 SOURce 1 2 FM INTernal FREQuency 0 0 0 ccc cece cece ee eee ees 3 46 SOURce 1 2 FM INTernal FUNCtion o on anuanu c ccc cece eee ee ees 3 47 SOURce 1 2 FM INTernal FUNCtion EFILe
163. s AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands CALibration ALL The CALibration ALL command performs an internal calibration The CALibration ALL command performs an internal calibration and returns 0 Pass or a calibration error code NOTE The self calibration can take several minutes to complete During this time the arbitrary function generator does not execute any commands Do not power off the instrument during the self calibration Group Calibration and Diagnostic Related Commands CAL Syntax CALibration ALL CALibration ALL Arguments None Returns lt NR1 gt Examples CALibration ALL performs an internal calibration CALibration ALL performs an internal calibration and returns results For example it might return 0 which indicates that the calibration completed without any errors CLS No Query Form This command clears all the event registers and queues which are used in the arbi trary function generator status and event reporting system Group Status Syntax CLS Arguments None Examples CLS clears all the event registers and queues AFG3000 Series Arbitrary Function Generators Reference Manual 3 17 Syntax and Commands DlAGnostic ALL 3 18 Group Related Commands Syntax Arguments Returns Examples The DIAGnostic ALL command performs a self test The DIAGnostic ALL command returns the results after execut
164. s E Appendix B General Care and Cleaning describes how to take care of the instrument E Appendix C SCPI Conformance Information contains a list of commands and SCPI information E Appendix D Default Setup contains a list of the menus and controls that are recalled when you push the front panel Default button Documentation In addition to this AFG3000 Series Arbitrary Function Generators Reference Manual the following documentation is available for this instrument AFG3000 Series Quick Start User Manual The quick start user manual provides information on installation general features operating the instrument and user interface It also provides electrical environmental and physical specifications for the instrument Built in Help System The built in help system that is integrated with the User Interface application that ships with this instrument AFG3000 Series Arbitrary Function Generators Reference Manual xi Preface Contacting Tektronix xii AFG3000 Series Service Manual A service manual is available as an optional accessory The service manual includes procedures to service the instrument to the module level The manual also includes performance verification procedures so that you can verify performance to the advertised specifications Phone Address Web site Sales support Service support Technical support 1 800 833 9200 Tektronix Inc Department or name if known 14200 SW Karl Braun D
165. s been written to Edit Memory the waveform data for points 1 to 1000 will remain without change and the data from point 1001 to point 1500 will be set to zero level See Figure 2 3 for an exam ple using the Number of Points parameter Sine waveform with 1000 points Set to 500 Lost data ite 7 Sine waveform with 1000 points Set to 1500 Added data 1000 1500 1000 Figure 2 3 Number of Points AFG3000 Series Arbitrary Function Generators Reference Manual Reference New Pushing the New bezel button will display a standard waveform selection submenu You can select a standard waveform from five waveform types Sine Square Pulse Ramp and Noise For example selecting Sine will write a sine waveform into Edit Memory The waveform has the number of points specified by the Number of Points bezel menu If waveform data is already stored in the Edit Memory the existing waveform data will be lost and the new waveform will over write the old data Operations Submenu Line Data and Cut For each of the Operations submenus you must push the Execute bezel button to implement the edit operation Table 2 12 Operations submenu First level Second level Description Line From X1 Use to edit a line linearly by interpolating from a Y1 specified point in the waveform currently being To X2 edited to another specified point Y2 Execute Data X Use to chan
166. s command enables or disables PWM modulation The query command returns the state of PWM modulation You can select only pulse waveform as a carrier waveform for PWM Source SOURce 1 2 PWM STATe ON OFF lt NR1 gt SOURce 1 2 PWM STATe ON or lt NR1 gt 0 enables PWM modulation OFF or lt NR1 gt 0 disables PWM modulation lt NR1 gt SOURce1 PWM STATe ON enables the CH 1 PWM modulation AFG3000 Series Arbitrary Function Generators Reference Manual 3 75 Syntax and Commands SOURce 1 2 PWM DEViation DCYCle This command sets or queries the PWM deviation in percent for the specified channel The setting range must meet the following conditions Deviation lt Pulse Width PWmin Deviation lt Pulse Period Pulse Width PWmin Deviation lt Pulse Width 0 8 x Leading Edge Time Trailing Edge Time Deviation lt Pulse Period Pulse Width 0 8 x Leading Edge Time Trailing Edge Time where PWmin is the minimum pulse width Group Source Syntax SOURce 1 2 PWM DEViation DCYCle lt percent gt MINimum MAXimum SOURce 1 2 PWM DEViation DCYCle MINimum MAX imum Arguments lt percent gt lt NR2 gt lt units gt where lt NR2 gt is the PWM deviation lt units gt PCT Returns lt percent gt Examples SOURce1 PWM DEViation DCYCle 5 0 sets the CH 1 PWM deviation to 5 0 3 76 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands S
167. specific errors 300 to 399 Internal device errors Query errors 400 to 499 System event and query errors Power on events 500 to 599 Power on events User request events 600 to 699 User request events Request control events 700 to 799 Request control events Operation complete events 800 to 899 Operation complete events Extended device specific 1 to 32767 Device dependent device errors errors Reserved other than above not used Table 4 6 shows the error messages generated by improper command syntax Check that the command is properly formed and that it follows the rules in the Syntax and Commands starting on page 3 1 Table 4 6 Command error messages Error code Error message 100 Command error 101 Invalid character 102 Syntax error 103 Invalid separator 104 Data type error 105 GET not allowed 108 Parameter not allowed 109 Missing parameter 110 Command header error 111 Header separator error 112 Program mnemonic too long Status and Events Table 4 6 Command error messages cont Error code Error message 113 Undefined header 114 Header suffix out of range 115 Unexpected number of parameters 120 Numeric data error 121 Invalid character in number 123 Exponent too large 124 Too many digits 128 Numeric data not allowed 130 Suffix error 131 Invalid suffix 134 Suffix
168. sponsible for packaging and shipping the defective product to the service center designated by Tektronix shipping charges prepaid and with a copy of customer proof of purchase Tektronix shall pay for the return of the product to Customer if the shipment is to a location within the country in which the Tektronix service center is located Customer shall be responsible for paying all shipping charges duties taxes and any other charges for products returned to any other locations This warranty shall not apply to any defect failure or damage caused by improper use or improper or inadequate maintenance and care Tektronix shall not be obligated to furnish service under this warranty a to repair damage resulting from attempts by personnel other than Tektronix representatives to install repair or service the product b to repair damage resulting from improper use or connection to incompatible equipment c to repair any damage or malfunction caused by the use of non Tektronix supplies or d to service a product that has been modified or integrated with other products when the effect of such modification or integration increases the time or difficulty of servicing the product THIS WARRANTY IS GIVEN BY TEKTRONIX WITH RESPECT TO THE PRODUCT IN LIEU OF ANY OTHER WARRANTIES EXPRESS OR IMPLIED TEKTRONIX AND ITS VENDORS DISCLAIM ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE TEKTRONIX RESPONSIBILITY TO REPAIR OR REPLACE DE
169. ssing media 253 Corrupt media 254 Media full 255 Directory full 256 File name not found 257 File name error 258 Media protected 260 Expression error 261 Math error in expression 270 Macro error 271 Macro syntax error 272 Macro execution error 273 Illegal macro label AFG3000 Series Arbitrary Function Generators Reference Manual 4 13 Status and Events Table 4 7 Execution error messages cont Error code Error message 274 Macro parameter error 275 Macro definition too long 276 Macro recursion error 277 Macro redefinition not allowed 278 Macro header not found 280 Program error 281 Cannot create program 282 Illegal program name 283 Illegal variable name 284 Program currently running 285 Program syntax error 286 Program runtime error 290 Memory use error 291 Out of memory 292 Referenced name does not exist 293 Referenced name already exists 294 Incompatible type 4 14 AFG3000 Series Arbitrary Function Generators Reference Manual Status and Events Device Specific Errors Table 4 8 lists the device specific errors that can occur during arbitrary function generator operation These errors may indicate that the instrument needs repair Table 4 8 Device specific error messages Error code 300 Message Device specific error 310 System error 311 Memory error 312 PUD memory lost
170. storage system If the specified direc tory is locked in the mass storage system this command causes an error Mass Memory MMEMory MDIRectory lt directory_name gt lt directory_name gt lt string gt specifies a directory name to be created MMEMory MDIRectory SAMPLE1 creates a directory named SAMPLE1 in the mass storage system AFG3000 Series Arbitrary Function Generators Reference Manual 3 29 Syntax and Commands MMEMory STORe STATe No Query Form Group Related Commands Syntax Arguments Examples This command copies a setup file in the setup memory to a specified file in the mass storage system If the specified file in the mass storage system is locked this command causes an error You cannot create a new file if the directory is locked If the setup memory is deleted this command causes an error lt file_name gt is a quoted string that defines the file name and path Mass Memory MMEMor y LOAD STATe MMEMory LOCK STATe MMEMory STORe STATe 0 1 2 3 4 lt file_name gt 0 1 2 3 or 4 specifies the location of setup memory lt file_name gt lt string gt specifies a file name in the mass storage system The lt file_name gt includes path Path separators are forward slashes MMEMory STORe STATe 1 SETUP1 TFS Copies the setup file in the setup memory location 1 to a file named SETUP1 TFS in the mass storage system MMEMory STORe TRACe No Query Form Group
171. syntax 3 1 Connecting to a Ethernet Network 2 25 Connecting to a GPIB Network 2 25 Contacting Tektronix xii Contrast Utility menu 2 24 Cursors 2 18 Cut Edit menu 2 20 D Data Edit menu 2 19 DC More waveform menu 2 6 Default button 1 6 Control settings D 1 Delete a file 2 29 Device errors 4 17 Device specific errors 4 15 DIAGnostic ALL 3 18 Diagnostics 2 26 DISPlay CONTrast 3 19 DISPlay SAVer STATe 3 19 DISPlay WINDow TEXT CLEar 3 20 DISPlay WINDow TEXT DATA 3 20 Documentation xi Duty Width button shortcut button 1 9 E Edit button 1 6 Edit Memory 2 5 2 14 2 29 Edit menu 2 14 Enter button 1 6 Erase Edit menu 2 15 AFG3000 Series Arbitrary Function Generators Reference Manual Index 1 Index Save menu 2 13 Error Event Queue 4 10 ESE 3 21 ESER 4 8 ESR 3 22 Event Status Enable Register 4 3 4 8 Execution errors 4 13 Exponential Decay More waveform menu 2 6 Exponential Rise More waveform menu 2 6 EXT MODULATION CH 1 INPUT connector rear panel 1 19 EXT MODULATION CH 2 INPUT connector rear panel 1 19 EXT REF INPUT connector Master slave operation 2 26 Rear panel 1 19 EXT REF OUTPUT connector Master slave operation 2 26 Rear panel 1 19 External Add Output menu 2 12 F File management conventions 2 32 File operations 2 28 To browse instrument setup files 2 31 To browse waveform files 2 28 To enter a file name Save As 2 32 To enter a file name Write As 2 30
172. t attributes Table 3 9 lists and describes Output commands Table 3 9 Output commands Header Description OUTPut 1 2 IMPedance Set query impedance OUTPut 1 2 POLarity Set query polarity OUTPut 1 2 STATe Set query output on or off OUTPut TRIGger MODE Set query the mode of Trigger Output Source Commands Source commands let you set waveform output parameters Table 3 10 lists and describes Source commands Table 3 10 Source commands Header SOURce ROSCillator SOURce Description Set query clock reference input SOURce 1 2 AM STATe Set query amplitude modulation status SOURce 1 2 AM INTernal FREQuency Set query internal modulation frequency SOURce 1 2 AM INTernal FUNCtion Set query modulation waveform setting SOURce 1 2 AM INTernal FUNCtion EFILe Set query EFILe setting SOURce 1 2 AM SOURce Set query amplitude modulation source SOURce 1 2 AM DEPTh Set query amplitude modulation depth SOURce 1 2 BURSt MODE Set query burst mode SOURce 1 2 BURSt NCYCles Set query burst mode waveform output cycle SOURce 1 2 BURSt TDELay Set query burst mode trigger delay time 3 10 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands Table 3 10 Source commands cont Header SOURce 1 2 BURSt S TATe Description Set query burst mode status SOURce 1 2 COMBine FEED Set quer
173. the internal memory This is sometimes useful when you are storing data that is confidential and you must transport the instrument for servicing or demonstrations CAUTION Executing Secure will erase all setups and waveform data files in the internal memory Make sure you want to remove all data before execution You cannot recover the deleted files Diagnostics and Calibration From the Utility menu you can perform the self test and self calibration routine The self test can be performed by selecting the Utility gt more gt Diagnos tics Calibration gt Execute Diagnostics bezel menu The test checks whether the instrument is operating correctly These diagnostics can be helpful when repairing the instrument The self calibration allows the instrument to operate with correct precision NOTE The self calibration must be executed at an ambient temperature of between 20 Cand 30 C 68 F to 86 F when a warm up period of approximately 20 minutes has passed fh CAUTION Do not power off the instrument during self calibration AFG3000 Series Arbitrary Function Generators Reference Manual Reference Backup Restore The Backup function is provided for copying the current arbi trary function generator information instrument setups or user defined wave forms toa USB memory with a single button push Pushing the Backup Internal gt USB Memory button will copy the internal memory contents to a USB
174. to the Edit Memory You can now edit the waveform Edit Memory The currently edited waveform is written to the Edit Memory Written data in Edit Memory will be lost if the instrument is powered off To allow this waveform to be used the next time the instrument is turned on the Edit Memory waveform must be saved into the internal or a USB memory To save a waveform file to the internal or USB memory use the Write to submenu Saving a Waveform File Use the Edit Menu to save waveform data as a file in the internal memory or a USB memory To save a waveform data file do the following 1 Attach a USB memory to the front panel USB connector 2 Push the front panel Edit button to display the Edit menu Push the more bezel button to display the second page and then push the Write to bezel button 4 Select a memory location E To save a waveform data file to the internal memory select Internal E To save a waveform data file to a USB memory select USB 5 Use the general purpose knob to scroll a file or directory E Select Write to overwrite the existing file m Select Write As to display the submenu to enter a file name USB only Select Make Directory to create a new directory USB only To lock a file or directory select a file or directory and then push the Lock Unlock bezel button Once a file is locked a lock icon appears next to the file name NOTE When you lock a directory a lock icon does not appear Once you lo
175. trary Function Generators Reference Manual Appendix D Default Setup Table D 1 lists the settings that are restored when you push the front panel Default button Table D 1 Default settings Menu or System Default setting Output configuration Function Sine Frequency 1 000 000 000 00 MHz Amplitude 1 000 Vp p Offset 0 mV Symmetry Ramp 50 0 Duty Pulse 50 0 Output Units Vp p Output Impedance 50 Q Output Invert Off Output Noise Add Off External Add Off Modulation Modulation Waveform 10 00 kHz Sine except FSK Modulation Waveform 10 00 kHz Square FSK AM Depth 50 0 FM Deviation 1 000 000 MHz PM Deviation 90 0 FSK Hop Frequency 1 000 000 MHz FSK Rate 50 00 Hz PWM Deviation 5 0 Sweep Sweep Start Frequency 100 000 kHz Sweep Stop Frequency 1 000 000 MHz Sweep Time 10 ms Sweep Hold Time 0 ms Sweep Return Time 1ms Sweep Type Linear Sweep Mode Repeat Sweep Source Internal Trigger Slope Positive Trigger Interval 1 000 ms AFG3000 Series Arbitrary Function Generators Reference Manual D 1 Appendix D Default Setup Table D 1 Default settings cont Menu or System Default setting Burst Burst Mode Triggered Burst Count 5 Trigger Source Internal Trigger Delay 0 0 ns Trigger Interval 1 000 ms System related settings Trigger Out Trigger Clock Reference Internal The front panel Default bu
176. trument to recall the last setup memory when powered on AFG3000 Series Arbitrary Function Generators Reference Manual 3 25 Syntax and Commands MMEMory CATalog 3 26 Group Related Commands Syntax Arguments Returns Examples This query only command returns the current state of the mass storage system USB memory Mass Memory MMEMor y CDIRectory MMEMory CATalog None lt NR1 gt lt NR1 gt lt file_name gt lt file type gt lt file size gt where The first lt NR1 gt indicates that the total amount of storage currently used in bytes The second lt NR1 gt indicates that the free space of mass storage in bytes lt file_name gt is the exact name of a file lt file_type gt is DIR for directory otherwise it is blank lt file_size gt is the size of the file in bytes MMEMory CATalog might return the following response 32751616 27970560 SAMPLE1 TFS 5412 AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands MMEMory CDIRectory This command changes the current working directory in the mass storage system Group Mass Memory Syntax MMEMory CDIRectory lt directory_name gt MMEMor y CDIRectory Arguments lt directory_name gt lt string gt indicates that the current working directory for the mass storage system If you do not specify a parameter the directory is set to the RST value At RST this parameter is set to the root R
177. ts an error or an event occurs the event number and event message will be returned SYSTem KCLick STATe Group Syntax Arguments Returns Examples This command enables or disables the click sound when you push the front panel buttons or turn the general purpose knob The query command returns 0 OFF or 1 ON System SYSTem KCLick STATe ON OFF lt NR1 gt SYSTem KCLick STATe ON or lt NR1 gt 0 enables click sound OFF or lt NR1 gt 0 disables click sound lt NR1 gt SYSTem KCLick STATe ON enables the click sound AFG3000 Series Arbitrary Function Generators Reference Manual 3 95 Syntax and Commands SYSTem KLOCK STATe Group Syntax Arguments Returns Examples This command locks or unlocks the instrument front panel controls The query command returns 0 OFF or 1 ON System SYSTem KLOCk STATe ON OFF lt NR1 gt SYSTem KLOCk STATe ON or lt NR1 gt lt 0 locks front panel controls OFF or lt NR1 gt 0 unlocks front panel controls lt NR1 gt SYSTem KLOCk STATe ON locks front panel controls SYSTem SECurity IMMediate No Query Form Group Syntax Arguments Examples 3 96 This command erases all the current instrument setups setup memory last setup memory user waveform memory and log content and recalls the factory default settings Calibration data is not erased The communication settings are initialized to the factory default
178. ttenuator 2409 Self test failed CH1 x 20 dB 2 attenuator 2410 Self test failed CH2 x 20 dB 2 attenuator 2411 Self test failed CH1 Filter 2412 Self test failed CH2 Filter 2501 Self test failed CH1 Sine Flatness 2502 Self test failed CH2 Sine Flatness 9112 Waveform error invalid waveform length 9113 Waveform error waveform length is too short 4 18 AFG3000 Series Arbitrary Function Generators Reference Manual Programming Examples Programming Examples The following two example programs which demonstrate methods that you can use to control the arbitrary function generator through the General Purpose Inter face Bus GPIB are included on the AFG3000 Series Arbitrary Function Gener ators Product CD E Example 1 Set up a Waveform Output E Example 2 Waveform Transfer and Copy The example programs are written in Microsoft Visual Basic Version 6 0 The programs run on Windows PC compatible systems equipped with Tek VISA and a National Instruments GPIB board with the associated drivers TekVISA is the Tektronix implementation of the VISA Application Programming Interface API TekVISA is industry compliant software for writing interoperable instrument drivers in a variety of Application Development Environments ADEs The example programs assume that the GPIB system recognizes the PC external controller as GPIBO and the address number of the instrument as 11 If you use an interface other than GPIB change the resouce
179. tton does not reset the following settings Language option Power on settings Display contrast Screen saver Click tone Beeper Saved setup files Saved waveform files Calibration data GPIB setup Ethernet setup AFG3000 Series Arbitrary Function Generators Reference Manual Index Index Symbols button 1 6 A ABORt 3 15 Accessories A 1 Action buttons 1 3 Add external signal Output menu 2 12 ADD INPUT connector rear panel 1 19 Add Noise Output menu 2 12 Address Tektronix xii AFGControl CSCopy 3 16 Align Phase 2 3 Amplitude High button shortcut button 1 9 Arb button 1 8 Arb menu 2 5 ArbExpress 2 14 B Backup Restore 2 27 Beeper Utility menu 2 24 Bezel buttons 1 13 2 1 Bezel menu 1 11 Bezel menu display area screen interface 1 13 BKSP button 1 6 Burst Parameter Menu 2 11 C CAL 3 16 Calibration 2 26 CALibration ALL 3 17 Cancel button 1 6 To unlock front panel controls 1 10 CH 1 CA2 Output On button 1 7 Changing waveform parameters Using the bezel menu 1 14 Using the shortcut buttons 1 17 Channel Copy Utility menu 2 25 Channel Select button 1 7 Chassis ground screw rear panel 1 20 Cleaning B 1 Click Tone Utility menu 2 24 Clock Ref Utility menu 2 24 CLS 3 17 Command Abbreviating 3 6 Chaining 3 7 Message elements 3 2 Parameter types 3 5 Query response 3 3 Special characters 3 6 Units 3 7 Command entry 3 4 Command errors 4 11 Command groups 3 9 Command
180. uids or solvents Cleaning Inspect the arbitrary function generator as often as operating conditions require To clean the exterior surface perform the following steps 1 Remove loose dust on the outside of the instrument with a lint free cloth Use care to avoid scratching the clear plastic display filter 2 Use a soft cloth dampened with water to clean the instrument Use an aqueous solution of 75 isopropyl alcohol for more efficient cleaning CAUTION To avoid damage to the surface of the instrument do not use any abrasive or chemical cleaning agents AFG3000 Series Arbitrary Function Generators Reference Manual B 1 Appendix B General Care and Cleaning B 2 AFG3000 Series Arbitrary Function Generators Reference Manual Appendix C SCPI Conformance Information All commands in the arbitrary function generator are based on SCPI Version 1999 0 Table C 1 lists the SCPI commands the arbitrary function generator supports Table C 1 SCPI conformance information Command Defined in Not defined in SCPI 1999 0 SCPI 1999 0 ABORt y CALibration ALL y DIAGnostic ALL y DISPlay CONTrast y SAVer STATe y WINDow TEXT DATA y CLEar y AFGControl CSCopy y MEMory STATe VALid y DELete y LOCK y RECall AUTo y MMEMory CATalog y CDIRectory y DELete y LOAD STATe y TRACe y LOCK STATe y MDIRectory y STORe STATe y
181. ur in the instru ment If more than 64 events are stored the 64th event is replaced with event code 350 Queue Overflow The oldest error code and text are retrieved by using one of the following queries SYSTem ERRor NEXT First issue the ESR query to read the contents of the SESR The contents of the SESR are cleared after they are read If an SESR bit is set events are stacked in the Error Event Queue Retrieve the event code with the following command sequence ESR SYSTem ERRor NEXT If you omit the ESR query the SESR bit will remain set even if the event disap pears from the Error Event Queue AFG3000 Series Arbitrary Function Generators Reference Manual Status and Events Messages and Codes Command Errors AFG3000 Series Arbitrary Function Generators Reference Manual Error and event codes with negative values are SCPI standard codes Error and event codes with positive values are unique to the AFG3000 Series Arbitrary Func tion Generators Table 4 5 lists event code definitions When an error occurs you can find its error class by checking for the code range in Table 4 6 through Table 4 14 Events in these tables are organized by event class Table 4 5 Definition of event codes Event class Code range Description No error 0 No event or status Command errors 100 to 199 Command syntax errors Execution errors 200 to 299 Command execution errors Device
182. urrent STATe 0 0 0 00 0000 cece ee 3 81 SOURce 1 2 VOLTage LEVel IMMediate HIGH 0 3 82 SOURce 1 21 VOLTage LEVel IMMediate LOW 00 000s 3 83 SOURce 1 2 VOLTage LEVel IMMediate OFFSet 00 3 84 SOURce 1 21 VOLTage LEVel MMediate AMPLitude 3 85 SOURce 1 2 VOLTage LIMit HIGH 0 0 0 0 cece eee eee eee 3 86 SOURce 1 2 VOLTage LIMit LOW o on nnna nunnurnar rarere 3 87 SOURce 1 2 VOLTage UNIT ooooooooooooooo rarena rrr 3 88 FSRE a ted aac Molen Gre eae a E ETE Ly LE E EA Mi aed nl ane AAA T 3 89 STATus OPERation CONDition 0000s 3 90 STATus OPERation ENABle 0 0 0 0 0c cet e ee n eee 3 90 STATus OPERation EVENt 2 0 0 0000 e eee 3 91 STATus PRESet No Query Form 0 cece cee ene eee 3 91 STATus QUEStionable CONDition 2 0 0 0 0 3 92 STATus QUEStionable ENABle 0 0 0 0000 ccc eee nee 3 92 STATus QUEStionable EVENt 0 00 0 0 ccc ete eee 3 93 BS i e ect ike ee AE as Das Lee ara alate Oe A GON A aN ee Saisie cl 3 93 SYSTem BEEPer MMediate No Query Form 0 0 0 e ee eee ee 3 94 SYSTem BEEPer STATe 0 ccc eee e a ee eeeeee 3 94 SY STem ERRor NEXT tiva si pach Sue ae ela Rud Os ace sla E 3 95 SYSTem KELick S TAT eC s4 4 ue ace Ce ae ee oe A Re OE ae 3 95 SYSTem KEOCKESTATE iii a Bat wate 3 96 SYSTem SECurity MMediate No Query Form
183. usoid SQUare PULSe RAMP NOISe If the second parameter in the argument is specified by lt trace_name gt the speci fied waveform data will be copied to the edit memory The number of points for the specified waveform data is equal to the number of points for one period of current waveform data in the edit memory If the lt points gt and lt trace_name gt parameters in the argument are omitted the edit memory will be initialized to the default number of points 1000 and value 8191 DATA DEFine EMEMory 1000 sets the length of the edit memory to 1000 points and resets the data points to the default value AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands TRACe DATA DELete NAME No Query Form Group Syntax Arguments Examples This command deletes the contents of specified user waveform memory Trace TRACe DATA DELete lt trace_name gt lt trace_name gt USER 1 USER2 USER3 USER4 This command is invalid when lt trace_name gt is being output or lt trace_name gt is locked DATA DELete NAME USER1 deletes the contents of USER1 waveform memory TRACe DATA LOCK STATe Group Syntax Arguments Returns Examples This command sets or queries whether to lock or unlock the user waveform memory Trace TRACe DATA LOCK STATe USER 1 USER2 USER3 USER4 ON OFF lt NR1 gt TRACe DATA LOCK STATe USER 1 USER2 USER3 USER4 ON or
184. white type This is the currently unselected state AFG3000 Series Arbitrary Function Generators Reference Manual 1 13 Operating Basics Waveform Parameters and Numeric Input This section explains how to set or change the waveform parameters of the arbitrary function generator using the front panel controls or bezel menu selection Changing Parameters The arbitrary function generator outputs a sine waveform of 1 MHz frequency with Using the Bezel Menu 1 V _ by default You can use the following two methods to set or change the waveform parameters E Using the bezel menu selection E Using the front panel shortcut buttons see page 1 17 Figure 1 11 shows the default display of sine waveform Tek CH1 Freq Phase 0 0 Ampl Offset Omv Figure 1 11 Default display Select the Frequency Period Phase Menu bezel button from the default display you can change the values of frequency period or phase Freq Phase Ampl Offset Om Figure 1 12 Frequency Period Phase Menu 1 14 AFG3000 Series Arbitrary Function Generators Reference Manual Operating Basics Numeric Input If you want to change the frequency value push the Frequency bezel button The value of Freq in main display area changes to selected status The Freq is displayed in black type inside a white box See Figure 1 13 is selected O00 000 000 OO me Frequency aa Phase O Ampl Period Offset Om N Frequency Freq is selected
185. xecuted properly because the conditions for execution is differed from those required DDE Device Error An instrument error has been detected QYE Query Error Indicates that a query error has been detected by the output queue controller Query errors occur for one of the following reasons W An attempt was made to retrieve messages from the output queue when the output queue is empty or in pending status E The output queue message was cleared while it was being retrieved from the output queue RQC Request Control The arbitrary function generator does not use this bit OPC Operation Complete Indicates that the operation is complete This bit is set when all pending operations complete following the OPC command AFG3000 Series Arbitrary Function Generators Reference Manual Status and Events Operation Event Register OEVR This register has the same content as the Opera tion Condition Register Operation Condition Register OCR The Operation Condition Register is made up of six bits which note the occurrence of three different types of events as shown in Figure 4 4 15 14 13 12 11 10 8 5 0 WTRIG WTRIG SWE CAL CH2 CH1 Figure 4 4 Operation Condition Register OCR Table 4 3 OCR bit functions Bit Function 15t09 Not used 8 WTRIG Waiting for Trigger Indicates whethe
186. y for the files you are saving The arbitrary function generator does not have the internal timer If you create a file using the Edit menu of the instrument the date and time information is dis played like TEKAFG001 TFW JAN 01 00 00 1980 If a file is created by other tools such as ArbExpress software the date and time information is displayed on the arbitrary function generator screen AFG3000 Series Arbitrary Function Generators Reference Manual Syntax and Commands Syntax and Commands This section provides the following information Command Syntax defines the command syntax and processing conventions Command Groups describes command groups which lists the commands by function E Command Descriptions describes the notation of each of the commands in alphabetical order Command Syntax You can control the operations and functions of the arbitrary function generator through the GPIB interface using commands and queries The related topics listed below describe the syntax of these commands and queries The topics also describe the conventions that the instrument uses to process them See the Command Groups on page 3 9 for a listing of the commands by command group or use the index to locate a specific command Backus Naur Form Notation This manual describes the commands and queries using Backus Naur Form BNF notation Refer to Table 3 1 for the symbols that are used Table 3 1 BNF notation Symbol Mean
187. y internal noise or external signal SOURce 1 2 FM INTernal FREQuency Set query internal modulation frequency SOURce 1 2 FM INTernal FUNCtion Set query internal modulation waveform SOURce 1 2 FM INTernal FUNCtion EFILe Set query EFlLe setting SOURcef 1 2 FM SOURce Set query frequency modulation source SOURce 1 2 FM STATe Set query frequency modulation status SOURce 1 2 FM DEViation Set query frequency deviation SOURce 1 2 FREQuency CENTer Set query center frequency SOURce 1 2 FREQuency CONCur rent STATe Set query concurrent change of frequency SOURce 1 2 FREQuency MODE SOURce 1 2 FREQuency SPAN Set query sweep status Set query sweep frequency span SOURce 1 2 FREQuency STARt Set query sweep start frequency SOURce 1 2 FREQuency STOP Set query sweep stop frequency SOURce 1 2 FREQuency CW FIXed Set query output waveform frequency SOURce 1 2 FSKey INTernal RATE SOURCce 1 2 FSKey SOURce Set query FSK internal modulation rate Set query FSK source SOURce 1 2 FSKey STATe SOURce 1 2 FSKey FREQuency Set query FSK status Set query FSK hop frequency SOURce 1 2 FUNCtion RAMP SYMMetry Set query ramp waveform symmetry SOURce 1 2 FUNCtion SHAPe Set query output waveform SOURce 1 2 FUNCtion EFILe Set query EFlLe name SOURce 1 2 PHASe INITiate S

Download Pdf Manuals

image

Related Search

Related Contents

ZTE CDMA 1X Card User Guide  HC2300SPN/HC2400SP  Topic 2 - Features of the SDP  MANUAL DE INSTRUCCIONES ESTIMADO CLIENTE  ATENÇÃO :    EX752M Instruction Manual - Iss 6  

Copyright © All rights reserved.
Failed to retrieve file