Reference Manual AFG3000 Series Arbitrary/Function Generators 071-1639-00 This document supports firmware version 1.0.0 and above. www.tektronix.
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.
Table of Contents General Safety Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Contacting Tektronix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents MMEMory:LOAD:TRACe (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MMEMory:LOCK[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MMEMory:MDIRectory (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MMEMory:STORe:STATe (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MMEMory:STORe:TRACe (No Query Form). . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents [SOURce[1|2]]:PM:INTernal:FUNCtion:EFILe . . . . . . . . . . . . . . . . . . . . . . . . . . . . [SOURce[1|2]]:PM:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [SOURce[1|2]]:PM:STATe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SOURce<3|4>:POWer[:LEVel][:IMMediate][:AMPLitude]. . . . . . . . . . . . . . . . . . . [SOURce[1|2]]:PULSe:DCYCle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents TRACe|DATA[:DATA]:LINE (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . . . TRACe|DATA[:DATA]:VALue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TRACe|DATA:DEFine (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TRACe|DATA:DELete[:NAME] (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . TRACe|DATA:LOCK[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
List of Figures List of Figures Figure 1-1: Dual-channel model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 1-2: Front panel controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 1-3: Waveform parameter and graph display . . . . . . . . . . . . . . . . . . . . . . Figure 1-4: Graph comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
List of Figures vi Figure 4-5: Questionable Condition Register (QCR) . . . . . . . . . . . . . . . . . . . . . . . Figure 4-6: Event Status Enable Register (ESER) . . . . . . . . . . . . . . . . . . . . . . . . . Figure 4-7: Service Request Enable Register (SRER) . . . . . . . . . . . . . . . . . . . . . . Figure 4-8: Operation Enable Register (OENR) . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 4-9: Questionable Enable Register (QENR) . . . . . . . . . . . . . . . . . . . . . . .
List of Tables List of Tables Table 2-1: Sine/Square Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 2-2: Ramp Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 2-3: Pulse Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 2-4: Arb Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 2-5: More Menu .
List of Tables Table A-1: Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A-2: Standard accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A-3: Optional accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table C-1: SCPI conformance information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table D-1: Default settings . . . . . . . . . . . . . . .
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 Personal Injury Use Proper Power Cord. Use only the power cord specified for this product and certified for the country of use. Ground the Product.
General Safety Summary Symbols and Terms Terms in this Manual. These terms may appear in this 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.
Preface This manual provides operating information for the AFG3000 Series Arbitrary/Function Generators. The manual consists of the following sections: Operating Basics covers operating principles of the instrument. The operating procedures help you understand how your generator operates. Reference provides in-depth descriptions of the instrument menu structures and menu button functions. Syntax and Commands defines the command syntax and processing conventions, describes command notation.
Preface 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. Contacting Tektronix Phone 1-800-833-9200* Address Web site Tektronix, Inc. Department or name (if known) 14200 SW Karl Braun Drive P.O. Box 500 Beaverton, OR 97077 USA www.tektronix.
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. AFG 3102 DUAL CHANNEL ARBITRARY/FUNCTION GENERATOR 1GS/s 100MHz Function Sine Run Mode Continuous Modulation Sweep Square Frequency/Period Amplitude/High Ramp Phase Delay Offset/Low Pulse Burst Duty/Width Leading/Trailing Arb Edit Utility More...
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.
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 button returns the currently displayed bezel menu to the upper level of the menu tree. Top Menu button.
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. Figure 1-3: Waveform parameter and graph display View Format 2. Figure 1-4 is a graph compare view.
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. Figure 1-5: Waveform parameter comparison (CH1 selected) In Figure 1-6, Channel 2 is selected with the Channel Select button. 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.
Operating Basics 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. Cancel button. The Cancel button is active when you are setting a value.
Operating Basics State Buttons The Channel Select, CH1/CH2 Output and Run Mode buttons are called State buttons. Channel Select button. The Channel Select Ch1 Ch2 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.
Operating Basics 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. Continuous Mode is selected (active). These are inactive bezel menus. Figure 1-7: Run Mode menu (Continuous) Function Buttons Only one of the Function buttons can be selected for each channel at a time.
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).
Operating Basics BNC Connectors Refer to Figure 1-2 on page 1-2 for the locations of the front panel BNC connectors. 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.
Operating Basics Display Area and Screen Interface Figure 1-8 shows the main areas of the instrument display. Message display area Numeric input is available Knob is available Main display area Output status Bezel menu Level meter View tab Figure 1-8: Screen interface Main Display Area Pushing the front-panel View button changes the view format of the main display area. See page 1-3 for screen view formats. View Tab. The view tabs correspond with the current view format. Output Status.
Operating Basics 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. 1 2 3 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.
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.
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 Using the Bezel Menu The arbitrary/function generator outputs a sine waveform of 1 MHz frequency with 1 Vp-p by default.
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. Frequency is selected (active). Freq is selected. The cursor is now under “1”. Figure 1-13: Screen display with Frequency active (1) To move the cursor, use the arrow keys. Frequency is selected (active). The cursor is moved.
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. The bezel menu is changed to “Units”. 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.
Operating Basics Changing Parameters Using the Shortcut Buttons The shortcut buttons are provided for experienced users. The buttons allow you to select a setup parameter without using any bezel menu selection. The following 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.
Operating Basics 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. Period is active. 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.
Operating Basics Rear Panel Figure 1-21 shows the locations of the instrument rear panel connectors. Security slot ADD INPUT 120 VA LAN 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.
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 arbitrary/function generator to your location. Chassis Ground Screw.
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/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.
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 Continuous (No bezel menu for Continuous mode) Modulation Parameter Menu, page 2-7 Sweep Parameter Menu, page 2-9 Burst Parameter Menu, page 2-11 Output Menu, page 2-12 NOTE.
Reference Sine/Square Menu Table 2-1 shows the Sine and Square menu. Table 2-1: Sine/Square Menu First Level Frequency/Period/ Phase Menu Second Level Frequency Third Level Description Selects Frequency as a parameter to be changed. Selects Period as a parameter to be changed. Toggles between Off and On to disable/enable the function that sets the CH1 and CH2 to the same value. Selects Phase as a parameter to be changed. Use to align the phase of two channel signals.
Reference Ramp Menu Table 2-2 shows the Ramp menu. Table 2-2: Ramp Menu First Level Ramp Parameter Menu Second Level Symmetry Set to 0% Set to 50% Set to 100% Frequency/Period/ Phase Menu Amplitude/Level Menu Run Mode Menu Continuous Modulation Sweep Burst Output Menu Pulse Menu Description Sets the Ramp waveform symmetry to your desired value. Sets the Ramp waveform symmetry to 0%. Sets the Ramp waveform symmetry to 50%. Sets the Ramp waveform symmetry to 100%.
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 shows the Arb menu. Table 2-4: Arb Menu First Level Arb Waveform Menu Second Level Memory Internal USB (blank) Change Directory OK Cancel Frequency/Period/ Phase Menu Amplitude/Level Menu Run Mode Menu Continuous Modulation Sweep Burst Output Menu Description Selects a memory type. (Internal or USB) Refer to page 2-28 for file operations.
Reference More... Menu Table 2-5 shows the More... menu.
Reference Modulation Parameter Menu Table 2-6 shows the Modulation Parameter Menu. Table 2-6: Modulation Parameter Menu First Level Modulation Type [AM] [AM] Source Internal External AM, FM, PM, PWM Frequency, or FSK Rate Modulation Shape1 Second Level AM FM PM FSK PWM Description Selects modulation type. Selects modulation source (internal or external) for AM, FM, PM, FSK, or PWM. Sets modulation frequency or FSK rate.
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 modulating waveform. Frequency Shift Keying. Frequency shift keying modulation is a modulation technique that shifts the output signal frequency between two frequencies: the carrier frequency and the FSK Hop frequency. Pulse Width Modulation.
Reference Sweep Parameter Menu Table 2-7 shows the Sweep Parameter Menu. Table 2-7: Sweep Parameter Menu First Level Start Frequency Stop Frequency Sweep Time Return Time -more- (1 of 3) Center Frequency Span Hold Time Type Linear Logarithm -more- (2 of 3) Mode Repeat Trigger Source Internal External Slope Positive Negative Trigger Interval Description Numeric input. Sets start frequency. Numeric input. Sets stop frequency. Numeric input. Sets sweep time. Numeric input. Sets return time. Numeric input.
Reference When sweep is taking place, the frequency sweeps from start frequency to stop frequency. Refer to Figure 2-2. Frequency Stop freq. Frequency span Center frequency Start freq. Time Sweep time Hold time Return time Figure 2-2: Frequency sweep The instrument sweeps from a low frequency to a high frequency when start frequency is set to be lower than stop frequency (start frequency < stop frequency).
Reference Burst Parameter Menu Table 2-8 shows the Burst Parameter Menu. Table 2-8: Burst Parameter Menu First Level 1-Cycle N-Cycle Inf-Cycle Gate -more- (1/2) Delay Source Internal External Slope Positive Negative Trigger Interval Description Sets burst count to 1. Sets burst count to N. (N=1 to 1,000,000) Sets burst count to Infinite. Selects gated burst mode. Sets trigger delay between the receipt of the trigger and the start of the burst waveform. The range is 0 to 500 s.
Reference 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 Load Impedance Second Level 50 Ω Load1 High Z Invert Off On Limit Noise High Limit Low Limit Noise Add Off On Noise Level2 External Add3 Off On 1. Range: 1 Ω to 10 kΩ. Description Option buttons. Set the load impedance to 50 Ω. Option buttons & Numeric input.
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.
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.
Reference Table 2-11: Edit Menu (cont.) First Level Paste at Beginning Second Level Memory Internal USB Paste (blank) Change Directory Paste at End Cancel Memory Internal USB Paste (blank) Change Directory Description Selects a memory type (Internal or USB). Pastes a waveform at the beginning of the current waveform. Opens a directory. This menu item is available when USB is selected. Selects a memory type (Internal or USB). Pastes a waveform at the end of the current waveform. Opens a directory.
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 following range: 2 to 65,536 (AFG3021 and AFG3022) 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.
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 overwrite the old data.
Reference 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. 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.
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 Figure 2-5: Line Edit example Data (Edit by Data Point). The Data edits a specified point in the waveform currently being edited.
Reference Cut (Cut by Data Points). The Cut deletes an area between specified points in the waveform. When Cut is selected, two values can be input (From X1 and To X2). See Figure 2-7. Before executing Cut After executing Cut 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... > Memory bezel menu to load a waveform file from the internal memory or a USB memory into Edit Memory.
Reference Paste at Beginning. The Paste at Beginning inserts the contents of the user waveform 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 automatically modified.
Reference Paste at End. The Paste at End appends the contents of the user waveform memory (User1, User2, User3, or User4), USB memory, or the current contents of edit memory at the end of the waveform currently being edited. When this operation 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.
Reference Utility Menu The Utility menu provides access to utilities used by the arbitrary/function generator such as language selection, instrument diagnostics, and user preferences.
Reference Table 2-13: Utility Menu (cont.) First Level System Second Level Trigger Out Trigger Sync Clock Ref Internal External Power On Default Last Secure -more- (1 of 2) Contrast Third Level Description Select Trigger to generate the trigger signal for the oscilloscope. Select Sync to synchronize multiple AFG3000 series instruments. Select Internal to accept the internal reference clock. Select External to accept an external reference clock.
Reference Table 2-13: Utility Menu (cont.) First Level Diagnostics/ Calibration Backup/ Restore4 Channel Copy Second Level Execute Diagnostics Execute Calibration Type Setup Arb Backup Internal -> USB Memory Restore Internal CH2 CH2 -> CH1 (blank) -more- (2 of 3) Firmware Update4 Execute (blank) (blank) Change Directory Cancel Third Level Description Performs the instrument diagnostics. Performs the instrument self calibration.
Reference 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: 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.
Reference Backup/Restore. The Backup function is provided for copying the current arbitrary/function generator information (instrument setups or user-defined waveforms) to a USB memory with a single button push. Pushing the Backup Internal -> USB Memory button will copy the internal memory contents to a USB memory. The Restore function is provided for copying the contents of USB memory to the internal memory. Firmware Update.
Reference File Operations 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 in the internal memory or a USB memory. Browsing Waveform Files 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.
Reference Browsing Waveform Files using Edit Menu. You can also browse through waveforms using the Edit Menu. Select a file you want to edit and then push the Read bezel button. The specified waveform is loaded 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.
Reference 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 Figure 2-11: Write As - Character entry box English alphabet characters are displayed below the file name box. A selected character is highlighted. You can move the highlighted selection using the general purpose knob. To enter the desired character, push the Enter Character bezel button or the front-panel Enter button.
Reference Browsing Instrument Setup Files To browse instrument setup files in the internal memory or in a USB memory, push 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. Figure 2-12: Recall menu (Internal) Select a desired setup file, and then push Recall. The selected setup file is recalled.
Reference Entering a File Name. When you select Save As, the file name box is displayed as shown in Figure 2-13. File name box Figure 2-13: Save As - Character entry box English alphabet characters are displayed below the file name box. A selected character is highlighted. You can move the highlighted selection using the general purpose 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.
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. 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.
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.
Syntax and Commands Figure 3-1 shows the five command message elements. Comma Header MMEMory:STATe:LOCK 1, ON Arguments Mnemonics 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: [:][[]...] A command header is made up of one or more mnemonics arranged in a hierarchical or tree structure.
Syntax and Commands Command Entry Follow these general rules when entering commands: Enter commands in upper or lower case. You can precede any command with white space characters. White space characters include any combination of the ASCII control characters 00 through 09 and 0B through 20 hexadecimal (0 through 9 and 11 through 32 decimal). The instrument ignores commands that consists of just a combination of white space characters and line feeds.
Syntax and Commands Creating Commands SCPI commands are created by stringing together the nodes of a subsystem hierarchy 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.
Syntax and Commands Special Characters 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. Abbreviating Commands, Queries, and Parameters You can abbreviate most SCPI commands, queries, and parameters to an accepted short form.
Syntax and Commands Chaining Commands and Queries You can chain several commands or queries together into a single message. To 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.
Syntax and Commands General Rules for Using SCPI commands The following are three general rules for using SCPI commands, queries, and parameters: 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.
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 diagnostic tests. Table 3-5 lists Calibration and Diagnostic commands.
Syntax and Commands Mass Memory Commands. Mass Memory commands let you change mass memory attributes. Table 3-8 lists and describes Mass Memory commands.
Syntax and Commands Table 3-10: Source commands (cont.
Syntax and Commands Table 3-10: Source commands (cont.
Syntax and Commands Table 3-11: Status commands (cont.) Header STATus:QUEStionable[:EVENt]? STATus:QUEStionable:CONDition? STATus:QUEStionable:ENABle Description Return questionable event register Return questionable condition register Set/query questionable enable register System Commands. System commands let you control miscellaneous instrument functions. Table 3-12 lists and describes System commands.
Syntax and Commands Trace Commands. Trace commands let you set the edit memory and user waveform memory. Table 3-14 lists and describes Trace commands.
Syntax and Commands Command Descriptions Commands either set or query instrument values. Some commands both set and query, some only set, and some only query.
Syntax and Commands AFGControl:CSCopy (No Query Form) 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. Group AFG Control Syntax AFGControl:CSCopy {CH1|CH2},{CH1|CH2} Arguments Examples CH1|CH2 AFGControl:CSCopy CH1,CH2 copies the CH1 setup parameters into CH2. *CAL? This command performs an internal calibration and returns 0 (Pass) or a calibration error code. NOTE.
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.
Syntax and Commands DIAGnostic[:ALL] The DIAGnostic[:ALL] command performs a self-test. The DIAGnostic[:ALL]? command returns the results after executing 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.
Syntax and Commands DISPlay:CONTrast This command sets or queries the contrast of the LCD display. Group Display Syntax DISPlay:CONTrast {|MINimum|MAXimum} DISPlay:CONTrast? [MINimum|MAXimum] Arguments ::= where 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 0 contrast level. MAXimum sets the display to the largest contrast level.
Syntax and Commands DISPlay[:WINDow]:TEXT[:DATA] 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.
Syntax and 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 Related Commands Syntax Status *CLS, *ESR?, *PSC, *SRE, *STB *ESE *ESE? Arguments Returns Examples ::= where: is a value in the range of 0 through 255. The binary bits of the ESER are set according to this value.
Syntax and Commands *ESR? 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). Group Related Commands Syntax Arguments Returns Examples Status *CLS, *ESE?, *SRE, *STB *ESR? None indicates that the contents of the SESR as a decimal integer.
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 Returns 0, 1, 2, 3, or 4 specifies the location of setup memory. 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.
Syntax and Commands MEMory:STATe:LOCK 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). Group Memory Syntax MEMory:STATe:LOCK {1|2|3|4},{ON|OFF|} MEMory:STATe:LOCK?{1|2|3|4} Arguments ON or ≠0 locks the specified location of setup memory.
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/function 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 instrument.
Syntax and Commands MMEMory:CATalog? This query-only command returns the current state of the mass storage system (USB memory). Group Related Commands Syntax Arguments Returns Mass Memory MMEMory:CDIRectory MMEMory:CATalog? None ,[,,,]... where: The first indicates that the total amount of storage currently used, in bytes. The second indicates that the free space of mass storage, in bytes. is the exact name of a file.
Syntax and Commands MMEMory:CDIRectory This command changes the current working directory in the mass storage system. Group Mass Memory Syntax MMEMory:CDIRectory [] MMEMory:CDIRectory? Arguments ::= 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.
Syntax and Commands MMEMory:LOAD:STATe (No Query Form) 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).
Syntax and Commands MMEMory:LOCK[:STATe] 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. Group Mass Memory Syntax MMEMory:LOCK[:STATe],{ON|OFF|} MMEMory:LOCK[:STATe]? Arguments ON or ≠0 locks a file or directory in the mass storage system. OFF or =0 allows you to overwrite or delete a file or directory in the mass storage system.
Syntax and Commands MMEMory:STORe:STATe (No Query Form) 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. is a quoted string that defines the file name and path.
Syntax and Commands *OPC 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. Group Synchronization Syntax *OPC *OPC? Arguments Returns Examples None ::=1 where “1” indicates that all pending operations are complete.
Syntax and Commands OUTPut[1|2]:IMPedance 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 Ω to 10 kΩ. The default value is 50 Ω . 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.9E+37”.
Syntax and Commands OUTPut[1|2]:POLarity This command inverts a specified output waveform relative to the offset level. The query command returns the polarity for the specified channel. Group Output Syntax OUTPut[1|2]:POLarity{NORMal|INVerted} OUTPut[1|2]:POLarity? Arguments NORMal sets the specified output waveform polarity to Normal. INVerted sets the specified output waveform polarity to Inverted. Returns Examples NORM|INV OUTPut1:POLarity NORMal sets the CH 1 waveform polarity to Normal.
Syntax and Commands OUTPut:TRIGger:MODE 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-Cycles starts.
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.
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.
Syntax and Commands [SOURce[1|2]]:AM[:DEPTh] This command sets or queries the modulation depth of AM modulation for the specified channel. Group Source Syntax [SOURce[1|2]]:AM:DEPTh{|MINimum|MAXimum} [SOURce[1|2]]:AM:DEPTh?[MINimum|MAXimum] Arguments ::=[] where is the depth of modulating frequency. ::=PCT MINimum sets the modulation depth to minimum value. MAXimum sets the modulation depth to maximum value.
Syntax and Commands [SOURce[1|2]]:AM:INTernal:FREQuency This command sets or queries the internal modulation frequency of AM modulation 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.
Syntax and Commands [SOURce[1|2]]:AM:INTernal:FUNCtion 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.
Syntax and Commands [SOURce[1|2]]:AM:INTernal:FUNCtion:EFILe This command sets or queries 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. Group Source Syntax [SOURce[1|2]]:AM:INTernal:FUNCtion:EFILe [SOURce[1|2]]:AM:INTernal:FUNCtion:EFILe? Arguments Returns Examples ::= specifies a file name in the mass storage system.
Syntax and Commands [SOURce[1|2]]:AM:STATe This command enables or disables AM modulation for the specified channel. The query command returns the state of AM modulation. Group Source Syntax [SOURce[1|2]]:AM:STATe {ON|OFF|} [SOURce[1|2]]:AM:STATe? Arguments ON or ≠0 enables AM modulation. OFF or =0 disables AM modulation. Returns Examples SOURce1:AM:STATe ON enables the CH 1 AM modulation.
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 {|INFinity|MINimum|MAXimum} [SOURce[1|2]]:BURSt:NCYCles? {MINimum|MAXimum} Arguments ::= where is the burst count. The burst count ranges from 1 to 1,000,000.
Syntax and Commands [SOURce[1|2]]:BURSt[:STATe] This command enables or disables the burst mode for the specified channel. The query command returns the state of burst mode. Group Source Syntax [SOURce[1|2]]:BURSt:STATe {ON|OFF|} [SOURce[1|2]]:BURSt:STATe? Arguments ON or ≠0 enables the burst mode. OFF or =0 disables the burst mode. Returns Examples SOURce1:BURSt:STATe ON enables the burst mode for the CH 1.
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 {|MINimum|MAXimum} [SOURce[1|2]]:BURSt:TDELay?{MINimum|MAXimum} Arguments ::=[] where ::=[s | ms | µs | ns] MINimum sets the delay time to minimum value.
Syntax and Commands [SOURce[1|2]]:COMBine:FEED This command sets or queries whether to add the internal 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<3|4>:POWer[:LEVel][:IMMediate][:AMPLitude] command. To disable the internal noise add or the external signal add function, specify “”.
Syntax and Commands [SOURce[1|2]]:FM[:DEViation] 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. Group Source Syntax [SOURce[1|2]]:FM:DEViation {|MINimum|MAXimum} [SOURce[1|2]]:FM:DEViation?{MINimum|MAXimum} Arguments Returns Examples ::=[] where is the frequency deviation.
Syntax and Commands [SOURce[1|2]]:FM:INTernal:FUNCtion 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.
Syntax and Commands [SOURce[1|2]]:FM:INTernal:FUNCtion:EFILe 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. Group Source Syntax [SOURce[1|2]]:FM:INTernal:FUNCtion:EFILe [SOURce[1|2]]:FM:INTernal:FUNCtion:EFILe? Arguments Returns Examples ::= specifies a file name in the mass storage system.
Syntax and Commands [SOURce[1|2]]:FM:STATe This command enables or disables FM modulation. The query command returns the state of FM modulation. Group Source Syntax [SOURce[1|2]]:FM:STATe {ON|OFF|} [SOURce[1|2]]:FM:STATe? Arguments ON or ≠0 enables FM modulation. OFF or =0 disables FM modulation. Returns Examples SOURce1:FM:STATe ON enables the CH 1 FM modulation.
Syntax and Commands [SOURce[1|2]]:FREQuency:CONCurrent[:STATe] 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).
Syntax and Commands [SOURce[1|2]]:FREQuency[:CW|:FIXed] 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, it might change the output frequency because changing waveform types impacts on the setting range of output frequency.
Syntax and Commands [SOURce[1|2]]:FREQuency:MODE 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.
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.
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.
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 setting range of stop frequency depends on the waveform selected for sweep.
Syntax and Commands [SOURce[1|2]]:FSKey[:FREQuency] This command sets or queries the hop frequency of FSK modulation for the specified channel. Group Source Syntax [SOURce[1|2]]:FSKey[:FREQuency] {|MINimum|MAXimum} [SOURce[1|2]]:FSKey[:FREQuency]? {MINimum|MAXimum} Arguments Returns Examples ::=[] where is the hop frequency. ::=[Hz | kHz | MHz] SOURce1:FSKey:FREQuency 1.0MHz sets the hop frequency of CH 1 FSK modulation to 1.0 MHz.
Syntax and Commands [SOURce[1|2]]:FSKey:SOURce This command sets or queries the source of modulation signal of FSK modulation for the specified channel. Group Source Syntax [SOURce[1|2]]:FSKey:SOURce [INTernal|EXTernal] [SOURce[1|2]]:FSKey:SOURce? Arguments INTernal means that the carrier waveform is modulated with an internal source. EXTernal means that the carrier waveform is modulated with an external source.
Syntax and Commands [SOURce[1|2]]:FUNCtion:EFILe 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. Group Source Syntax [SOURce[1|2]]:FUNCtion:EFILe [SOURce[1|2]]:FUNCtion:EFILe? Arguments Returns Examples ::= specifies a file name in the mass storage system. The includes path.
Syntax and Commands [SOURce[1|2]]:FUNCtion[:SHAPe] This command sets or queries the shape of the output waveform. When the specified user memory is deleted, this command causes an error if you select the user memory.
Syntax and Commands EFILe EFILe is specified as an output waveform. Returns Examples 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] 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.
Syntax and Commands [SOURce[1|2]]:PHASe:INITiate (No Query Form) This command synchronizes the phase of CH 1 and CH 2 output waveforms. The arbitrary/function generator performs the same operation if you specify either SOURce1 or SOURce2. If your arbitrary/function generator is single-channel model, this command is not supported. Group Source Syntax [SOURce[1|2]]:PHASe:INITiate Arguments Examples None SOURce1:PHASe:INITiate synchronizes the phase of CH 1 and CH 2 output signals.
Syntax and Commands [SOURce[1|2]]:PM:INTernal:FREQuency 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 modulation source is selected.
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.
Syntax and Commands [SOURce[1|2]]:PM:INTernal:FUNCtion:EFILe 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. Group Source Syntax [SOURce[1|2]]:PM:INTernal:FUNCtion:EFILe [SOURce[1|2]]:PM:INTernal:FUNCtion:EFILe? Arguments Returns Examples ::= specifies a file name in the mass storage system.
Syntax and Commands [SOURce[1|2]]:PM:STATe 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 waveform for the carrier waveform. Group Source Syntax [SOURce[1|2]]:PM:STATe {ON|OFF|} [SOURce[1|2]]:PM:STATe? Arguments ON or ≠0 enables PM modulation. OFF or =0 disables PM modulation. Returns Examples SOURce1:PM:STATe ON enables the CH 1 PM modulation.
Syntax and Commands SOURce<3|4>:POWer[:LEVel][:IMMediate][:AMPLitude] 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.
Syntax and Commands [SOURce[1|2]]:PULSe:DCYCle This command sets or queries the duty cycle of the pulse waveform for the specified 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.
Syntax and Commands [SOURce[1|2]]:PULSe:DELay This command sets or queries the lead delay of the pulse waveform for the specified channel. Group Source Syntax [SOURce[1|2]]:PULSe:DELay {|MINimum|MAXimum} [SOURce[1|2]]:PULSe:DELay?{MINimum|MAXimum} Arguments ::=[] where is the lead delay. ::=[ns | µs | ms | s] Setting range: 0 ns to Pulse Period – {Pulse Width + 0.
Syntax and Commands [SOURce[1|2]]:PULSe:PERiod This command sets or queries the period for pulse waveform. Group Source Syntax [SOURce[1|2]]:PULSe:PERiod {|MINimum|MAXimum} [SOURce[1|2]]:PULSe:PERiod?{MINimum|MAXimum} Arguments Returns Examples ::=[] where is the pulse period. ::=[ns | µs | ms | s] SOURce1:PULSe:PERiod 200ns sets the CH 1 pulse period to 200 ns.
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 {|MINimum| MAXimum} [SOURce[1|2]]:PULSe:TRANsition:TRAiling?{MINimum|MAXimum} Arguments Returns Examples 3-70 ::=[] where is the trailing edge of pulse waveform.
Syntax and Commands [SOURce[1|2]]:PULSe:WIDTh This command sets or queries the pulse width for the specified channel. Pulse Width = Period × 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 ≤ Pulse Period – 0.8 × (Leading Edge Time + Trailing Edge Time) Pulse Width ≥ 0.
Syntax and Commands [SOURce[1|2]]:PWM:INTernal:FREQuency This command sets or queries the internal modulation frequency of PWM modulation for the specified channel. You can use this command only when the internal modulation source is selected.
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 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.
Syntax and Commands [SOURce[1|2]]:PWM:INTernal:FUNCtion:EFILe 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. Group Source Syntax [SOURce[1|2]]:PWM:INTernal:FUNCtion:EFILe [SOURce[1|2]]:PWM:INTernal:FUNCtion:EFILe? Arguments Returns Examples ::= specifies a file name in the mass storage system.
Syntax and Commands [SOURce[1|2]]:PWM:STATe This 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. Group Source Syntax [SOURce[1|2]]:PWM:STATe {ON|OFF|} [SOURce[1|2]]:PWM:STATe? Arguments ON or ≠0 enables PWM modulation. OFF or =0 disables PWM modulation. Returns Examples SOURce1:PWM:STATe ON enables the CH 1 PWM modulation.
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 ≤ Pulse Width – PWmin Deviation ≤ Pulse Period – Pulse Width – PWmin Deviation ≤ Pulse Width – 0.8 × (Leading Edge Time + Trailing Edge Time) Deviation ≤ Pulse Period – Pulse Width – 0.8 × (Leading Edge Time + Trailing Edge Time) where PWmin is the minimum pulse width.
Syntax and Commands [SOURce]:ROSCillator:SOURce This command sets the reference clock to either internal or external. Group Source Syntax [SOURce]:ROSCillator:SOURce {INTernal|EXTernal} [SOURce]:ROSCillator:SOURce? Arguments INTernal means that the reference clock is set to internal. EXTernal means that the reference clock is set to external. Returns Examples INT|EXT SOURce:ROSCillator:SOURce INTernal selects the internal clock reference.
Syntax and Commands [SOURce[1|2]]:SWEep:MODE 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. Group Related Commands Syntax Source [SOURce[1|2]]:SWEep:HTIMe [SOURce[1|2]]:SWEep:RTIMe [SOURce[1|2]]:SWEep:TIME TRIGger[:SEQuence]:SOURce TRIGger[:SEQuence]:TIMer [SOURce[1|2]]:SWEep:MODE {AUTO|MANual} [SOURce[1|2]]:SWEep:MODE? Arguments AUTO sets the sweep mode to auto.
Syntax and Commands [SOURce[1|2]]:SWEep:RTIMe 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. Group Source Syntax [SOURce[1|2]]:SWEep:RTIMe {|MINimum|MAXimum} [SOURce[1|2]]:SWEep:RTIMe? {MINimum|MAXimum} Arguments Returns Examples ::=[] where is the return time in seconds.
Syntax and Commands [SOURce[1|2]]:SWEep:TIME 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. Group Source Syntax [SOURce[1|2]]:SWEep:TIME {|MINimum|MAXimum} [SOURce[1|2]]:SWEep:TIME? {MINimum|MAXimum} Arguments Returns Examples 3-80 ::=[] where is the sweep time in seconds.
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 query command returns “0” (off) or “1” (on).
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.
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.
Syntax and Commands [SOURce[1|2]]:VOLTage[:LEVel][:IMMediate]:OFFSet 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:CONCurrent[:STATe] command is set to ON, then the offset level of the other channel is also the same value.
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:CONCurrent[:STATe] command is set to ON, then the output amplitude of the other channel is the same value. Units VPP VRMS DBM Amplitude resolution 0.1 mVp-p or four digits 0.1 mVrms or four digits 0.
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.
Syntax and Commands [SOURce[1|2]]:VOLTage:LIMit:LOW 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 other channel is the same value.
Syntax and Commands [SOURce[1|2]]:VOLTage:UNIT 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. Vpp Vrms = ---------- (sin) 2 2 P dBm = 10 × log 10 ⎛ ---------------⎞ ⎝ 0.
Syntax and Commands *SRE This command sets and queries the bits in the Service Request Enable Register (SRER). Group Related Commands Syntax Status *PSC *SRE *SRE? Arguments Returns Examples ::= where 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.
Syntax and Commands STATus:OPERation:CONDition? This query-only command returns the contents of the Operation Condition Register. Group Status Syntax STATus:OPERation:CONDition? Arguments Returns Examples None ::= STATus:OPERation:CONDition? might return 32 which indicates that the OCR contains the binary number 00000000 00100000 and the CH 1 of the instrument is waiting for trigger. STATus:OPERation:ENABle This command sets or queries the mask for the Operation Enable Register.
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 Returns Examples None 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).
Syntax and Commands STATus:QUEStionable:CONDition? This query-only command returns the contents of the Questionable Condition Register. Group Status Syntax STATus:QUEStionable:CONDition? Arguments Returns Examples None ::= STATus:QUEStionable:CONDition? might return 32 which indicates that the QCR contains the binary number 00000000 00100000 and the accuracy of frequency is questionable.
Syntax and Commands STATus:QUEStionable[:EVENt]? This query-only command returns the value in the Questionable Event Register and clears the Questionable Event Register. Group Status Syntax STATus:QUEStionable[:EVENt]? Arguments Returns Examples None ::= 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.
Syntax and Commands SYSTem:BEEPer[:IMMediate] (No Query Form) This command causes the instrument to beep immediately. Group System Syntax SYSTem:BEEPer[:IMMediate] Arguments Examples None SYSTem:BEEPer:IMMediate causes a beep. SYSTem:BEEPer:STATe 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.
Syntax and Commands SYSTem:ERRor[:NEXT]? This query-only command returns the contents of the Error/Event queue. Group System Syntax SYSTem:ERRor[:NEXT]? Arguments Returns Examples None ::= ::= SYSTem:ERRor:NEXT? might return the following response: –410,”Query INTERRUPTED” If the instrument detects an error or an event occurs, the event number and event message will be returned.
Syntax and Commands SYSTem:KLOCk[:STATe] This command locks or unlocks the instrument front panel controls. The query command returns “0” (OFF) or “1” (ON). Group System Syntax SYSTem:KLOCk[:STATe] {ON|OFF|} SYSTem:KLOCk[:STATe]? Arguments ON or ≠0 locks front panel controls. OFF or =0 unlocks front panel controls. Returns Examples SYSTem:KLOCk:STATe ON locks front panel controls.
Syntax and Commands SYSTem:ULANguage This command sets or queries the language that the instrument uses to display information on the screen. Group System Syntax SYSTem:ULANguage {ENGLish|FRENch|GERMan|JAPanese|KORean|SCHinese | TCHinese} SYSTem:ULANguage? Arguments Returns Examples ENGLish|FRENch|GERMan|JAPanese|KORean|SCHinese|TCHinese specifies which language will be used to display instrument information on the screen.
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 Returns None A series 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.
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, TRACe|DATA[:DATA]? EMEMory Arguments Returns Examples where is the waveform data in binary format. DATA:DATA EMEMory,#42000...
Syntax and Commands TRACe|DATA[:DATA]:LINE (No Query Form) This command writes line data to the edit memory. The data between the specified points is interpolated linearly. Group Trace Syntax TRACe|DATA[:DATA]:LINE EMEMory,,, , Arguments ::= where is the first point from which the data is interpolated linearly. ::= where is the data value at the start point.
Syntax and Commands TRACe|DATA[:DATA]:VALue This command sets or queries the data value at the specified point in the edit memory. Group Trace Syntax TRACe|DATA[:DATA]:VALue EMEMory,, TRACe|DATA[:DATA]:VALue? EMEMory, Arguments ::= where is the specified point number in the edit memory. ::= where is the data value for the specified point number.
Syntax and Commands TRACe|DATA:DEFine (No Query Form) This command resets the contents of edit memory. Group Trace Syntax TRACe|DATA:DEFine EMEMory[,{|}] Arguments ::= where 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 AFG3252.
Syntax and Commands TRACe|DATA:DELete[:NAME] (No Query Form) This command deletes the contents of specified user waveform memory. Group Trace Syntax TRACe|DATA:DELete Arguments ::={USER[1]|USER2|USER3|USER4} This command is invalid when is being output, or is locked. Examples DATA:DELete:NAME USER1 deletes the contents of USER1 waveform memory. TRACe|DATA:LOCK[:STATe] This command sets or queries whether to lock or unlock the user waveform memory.
Syntax and Commands TRACe|DATA:POINts This command sets or queries the number of data points for the waveform created in the edit memory. Group Trace Syntax TRACe|DATA:POINts EMEMory[,|MINimum|MAXimum] TRACe|DATA:POINts? EMEMory{,MIN|MAX} Arguments Returns Examples ::= where 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 AFG3252.
Syntax and Commands TRIGger[:SEQuence]:SLOPe This command sets or queries the slope of trigger signal. Group Trigger Syntax TRIGger[:SEQuence]:SLOPe {POSitive|NEGative} TRIGger[:SEQuence]:SLOPe? Arguments POSitive indicates that the event occurs on the rising edge of the external trigger signal. NEGative indicates that the event occurs on the falling edge of the external trigger signal.
Syntax and Commands TRIGger[:SEQuence]:TIMer 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. Group Related Commands Syntax Trigger TRIGger[:SEQuence]:SOURce TRIGger[:SEQuence]:TIMer TRIGger[:SEQuence]:TIMer? Arguments Returns Examples ::=[] where ::=[µs | ms | s] TRIGger:SEQuence:TIMer 5ms sets the internal trigger rate to 5 ms.
Syntax and Commands *TST? 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. Group Related Commands Syntax Arguments Returns Calibration and Diagnostic DIAGnostic[:ALL]? *TST? None where =0 indicates that the self-test completed without errors.
Syntax and Commands 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 arbitrary/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.
Status and Events STATus:QUEStionable:CONDition? STATus:QUEStionable[:EVENt]? STATus:QUEStionable:ENABle Questionable Status Block FREQuency 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 QCR OCR QEVR QENR OEVR OENR CALibrating 0 1 Operation 2 Status Block 3 4 Waiting for TRIGger (CH1) 5 6 7 Waiting for TRIGger (CH2) 8 9 10 11 12 13 Output Queue 14 15 Error and Event Queue STATus:OPERation:ENABle STATus:OPERation[:EVENt]? STATus:OPERation:CONDition? Operation Complete 0 Request C
Status and Events Standard/Event Status Block This block is used to report power on/off, command error, and command execution 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.
Status and Events Registers The registers in the event reporting system fall into two functional groups: The Status Registers contain information about the status of the instrument. Enable Registers determine whether selected types of events are reported to the Status Registers and the Event Queue.
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 RQS 5 4 3 2 1 OSB 6 ESB MAV QSB EQS — MSS 7 0 — 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.
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 5 4 3 2 1 0 PON URQ CME ME EXE DDE QYE RQC O PC Figure 4-3: The Standard Event Status Register (SESR) Table 4-2: SESR bit functions Bit Function 7 (MSB) PON Power On. Indicates that the power to the instrument is on. 6 URQ User Request. Indicates that an application event has occurred.
Status and Events Operation Event Register (OEVR). This register has the same content as the Operation 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.
Status and Events 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 FREQ 3 2 1 0 Figure 4-5: Questionable Condition Register (QCR) Table 4-4: QCR bit functions Enable Registers Bit Function 15 to 6 ––––– Not used 5 FREQ Frequency.
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 ME EXE DDE QYE RQC O PC 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.
Status and Events 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:ENABle command to set the bits in the OENR. Use the STATus:QUEStionable:ENABle? query to read the contents of the OENR.
Status and Events Messages and Codes 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/Function 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.
Status and Events Table 4-6: Command error messages (cont.
Status and Events Execution Errors Table 4-7 lists the errors that are detected during execution of a command.
Status and Events Table 4-7: Execution error messages (cont.
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.
Status and Events User Request Events These events are not used in this instrument. Table 4-11: User request events Event code –600 Request Control Events Event message User request These events are not used in this instrument. Table 4-12: Request control events Event code –700 Operation Complete Events Event message Request control These events occur when instrument’s synchronization protocol, having been enabled by an *OPC command, completes all selected pending operations.
Status and Events Device Errors Table 4-14 lists the error codes that are unique to the AFG3000 Series Arbitrary/Function Generators.
Status and Events Table 4-14: Device errors (cont.
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 Interface Bus (GPIB), are included on the AFG3000 Series Arbitrary/Function Generators Product CD. Example 1: Set up a Waveform Output Example 2: Waveform Transfer and Copy The example programs are written in Microsoft Visual Basic Version 6.0.
Programming Examples Example 1 This is a sample program for setting the arbitrary/function generator outputs. Private Sub Sample1_Click() ' 'Assign resource ' Tvc1.Descriptor = "GPIB0::11::INSTR" ' 'Initialize of device setting ' Tvc1.WriteString ("*RST") ' 'Set CH1 output parameters ' Tvc1.WriteString ("FUNCTION SIN") 'Set output waveform SIN Tvc1.WriteString ("FREQUENCY 10E3") 'Set frequency 10kHz Tvc1.WriteString ("VOLTAGE:AMPLITUDE 2.00") 'Set amplitude 2Vpp Tvc1.WriteString ("VOLTAGE:OFFSET 1.
Programming Examples Example 2 This is a sample program for sending an arbitrary waveform to the arbitrary/function generator's Edit Memory and copying the contents of Edit Memory to the user waveform memory. Private Sub Sample2_Click() ' 'Assign resource ' Tvc1.Descriptor = "GPIB0::11::INSTR"' 'Initialize of device setting ' Tvc1.
Programming Examples Next i For i = 1000 To 1999 'Part of Low Level (1000 Points) Data = 0 High = Int(Data / 256) Low = Data - (High * 256) wave(2 * i) = High wave(2 * i + 1) = Low Next i ' 'Transfer waveform ' Transfer arbitrary block data to edit memory ' Tvc1.SendEndEnabled = False Tvc1.WriteString ("TRACE:DATA EMEMORY,#44000") Tvc1.SendEndEnabled = True Tvc1.WriteByteArray (wave) ' 'Copy contents of edit memory to USER1 ' Tvc1.WriteString ("TRAC:COPY USER1,EMEM") ' 'Set CH1 output parameters ' Tvc1.
Appendices
Appendix A: Accessories and Options This section lists the standard and optional accessories available for the instrument, as well as the product options.
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 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.
Appendix A: Accessories and Options Table A-3: Optional accessories (cont.) Accessory International Power Cord Option A0, North American Option A1, European Option A2, United Kingdom Option A3, Australian Option A5, Switzerland Option A6, Japanese Option A10. China 50 Ω BNC Termination 50 Ω BNC Cable, 91 cm (36 in), W shield 50 Ω BNC Cable, 250 cm (98 in), W shield Fuse adapter, BNC-P to BNC-R Fuse set, 3 pcs, 0.
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, liquids, or solvents. Cleaning Inspect the arbitrary/function generator as often as operating conditions require. To clean the exterior surface, perform the following steps: 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.
Appendix C: SCPI Conformance Information Table C-1: SCPI conformance information (cont.) Command BURSt COMBine FM SOURce(?) [DEPTh](?) MODE(?) NCYCles(?) TDELay(?) [STATe](?) FEED(?) INTernal Defined in SCPI 1999.
Appendix C: SCPI Conformance Information Table C-1: SCPI conformance information (cont.) Command PERiod(?) TRANsition PWM WIDTh(?) INTernal Defined in SCPI 1999.
Appendix C: SCPI Conformance Information Table C-1: SCPI conformance information (cont.) Command TRACe|DATA CATalog? COPY [DATA](?) LINE VALue(?) TRIGger *CAL? *CLS *ESE(?) *ESR? *IDN? *OPC(?) *OPT? *PSC(?) *RCL *RST *SAV *SRE(?) *STB? *TRG *TST? *WAI C-4 DEFine DELete LOCK POINts(?) [SEQuence] [NAME] [STATe](?) SLOPe(?) SOURce(?) TIMer(?) [IMMediate] Defined in SCPI 1999.0 √ √ √ √ √ √ √ Not defined in SCPI 1999.
Appendix D: Default Setup Table D-1 lists the settings that are restored when you push the front-panel Default button.
Appendix D: Default Setup Table D-1: Default settings (cont.) Menu or System Burst Burst Mode Burst Count Trigger Source Trigger Delay Trigger Interval System-related settings Trigger Out Clock Reference Default setting Triggered 5 Internal 0.0 ns 1.
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 *
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 c
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
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
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[:IMMediate] 3-94 SYSTem:BEEPer:STAT
Index Index-6 AFG3000 Series Arbitrary/Function Generators Reference Manual