background image

40 

AFG1000 Series Arbitrary Function Generator Programmer Manual 

Command Descriptions 

 

 

Technical Reference

 

Conditions 

For the AFG1022, use 

[SOURce1]

. Modulation, sweep, and burst conditions do 

not apply to CH2 for the AFG1022. 

 

 

Group 

Source 

 

 

Syntax 

[SOURce[1|2]]:FREQuency:STOP  

{<frequency>|MINimum|MAXimum} 

[SOURce[1|2]]:FREQuency:STOP

?   {MINimum|MAXimum} 

 
 

Related Commands 

[SOURce[1|2]]:FREQuency:STARt

,     

[SOURce[1|2]]:FREQuency:MODE

 

 

Arguments 

<frequency>::=<NRf>[<units>] 
where: 
<NRf> is the stop frequency. 
<units>::=[Hz | kHz | MHz] 

 

 

Returns 

<frequency> 

 
 

Examples 

SOURce1:FREQuency:STOP  100KHz 

sets the stop frequency of CH 1 to 100 kHz. 

 

 

 

[SOURce[1|2]]:FSKey[:FREQuency]

 

This command sets or queries the hop frequency of FSK modulation for the 

specified channel. 

 

Conditions 

For the AFG1022, use 

[SOURce1]

. Modulation, sweep, and burst conditions do 

not apply to CH2 for the AFG1022. 

 

 

Group 

Source 

 

 

Syntax 

[SOURce[1|2]]:FSKey[:FREQuency]  

{<frequency>|MINimum|MAXimum} 

[SOURce[1|2]]:FSKey[:FREQuency]

?  {MINimum|MAXimum} 

 

Summary of Contents for AFG1000 Series

Page 1: ...xx AFG1000 Series Arbitrary Function Generator ZZZ Programmer Manual P077112901 077 1129 01 ...

Page 2: ......

Page 3: ...AFG1000 Series Arbitrary Function Generator ZZZ Programmer Manual xx Revision A www tek com 077 1129 01 ...

Page 4: ...sued and pending Information in this publication supersedes that in all previously published material Specifications and price change privileges reserved TEKTRONIX and TEK are registered trademarks of Tektronix Inc Contacting Tektronix Tektronix Inc 14150 SW Karl Braun Drive P O Box 500 Beaverton OR 97077 USA For product information sales service and technical support In North America call 1 800 8...

Page 5: ...nsible for paying all shipping charges duties taxes and any other charges for products returned to any other locations This warranty shall not apply to any defect failure or damage caused by improper use or improper or inadequate maintenance and care Tektronix shall not be obligated to furnish service under this warranty a to repair damage resulting from attempts by personnel other than Tektronix ...

Page 6: ...Form 14 IDN Query Only 15 MMEMory CATalog Query Only 15 MMEMory CDIRectory 16 MMEMory DELete No Query Form 17 OPT Query Only 17 OUTPut 1 2 IMPedance 18 OUTPut 1 2 STATe 18 RCL No Query Form 19 RST No Query Form 20 SAV No Query Form 20 SOURce 1 2 AM DEPTh 21 SOURce 1 2 AM INTernal FREQuency 21 SOURce 1 2 AM INTernal FUNCtion 22 SOURce 1 2 AM INTernal FUNCtion EFILe 23 SOURce 1 2 AM SOURce 24 SOURce...

Page 7: ...y STATe 42 SOURce 1 2 FUNCtion EFILe 43 SOURce 1 2 FUNCtion SHAPe 43 SOURce 1 2 PHASe ADJust 45 SOURce 1 2 PHASe INITiate No Query Form 46 SOURce 1 2 PM DEViation 46 SOURce 1 2 PM INTernal FREQuency 47 SOURce 1 2 PM INTernal FUNCtion 48 SOURce 1 2 PM INTernal FUNCtion EFILe 49 SOURce 1 2 PM SOURce 49 SOURce 1 2 PM STATe 50 SOURce 1 2 PSKey DEViation 51 SOURce 1 2 PSKey INTernal RATE 51 SOURce 1 2 ...

Page 8: ...ts SOURce 1 2 VOLTage LEVel IMMediate AMPLitude 61 SYSTem ERRor NEXT Query Only 62 TRACe DATA CATalog Query Only 63 TRACe DATA COPY No Query Form 63 TRACe DATA DATA 64 TRACe DATA DATA VALue 64 TRACe DATA POINts 65 TRG No Query Form 66 WAI No Query Form 66 Command Errors 67 Index 68 ...

Page 9: ......

Page 10: ...orms to USB TMC Attach a USB cable to this connector AC line connector USB type B connector Figure 1 USB type B connector Using TekVISA TekVISA is Tektronix implementation of VISA Virtual Instrument Software Architecture an industry standard communication protocol VISA provides a common standard for software developers so that software from multiple vendors such as instrument drivers can run on th...

Page 11: ...nd on the Tektronix Web site Where to find more information The following table lists related documentation available for your instrument The documentation is available on the Product Documentation CD and on the Tektronix Web site www tek com manuals Item Purpose Location Important safety and compliance instructions Compliance and safety instructions Built in Help UI Help and Operation Quick Start...

Page 12: ...ment Is defined as Exclusive OR Group one element is required Optional can be omitted Previous element s may be repeated Comment Command and Query Structure Overview 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 stat...

Page 13: ...cters before and after the comma Space A white space character between command header and argument It may optionally consist of multiple white space characters Commands Commands cause the instrument to perform a specific function or change one of its settings Commands have the structure Header Space Argument Comma Argument A command header is made up of one or more mnemonics arranged in a hierarch...

Page 14: ... node it is followed by one or more lower level nodes Create commands and queries from these subsystem hierarchy trees Commands specify actions for the instrument to perform Queries return measurement data and information about parameter settings Creating Commands SCPI commands are created by stringing together the nodes of a subsystem hierarchy and separating each node by a colon To create a SCPI...

Page 15: ...umbers 0 9 A B C D E F H AA H1 NR1 2 numeric Integers 0 1 15 1 NR2 2 3 numeric Decimal numbers 1 2 3 141516 6 5 NR3 2 numeric Floating point numbers 3 1415E 9 16 1E5 NRf 2 numeric Flexible decimal number that may be type NR1 NR2 or NR3 See NR1 NR2 and NR3 examples string 4 Alphanumeric characters must be within quotation marks Testing 1 2 3 1 Defined in ANSI IEEE 488 2 as Definite Length Arbitrary...

Page 16: ...s and Queries Chain several commands or queries together into a single message To create a chained message first create a command or query add a semicolon and then add more commands or queries and semicolons until the message is complete If the command following a semicolon is a root node precede it with a colon The single chained message should end in a command or query not a semicolon Responses ...

Page 17: ...es for using SCPI commands queries and parameters 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 Use upper case lower case or a mixture of both cases for ...

Page 18: ... instrument complies with this standard Command and Query Structure The syntax for an IEEE 488 2 common command is an asterisk followed by a command and optionally a space and parameter value The syntax for an IEEE 488 2 common query is an asterisk followed by a query and a question mark All of the common commands and queries are listed in the last part of the Syntax and Commands section The follo...

Page 19: ...y SAV Save instrument setting to setup memory Mass Memory Commands Mass Memory commands let you change mass memory attributes The following table lists and describes the Mass Memory commands Table 6 Mass Memory commands Command Description MMEMory CATalog Query the status of mass memory MMEMory CDIRectory Set query current directory MMEMory DELete Delete file or directory in mass memory Output Com...

Page 20: ...st mode status SOURce 1 2 FM DEViation Set query frequency deviation SOURce 1 2 FM INTernal FREQuency Set query internal modulation frequency SOURce 1 2 FM INTernal FUNCtion Set query internal modulation waveform SOURce 1 2 FM INTernal FUNCtion EFILe Set query EFILe setting SOURce 1 2 FM SOURce Set query frequency modulation source SOURce 1 2 FM STATe Set query frequency modulation status SOURce 1...

Page 21: ...th modulation waveform SOURce 1 2 PWM INTernal FUNCtion EFILe Set query EFILe name SOURce 1 2 PWM SOURce Set query pulse width modulation source SOURce 1 2 PWM STATe Set query pulse width modulation status SOURce 1 2 PWM DEViation DCYCle Set query pulse width modulation deviation SOURce 1 2 SWEep SOURce Set query sweep trigger source SOURce 1 2 SWEep SPACing Set query sweep spacing SOURce 1 2 SWEe...

Page 22: ...scription TRACe DATA CATalog Return user waveform memory status TRACe DATA COPY Copy edit memory or user waveform memory content to user waveform memory or edit memory TRACe DATA DATA Set query waveform data to edit memory TRACe DATA DATA VALue Set query waveform data in edit memory TRACe DATA POINts Set query number of points for waveform data in edit memory Trigger Command Trigger command lets y...

Page 23: ...he minimal spelling shown in upper case for example to use the abbreviated form of the DISPlay BRIGhtness command just type DISP BRIG Syntax of some commands varies depending on the model of instrument you are using differences are noted AFGControl CSCopy No Query Form This command copies setup parameters for one channel to another channel Group AFG Control Syntax AFGControl CSCopy CH1 CH2 CH1 CH2...

Page 24: ...nformation on the instrument Group System Syntax IDN Arguments None Returns Manufacturer Model Serial Number Firmware Level where Manufacturer TEKTRONIX Model AFG1022 AFG1062 Serial Number Firmware Level SCPI 99 0 FV 2 0 0 Examples IDN might return the following response TEKTRONIX AFG1062 1331030 SCPI 99 0 FV 2 0 0 MMEMory CATalog Query Only This query only command returns the current state of the...

Page 25: ...in 8 3 name format file_type is DIR for directory otherwise it is blank file_size is the size of the file in bytes This value will be 0 for directory Examples The USB memory includes the Case and PWS4000 Main CPU Update folders a SAMPLE1 tfw file and a Test zip file The directory name PWS4000 Main CPU Update will be shortened to PWS400 1 MMEMory CATalog might return the following response 32751616...

Page 26: ... a specified file in the mass storage is not allowed to overwrite or delete this command causes an error You can delete a directory if it is empty Group Mass Memory Syntax MMEMory DELete file_name Arguments file_name string specifies a file to be deleted and should include full path Examples MMEMory DELete AFG WORK0 TEK001 tfw deletes the specified file from the AFG WORK directory OPT Query Only T...

Page 27: ...esolution of 1 Ω The default value is 50 Ω The query returns the current load impedance setting in ohms If the load impedance is set to INFinity the query returns 9 9E 37 Group Output Syntax OUTPut 1 2 IMPedance ohms INFinity MINimum MAXimum OUTPut 1 2 IMPedance MINimum MAXimum Arguments ohms NR3 units where units OHM INFinity sets the load impedance to 10 kΩ MINimum sets the load impedance to 1 Ω...

Page 28: ...s the instrument CH 1 output to ON RCL No Query Form This command restores the state of the instrument from a copy of the settings stored in the setup memory The settings are stored using the SAV command If the specified setup memory is deleted this command causes an error Group Memory Syntax RCL 0 1 2 30 31 Related Commands SAV Arguments 0 1 2 30 or 31 specifies the location of setup memory Examp...

Page 29: ...ts None Examples RST resets the instrument settings to the factory defaults SAV No Query Form This command stores the current settings of the arbitrary function generator to a specified setup memory location Group Memory Syntax SAV 0 1 2 30 31 Related Commands RCL Arguments 0 1 2 30 or 31 specifies the location of setup memory Examples SAV 2 saves the current instrument state in the memory locatio...

Page 30: ... NR2 units where NR2 is the depth of modulating frequency units PCT MINimum sets the modulation depth to minimum value MAXimum sets the modulation depth to maximum value Returns depth Examples SOURce1 AM DEPth MAXimum sets the depth of modulating signal on CH 1 to the maximum value SOURce 1 2 AM INTernal FREQuency This command sets or queries the internal modulation frequency of AM modulation for ...

Page 31: ...quency to 10 kHz SOURce 1 2 AM INTernal FUNCtion This command sets or queries the modulating waveform of AM modulation for the specified channel Use this command 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 Conditions For the AFG1022 use SOURce1 Modulation sweep and burst conditions do not a...

Page 32: ...ng waveform for the CH 1 output 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 returns if there is no file in the mass storage Conditions For the AFG1022 use SOURce1 Modulation sweep and burst conditions do not apply to CH2 for the AFG1022 Group So...

Page 33: ...OURce 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 Returns INT EXT Examples SOURce1 AM SOURce INTernal sets the CH 1 source of modulating signal to internal SOURce 1 2 AM STATe This command enables or disables AM modulation for the specified channel The query returns the state o...

Page 34: ... not supported for AFG1022 This command sets or queries the modulation amplitude of ASK modulation for the specified channel Set the modulation amplitude from 0 Vpp to the current amplitude of the carrier waveform Units Amplitude resolution Vpp 1 mVp p or four digits Conditions AFG1062 only Group Source Syntax SOURce 1 2 ASKey AMPLitude amplitude MINimum MAXimum SOURce 1 2 ASKey AMPLitude MINimum ...

Page 35: ...l RATE This command sets or queries the internal modulation rate of ASK modulation for the specified channel Use this command when the internal modulation source is selected Conditions AFG1062 only Group Source Syntax SOURce 1 2 ASKey INTernal RATE rate MINimum MAXimum SOURce 1 2 ASKey INTernal RATE MINimum MAXimum Arguments rate NRf units where NRf is the modulation rate units Hz kHz MHz Returns ...

Page 36: ... waveform is modulated with an internal source EXTernal means that the carrier waveform is modulated with an external source Returns INT EXT Examples SOURce1 ASKey SOURce INTernal sets the CH 1 source of modulating signal to internal SOURce 1 2 ASKey STATe This command enables or disables ASK modulation The query returns the state of ASK modulation Select a sine square ramp or arbitrary waveform a...

Page 37: ...2 for the AFG1022 Group Source Syntax SOURce 1 2 BURSt MODE TRIGgered GATed SOURce 1 2 BURSt MODE Arguments TRIGgered means that triggered mode is selected for burst mode GATed means that gated mode is selected for burst mode Returns TRIG GAT Examples SOURce1 BURSt MODE TRIGgered selects triggered mode SOURce 1 2 BURSt NCYCles This command sets or queries the number of cycles burst count to be out...

Page 38: ...Ximum sets the burst count to maximum count Returns cycles Examples SOURce1 BURSt NCYCles 2 sets the CH 1 burst count to 2 SOURce 1 2 BURSt SOURce This command sets or queries the trigger source in the burst mode for the specified channel This command is available only in the Triggered burst mode Conditions For the AFG1022 use SOURce1 Modulation sweep and burst conditions do not apply to CH2 for t...

Page 39: ...use SOURce1 Modulation sweep and burst conditions do not apply to CH2 for the AFG1022 Group Source Syntax SOURce 1 2 BURSt STATe ON OFF NR1 SOURce 1 2 BURSt STATe Arguments ON or NR1 0 enables the burst mode OFF or NR1 0 disables the burst mode Returns NR1 Examples SOURce1 BURSt STATe ON enables the burst mode for the CH 1 SOURce 1 2 FM DEViation This command sets or queries the peak frequency dev...

Page 40: ...Examples SOURce1 FM DEViation 1 0MHz sets the CH 1 frequency deviation to 1 0 MHz SOURce 1 2 FM INTernal FREQuency This command sets or queries the internal modulation frequency of FM modulation for the specified channel Use this command when the internal modulation source is selected Set the internal modulation frequency from 2 mHz to 20 00 kHz with resolution of 1 mHz Conditions For the AFG1022 ...

Page 41: ... you specify EFILe when there is no EFILe or the EFILe is not yet defined this command causes an error Conditions For the AFG1022 use SOURce1 Modulation sweep and burst conditions do not apply to CH2 for the AFG1022 Group Source Syntax SOURce 1 2 FM INTernal FUNCtion SINusoid SQUare RAMP PRNoise USER NR1 EMEMory EFILe SOURce 1 2 FM INTernal FUNCtion Related Commands SOURce 1 2 FM SOURce Arguments ...

Page 42: ...ass storage Conditions For the AFG1022 use SOURce1 Modulation sweep and burst conditions do not apply to CH2 for the AFG1022 Group Source Syntax SOURce 1 2 FM INTernal FUNCtion EFILe file_name SOURce 1 2 FM INTernal FUNCtion EFILe Arguments file_name string specifies a file name in the mass storage system The file_name includes path Path separators are forward slashes Returns file_name Examples SO...

Page 43: ...NT EXT Examples SOURce1 FM SOURce INTernal sets the CH 1 source of modulating signal to internal SOURce 1 2 FM STATe This command enables or disables FM modulation The query returns the state of FM modulation Conditions For the AFG1022 use SOURce1 Modulation sweep and burst conditions do not apply to CH2 for the AFG1022 Group Source Syntax SOURce 1 2 FM STATe ON OFF NR1 SOURce 1 2 FM STATe Argumen...

Page 44: ...REQuency CENTer frequency MINimum MAXimum SOURce 1 2 FREQuency CENTer MINimum MAXimum Related Commands SOURce 1 2 FREQuency SPAN SOURce 1 2 FREQuency MODE Arguments frequency NRf units where NRf is the center frequency units Hz kHz MHz Returns frequency Examples SOURce1 FREQuency CENTer 550kHz sets the CH 1 center frequency to 550 kHz SOURce 1 2 FREQuency CONCurrent This command enables or disable...

Page 45: ...rrent ON copies the frequency value of CH 1 to CH 2 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 bec...

Page 46: ...the frequency sweep state Select sine square or ramp waveform for sweep Conditions For the AFG1022 use SOURce1 Modulation sweep and burst conditions do not apply to CH2 for the AFG1022 Group Source Syntax SOURce 1 2 FREQuency MODE CW FIXed SWEep SOURce 1 2 FREQuency MODE Related Commands SOURce 1 2 FREQuency CW FIXed Arguments CW FIXed means that the frequency is controlled by the SOURce 1 2 FREQu...

Page 47: ...ncy CENTer command The setting range of frequency span depends on the waveform selected for sweep Conditions For the AFG1022 use SOURce1 Modulation sweep and burst conditions do not apply to CH2 for the AFG1022 Group Source Syntax SOURce 1 2 FREQuency SPAN frequency MINimum MAXimum SOURce 1 2 FREQuency SPAN MINimum MAXimum Related Commands SOURce 1 2 FREQuency CENTer SOURce 1 2 FREQuency MODE Argu...

Page 48: ...ly to CH2 for the AFG1022 Group Source Syntax SOURce 1 2 FREQuency STARt frequency MINimum MAXimum SOURce 1 2 FREQuency STARt MINimum MAXimum Related Commands SOURce 1 2 FREQuency STOP SOURce 1 2 FREQuency MODE Arguments frequency NRf units where NRf is the start frequency units Hz kHz MHz Returns frequency Examples SOURce1 FREQuency STARt 10kHz sets the sweep start frequency of CH 1 to 10 kHz SOU...

Page 49: ...EQuency STARt SOURce 1 2 FREQuency MODE Arguments frequency NRf units where NRf is the stop frequency units Hz kHz MHz Returns frequency Examples SOURce1 FREQuency STOP 100KHz sets the stop frequency of CH 1 to 100 kHz SOURce 1 2 FSKey FREQuency This command sets or queries the hop frequency of FSK modulation for the specified channel Conditions For the AFG1022 use SOURce1 Modulation sweep and bur...

Page 50: ...mand sets or queries the internal modulation rate of FSK modulation for the specified channel Use this command when the internal modulation source is selected Conditions For the AFG1022 use SOURce1 Modulation sweep and burst conditions do not apply to CH2 for the AFG1022 Group Source Syntax SOURce 1 2 FSKey INTernal RATE rate MINimum MAXimum SOURce 1 2 FSKey INTernal RATE MINimum MAXimum Arguments...

Page 51: ...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 Returns INT EXT Examples SOURce1 FSKey SOURce INTernal sets the CH 1 source of modulating signal to internal SOURce 1 2 FSKey STATe This command enables or disables FSK modulation The query returns the state of FSK mo...

Page 52: ...This command returns if there is no file in the mass storage Group Source Syntax SOURce 1 2 FUNCtion EFILe file_name SOURce 1 2 FUNCtion EFILe Arguments file_name string specifies a file name in the mass storage system The file_name includes path Path separators are forward slashes NOTE The file_name argument is case sensitive Returns file_name Examples SOURce1 FUNCtion EFILe SAMPLE1 sets a file n...

Page 53: ...Pulse NegPulse ExpRise ExpDecay Sinc Tan Cotan SquareRoot X 2 HaverSine Lorentz Ln x X 3 CauchyDistr BesselJ BesselY ErrorFunc Airy Rectangle Gauss Hamming Hanning Bartlett Blackman Laylight Triangle DC Heart Round Chirp Rhombus Cardiac NOTE The arguments defined in Built_in can not be abbreviated all the upper and lower case letters are needed The following table shows the combination of modulati...

Page 54: ...ned waveform saved in the user waveform memory or the EMEMory can be selected as an output waveform EFILe EFILe is specified as an output waveform Returns SIN SQU PULS RAMP PRN Built_in USER NR1 EMEMory EFILe Examples 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 s...

Page 55: ...form 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 Group Source Syntax SOURce 1 2 PHASe INITiate Arguments None Examples SOURce1 PHASe INITiate synchronizes the phase of CH 1 and CH 2 output signals SOURce 1 2 PM DEViation This comman...

Page 56: ...ue Returns deviation Examples SOURce1 PM DEViation MAXimum sets the maximum value for the CH 1 phase deviation SOURce 1 2 PM INTernal FREQuency This command sets or queries the internal modulation frequency of PM modulation for the specified channel Use this command when the internal modulation source is selected Set the internal modulation frequency from 2 mHz to 20 00 kHz with resolution of 1 mH...

Page 57: ... you specify EFILe when there is no EFILe or the EFILe is not yet defined this command causes an error Conditions For the AFG1022 use SOURce1 Modulation sweep and burst conditions do not apply to CH2 for the AFG1022 Group Source Syntax SOURce 1 2 PM INTernal FUNCtion SINusoid SQUare RAMP PRNoise USER NR1 EMEMory EFILe SOURce 1 2 PM INTernal FUNCtion Related Commands SOURce 1 2 PM SOURce Arguments ...

Page 58: ...ass storage Conditions For the AFG1022 use SOURce1 Modulation sweep and burst conditions do not apply to CH2 for the AFG1022 Group Source Syntax SOURce 1 2 PM INTernal FUNCtion EFILe file_name SOURce 1 2 PM INTernal FUNCtion EFILe Arguments file_name string specifies a file name in the mass storage system The file_name includes path Path separators are forward slashes Returns file_name Examples SO...

Page 59: ...e1 PM SOURce INTernal sets the CH 1 source of modulating signal to internal SOURce 1 2 PM STATe This command enables or disables PM modulation The query returns the state of PM modulation Select a sine square ramp or arbitrary waveform as the carrier waveform Conditions For the AFG1022 use SOURce1 Modulation sweep and burst conditions do not apply to CH2 for the AFG1022 Group Source Syntax SOURce ...

Page 60: ...MINimum MAXimum Arguments deviation NR3 units where NR3 is the phase deviation units RAD DEG If units are omitted RAD is specified automatically The setting ranges are RAD 0 PI to 1 PI relative to phase value DEG 0 to 180 in 1 degree steps relative to phase value Returns deviation Examples SOURce1 PSKey DEViation MAXimum sets the maximum value for the CH 1 phase deviation SOURce 1 2 PSKey INTernal...

Page 61: ...ate Examples SOURce1 PSKey INTernal RATE 50Hz sets the CH 1 internal modulation rate to 50 Hz SOURce 1 2 PSKey SOURce This command sets or queries the source of modulation signal of PSK modulation for the specified channel Conditions AFG1062 only Group Source Syntax SOURce 1 2 PSKey SOURce INTernal EXTernal SOURce 1 2 PSKey SOURce Arguments INTernal means that the carrier waveform is modulated wit...

Page 62: ... SOURce 1 2 PSKey STATe ON OFF NR1 SOURce 1 2 PSKey STATe Arguments ON or NR1 0 enables PSK modulation OFF or NR1 0 disables PSK modulation Returns NR1 Examples SOURce1 PSKey STATe ON enables the CH 1 PSK modulation SOURce 1 2 PULSe DCYCle This command sets or queries the duty cycle of the pulse waveform for the specified channel For frequencies less than 1 MHz the duty cycle is adjustable within ...

Page 63: ... SOURce 1 2 PWM INTernal FREQuency This command sets or queries the internal modulation frequency of PWM modulation for the specified channel Use this command when the internal modulation source is selected Set the internal modulation frequency from 2 mHz to 20 00 kHz with resolution of 1 mHz Select the source of modulating signal by using the SOURce 1 2 PWM SOURce INTernal EXTernal command Condit...

Page 64: ...he 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 Conditions AFG1062 only Group Source Syntax SOURce 1 2 PWM INTernal FUNCtion SINusoid SQUare RAMP PRNoise USER NR1 EMEMory EFILe SOURce 1 2 PWM INTernal FUNCtion Related Commands SOURce 1 2 PWM SOURce Arguments SINusoid SQUare RAMP PRNoise One of four t...

Page 65: ...e used as a modulating waveform for PWM modulation A file name must be specified in the mass storage system This command returns if there is no file in the mass storage Conditions AFG1062 only Group Source Syntax SOURce 1 2 PWM INTernal FUNCtion EFILe file_name SOURce 1 2 PWM INTernal FUNCtion EFILe Arguments file_name string specifies a file name in the mass storage system The file_name includes ...

Page 66: ...veform is modulated with an external source Returns INT EXT Examples SOURce1 PWM SOURce INTernal sets the source of modulating signal on CH 1 to internal SOURce 1 2 PWM STATe This command enables or disables PWM modulation The query returns the state of PWM modulation Select only pulse waveform as a carrier waveform for PWM Conditions AFG1062 only Group Source Syntax SOURce 1 2 PWM STATe ON OFF NR...

Page 67: ...ulse 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 Conditions AFG1062 only Group Source Syntax SOURce 1 2 PWM DEViation DCYCle percent MINimum MAXimum SOURce 1 2 PWM DEViation DCYCle Arguments percent NR2 units wher...

Page 68: ...ger source MANual specifies a manual trigger input as the trigger source EXTernal specifies an external trigger input as the trigger source Returns TIM MAN EXT Examples SOURce1 SWEep SOURce EXTernal sets an external trigger input as the trigger source in the sweep mode SOURce 1 2 SWEep SPACing This command selects linear or logarithmic spacing for the sweep for the specified channel The query retu...

Page 69: ...eries 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 1 ms to 500 s Conditions For the AFG1022 use SOURce1 Modulation sweep and burst conditions do not apply to CH2 for the AFG1022 Group Source Syntax SOURce 1 2 SWEep TIME seconds MINimum MAXimum SOURce 1 2 SWEep TIME Arguments seconds NRf units where NRf is the ...

Page 70: ...s voltage NR3 units where NR3 is the offset voltage level units mV V Returns voltage Examples SOURce1 VOLTage LEVel IMMediate OFFSet 500mV sets the CH 1 offset level to 500 mV SOURce 1 2 VOLTage LEVel IMMediate AMPLitude This command sets or queries the output amplitude for the specified channel Units Amplitude resolution Vpp 1 mVp p or four digits Set the units of output amplitude by using the be...

Page 71: ... sets the CH 1 output amplitude to 1 Vpp SYSTem ERRor NEXT Query Only This query only command returns the contents of the Error Event queue Group System Syntax SYSTem ERRor NEXT Arguments None Returns Error event number NR1 Error event description string Examples SYSTEM ERROR NEXT might return the following response 201 Invalid while in local If the instrument detects an error or an event occurs t...

Page 72: ... TRACE DATA CATALOG might return USER0 USER4 EMEM TRACe DATA COPY No Query Form This command copies the contents of edit memory or user waveform memory to a specified user waveform memory or edit memory Group Trace Syntax TRACe DATA COPY trace_name EMEMory TRACe DATA COPY EMEMory USER NR1 Arguments trace_name USER NR1 NR1 specifies the user waveform memory location For the AFG1022 NR1 can be any n...

Page 73: ...ry_block_data TRACe DATA DATA EMEMory Arguments binary_block_data where binary_block_data is the waveform data in binary format Returns binary_block_data Examples DATA DATA EMEMory 42000 DAB DAB DAB transmits a waveform to the edit memory in the instrument The block data element 42000 indicates that 4 is the number of digits in 2000 byte count and the 2000 bytes of binary data are to be transmitte...

Page 74: ... DATA DATA VALue EMEMory 500 might return 2 5000000 e0 This example indicates that the voltage value of point number 500 is set to 2 5V 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 points MINimum MAXimum TRACe DATA POINts EMEMory MIN MAX Arguments points NR1 where NR1 sets the numbe...

Page 75: ...Trigger Syntax TRG Arguments None Examples TRG generates a trigger event WAI No Query Form This command prevents the instrument from executing further commands or queries until all pending commands that generate an OPC message are complete Group Synchronization Syntax WAI Arguments None Examples WAI prevents the instrument from executing any further commands or queries until all pending commands t...

Page 76: ...he rules in the Syntax and Commands Table 15 Command messages Code Message 0 indicates no error 101 Invalid character 102 Syntax error 108 Parameter not allowed 201 Invalid while in local Error Event Queue The event queue is an FIFO queue which stores events as they occur in the instrument The event queue can store up to 64 events The oldest error code and text are retrieved by using the following...

Page 77: ...EQuency 31 SOURce 1 2 FM INTernal FUNCtion 32 SOURce 1 2 FM INTernal FUNCtion EFILe 33 SOURce 1 2 FM SOURce 33 SOURce 1 2 FM STATe 34 SOURce 1 2 FREQuency CW FIXed 36 SOURce 1 2 FREQuency CENTer 35 SOURce 1 2 FREQuency CONCurrent 35 SOURce 1 2 FREQuency MODE 37 SOURce 1 2 FREQuency SPAN 38 SOURce 1 2 FREQuency STARt 39 SOURce 1 2 FREQuency STOP 39 SOURce 1 2 FSKey FREQuency 40 SOURce 1 2 FSKey INT...

Page 78: ...1 2 PWM SOURce 56 SOURce 1 2 PWM STATe 57 SOURce 1 2 PWM DEViation DCYCle 58 SOURce 1 2 SWEep SOURce 59 SOURce 1 2 SWEep SPACing 59 SOURce 1 2 SWEep TIME 60 SOURce 1 2 VOLTage LEVel IMMediate OFFSet 61 SOURce 1 2 VOLTage LEVel IMMediate AMPLitude 61 SYSTem ERRor NEXT 62 T TRACe DATA CATalog 63 TRACe DATA COPY 63 TRACe DATA POINts 65 TRACe DATA DATA 64 TRACe DATA DATA VALue 64 TRG 66 W WAI 66 ...

Reviews: