Establishing a Remote Connection The AFG-3000 supports USB, RS232 and GPIB remote connections. Configure USB interface PC side connector Type A, host configuration Type B, slave AFG-3000 side connector 1.1/2.0 (full speed) Speed 1. Press the Utility key Panel Operation followed by Interface (F2) and USB (F3).
This should return the Manufacturer, Model number, Serial number, and Firmware version in the following format. GW INSTEK, AFG-3081, SN:XXXXXXXX,Vm.mm Note: ^j or ^m can be used as the terminal character when using a terminal program. The proprietary PC software, downloadable from PC Software GWInstek website, can be used for remote control.
Page 11
When a remote connection is established all panel Display keys are locked bar F6. 1. Press REM/LOCK (F6) to return the function generator to local mode.
Command Syntax IEEE488.2, 1992 (fully compatible) Compatible • standard SCPI, 1994 (partially compatible) • The SCPI standard is an ASCII based standard that Command Tree defines the command syntax and structure for programmable instruments. Commands are based on a hierarchical tree structure.
Page 13
A query is a simple or compound Query command followed by a question mark (?). A parameter (data) is returned. The maximum or minimum value for a parameter can also be queried where applicable. SOURce1:FREQuency? Example SOURce1:FREQuency? MIN Command forms Commands and queries have two different forms, long and short.
Page 14
1: command header Command Format 2: single space 3: parameter 4: message terminator Square Brackets [] Commands that contain squares brackets indicate that the contents are optional. The function of the command is the same with or without the square bracketed items.
Page 15
NRf type with a 1, 1.5, 4.5e-1 <NRf+> <Numeric> suffix including MAX, MIN, MINimum, MAXimum or DEFault parameters. Arbitrary ASCII <aard> characters. Discrete ASCII IMM, EXT, <discrete> character parameters NRf+ type 1 KHZ, 1.0 HZ, <frequency> including <peak deviation frequency unit in Hz>...
Page 16
A space is used to separate a Command Space Separators parameter from a keyword/command header. A colon is used to separate Colon (:) keywords on each node. A semi colon is used to separate Semicolon (;) subcommands that have the same node level.
Returns an error string. *IDN? System Query Returns the function generator manufacturer, Description model number, serial number and firmware version number in the following format: GW INSTEK,AFG-3081,SN:XXXXXXXX,Vm.mm Query Syntax IDN? Return parameter <string> Example *IDN? GW INSTEK,AFG-3081,SN:XXXXXXXX,Vm.mm Returns the identification of the function...
*RST System Command Reset the function generator to its factory default Description state. Note the *RST command will not delete Note instrument save states in memory. Syntax *RST *TST? System Query Performs a system self-test and returns a pass or Description fail judgment.
Returns the year (2010) and version for that year (1). *OPC System Command This command sets the Operation Complete Bit Description (bit 0) of the Standard Event Status Register after the function generator has completed all pending operations. For the AFG-3000, the *OPC command is used to indicate when a sweep or burst has completed.
*WAI System Command This command waits until all pending operations Description have completed before executing additional commands. I.e. when the OPC bit is set. This command is only used for triggered sweep Note and burst modes. Syntax *WAI SYSTem:LANGuage System Command Sets or queries the display language.
Status Register Commands *CLS System Command The *CLS command clears all the event registers, Description the error queue and cancels an *OPC command. Syntax *CLS *ESE System Command The Standard Event Status Enable command Description determines which events in the Standard Event Status Event register can set the Event Summary Bit (ESB) of the Status Byte register.
Example *ESE? Bit 2 is set. *ESR? System Command Reads and clears the Standard Event Status Description Register. The bit weight of the standard event status register is returned. The *CLS will also clear the standard event status Note register. Query Syntax *ESR? Return Parameter Bit...
*SRE System Command The Service Request Enable Command determines Description which events in the Status Byte Register are allowed to set the MSS (Master summary bit). Any bit that is set to “1” can cause the MSS bit to be set. The *CLS command clears the status byte event Note register, but not the enable register.
Interface Configuration Commands SYSTem:INTerface System Command Selects the remote interface. RS-232 is the factory Description default. There is no interface query. Note Syntax SYSTem:INTerface {GPIB|RS232|USB} Example SYST:INT USB Sets the interface to USB. SYSTem:LOCal System Command Sets the function generator to local mode. In local Description mode, all front panel keys are operational.
Apply Commands The APPLy command has 8 different types of outputs (Sine, Square, Ramp, Pulse, Noise, Triangle, DC, User). The command is the quickest, easiest way to output waveforms remotely. Frequency, amplitude and offset can be specified for each function. As only basic parameters can be set with the Apply command, other parameters use the instrument default values.
Page 29
When setting the amplitude, MINimum, Output MAXimum and DEFault can be used. The range Amplitude depends on the function being used and the output termination (50Ω or high impedance). The default amplitude for all functions is 100 mVpp (50Ω). If the amplitude has been set and the output termination is changed from 50Ω...
The offset is also determined by the output termination (50Ω or high impedance). If the offset has been set and the output termination has changed from 50Ω to high impedance, the offset will double. Changing the output termination from high impedance to 50Ω will half the offset. Source Specific SOURce[1]:APPLy:SINusoid Command...
<offset> 0~4.99V (50Ω) Example SOUR1:APPL:SQU 2KHZ,MAX,MAX Sets frequency to 2kHz and sets the amplitude and offset to the maximum. Source Specific SOURce[1]:APPLy:RAMP Command Outputs a ramp wave from the selected channel Description when the command has executed. Frequency, amplitude and offset can also be set. The symmetry is set to 100%.
Syntax SOUR[1]:APPLy:PULSe [<frequency> [,<amplitude> [,<offset>] ]] Parameter <frequency> 500uHz~50MHz amplitude < > 10mV~10V (50Ω) <offset> 0~4.99V (50Ω) Example SOUR1:APPL:PULS 1KHZ,MIN,MAX Sets frequency to 1kHz and sets the amplitude to minimum and the and offset to the maximum. Source Specific SOURce[1]:APPLy:NOISe Command Outputs Gaussian noise with a 50 MHz Description...
Syntax SOURce[1]:APPLy:TRIangle [<frequency> [,<amplitude> [,<offset>] ]] Parameter <frequency> 1uHz~1MHz amplitude < > 10mV~10V (50Ω) <offset> 0~4.99V (50Ω) Example SOUR1:APPL:TRI 2khz, 3.0, 1.0 Sets the frequency to 1 MHz with an amplitude of 3 volts and with an offset of 1 volt. Source Specific SOURce[1]:APPLy:DC Command...
Frequency and amplitude cannot be used with the Note DC function; however a value (or DEFault) must be specified. The values are remembered for the next function used. Syntax SOURce[1]:APPLy:USER [<frequency> [,<amplitude> [,<offset>] ]] Parameter <frequency> 1uHz~100MHz <amplitude> 0~10V (50Ω) <offset>...
Output Commands Unlike the Apply commands, the Output commands are low level commands to program the function generator. This section describes the low-level commands used to program the function generator. Although the APPLy command provides the most straightforward method to program the function generator, the low-level commands give you more flexibility to change individual parameters.
Sine Squ Ramp Pulse Noise ARB × × × × × × × × × × × × SWEEP × × × BRUST × × × Syntax SOURce[1]:FUNCtion {SINusoid|SQUare|RAMP| PULSe|NOISe|TRIAngle|DC| USER} Example SOUR1:FUNC SIN Sets the output as a sine function. Query Syntax SOURce[1]:FUNCtion? Return Parameter SIN, SQU, RAMP, PULS,...
Page 37
User 1uHz~100MHz If the function mode is changed and the current frequency setting is not supported by the new mode, the frequency setting will be altered to next highest value. The duty cycle of square waveforms depends on the frequency settings. 20% to 80% (frequency <...
Source Specific SOURce[1]:AMPlitude Command Sets the output amplitude for the Description SOURce[1]:FUNCtion command. The query command returns the current amplitude settings. The maximum and minimum amplitude depends Note on the output termination. The default amplitude for all functions is 100 mVpp (50Ω). If the amplitude has been set and the output termination is changed from 50Ω...
Example SOUR1:AMP MAX Sets the amplitude to the maximum for the current mode. Query Syntax SOURce[1]:AMPlitude? {MINimum|MAXimum} Return Parameter <NR3> Returns the amplitude for the current mode. Example SOUR1:AMP? MAX +5.0000E+00 The maximum amplitude that can be set for the current function is 5 volts.
Example SOUR1:DCO MAX Sets the offset to the maximum for the current mode. Query Syntax SOURce[1]:DCOffset? {MINimum|MAXimum} Return Parameter <NR3> Returns the offset for the current mode. Example SOUR1:DCO? +3.0000E+00 The offset for the current mode is set to +3 volts. Source Specific SOURce[1]:SQUare:DCYCle Command...
Sets the duty cycle to the highest possible for the current frequency. Query Syntax SOURce[1]:SQUare:DCYCle? {MINimum|MAXimum} Return Parameter <NR3> Returns the duty cycle as a percentage. Example SOUR1:SQU:DCYC? +5.00E+01 The duty cycle is set 50%. Source Specific SOURce[1]:RAMP:SYMMetry Command Sets or queries the symmetry for ramp waves only. Description The setting is remembered if the function mode is changed.
Source Specific OUTPut Command Enables/Disables or queries the front panel Description output. The default is set to off. If the output is overloaded by an external voltage, Note the output will turn off and an error message will be displayed. The overload must first be removed before the output can be turned on again with output command.
the output termination from high impedance to 50Ω will half the amplitude. If the output termination is set to high impedance, dBm units cannot be used. The units will default to Vpp. Syntax OUTPut:LOAD {DEFault|INFinity} Example OUTP:LOAD DEF Sets the output termination to 50Ω. Query Syntax OUTPut:LOAD? Return Parameter DEF...
Page 44
Example SOUR1:VOLT:UNIT? The amplitude units are set to Vpp.
Pulse Configuration Commands The pulse chapter is used to control and output pulse waveforms. Unlike the APPLy command, low level control is possible including setting the rise time, fall time, period and pulse width. Period Pulse Width Rise time Fall time Source Specific SOURce[1]:PULSe:PERiod Command...
Example SOUR1:PULS:PER? +1.0000E+01 The period is set to 10 seconds. Source Specific SOURce[1]:PULSe:WIDTh Command Sets or queries the pulse width. The default pulse Description width is 100us. The minimum pulse width is affected by the period time. If the period is over 20 or 200 seconds, then the minimum pulse width is 1us and 10us, respectively.
Amplitude Modulation (AM) Commands AM Overview To successfully create an AM waveform, the following commands must be executed in order. 1. Turn on AM modulation using the Enable AM Modulation SOURce[1]: AM:STAT ON command Configure Carrier 2. Use the APPLy command to select a carrier waveform.
Source Specific SOURce[1]:AM:STATe Command Sets or disables AM modulation. By default AM Description modulation is disabled. AM modulation must be enabled before setting other parameters. Burst or sweep mode will be disabled if AM Note modulation is enabled. As only one modulation is allowed at any one time, other modulation modes will be disabled when AM modulation is enabled.
Sets the modulation source to external. Query Syntax SOURce[1]:AM:SOURce? Return Parameter INT Internal External Example SOUR1:AM:SOUR? The modulation source is set to internal. Source Specific SOURce[1]:AM:INTernal:FUNCtion Command Sets the shape of the modulating waveform from Description sine, square, triangle, upramp and dnramp. The default shape is sine.
Syntax SOURce[1]:AM:INTernal:FREQuency {<frequency>|MINimum|MAXimum} Parameter <frequency> 2 mHz~ 20 kHz Example SOUR1:AM:INT:FREQ +1.0000E+02 Sets the modulating frequency to 100Hz. Query Syntax SOURce[1]:AM:INTernal:FREQuency? [MINimum|MAXimum] Return Parameter <NR3> Returns the frequency in Example SOUR1:AM:INT:FREQ? MIN +1.0000E+02 Returns the minimum frequency allowed. Source Specific SOURce[1]:AM:DEPTh Command Sets or queries the modulation depth for internal...
Page 51
Example SOUR1:AM:DEPT? +1.0000E+02 The modulation depth is 100%.
Frequency Modulation (FM) Commands FM Overview The following is an overview of the steps required to generate an FM waveform. 1. Turn on FM modulation using the SOURce[1]: Enable FM FM:STAT ON command. Modulation 2. Use the APPLy command to select a carrier Configure Carrier waveform.
Source Specific SOURce[1]:FM:STATe Command Sets or disables FM modulation. By default FM Description modulation is disabled. FM modulation must be enabled before setting other parameters. Burst or sweep mode will be disabled if FM Note modulation is enabled. As only one modulation is allowed at any one time, other modulation modes will be disabled when FM modulation is enabled.
Example SOUR1:FM:SOUR EXT Sets the modulation source to external. Query Syntax SOURce[1]:FM:SOURce? Return Parameter INT Internal External Example SOUR1:FM:SOUR? The modulation source is set to internal. Source Specific SOURce[1]:FM:INTernal:FUNCtion Command Sets the shape of the modulating waveform from Description sine, square, triangle, upramp and dnramp. The default shape is sine.
Source Specific SOURce[1]:FM:INTernal:FREQuency Command Sets the frequency of the internal modulating Description waveform only. The default frequency is 10Hz. Syntax SOURce[1]:FM:INTernal:FREQuency {<frequency>|MINimum|MAXimum} Parameter <frequency> 2 mHz~ 20 kHz Example SOUR1:FM:INT:FREQ +1.0000E+02 Sets the modulating frequency to 100Hz. Query Syntax SOURce[1]:FM:INTernal:FREQuency? [MINimum|MAXimum] Return Parameter <NR3>...
Page 56
equal to the peak deviation frequency. The sum of the deviation and carrier frequency must not exceed the maximum frequency for a specific carrier shape. If an out of range deviation is set for any of the above conditions, the deviation will be automatically adjusted to the maximum value allowed and an “out of range”...
Frequency-Shift Keying (FSK) Commands FSK Overview The following is an overview of the steps required to generate an FSK modulated waveform. 1. Turn on FSK modulation using the Enable FSK Modulation SOURce[1]: FSK:STAT ON command. Configure Carrier 2. Use the APPLy command to select a carrier waveform.
Example SOUR1:FSK:STAT ON Enables FSK modulation Query Syntax SOURce[1]:FSKey:STATe? Return Parameter 0 Disabled (OFF) Enabled (ON) Example SOUR1:FSK:STAT? FSK modulation is currently enabled. Source Specific SOURce[1]:FSKey:SOURce Command Sets or queries the FSK source as internal or Description external. Internal is the default source. If an external FSK source is selected, FSK rate is Note controlled by the Trigger INPUT terminal on the...
For FSK, the modulating waveform is a square Note wave with a duty cycle of 50%. Syntax SOURce[1]:FSKey:FREQuency {<frequency>|MINimum|MAXimum} Parameter <frequency> 1 uHz~ 80 MHz(3081)/ 50MHz(3051) Example SOUR1:FSK:FREQ +1.0000E+02 Sets the FSK hop frequency to to 100Hz. Query Syntax SOURce[1]:FSKey:FREQuency? [MINimum|MAXimum] Return Parameter <NR3>...
Returns the maximum FSK rate allowed. Pulse Width Modulation (PWM) Commands PWM Overview The following is an overview of the steps required to generate a PWM modulated waveform. 1. Turn on PWM modulation using the Enable PWM SOURce[1]: PWM:STATe ON command. Modulation 2.
Source Specific SOURce[1]:PWM:STATe Command Turns FSK Modulation on or off. By default FSK Description modulation is off. Burst or sweep mode will be disabled if PWM Note modulation is enabled. As only one modulation is allowed at any one time, other modulation modes will be disabled when FSK modulation is enabled.
Example SOUR1:PWM:SOUR? The PWM source is set to internal. Source Specific SOURce[1]:PWM:INTernal:FUNction Command Sets the shape of the modulating waveform from Description sine, square, triangle, upramp and dnramp. The default shape is sine. Square and triangle waveforms have a 50% duty Note cycle.
Parameter <frequency> 2 mHz~ 20 kHz Example SOUR1:PWM:INT:FREQ MAX Sets the frequency to the maximum value. Query Syntax SOURce[1]:PWM:INTernal:FREQuency? Return Parameter <NR3> Returns the frequency in Example SOUR1:PWM:INT:FREQ? MAX +2.0000E+04 Returns the modulating frequency. (20kHz) Source Specific SOURce[1]:PWM:DUTY Command Sets or queries the duty cycle deviation. The Description default duty cycle is 50%.
Page 64
Example SOUR1:PWM:DUTY? +3.0000E+01 The current duty cycle is 30%.
Frequency Sweep Commands Sweep Overview Below shows the order in which commands must be executed to perform a sweep. 1. Turn on Sweep mode modulation using the Enable Sweep Mode SOURce[1]: SWE:STAT ON command. 2. Use the APPLy command to select the Select waveform waveform shape.
5. Choose the sweep time using the Select Sweep SOURce[1]:SWE:TIME command. Time Select the sweep 6. Select an internal or external sweep trigger trigger source source using the SOURce[1]:SOUR command. Select the marker 7. To output a marker frequency from the SYNC frequency terminal, use The SOURce[1]:MARK:FREQ command.
Source Specific SOURce[1]:FREQuency:STARt Command Sets the start frequency of the sweep. 100Hz is the Description default start frequency. To sweep up or down, set the stop frequency Note higher or lower than the start frequency. Syntax SOURce[1]:FREQuency:STARt {<frequency>|MINimum|MAXimum} Parameter <frequency> 100uHz~ 80MHz(3081)/ 50MHz(3051) 100uHz~ 1MHz (Ramp)
Example SOUR1:FREQ:STOP +2.0000E+03 Sets the stop frequency to 2kHz. Query Syntax SOURce[1]:FREQuency:STOP? [MINimum| MAXimum] Return Parameter <NR3> Returns the stop frequency in Hz. Example SOUR1:FREQ:STOP? MAX +8.0000E+07 Returns the maximum stop frequency allowed. Source Specific SOURce[1]:FREQuency:CENTer Command Sets and queries the center frequency of the sweep. Description 550 Hz is the default center frequency.
Source Specific SOURce[1]:FREQuency:SPAN Command Sets and queries the frequency span of the sweep. Description 900 Hz is the default frequency span. The span frequency is equal to the stop-start frequencies. To sweep up or down, set the span as positive or Note negative.
Query Syntax SOURce[1]:SWEep:SPACing? Return Parameter LIN Linear spacing Logarithmic spacing Example SOUR1:SWE:SPAC? The spacing is currently set as linear. Source Specific SOURce[1]:SWEep:TIME Command Sets or queries the sweep time. The default sweep Description time is 1 second. The function generator automatically determines Note the number of frequency points that are used for the sweep based on the sweep time.
Source Specific SOURce[1]:SWEep:SOURce Command Sets or queries the trigger source as immediate Description (internal), external or manual. Immediate (internal) is the default trigger source. IMMediate will constantly output a swept waveform. EXTernal will output a swept waveform after each external trigger pulse.
The Trig out signal depends on the selected trigger Note source. Trigger Source Description Immediate A square wave is output from the Trig out terminal with a 50% duty cycle at the start of every sweep. External Trigger Output is disconnected. Manual A pulse (>1 us) is output from the Trig out terminal at the start of each...
Example OUTP1:TRIG? The Trig out signal is enabled. Source Specific SOURce[1]:MARKer:FREQuency Command Sets or queries the marker frequency. The default Description marker frequency is 500 Hz. The marker frequency is used to output a SYNC signal from the SYNC terminal on the front panel. The SYNC signal goes logically high at the start of each sweep and goes low at the marker frequency.
Source Specific SOURce[1]:MARKer Command Turns the marker frequency on or off. The default Description is off. MARKer ON The SYNC signal goes logically Note high at the start of each sweep and goes low at the marker frequency. MARKer OFF The SYNC terminal outputs a square wave with a 50% duty cycle at the start of each sweep.
Burst Mode Commands Burst Mode Overview Burst mode can be configured to use an internal trigger (N Cycle mode) or an external trigger (Gate mode) using the Trigger INPUT terminal on the rear panel. Using N Cycle mode, each time the function generator receives a trigger, the function generator will output a specified number of waveform cycles (burst).
Page 76
The following is an overview of the steps required to generate a burst waveform. 1. Turn on Burst mode using the Enable Burst SOURce[1]:BURS:STAT ON command. Mode Configuration 2. Use the APPLy command to select a sine, square, ramp, pulse or triangle burst waveform*.
Source Specific SOURce[1]:BURSt:STATe Command Turns burst mode on or off. By default burst mode Description is turned off. When burst mode is turned on, sweep and any Note modulation modes are disabled. Syntax SOURce[1]:BURSt:STATe {OFF|ON} Example SOUR1:BURS:STAT OFF Turns burst mode on. Query Syntax SOURce[1]:BURSt:STATe? Return Parameter 0...
Example SOUR1:BURS:MODE? TRIG The current burst mode is triggered. Source Specific SOURce[1]:BURSt:NCYCles Command Sets or queries the number of cycles (burst count) Description in triggered burst mode. The default number of cycles is 1. The burst count is ignored in gated mode.
Example SOUR1:BURS:NCYC? +1.0000E+02 The burst cycles are set to 100. Source Specific SOURce[1]:BURSt:INTernal:PERiod Command Sets or queries the burst period. Burst period Description settings are only applicable when the trigger is set to immediate. The default burst period is 10 ms. During manual triggering, external triggering or Gate burst mode, the burst period settings are ignored.
Source Specific SOURce[1]:BURSt:PHASe Command Sets or queries the starting phase for the burst. The Description default phase is 0 degrees. At 0 degrees, sine square and ramp waveforms are at 0 volts. In gated burst mode, waveforms are continuously output (burst) when the Trig signal is true. The voltage level at the starting phase is used to determine the voltage level of the signal in- between bursts.
Immediate A burst is output at a set frequency determined by the burst period. External EXTernal will output a burst waveform after each external trigger pulse. Any additional trigger pulse signals before the end of the burst are ignored. Manual Manual triggering will output a burst waveform after the trigger softkey is pressed.
Syntax SOURce[1]: BURSt:TRIGger:DELay {<seconds>|MINimum|MAXimum} Parameter <seconds> 0~85 seconds Example SOUR1:BURS:TRIG:DEL +1.0000E+01 Sets the trigger delay to 10 seconds. Query Syntax SOURce[1]:BURSt:TRIGger:DELay? [MINimum|MAXimum] Return Parameter <NRf> Delay in seconds Example SOUR1:BURS:TRIG:DEL +1.0000E+01 The trigger delay is 10 seconds. Source Specific SOURce[1]:BURSt:TRIGger:SLOPe Command Sets or queries the trigger edge for externally Description...
Source Specific SOURce[1]:BURSt:GATE:POLarity Command In gated mode, the function generator will output Description a waveform continuously while the external trigger receives logically true signal from the Trigger INPUT terminal. Normally a signal is logically true when it is high. The logical level can be inverted so that a low signal is considered true.
Source Specific SOURce[1]:BURSt:OUTPut:TRIGger:SLOPe Command Sets or queries the trigger edge of the trigger Description output signal. The signal is output from the trigger out terminal on the rear panel. The default trigger output slope is positive. The trigger output signal on the rear panel Note depends on the burst trigger source or mode: Immediate...
Source Specific OUTPut:TRIGger Command Sets or queries the trigger output signal on or off. Description By default the signal is disabled. When enabled, a TTL compatible square wave is output. This function applies to sweep as well as burst mode. Syntax OUTPut[1]:TRIGger {OFF|ON} Parameter...
Arbitrary Waveform Commands Arbitrary Waveform Overview Use the steps below to output an arbitrary waveform over the remote interface. 1. Use the SOURce[1]:FUNCtion USER Output Arbitrary command to output the arbitrary waveform Waveform currently selected in memory. 2. Use the APPLy command to select frequency, Select Waveform Frequency, amplitude and DC offset.
Source Specific SOURce[1]:FUNCtion USER Command Use the SOURce[1]:FUNCtion USER command to Description output the arbitrary waveform currently selected in memory. The waveform is output with the current frequency, amplitude and offset settings. Syntax SOURce[1]:FUNCtion USER Example SOUR1:FUNC USER Selects and outputs the current waveform in memory.
Page 88
Note The integer values (±32767) correspond to the maximum and minimum peak amplitudes of the waveform. For instance, for a waveform with an amplitude of 5Vpp (0 offset), the value 32767is the equivalent of 2.5 Volts. If the integer values do not span the full output range, the peak amplitude will be limited.
Source Specific SOURce[1]:ARB:EDIT:COPY Command Copies a segment of a waveform to a specific Description starting address. Syntax SOURce[1]:ARB:EDIT:COPY [<start>[,<length>[,<paste>]]] Parameter <start> Start address: 0~1048,576 <length> 0 ~ 1048,576 <paste> Paste address: 0~1048,576 Example SOUR1:ARB:EDIT:COPY 1000, 256, 1257 Copies 256 data values starting at address 1000 and copies them to address 1257.
A waveform cannot be deleted when output. Note Syntax SOURce[1]:ARB:EDIT:DELete:ALL Example SOUR1:ARB:EDIT:DEL:ALL Deletes all user waveforms from memory. Source Specific SOURce[1]:ARB:EDIT:POINt Command Edit a point on the arbitrary waveform. Description A waveform/waveform segment cannot be Note deleted when output. Syntax SOURce[1]:ARB:EDIT:POINt [<address>...
<data2> Value data2: ± 32,767 Example SOUR1:ARB:EDIT:LINE 40, 50, 100, 50 Creates a line on the arbitrary waveform at 40,50 to 100,50. Source Specific SOURce[1]:ARB:EDIT:PROTect Command Protects a segment of the arbitrary waveform from Description deletion or editing. Syntax SOURce[1]:ARB:EDIT:PROTect [<STARt>[,<LENGth>]] Parameter <STARt>...
Source Specific SOURce[1]:ARB:BUILt:SINusoid Command Creates a sinusoid with a specified start address, Description length and scale. Syntax SOURce[1]:ARB:BUILt:SINusoid [<STARt>[,<LENGth>[,<SCALe>]]] Parameter <STARt> Start address*: 0~1048,576 <LENGth> Length*: 0 ~ 1048,576 <SCALe> Scale: ±32767 * Start + Length ≤ 1,048,576 Example SOUR1:ARB:BUIL:SIN 1000, 1000, 100 Creates a sin wave 1000 points in length with a scale of 100 and a start address of 1000.
Source Specific SOURce[1]:ARB:BUILt:RAMP Command Creates a ramp wave with a specified start Description address, length and scale. Syntax SOURce[1]:ARB:BUILt:RAMP[<STARt>[,<LENGth>[,<S CALe>]]] Parameter <STARt> Start address*: 0~1048,576 <LENGth> Length*: 0 ~ 1048,576 <SCALe> Scale: ±32767 * Start + Length ≤ 1,048,576 Example SOUR1:ARB:BUIL:RAMP 1000, 1000, 100 Creates a ramp wave 1000 points in length with a scale of 100 and a start address of 1000.
Source Specific SOURce[1]:ARB:OUTPut Command Output the current arbitrary waveform in volatile Description memory. A specified start and length can also be designated. Syntax SOURce[1]:ARB:OUTPut [<STARt>[,<LENGth>]] Parameter <STARt> Start address*: 0~1048,576 <LENGth> Length*: 0 ~ 1048,576 * Start + Length ≤ currently output arbitrary waveform Example SOUR1:ARB:OUTP 20 200 Outputs the current arbitrary waveform in...
Instrument *RCL Command Recall previously saved instrument states from Description memory locations 0~9. Syntax *RCL {0|1|2|3|4|5|6|7|8|9} Example *RCL 0 Recall instrument state from memory location 0. Instrument MEMory:STATe:DELete Command Delete memory from a specified memory location. Description Syntax MEMory:STATe:DELete {0|1|2|3|4|5|6|7|8|9} Example MEM:STAT:DEL 0 Delete instrument state from memory location 0.
Error Messages The AFG-3000 has a number of specific error codes. Use the SYSTem:ERRor command to recall the error codes. For more information regarding the error queue, see page 117. Command Error Codes -101 Invalid character An invalid character was used in the command string.
Page 99
-112 Program mnemonic too long A command header contains more than 12 characters: OUTP:SYNCHRONIZATION ON -113 Undefined header An undefined header was encountered. The header is syntactically correct. Example: the header contains a character mistake. SOUR1:AMM:DEPT MIN -123 Exponent too large Numeric exponent exceeds 32,000.
-158 String data not allowed An unexpected character string was used where none were expected. Example: A character string is used instead of a valid parameter. SOURce1:SWEep:SPACing ’TEN’ -161 Invalid block data Invalid block data was received. Example: The number of bytes sent with the DATA:DAC command doesn’t correlate to the number of bytes specified in the block header.
Page 101
-221 Settings conflict; infinite burst changed trigger source to MANual Example: The trigger source is changed to immediate from manual when infinite burst mode is selected. -221 Settings conflict; burst period increased to fit entire burst Example: The function generator automatically increases the burst period to allow for the burst count or frequency.
Page 102
-221 Settings conflict;trigger output connector used by trigger external Example: The trigger output connector is disabled when the trigger source is set to external. -221 Settings conflict;frequency reduced for pulse function Example: When the function is changed to pulse, the output frequency is automatically reduced if over range.
Page 103
-221 Settings conflict;AM turned off by selection of other mode or modulation Example: AM mode is disabled when burst, sweep or a modulation mode is enabled. -221 Settings conflict; sweep turned off by selection of other mode or modulation Example: Sweep mode is disabled when burst or a modulation mode is enabled.
Page 104
-221 Settings conflict;not able to burst dc, burst turned off Example: The burst function cannot be used with the dc voltage function. -221 Settings conflict;not able to sweep noise, sweep turned off Example: A waveform cannot be swept using the noise function.
Page 105
-221 Settings conflict;offset changed due to amplitude Example: The offset is not a valid offset value, it is automatically adjusted, considering the amplitude. |offset|≤ max amplitude – Vpp/2 -221 Settings conflict;amplitude changed due to offset Example: The amplitude is not a valid value, it is automatically adjusted, considering the offset.
Page 106
-222 Data out of range;frequency; value clipped to ... Example: If the frequency was set to a value out of range, it is automatically set to an upper or lower limit. -222 Data out of range;user frequency; value clipped to upper limit Example: If the frequency is set to a value out of range for an arbitrary waveform using, SOURce[1]: APPL: USER or SOURce[1]: FUNC:USER, it is...
Page 107
-222 Data out of range; burst period limited by length of burst; value clipped to upper limit Example: The burst period must be greater than burst count divided by the frequency + 200 ns. The burst period is adjusted to satisfy these conditions. burst period >...
Page 108
-222 Data out of range;marker confined to sweep span; value clipped to ... Example: The marker frequency is set to a value outside the start or stop frequencies. The marker frequency is automatically adjusted to either the start or stop frequency (whichever is closer to the set value).
Page 109
-313 Calibration memory lost;memory corruption detected Indicates that a fault (check sum error) has occurred with the non-volatile memory that stores the calibration data. -314 Save/recall memory lost;memory corruption detected Indicates that a fault (check sum error) has occurred with the non-volatile memory that stores the save/recall files.
Query Errors -410 Query INTERRUPTED Indicates that a command was received but the data in the output buffer from a previous command was lost. -420 Query UNTERMINATED The function generator is ready to return data, however there was no data in the output buffer. For example: Using the APPLy command.
Page 111
800 Block length must be even Example: As block data (DATA:DAC VOLATILE) uses two bytes to store each data point, there must be an even number or bytes for a data block.
SCPI Status Registers The status registers are used to record and determine the status of the function generator. The function generator has a number of register groups: Questionable Status Registers Standard Event Status Registers Status Byte Register As well as the output and error queues. Each register group is divided into three types of registers: condition registers, event registers and enable registers.
Questionable Status Register The Questionable Status Registers will show if any Description faults or errors have occurred. Bit Summary Register Bit Weight Voltage overload Over temperature Loop unlock Ext Mod Overload Cal Error External Reference Standard Event Status Registers The Standard Event Status Registers indicate when Description the *OPC command has been executed or whether any programming errors have occurred.
Page 115
Bit Summary Register Bit Weight Operation complete bit Query Error Device Error Execution Error Command Error Power On Operation The operation complete bit is set Error Bits complete when all selected pending operations are complete. This bit is set in response to the *OPC command.
The Status Byte Register The Status Byte register consolidates the status Description events of all the status registers. The Status Byte register can be read with the *STB? query or a serial poll and can be cleared with the *CLS command.
Standard Event The Event Status bit is set if an “enabled” event in the Standard Event Status Event Register has occurred. Master The Master Summary Status is Summary/ used with the *STB? query. When Service the *STB? query is read the MSS Request bit bit is not cleared.
Page 119
System and Settings ....126 UK power cord......10 Service operation Updating Firmware ....126 about disassembly ......7 Set output impedance ..... 128 remote control interface .... 175 Setting up the instrument ..19 Warning symbol......6 software download....178 Specifications......288...
Need help?
Do you have a question about the AFG-3000 Series and is the answer not in the manual?
Questions and answers