afg
¶
The afg commands module.
These commands are used in the following models: DPO4K, DPO4KB, MDO3, MDO3K, MDO4K, MDO4KB, MDO4KC, MSO4K, MSO4KB
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- AFG:AMPLitude <NR3>
- AFG:AMPLitude?
- AFG:ARBitrary:ARB<x>:DATE?
- AFG:ARBitrary:ARB<x>:LABel <QString>
- AFG:ARBitrary:ARB<x>:LABel?
- AFG:ARBitrary:ARB<x>:TIMe?
- AFG:ARBitrary:EMEM:FUNCtion?
- AFG:ARBitrary:EMEM:GENerate {SINE|SQUare|PULSe|RAMP|NOISe[,NR1]}
- AFG:ARBitrary:EMEM:GENerate?
- AFG:ARBitrary:EMEM:NUMPoints?
- AFG:ARBitrary:EMEM:POINTS <BlockWfmInDTO> |<NrfWfmInDTO>
- AFG:ARBitrary:EMEM:POINTS:BYTEORDer <LSB> |<MSB>
- AFG:ARBitrary:EMEM:POINTS:BYTEORDer?
- AFG:ARBitrary:EMEM:POINTS:ENCdg {ASCii|BINary}
- AFG:ARBitrary:EMEM:POINTS:ENCdg?
- AFG:ARBitrary:EMEM:POINTS?
- AFG:FREQuency <NR3>
- AFG:FREQuency?
- AFG:FUNCtion {SINE|SQUare|PULSe|RAMP|NOISe|DC|SINC|GAUSsian|LORENtz|ERISe|EDECAy|HAVERSINe|CARDIac|ARBitrary}
- AFG:FUNCtion?
- AFG:HIGHLevel <NR3>
- AFG:HIGHLevel?
- AFG:LEVELPreset {CMOS_5_0V|CMOS_3_3V|CMOS_2_5V|ECL|TTL|USER}
- AFG:LEVELPreset?
- AFG:LOWLevel <NR3>
- AFG:LOWLevel?
- AFG:NOISEAdd:PERCent <NR3>
- AFG:NOISEAdd:PERCent?
- AFG:NOISEAdd:STATE {ON|OFF|1|0}
- AFG:NOISEAdd:STATE?
- AFG:OFFSet <NR3>
- AFG:OFFSet?
- AFG:OUTPut:LOAd:IMPEDance {FIFty|HIGHZ}
- AFG:OUTPut:LOAd:IMPEDance?
- AFG:OUTPut:STATE {ON|OFF|1|0}
- AFG:OUTPut:STATE?
- AFG:PERIod <NR3>
- AFG:PERIod?
- AFG:PHASe <NR3>
- AFG:PHASe?
- AFG:PULse:WIDth <NR3>
- AFG:PULse:WIDth?
- AFG:RAMP:SYMmetry <NR3>
- AFG:RAMP:SYMmetry?
- AFG:SQUare:DUty <NR3>
- AFG:SQUare:DUty?
Afg
¶
Bases: SCPICmdRead
The AFG command tree.
Usage
- Using the
.query()method will send theAFG?query. - Using the
.verify(value)method will send theAFG?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.amplitude: TheAFG:AMPLitudecommand..arbitrary: TheAFG:ARBitrarycommand tree..frequency: TheAFG:FREQuencycommand..function: TheAFG:FUNCtioncommand..highlevel: TheAFG:HIGHLevelcommand..levelpreset: TheAFG:LEVELPresetcommand..lowlevel: TheAFG:LOWLevelcommand..noiseadd: TheAFG:NOISEAddcommand tree..offset: TheAFG:OFFSetcommand..output: TheAFG:OUTPutcommand tree..period: TheAFG:PERIodcommand..phase: TheAFG:PHASecommand..pulse: TheAFG:PULsecommand tree..ramp: TheAFG:RAMPcommand tree..square: TheAFG:SQUarecommand tree.
amplitude
property
¶
amplitude: AfgAmplitude
Return the AFG:AMPLitude command.
Description
- Sets (or queries) the AFG amplitude in volts, peak to peak.
Usage
- Using the
.query()method will send theAFG:AMPLitude?query. - Using the
.verify(value)method will send theAFG:AMPLitude?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:AMPLitude valuecommand.
SCPI Syntax
- AFG:AMPLitude <NR3>
- AFG:AMPLitude?
Info
<NR3>is a floating point number that represents the AFG amplitude, peak to peak, in volts.
arbitrary
property
¶
arbitrary: AfgArbitrary
Return the AFG:ARBitrary command tree.
Usage
- Using the
.query()method will send theAFG:ARBitrary?query. - Using the
.verify(value)method will send theAFG:ARBitrary?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.arb: TheAFG:ARBitrary:ARB<x>command tree..emem: TheAFG:ARBitrary:EMEMcommand tree.
frequency
property
¶
frequency: AfgFrequency
Return the AFG:FREQuency command.
Description
- Sets (or queries) the AFG frequency, in Hz.
Usage
- Using the
.query()method will send theAFG:FREQuency?query. - Using the
.verify(value)method will send theAFG:FREQuency?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:FREQuency valuecommand.
SCPI Syntax
- AFG:FREQuency <NR3>
- AFG:FREQuency?
Info
<NR3>is the floating point number that represents the AFG frequency, in Hz.
function
property
¶
function: AfgFunction
Return the AFG:FUNCtion command.
Description
- Sets (or queries) which AFG function to execute.
Usage
- Using the
.query()method will send theAFG:FUNCtion?query. - Using the
.verify(value)method will send theAFG:FUNCtion?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:FUNCtion valuecommand.
SCPI Syntax
- AFG:FUNCtion {SINE|SQUare|PULSe|RAMP|NOISe|DC|SINC|GAUSsian|LORENtz|ERISe|EDECAy|HAVERSINe|CARDIac|ARBitrary}
- AFG:FUNCtion?
Info
SINESQUarePULSeRAMPNOISeDC- The DC level is controlled byAFG:OFFSET.SINC(Sin(x)/x).GAUSsianLORENtzERISeEDECAyHAVERSINeCARDIacARBitrary
highlevel
property
¶
highlevel: AfgHighlevel
Return the AFG:HIGHLevel command.
Description
- This command sets (or queries) the high level value of the output waveform, in volts, when using the arbitrary function generator feature.
Usage
- Using the
.query()method will send theAFG:HIGHLevel?query. - Using the
.verify(value)method will send theAFG:HIGHLevel?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:HIGHLevel valuecommand.
SCPI Syntax
- AFG:HIGHLevel <NR3>
- AFG:HIGHLevel?
Info
<NR3>is a floating point number that represents the AFG high level value, in volts.
levelpreset
property
¶
levelpreset: AfgLevelpreset
Return the AFG:LEVELPreset command.
Description
- Sets (or queries) the AFG preset levels to values that correspond to the logic
standard specified by the argument. The presets set the following vertical controls:
AMPLitude OFFSet HIGHLevel LOWLevel Note that once any of these vertical settings are
changed from the preset values, or the output load impedance is changed, the query
form returns USER. The
AFG:LEVELPresetcommand sets the high level and low level values as follows:AFG:HIGHLevelandAFG:LOWLevel SettingValues Load Impedance FIFTY Ohm Load Impedance HIGHZ LEVEL Preset High Low High Low TTL N/A 5.0VCMOS_5_0V N/A 5.0VCMOS_3_3V 2.5V 0V 3.3V 0VCMOS_2_5V 2.5V 0V 2.5V 0V ECL -0.85V -1.65V -0.9V -1.7V
Usage
- Using the
.query()method will send theAFG:LEVELPreset?query. - Using the
.verify(value)method will send theAFG:LEVELPreset?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:LEVELPreset valuecommand.
SCPI Syntax
- AFG:LEVELPreset {CMOS_5_0V|CMOS_3_3V|CMOS_2_5V|ECL|TTL|USER}
- AFG:LEVELPreset?
Info
CMOS_5_0V- standard 5-volt CMOS levels. Not available when the load impedance is 50 Ohm.CMOS_3_3V- standard 3.3-volt CMOS levels.CMOS_2_5V- standard 2.5-volt CMOS levels.USER- user-defined.ECL- -1.7 to -0.9 volts (note the full range is not available in 50 Ohm - actual is -1.65 to -0.85. See table below.TTL- 5.0 volts. Not available when the load impedance is 50 Ohm.
lowlevel
property
¶
lowlevel: AfgLowlevel
Return the AFG:LOWLevel command.
Description
- This command sets (or queries) the low level value of the output waveform, in volts, when using the arbitrary function generator feature.
Usage
- Using the
.query()method will send theAFG:LOWLevel?query. - Using the
.verify(value)method will send theAFG:LOWLevel?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:LOWLevel valuecommand.
SCPI Syntax
- AFG:LOWLevel <NR3>
- AFG:LOWLevel?
Info
<NR3>is the floating point number that represents the AFG low level value, in volts.
noiseadd
property
¶
noiseadd: AfgNoiseadd
Return the AFG:NOISEAdd command tree.
Usage
- Using the
.query()method will send theAFG:NOISEAdd?query. - Using the
.verify(value)method will send theAFG:NOISEAdd?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.percent: TheAFG:NOISEAdd:PERCentcommand..state: TheAFG:NOISEAdd:STATEcommand.
offset
property
¶
offset: AfgOffset
Return the AFG:OFFSet command.
Description
- Sets (or queries) the AFG offset value, in volts.
Usage
- Using the
.query()method will send theAFG:OFFSet?query. - Using the
.verify(value)method will send theAFG:OFFSet?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:OFFSet valuecommand.
SCPI Syntax
- AFG:OFFSet <NR3>
- AFG:OFFSet?
Info
<NR3>is a floating point number that represents the AFG offset, in volts.
output
property
¶
output: AfgOutput
Return the AFG:OUTPut command tree.
Usage
- Using the
.query()method will send theAFG:OUTPut?query. - Using the
.verify(value)method will send theAFG:OUTPut?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.load: TheAFG:OUTPut:LOAdcommand tree..state: TheAFG:OUTPut:STATEcommand.
period
property
¶
period: AfgPeriod
Return the AFG:PERIod command.
Description
- Sets (or queries) the period of the AFG waveform, in seconds.
Usage
- Using the
.query()method will send theAFG:PERIod?query. - Using the
.verify(value)method will send theAFG:PERIod?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:PERIod valuecommand.
SCPI Syntax
- AFG:PERIod <NR3>
- AFG:PERIod?
Info
NR3is the floating point number that represents the AFG period value, in seconds.
phase
property
¶
phase: AfgPhase
Return the AFG:PHASe command.
Description
- Sets (or queries) the AFG phase. The AFG phase setting controls the phase difference between the trigger signal output and the AFG waveform output. Phase is expressed in degrees and ranges from -180.0 to 180.0 in increments of 0.1 degrees.
Usage
- Using the
.query()method will send theAFG:PHASe?query. - Using the
.verify(value)method will send theAFG:PHASe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:PHASe valuecommand.
SCPI Syntax
- AFG:PHASe <NR3>
- AFG:PHASe?
pulse
property
¶
pulse: AfgPulse
Return the AFG:PULse command tree.
Usage
- Using the
.query()method will send theAFG:PULse?query. - Using the
.verify(value)method will send theAFG:PULse?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.width: TheAFG:PULse:WIDthcommand.
ramp
property
¶
ramp: AfgRamp
Return the AFG:RAMP command tree.
Usage
- Using the
.query()method will send theAFG:RAMP?query. - Using the
.verify(value)method will send theAFG:RAMP?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.symmetry: TheAFG:RAMP:SYMmetrycommand.
square
property
¶
square: AfgSquare
Return the AFG:SQUare command tree.
Usage
- Using the
.query()method will send theAFG:SQUare?query. - Using the
.verify(value)method will send theAFG:SQUare?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.duty: TheAFG:SQUare:DUtycommand.
AfgAmplitude
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:AMPLitude command.
Description
- Sets (or queries) the AFG amplitude in volts, peak to peak.
Usage
- Using the
.query()method will send theAFG:AMPLitude?query. - Using the
.verify(value)method will send theAFG:AMPLitude?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:AMPLitude valuecommand.
SCPI Syntax
- AFG:AMPLitude <NR3>
- AFG:AMPLitude?
Info
<NR3>is a floating point number that represents the AFG amplitude, peak to peak, in volts.
AfgArbitrary
¶
Bases: SCPICmdRead
The AFG:ARBitrary command tree.
Usage
- Using the
.query()method will send theAFG:ARBitrary?query. - Using the
.verify(value)method will send theAFG:ARBitrary?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.arb: TheAFG:ARBitrary:ARB<x>command tree..emem: TheAFG:ARBitrary:EMEMcommand tree.
arb
property
¶
arb: dict[int, AfgArbitraryArbItem]
Return the AFG:ARBitrary:ARB<x> command tree.
Usage
- Using the
.query()method will send theAFG:ARBitrary:ARB<x>?query. - Using the
.verify(value)method will send theAFG:ARBitrary:ARB<x>?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.date: TheAFG:ARBitrary:ARB<x>:DATEcommand..label: TheAFG:ARBitrary:ARB<x>:LABelcommand..time: TheAFG:ARBitrary:ARB<x>:TIMecommand.
emem
property
¶
emem: AfgArbitraryEmem
Return the AFG:ARBitrary:EMEM command tree.
Usage
- Using the
.query()method will send theAFG:ARBitrary:EMEM?query. - Using the
.verify(value)method will send theAFG:ARBitrary:EMEM?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.function: TheAFG:ARBitrary:EMEM:FUNCtioncommand..generate: TheAFG:ARBitrary:EMEM:GENeratecommand..numpoints: TheAFG:ARBitrary:EMEM:NUMPointscommand..points: TheAFG:ARBitrary:EMEM:POINTScommand.
AfgArbitraryArbItem
¶
Bases: ValidatedDynamicNumberCmd, SCPICmdRead
The AFG:ARBitrary:ARB<x> command tree.
Usage
- Using the
.query()method will send theAFG:ARBitrary:ARB<x>?query. - Using the
.verify(value)method will send theAFG:ARBitrary:ARB<x>?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.date: TheAFG:ARBitrary:ARB<x>:DATEcommand..label: TheAFG:ARBitrary:ARB<x>:LABelcommand..time: TheAFG:ARBitrary:ARB<x>:TIMecommand.
date
property
¶
date: AfgArbitraryArbItemDate
Return the AFG:ARBitrary:ARB<x>:DATE command.
Description
- Returns the date that the data in the specified arbitrary waveform slot 1-4 was saved.
Usage
- Using the
.query()method will send theAFG:ARBitrary:ARB<x>:DATE?query. - Using the
.verify(value)method will send theAFG:ARBitrary:ARB<x>:DATE?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- AFG:ARBitrary:ARB<x>:DATE?
label
property
¶
label: AfgArbitraryArbItemLabel
Return the AFG:ARBitrary:ARB<x>:LABel command.
Description
- Sets (or queries) the waveform label for arbitrary waveform slots 1- 4.
Usage
- Using the
.query()method will send theAFG:ARBitrary:ARB<x>:LABel?query. - Using the
.verify(value)method will send theAFG:ARBitrary:ARB<x>:LABel?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:ARBitrary:ARB<x>:LABel valuecommand.
SCPI Syntax
- AFG:ARBitrary:ARB<x>:LABel <QString>
- AFG:ARBitrary:ARB<x>:LABel?
time
property
¶
time: AfgArbitraryArbItemTime
Return the AFG:ARBitrary:ARB<x>:TIMe command.
Description
- Returns the time that the data in the specified arbitrary waveform slot was saved.
Usage
- Using the
.query()method will send theAFG:ARBitrary:ARB<x>:TIMe?query. - Using the
.verify(value)method will send theAFG:ARBitrary:ARB<x>:TIMe?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- AFG:ARBitrary:ARB<x>:TIMe?
AfgArbitraryArbItemDate
¶
Bases: SCPICmdRead
The AFG:ARBitrary:ARB<x>:DATE command.
Description
- Returns the date that the data in the specified arbitrary waveform slot 1-4 was saved.
Usage
- Using the
.query()method will send theAFG:ARBitrary:ARB<x>:DATE?query. - Using the
.verify(value)method will send theAFG:ARBitrary:ARB<x>:DATE?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- AFG:ARBitrary:ARB<x>:DATE?
AfgArbitraryArbItemLabel
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:ARBitrary:ARB<x>:LABel command.
Description
- Sets (or queries) the waveform label for arbitrary waveform slots 1- 4.
Usage
- Using the
.query()method will send theAFG:ARBitrary:ARB<x>:LABel?query. - Using the
.verify(value)method will send theAFG:ARBitrary:ARB<x>:LABel?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:ARBitrary:ARB<x>:LABel valuecommand.
SCPI Syntax
- AFG:ARBitrary:ARB<x>:LABel <QString>
- AFG:ARBitrary:ARB<x>:LABel?
AfgArbitraryArbItemTime
¶
Bases: SCPICmdRead
The AFG:ARBitrary:ARB<x>:TIMe command.
Description
- Returns the time that the data in the specified arbitrary waveform slot was saved.
Usage
- Using the
.query()method will send theAFG:ARBitrary:ARB<x>:TIMe?query. - Using the
.verify(value)method will send theAFG:ARBitrary:ARB<x>:TIMe?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- AFG:ARBitrary:ARB<x>:TIMe?
AfgArbitraryEmem
¶
Bases: SCPICmdRead
The AFG:ARBitrary:EMEM command tree.
Usage
- Using the
.query()method will send theAFG:ARBitrary:EMEM?query. - Using the
.verify(value)method will send theAFG:ARBitrary:EMEM?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.function: TheAFG:ARBitrary:EMEM:FUNCtioncommand..generate: TheAFG:ARBitrary:EMEM:GENeratecommand..numpoints: TheAFG:ARBitrary:EMEM:NUMPointscommand..points: TheAFG:ARBitrary:EMEM:POINTScommand.
function
property
¶
function: AfgArbitraryEmemFunction
Return the AFG:ARBitrary:EMEM:FUNCtion command.
Description
- Returns the currently selected arbitrary waveform pre-defined function. The
pre-defined ARB function is selected using the command
AFG:ARBITRARY:EMEM:GENERATE. This query may also return USER, which indicates that the arbitrary waveform in edit memory has been altered from one of the predefined functions.
Usage
- Using the
.query()method will send theAFG:ARBitrary:EMEM:FUNCtion?query. - Using the
.verify(value)method will send theAFG:ARBitrary:EMEM:FUNCtion?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- AFG:ARBitrary:EMEM:FUNCtion?
generate
property
¶
generate: AfgArbitraryEmemGenerate
Return the AFG:ARBitrary:EMEM:GENerate command.
Description
- This command generates the arbitrary waveform function specified by the enumeration
argument. The NR1 argument is optional; it can be used to specify the number of
points; if it is used, it also sets the value that will be used by
AFG:ARBITRARY:EMEM:NUMPOINTSuntil the instrument is reset via TEKSECURE. In the absence of the NR1 argument, the number of points used with the function is that number returned by theAFG:ARBITRARY:EMEM:NUMPOINTSquery. To query the arbitrary waveform function set by this command, useAFG:ARBITRARY:EMEM:FUNCTION(This value is not reset by default setup or by power cycle).
Usage
- Using the
.query()method will send theAFG:ARBitrary:EMEM:GENerate?query. - Using the
.verify(value)method will send theAFG:ARBitrary:EMEM:GENerate?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:ARBitrary:EMEM:GENerate valuecommand.
SCPI Syntax
- AFG:ARBitrary:EMEM:GENerate {SINE|SQUare|PULSe|RAMP|NOISe[,NR1]}
- AFG:ARBitrary:EMEM:GENerate?
Info
<NR1>(Optional) Specifies the number of points for the arbitrary waveform function. The number of points, if specified, must be >= 2 and <= 131072. The default number of points is 100.SINEgenerates the Sine AFG function.SQUaregenerates the Square AFG function.PULSegenerates the Pulse AFG function.RAMPgenerates the Ramp AFG function.NOISegenerates the Noise AFG function.
numpoints
property
¶
numpoints: AfgArbitraryEmemNumpoints
Return the AFG:ARBitrary:EMEM:NUMPoints command.
Description
- Returns the number of points in the AFB arbitrary waveform edit memory. This value
will be used with the
AFG:ARBITRARY:EMEM:GENERATEcommand in the event that the number of points is not specified. See theAFG:ARBITRARY:EMEM:GENERATEcommand description for more information.
Usage
- Using the
.query()method will send theAFG:ARBitrary:EMEM:NUMPoints?query. - Using the
.verify(value)method will send theAFG:ARBitrary:EMEM:NUMPoints?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- AFG:ARBitrary:EMEM:NUMPoints?
points
property
¶
points: AfgArbitraryEmemPoints
Return the AFG:ARBitrary:EMEM:POINTS command.
Description
- Specifies which points to load into the AFG arbitrary waveform edit memory. The point
data to be loaded may be specified as an IEEE488.2 binary block with 4-byte floating
point data values, or as a comma-separated list of NR2 or NR3 data values. The data
values must be in the range of -1.0 to 1.0. The
AFG:ARBITRARY:EMEM:POINTS:BYTEORDERcommand is used when the data is binary block format. The minimum number of points is 2 and maximum is 131072. Upon successful transfer of the data points, theAFG:ARBITRARY:EMEM:NUMPOINTSquery will return the number of points loaded into arbitrary waveform edit memory and theAFG:ARBITRARY:EMEM:FUNCTIONquery will return USER. Note that the output, if turned on, will not change unless or until the AFG function is set to ARBitrary using theAFG:FUNCTIONcommand. Point values may be coerced to the nearest valid step size. The query form returns the points stored in the AFG arbitrary waveform edit memory in the format specified by theAFG:ARBITRARY:EMEM:POINTS:ENCDGcommand and, for binary encoding, the byte order specified by theAFG:ARBITRARY:EMEM:POINTS:BYTEORDERcommand. Refer to theAFG:ARBITRARY:EMEM:POINTS:ENCDGcommand description for more information.
Usage
- Using the
.query()method will send theAFG:ARBitrary:EMEM:POINTS?query. - Using the
.verify(value)method will send theAFG:ARBitrary:EMEM:POINTS?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:ARBitrary:EMEM:POINTS valuecommand.
SCPI Syntax
- AFG:ARBitrary:EMEM:POINTS <BlockWfmInDTO> |<NrfWfmInDTO>
- AFG:ARBitrary:EMEM:POINTS?
Info
BlockWfmInDTO- an IEEE488.2 binary block with 4-byte floating point data values.NrfWfmInDTO- a comma-separated list of NR2 or NR3 data values.
Sub-properties
.byteorder: TheAFG:ARBitrary:EMEM:POINTS:BYTEORDercommand..encdg: TheAFG:ARBitrary:EMEM:POINTS:ENCdgcommand.
AfgArbitraryEmemFunction
¶
Bases: SCPICmdRead
The AFG:ARBitrary:EMEM:FUNCtion command.
Description
- Returns the currently selected arbitrary waveform pre-defined function. The pre-defined
ARB function is selected using the command
AFG:ARBITRARY:EMEM:GENERATE. This query may also return USER, which indicates that the arbitrary waveform in edit memory has been altered from one of the predefined functions.
Usage
- Using the
.query()method will send theAFG:ARBitrary:EMEM:FUNCtion?query. - Using the
.verify(value)method will send theAFG:ARBitrary:EMEM:FUNCtion?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- AFG:ARBitrary:EMEM:FUNCtion?
AfgArbitraryEmemGenerate
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:ARBitrary:EMEM:GENerate command.
Description
- This command generates the arbitrary waveform function specified by the enumeration
argument. The NR1 argument is optional; it can be used to specify the number of points; if
it is used, it also sets the value that will be used by
AFG:ARBITRARY:EMEM:NUMPOINTSuntil the instrument is reset via TEKSECURE. In the absence of the NR1 argument, the number of points used with the function is that number returned by theAFG:ARBITRARY:EMEM:NUMPOINTSquery. To query the arbitrary waveform function set by this command, useAFG:ARBITRARY:EMEM:FUNCTION(This value is not reset by default setup or by power cycle).
Usage
- Using the
.query()method will send theAFG:ARBitrary:EMEM:GENerate?query. - Using the
.verify(value)method will send theAFG:ARBitrary:EMEM:GENerate?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:ARBitrary:EMEM:GENerate valuecommand.
SCPI Syntax
- AFG:ARBitrary:EMEM:GENerate {SINE|SQUare|PULSe|RAMP|NOISe[,NR1]}
- AFG:ARBitrary:EMEM:GENerate?
Info
<NR1>(Optional) Specifies the number of points for the arbitrary waveform function. The number of points, if specified, must be >= 2 and <= 131072. The default number of points is 100.SINEgenerates the Sine AFG function.SQUaregenerates the Square AFG function.PULSegenerates the Pulse AFG function.RAMPgenerates the Ramp AFG function.NOISegenerates the Noise AFG function.
AfgArbitraryEmemNumpoints
¶
Bases: SCPICmdRead
The AFG:ARBitrary:EMEM:NUMPoints command.
Description
- Returns the number of points in the AFB arbitrary waveform edit memory. This value will be
used with the
AFG:ARBITRARY:EMEM:GENERATEcommand in the event that the number of points is not specified. See theAFG:ARBITRARY:EMEM:GENERATEcommand description for more information.
Usage
- Using the
.query()method will send theAFG:ARBitrary:EMEM:NUMPoints?query. - Using the
.verify(value)method will send theAFG:ARBitrary:EMEM:NUMPoints?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- AFG:ARBitrary:EMEM:NUMPoints?
AfgArbitraryEmemPoints
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:ARBitrary:EMEM:POINTS command.
Description
- Specifies which points to load into the AFG arbitrary waveform edit memory. The point data
to be loaded may be specified as an IEEE488.2 binary block with 4-byte floating point data
values, or as a comma-separated list of NR2 or NR3 data values. The data values must be in
the range of -1.0 to 1.0. The
AFG:ARBITRARY:EMEM:POINTS:BYTEORDERcommand is used when the data is binary block format. The minimum number of points is 2 and maximum is 131072. Upon successful transfer of the data points, theAFG:ARBITRARY:EMEM:NUMPOINTSquery will return the number of points loaded into arbitrary waveform edit memory and theAFG:ARBITRARY:EMEM:FUNCTIONquery will return USER. Note that the output, if turned on, will not change unless or until the AFG function is set to ARBitrary using theAFG:FUNCTIONcommand. Point values may be coerced to the nearest valid step size. The query form returns the points stored in the AFG arbitrary waveform edit memory in the format specified by theAFG:ARBITRARY:EMEM:POINTS:ENCDGcommand and, for binary encoding, the byte order specified by theAFG:ARBITRARY:EMEM:POINTS:BYTEORDERcommand. Refer to theAFG:ARBITRARY:EMEM:POINTS:ENCDGcommand description for more information.
Usage
- Using the
.query()method will send theAFG:ARBitrary:EMEM:POINTS?query. - Using the
.verify(value)method will send theAFG:ARBitrary:EMEM:POINTS?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:ARBitrary:EMEM:POINTS valuecommand.
SCPI Syntax
- AFG:ARBitrary:EMEM:POINTS <BlockWfmInDTO> |<NrfWfmInDTO>
- AFG:ARBitrary:EMEM:POINTS?
Info
BlockWfmInDTO- an IEEE488.2 binary block with 4-byte floating point data values.NrfWfmInDTO- a comma-separated list of NR2 or NR3 data values.
Properties
.byteorder: TheAFG:ARBitrary:EMEM:POINTS:BYTEORDercommand..encdg: TheAFG:ARBitrary:EMEM:POINTS:ENCdgcommand.
byteorder
property
¶
byteorder: AfgArbitraryEmemPointsByteorder
Return the AFG:ARBitrary:EMEM:POINTS:BYTEORDer command.
Description
:BYTEORDer Thiscommand specifies the byte order for theAFG:ARBITRARY:EMEM:POINTS?query when theAFG:ARBITRARY:EMEM:POINTS:ENCDGis set to BINary and when binary block data is sent for theAFG:ARBITRARY:EMEM:POINTScommand. LSB - Least significant byte first (little endian) MSB - Most significant byte first (big endian) The default is LSB. This setting is non-volatile and is reset by default setup or TekSecure. Refer to theAFG:ARBITRARY:EMEM:POINTScommand description for more information.
Usage
- Using the
.query()method will send theAFG:ARBitrary:EMEM:POINTS:BYTEORDer?query. - Using the
.verify(value)method will send theAFG:ARBitrary:EMEM:POINTS:BYTEORDer?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:ARBitrary:EMEM:POINTS:BYTEORDer valuecommand.
SCPI Syntax
- AFG:ARBitrary:EMEM:POINTS:BYTEORDer <LSB> |<MSB>
- AFG:ARBitrary:EMEM:POINTS:BYTEORDer?
Info
LSB- Least significant byte first (little endian).MSB- Most significant byte first (big endian).
encdg
property
¶
encdg: AfgArbitraryEmemPointsEncdg
Return the AFG:ARBitrary:EMEM:POINTS:ENCdg command.
Description
- This command specifies the data encoding format for the
AFG:ARBITRARY:EMEM:POINTSquery (either ASCII or binary). The default is ASCii. This setting is non-volatile and is reset by default setup or TekSecure. Refer to theAFG:ARBITRARY:EMEM:POINTScommand description for more information.
Usage
- Using the
.query()method will send theAFG:ARBitrary:EMEM:POINTS:ENCdg?query. - Using the
.verify(value)method will send theAFG:ARBitrary:EMEM:POINTS:ENCdg?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:ARBitrary:EMEM:POINTS:ENCdg valuecommand.
SCPI Syntax
- AFG:ARBitrary:EMEM:POINTS:ENCdg {ASCii|BINary}
- AFG:ARBitrary:EMEM:POINTS:ENCdg?
Info
ASCii- ASCII NR3 format.BINary- IEEE488.2 binary block in 4-byte floating point format.
AfgArbitraryEmemPointsByteorder
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:ARBitrary:EMEM:POINTS:BYTEORDer command.
Description
:BYTEORDer Thiscommand specifies the byte order for theAFG:ARBITRARY:EMEM:POINTS?query when theAFG:ARBITRARY:EMEM:POINTS:ENCDGis set to BINary and when binary block data is sent for theAFG:ARBITRARY:EMEM:POINTScommand. LSB - Least significant byte first (little endian) MSB - Most significant byte first (big endian) The default is LSB. This setting is non-volatile and is reset by default setup or TekSecure. Refer to theAFG:ARBITRARY:EMEM:POINTScommand description for more information.
Usage
- Using the
.query()method will send theAFG:ARBitrary:EMEM:POINTS:BYTEORDer?query. - Using the
.verify(value)method will send theAFG:ARBitrary:EMEM:POINTS:BYTEORDer?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:ARBitrary:EMEM:POINTS:BYTEORDer valuecommand.
SCPI Syntax
- AFG:ARBitrary:EMEM:POINTS:BYTEORDer <LSB> |<MSB>
- AFG:ARBitrary:EMEM:POINTS:BYTEORDer?
Info
LSB- Least significant byte first (little endian).MSB- Most significant byte first (big endian).
AfgArbitraryEmemPointsEncdg
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:ARBitrary:EMEM:POINTS:ENCdg command.
Description
- This command specifies the data encoding format for the
AFG:ARBITRARY:EMEM:POINTSquery (either ASCII or binary). The default is ASCii. This setting is non-volatile and is reset by default setup or TekSecure. Refer to theAFG:ARBITRARY:EMEM:POINTScommand description for more information.
Usage
- Using the
.query()method will send theAFG:ARBitrary:EMEM:POINTS:ENCdg?query. - Using the
.verify(value)method will send theAFG:ARBitrary:EMEM:POINTS:ENCdg?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:ARBitrary:EMEM:POINTS:ENCdg valuecommand.
SCPI Syntax
- AFG:ARBitrary:EMEM:POINTS:ENCdg {ASCii|BINary}
- AFG:ARBitrary:EMEM:POINTS:ENCdg?
Info
ASCii- ASCII NR3 format.BINary- IEEE488.2 binary block in 4-byte floating point format.
AfgFrequency
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:FREQuency command.
Description
- Sets (or queries) the AFG frequency, in Hz.
Usage
- Using the
.query()method will send theAFG:FREQuency?query. - Using the
.verify(value)method will send theAFG:FREQuency?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:FREQuency valuecommand.
SCPI Syntax
- AFG:FREQuency <NR3>
- AFG:FREQuency?
Info
<NR3>is the floating point number that represents the AFG frequency, in Hz.
AfgFunction
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:FUNCtion command.
Description
- Sets (or queries) which AFG function to execute.
Usage
- Using the
.query()method will send theAFG:FUNCtion?query. - Using the
.verify(value)method will send theAFG:FUNCtion?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:FUNCtion valuecommand.
SCPI Syntax
- AFG:FUNCtion {SINE|SQUare|PULSe|RAMP|NOISe|DC|SINC|GAUSsian|LORENtz|ERISe|EDECAy|HAVERSINe|CARDIac|ARBitrary}
- AFG:FUNCtion?
Info
SINESQUarePULSeRAMPNOISeDC- The DC level is controlled byAFG:OFFSET.SINC(Sin(x)/x).GAUSsianLORENtzERISeEDECAyHAVERSINeCARDIacARBitrary
AfgHighlevel
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:HIGHLevel command.
Description
- This command sets (or queries) the high level value of the output waveform, in volts, when using the arbitrary function generator feature.
Usage
- Using the
.query()method will send theAFG:HIGHLevel?query. - Using the
.verify(value)method will send theAFG:HIGHLevel?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:HIGHLevel valuecommand.
SCPI Syntax
- AFG:HIGHLevel <NR3>
- AFG:HIGHLevel?
Info
<NR3>is a floating point number that represents the AFG high level value, in volts.
AfgLevelpreset
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:LEVELPreset command.
Description
- Sets (or queries) the AFG preset levels to values that correspond to the logic standard
specified by the argument. The presets set the following vertical controls: AMPLitude
OFFSet HIGHLevel LOWLevel Note that once any of these vertical settings are changed from
the preset values, or the output load impedance is changed, the query form returns USER.
The
AFG:LEVELPresetcommand sets the high level and low level values as follows:AFG:HIGHLevelandAFG:LOWLevel SettingValues Load Impedance FIFTY Ohm Load Impedance HIGHZ LEVEL Preset High Low High Low TTL N/A 5.0VCMOS_5_0V N/A 5.0VCMOS_3_3V 2.5V 0V 3.3V 0VCMOS_2_5V 2.5V 0V 2.5V 0V ECL -0.85V -1.65V -0.9V -1.7V
Usage
- Using the
.query()method will send theAFG:LEVELPreset?query. - Using the
.verify(value)method will send theAFG:LEVELPreset?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:LEVELPreset valuecommand.
SCPI Syntax
- AFG:LEVELPreset {CMOS_5_0V|CMOS_3_3V|CMOS_2_5V|ECL|TTL|USER}
- AFG:LEVELPreset?
Info
CMOS_5_0V- standard 5-volt CMOS levels. Not available when the load impedance is 50 Ohm.CMOS_3_3V- standard 3.3-volt CMOS levels.CMOS_2_5V- standard 2.5-volt CMOS levels.USER- user-defined.ECL- -1.7 to -0.9 volts (note the full range is not available in 50 Ohm - actual is -1.65 to -0.85. See table below.TTL- 5.0 volts. Not available when the load impedance is 50 Ohm.
AfgLowlevel
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:LOWLevel command.
Description
- This command sets (or queries) the low level value of the output waveform, in volts, when using the arbitrary function generator feature.
Usage
- Using the
.query()method will send theAFG:LOWLevel?query. - Using the
.verify(value)method will send theAFG:LOWLevel?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:LOWLevel valuecommand.
SCPI Syntax
- AFG:LOWLevel <NR3>
- AFG:LOWLevel?
Info
<NR3>is the floating point number that represents the AFG low level value, in volts.
AfgNoiseadd
¶
Bases: SCPICmdRead
The AFG:NOISEAdd command tree.
Usage
- Using the
.query()method will send theAFG:NOISEAdd?query. - Using the
.verify(value)method will send theAFG:NOISEAdd?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.percent: TheAFG:NOISEAdd:PERCentcommand..state: TheAFG:NOISEAdd:STATEcommand.
percent
property
¶
percent: AfgNoiseaddPercent
Return the AFG:NOISEAdd:PERCent command.
Description
- Sets (or queries) the AFG additive noise level as a percentage. Minimum is 0.0%, maximum is 100.0% and increment is 1.0%.
Usage
- Using the
.query()method will send theAFG:NOISEAdd:PERCent?query. - Using the
.verify(value)method will send theAFG:NOISEAdd:PERCent?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:NOISEAdd:PERCent valuecommand.
SCPI Syntax
- AFG:NOISEAdd:PERCent <NR3>
- AFG:NOISEAdd:PERCent?
Info
<NR3>is the floating point number that represents the AFG additive noise level as a percentage.
state
property
¶
state: AfgNoiseaddState
Return the AFG:NOISEAdd:STATE command.
Description
- Sets (or queries) the AFG additive noise state.
Usage
- Using the
.query()method will send theAFG:NOISEAdd:STATE?query. - Using the
.verify(value)method will send theAFG:NOISEAdd:STATE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:NOISEAdd:STATE valuecommand.
SCPI Syntax
- AFG:NOISEAdd:STATE {ON|OFF|1|0}
- AFG:NOISEAdd:STATE?
Info
1or ON turns on the AFG additive noise state.0or OFF turns it off.
AfgNoiseaddPercent
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:NOISEAdd:PERCent command.
Description
- Sets (or queries) the AFG additive noise level as a percentage. Minimum is 0.0%, maximum is 100.0% and increment is 1.0%.
Usage
- Using the
.query()method will send theAFG:NOISEAdd:PERCent?query. - Using the
.verify(value)method will send theAFG:NOISEAdd:PERCent?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:NOISEAdd:PERCent valuecommand.
SCPI Syntax
- AFG:NOISEAdd:PERCent <NR3>
- AFG:NOISEAdd:PERCent?
Info
<NR3>is the floating point number that represents the AFG additive noise level as a percentage.
AfgNoiseaddState
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:NOISEAdd:STATE command.
Description
- Sets (or queries) the AFG additive noise state.
Usage
- Using the
.query()method will send theAFG:NOISEAdd:STATE?query. - Using the
.verify(value)method will send theAFG:NOISEAdd:STATE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:NOISEAdd:STATE valuecommand.
SCPI Syntax
- AFG:NOISEAdd:STATE {ON|OFF|1|0}
- AFG:NOISEAdd:STATE?
Info
1or ON turns on the AFG additive noise state.0or OFF turns it off.
AfgOffset
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:OFFSet command.
Description
- Sets (or queries) the AFG offset value, in volts.
Usage
- Using the
.query()method will send theAFG:OFFSet?query. - Using the
.verify(value)method will send theAFG:OFFSet?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:OFFSet valuecommand.
SCPI Syntax
- AFG:OFFSet <NR3>
- AFG:OFFSet?
Info
<NR3>is a floating point number that represents the AFG offset, in volts.
AfgOutput
¶
Bases: SCPICmdRead
The AFG:OUTPut command tree.
Usage
- Using the
.query()method will send theAFG:OUTPut?query. - Using the
.verify(value)method will send theAFG:OUTPut?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.load: TheAFG:OUTPut:LOAdcommand tree..state: TheAFG:OUTPut:STATEcommand.
load
property
¶
load: AfgOutputLoad
Return the AFG:OUTPut:LOAd command tree.
Usage
- Using the
.query()method will send theAFG:OUTPut:LOAd?query. - Using the
.verify(value)method will send theAFG:OUTPut:LOAd?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.impedance: TheAFG:OUTPut:LOAd:IMPEDancecommand.
state
property
¶
state: AfgOutputState
Return the AFG:OUTPut:STATE command.
Description
- Sets (or queries) the AFG output state.
Usage
- Using the
.query()method will send theAFG:OUTPut:STATE?query. - Using the
.verify(value)method will send theAFG:OUTPut:STATE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:OUTPut:STATE valuecommand.
SCPI Syntax
- AFG:OUTPut:STATE {ON|OFF|1|0}
- AFG:OUTPut:STATE?
Info
1or ON turns on the AFG output state.0or OFF turns it off.
AfgOutputLoad
¶
Bases: SCPICmdRead
The AFG:OUTPut:LOAd command tree.
Usage
- Using the
.query()method will send theAFG:OUTPut:LOAd?query. - Using the
.verify(value)method will send theAFG:OUTPut:LOAd?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.impedance: TheAFG:OUTPut:LOAd:IMPEDancecommand.
impedance
property
¶
impedance: AfgOutputLoadImpedance
Return the AFG:OUTPut:LOAd:IMPEDance command.
Description
- Sets (or queries) the AFG output load impedance.
Usage
- Using the
.query()method will send theAFG:OUTPut:LOAd:IMPEDance?query. - Using the
.verify(value)method will send theAFG:OUTPut:LOAd:IMPEDance?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:OUTPut:LOAd:IMPEDance valuecommand.
SCPI Syntax
- AFG:OUTPut:LOAd:IMPEDance {FIFty|HIGHZ}
- AFG:OUTPut:LOAd:IMPEDance?
Info
FIFtysets the output load impedance to 50 Ohms.HIGHZsets the output load impedance to the high-impedance state.
AfgOutputLoadImpedance
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:OUTPut:LOAd:IMPEDance command.
Description
- Sets (or queries) the AFG output load impedance.
Usage
- Using the
.query()method will send theAFG:OUTPut:LOAd:IMPEDance?query. - Using the
.verify(value)method will send theAFG:OUTPut:LOAd:IMPEDance?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:OUTPut:LOAd:IMPEDance valuecommand.
SCPI Syntax
- AFG:OUTPut:LOAd:IMPEDance {FIFty|HIGHZ}
- AFG:OUTPut:LOAd:IMPEDance?
Info
FIFtysets the output load impedance to 50 Ohms.HIGHZsets the output load impedance to the high-impedance state.
AfgOutputState
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:OUTPut:STATE command.
Description
- Sets (or queries) the AFG output state.
Usage
- Using the
.query()method will send theAFG:OUTPut:STATE?query. - Using the
.verify(value)method will send theAFG:OUTPut:STATE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:OUTPut:STATE valuecommand.
SCPI Syntax
- AFG:OUTPut:STATE {ON|OFF|1|0}
- AFG:OUTPut:STATE?
Info
1or ON turns on the AFG output state.0or OFF turns it off.
AfgPeriod
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:PERIod command.
Description
- Sets (or queries) the period of the AFG waveform, in seconds.
Usage
- Using the
.query()method will send theAFG:PERIod?query. - Using the
.verify(value)method will send theAFG:PERIod?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:PERIod valuecommand.
SCPI Syntax
- AFG:PERIod <NR3>
- AFG:PERIod?
Info
NR3is the floating point number that represents the AFG period value, in seconds.
AfgPhase
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:PHASe command.
Description
- Sets (or queries) the AFG phase. The AFG phase setting controls the phase difference between the trigger signal output and the AFG waveform output. Phase is expressed in degrees and ranges from -180.0 to 180.0 in increments of 0.1 degrees.
Usage
- Using the
.query()method will send theAFG:PHASe?query. - Using the
.verify(value)method will send theAFG:PHASe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:PHASe valuecommand.
SCPI Syntax
- AFG:PHASe <NR3>
- AFG:PHASe?
AfgPulse
¶
Bases: SCPICmdRead
The AFG:PULse command tree.
Usage
- Using the
.query()method will send theAFG:PULse?query. - Using the
.verify(value)method will send theAFG:PULse?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.width: TheAFG:PULse:WIDthcommand.
width
property
¶
width: AfgPulseWidth
Return the AFG:PULse:WIDth command.
Description
- Sets (or queries) the AFG pulse width, in seconds.
Usage
- Using the
.query()method will send theAFG:PULse:WIDth?query. - Using the
.verify(value)method will send theAFG:PULse:WIDth?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:PULse:WIDth valuecommand.
SCPI Syntax
- AFG:PULse:WIDth <NR3>
- AFG:PULse:WIDth?
Info
<NR3>is the floating point number that represents the pulse width, in seconds.
AfgPulseWidth
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:PULse:WIDth command.
Description
- Sets (or queries) the AFG pulse width, in seconds.
Usage
- Using the
.query()method will send theAFG:PULse:WIDth?query. - Using the
.verify(value)method will send theAFG:PULse:WIDth?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:PULse:WIDth valuecommand.
SCPI Syntax
- AFG:PULse:WIDth <NR3>
- AFG:PULse:WIDth?
Info
<NR3>is the floating point number that represents the pulse width, in seconds.
AfgRamp
¶
Bases: SCPICmdRead
The AFG:RAMP command tree.
Usage
- Using the
.query()method will send theAFG:RAMP?query. - Using the
.verify(value)method will send theAFG:RAMP?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.symmetry: TheAFG:RAMP:SYMmetrycommand.
symmetry
property
¶
symmetry: AfgRampSymmetry
Return the AFG:RAMP:SYMmetry command.
Description
- Sets (or queries) the AFG ramp symmetry in percent. Minimum is 0.0%, maximum is 100.0% and increment is 0.10%.
Usage
- Using the
.query()method will send theAFG:RAMP:SYMmetry?query. - Using the
.verify(value)method will send theAFG:RAMP:SYMmetry?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:RAMP:SYMmetry valuecommand.
SCPI Syntax
- AFG:RAMP:SYMmetry <NR3>
- AFG:RAMP:SYMmetry?
Info
<NR3>is a floating point number that represents the AFG ramp symmetry as a percentage.
AfgRampSymmetry
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:RAMP:SYMmetry command.
Description
- Sets (or queries) the AFG ramp symmetry in percent. Minimum is 0.0%, maximum is 100.0% and increment is 0.10%.
Usage
- Using the
.query()method will send theAFG:RAMP:SYMmetry?query. - Using the
.verify(value)method will send theAFG:RAMP:SYMmetry?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:RAMP:SYMmetry valuecommand.
SCPI Syntax
- AFG:RAMP:SYMmetry <NR3>
- AFG:RAMP:SYMmetry?
Info
<NR3>is a floating point number that represents the AFG ramp symmetry as a percentage.
AfgSquare
¶
Bases: SCPICmdRead
The AFG:SQUare command tree.
Usage
- Using the
.query()method will send theAFG:SQUare?query. - Using the
.verify(value)method will send theAFG:SQUare?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.duty: TheAFG:SQUare:DUtycommand.
duty
property
¶
duty: AfgSquareDuty
Return the AFG:SQUare:DUty command.
Description
- Sets (or queries) the AFG duty cycle in percent. The minimum is 10.0%, maximum is 90.0% and increment is 0.10%.
Usage
- Using the
.query()method will send theAFG:SQUare:DUty?query. - Using the
.verify(value)method will send theAFG:SQUare:DUty?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:SQUare:DUty valuecommand.
SCPI Syntax
- AFG:SQUare:DUty <NR3>
- AFG:SQUare:DUty?
Info
<NR3>is a floating point number that represents the AFG duty cycle as a percentage.
AfgSquareDuty
¶
Bases: SCPICmdWrite, SCPICmdRead
The AFG:SQUare:DUty command.
Description
- Sets (or queries) the AFG duty cycle in percent. The minimum is 10.0%, maximum is 90.0% and increment is 0.10%.
Usage
- Using the
.query()method will send theAFG:SQUare:DUty?query. - Using the
.verify(value)method will send theAFG:SQUare:DUty?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theAFG:SQUare:DUty valuecommand.
SCPI Syntax
- AFG:SQUare:DUty <NR3>
- AFG:SQUare:DUty?
Info
<NR3>is a floating point number that represents the AFG duty cycle as a percentage.