wfminpre
¶
The wfminpre 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
- WFMInpre:BIT_Nr <NR1>
- WFMInpre:BIT_Nr?
- WFMInpre:BN_Fmt {RI|RP|FP}
- WFMInpre:BN_Fmt?
- WFMInpre:BYT_Nr <NR1>
- WFMInpre:BYT_Nr?
- WFMInpre:BYT_Or {LSB|MSB}
- WFMInpre:BYT_Or?
- WFMInpre:CENTERFREQuency <NR3>
- WFMInpre:CENTERFREQuency?
- WFMInpre:DOMain {TIMe|FREQuency}
- WFMInpre:DOMain?
- WFMInpre:ENCdg {ASCii|BINary}
- WFMInpre:ENCdg?
- WFMInpre:NR_Pt <NR1>
- WFMInpre:NR_Pt?
- WFMInpre:PT_Fmt {ENV|Y}
- WFMInpre:PT_Fmt?
- WFMInpre:PT_Off <NR1>
- WFMInpre:PT_Off?
- WFMInpre:REFLevel <NR3>
- WFMInpre:REFLevel?
- WFMInpre:SPAN <NR3>
- WFMInpre:SPAN?
- WFMInpre:WFMTYPe {ANALOG|RF_TD|RF_FD}
- WFMInpre:WFMTYPe?
- WFMInpre:XINcr <NR3>
- WFMInpre:XINcr?
- WFMInpre:XUNit <QString>
- WFMInpre:XUNit?
- WFMInpre:XZEro <NR3>
- WFMInpre:XZEro?
- WFMInpre:YMUlt <NR3>
- WFMInpre:YMUlt?
- WFMInpre:YOFf <NR3>
- WFMInpre:YOFf?
- WFMInpre:YUNit <QString>
- WFMInpre:YUNit?
- WFMInpre:YZEro <NR3>
- WFMInpre:YZEro?
- WFMInpre?
Wfminpre
¶
Bases: SCPICmdRead
The WFMInpre command.
Description
- Returns the waveform formatting and scaling specifications to be applied to the next incoming CURVe command data.
Usage
- Using the
.query()method will send theWFMInpre?query. - Using the
.verify(value)method will send theWFMInpre?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- WFMInpre?
Properties
.bit_nr: TheWFMInpre:BIT_Nrcommand..bn_fmt: TheWFMInpre:BN_Fmtcommand..byt_nr: TheWFMInpre:BYT_Nrcommand..byt_or: TheWFMInpre:BYT_Orcommand..centerfrequency: TheWFMInpre:CENTERFREQuencycommand..domain: TheWFMInpre:DOMaincommand..encdg: TheWFMInpre:ENCdgcommand..nr_pt: TheWFMInpre:NR_Ptcommand..pt_fmt: TheWFMInpre:PT_Fmtcommand..pt_off: TheWFMInpre:PT_Offcommand..reflevel: TheWFMInpre:REFLevelcommand..span: TheWFMInpre:SPANcommand..wfmtype: TheWFMInpre:WFMTYPecommand..xincr: TheWFMInpre:XINcrcommand..xunit: TheWFMInpre:XUNitcommand..xzero: TheWFMInpre:XZErocommand..ymult: TheWFMInpre:YMUltcommand..yoff: TheWFMInpre:YOFfcommand..yunit: TheWFMInpre:YUNitcommand..yzero: TheWFMInpre:YZErocommand.
bit_nr
property
¶
bit_nr: WfminpreBitNr
Return the WFMInpre:BIT_Nr command.
Description
- This command specifies the number of bits per data point in the waveform data to be
sent to the oscilloscope using the CURVe command. Changing this value also changes the
value of
WFMINPRE:BYT_NR.
Usage
- Using the
.query()method will send theWFMInpre:BIT_Nr?query. - Using the
.verify(value)method will send theWFMInpre:BIT_Nr?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:BIT_Nr valuecommand.
SCPI Syntax
- WFMInpre:BIT_Nr <NR1>
- WFMInpre:BIT_Nr?
Info
<NR1>number of bits per data point can be 8 , 16, 32 or 64.
bn_fmt
property
¶
bn_fmt: WfminpreBnFmt
Return the WFMInpre:BN_Fmt command.
Description
- This command specifies the format of the data for outgoing waveforms when
WFMInpre:ENCdgis set to BINary. The format can either be RI (signed integer), RP (positive integer) or FP (floating point).
Usage
- Using the
.query()method will send theWFMInpre:BN_Fmt?query. - Using the
.verify(value)method will send theWFMInpre:BN_Fmt?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:BN_Fmt valuecommand.
SCPI Syntax
- WFMInpre:BN_Fmt {RI|RP|FP}
- WFMInpre:BN_Fmt?
Info
RIspecifies signed integer data point representation.RPspecifies positive integer data point representation.FPspecifies floating point data representation.
byt_nr
property
¶
byt_nr: WfminpreBytNr
Return the WFMInpre:BYT_Nr command.
Description
- This command specifies the number of bytes per data point in the waveform data to be
sent to the oscilloscope using the CURVe command. Changing this value also changes the
value of
WFMINPRE:BIT_NR.
Usage
- Using the
.query()method will send theWFMInpre:BYT_Nr?query. - Using the
.verify(value)method will send theWFMInpre:BYT_Nr?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:BYT_Nr valuecommand.
SCPI Syntax
- WFMInpre:BYT_Nr <NR1>
- WFMInpre:BYT_Nr?
Info
<NR1>is the number of bytes per data point. The number of bytes can be 1 or 2 for Analog, Math or the digital channels D0 - D15. It can be 4 or 8 for DIGital collection data. It must be 4 for frequency domain trace data.
byt_or
property
¶
byt_or: WfminpreBytOr
Return the WFMInpre:BYT_Or command.
Description
- This command specifies which byte of incoming binary waveform data is transmitted
first (the byte order). The byte order can either be MSB (most significant byte first)
or LSB (least significant byte first, also known as IBM format). This specification
only has meaning when
WFMINPRE:ENCDGis set to BINary andWFMINPRE:BYT_NRis 2.
Usage
- Using the
.query()method will send theWFMInpre:BYT_Or?query. - Using the
.verify(value)method will send theWFMInpre:BYT_Or?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:BYT_Or valuecommand.
SCPI Syntax
- WFMInpre:BYT_Or {LSB|MSB}
- WFMInpre:BYT_Or?
Info
LSBspecifies that the least significant byte will be expected first.MSBspecifies that the most significant byte will be expected first.
centerfrequency
property
¶
centerfrequency: WfminpreCenterfrequency
Return the WFMInpre:CENTERFREQuency command.
Description
- This command specifies the center frequency of the incoming RF trace (waveform), in hertz. The center frequency is a precise frequency at the center of the frequency domain display. In many applications, it is a carrier frequency.
Usage
- Using the
.query()method will send theWFMInpre:CENTERFREQuency?query. - Using the
.verify(value)method will send theWFMInpre:CENTERFREQuency?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:CENTERFREQuency valuecommand.
SCPI Syntax
- WFMInpre:CENTERFREQuency <NR3>
- WFMInpre:CENTERFREQuency?
Info
<NR3>is a floating point number.
domain
property
¶
domain: WfminpreDomain
Return the WFMInpre:DOMain command.
Description
- This command specifies whether the information being sent to a reference location should be treated as integer (time domain) information, or floating point (frequency domain) information, for the purposes of storing the data internally. The default is TIMe. This parameter should be set before using the CURVe command to transfer a waveform from a PC to an internal reference location.
Usage
- Using the
.query()method will send theWFMInpre:DOMain?query. - Using the
.verify(value)method will send theWFMInpre:DOMain?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:DOMain valuecommand.
SCPI Syntax
- WFMInpre:DOMain {TIMe|FREQuency}
- WFMInpre:DOMain?
Info
TIMespecifies to treat the information to be transferred as integer values.FREQuencyspecifies to treat the information to be transferred as floating point values.
encdg
property
¶
encdg: WfminpreEncdg
Return the WFMInpre:ENCdg command.
Description
- This command specifies the type of encoding of the incoming waveform data to be sent to the oscilloscope using the CURVe command. Supported types are BINary and ASCii.
Usage
- Using the
.query()method will send theWFMInpre:ENCdg?query. - Using the
.verify(value)method will send theWFMInpre:ENCdg?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:ENCdg valuecommand.
SCPI Syntax
- WFMInpre:ENCdg {ASCii|BINary}
- WFMInpre:ENCdg?
Info
ASCiispecifies that the incoming data is in ASCII format.BINaryspecifies that the incoming data is in a binary format whose further interpretation requires knowledge ofBYT_NR,BIT_NR,BN_FMT, andBYT_OR.
nr_pt
property
¶
nr_pt: WfminpreNrPt
Return the WFMInpre:NR_Pt command.
Description
- This command specifies the number of data points that are in the incoming waveform record to be sent to the oscilloscope using the CURVe command.
Usage
- Using the
.query()method will send theWFMInpre:NR_Pt?query. - Using the
.verify(value)method will send theWFMInpre:NR_Pt?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:NR_Pt valuecommand.
SCPI Syntax
- WFMInpre:NR_Pt <NR1>
- WFMInpre:NR_Pt?
Info
<NR1>is the number of data points ifWFMInpre:PT_Fmtis set to Y. It is the number of min-max pairs ifWFMInpre:PT_Fmtis set to ENV.
pt_fmt
property
¶
pt_fmt: WfminprePtFmt
Return the WFMInpre:PT_Fmt command.
Description
- This command specifies the acquisition format of the data points to be sent to the oscilloscope using the CURVE command. This can be Y for YT format, or ENV for envelope mode (min/max pairs). For YT format, each data value represents a single waveform data point. For envelope format, each data point represents a min/max pair, where the minimum value precedes the maximum value.
Usage
- Using the
.query()method will send theWFMInpre:PT_Fmt?query. - Using the
.verify(value)method will send theWFMInpre:PT_Fmt?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:PT_Fmt valuecommand.
SCPI Syntax
- WFMInpre:PT_Fmt {ENV|Y}
- WFMInpre:PT_Fmt?
Info
ENVspecifies that the waveform is to be transmitted in envelope mode as minimum and maximum point pairs. Only Y values are explicitly transmitted. Absolute coordinates are given by.Xn = XZEro + XINcr (n - PT_Off)Ynmax = YZEro + YMUlt (ynmax - YOFf)Ynmin = YZEro + YMUlt (ynmin - YOFf)Yspecifies a normal waveform where one ASCII or binary data point is transmitted for each point in the waveform record. Only Y values are explicitly transmitted. Absolute coordinates are given by.Xn = XZEro + XINcr (n - PT_Off)Yn = YZEro + YMUlt (yn - YOFf)
pt_off
property
¶
pt_off: WfminprePtOff
Return the WFMInpre:PT_Off command.
Description
- The set form of this command is ignored. The query form always returns a 0. (This command is listed for compatibility with other Tektronix oscilloscopes.)
Usage
- Using the
.query()method will send theWFMInpre:PT_Off?query. - Using the
.verify(value)method will send theWFMInpre:PT_Off?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:PT_Off valuecommand.
SCPI Syntax
- WFMInpre:PT_Off <NR1>
- WFMInpre:PT_Off?
reflevel
property
¶
reflevel: WfminpreReflevel
Return the WFMInpre:REFLevel command.
Description
- This command specifies the Reference Level of the incoming waveform. This command applies only to frequency domain waveforms. The Reference Level is adjustable from 10 pico Watts (-140dBm) to 1 Watt (+30dBm).
Usage
- Using the
.query()method will send theWFMInpre:REFLevel?query. - Using the
.verify(value)method will send theWFMInpre:REFLevel?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:REFLevel valuecommand.
SCPI Syntax
- WFMInpre:REFLevel <NR3>
- WFMInpre:REFLevel?
Info
<NR3>is a floating point number that specifies the Reference Level of the incoming waveform, in watts.
span
property
¶
span: WfminpreSpan
Return the WFMInpre:SPAN command.
Description
- This command specifies the frequency span of the incoming RF trace. The span is the range of frequencies that can be observed around the center frequency.
Usage
- Using the
.query()method will send theWFMInpre:SPAN?query. - Using the
.verify(value)method will send theWFMInpre:SPAN?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:SPAN valuecommand.
SCPI Syntax
- WFMInpre:SPAN <NR3>
- WFMInpre:SPAN?
Info
<NR3>is a floating point number that can range from 1 kHz to 3 GHz. The maximum span is 3 GHz if option 3-SA3 is installed. Without that option, the maximum is identical to the analog bandwidth.
wfmtype
property
¶
wfmtype: WfminpreWfmtype
Return the WFMInpre:WFMTYPe command.
Description
- This command specifies the type of waveform that is being transferred to the
oscilloscope for storage in one of the REF1 - REF4 memory locations. The waveform type
possibilities are the ANALOG, the RF time domain waveforms (
RF_TD), or the RF frequency domain waveforms (RF_FD). The default is ANALOG. This parameter should be set before using the CURVe command to transfer a waveform from a PC to an internal reference location. The type of waveform that is being transferred in turn determines which window will display it on the instrument screen: the time domain window or frequency domain window. Both the analog and RF-TD arguments specify the time domain window; theRF_FDargument specifies the frequency domain window.
Usage
- Using the
.query()method will send theWFMInpre:WFMTYPe?query. - Using the
.verify(value)method will send theWFMInpre:WFMTYPe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:WFMTYPe valuecommand.
SCPI Syntax
- WFMInpre:WFMTYPe {ANALOG|RF_TD|RF_FD}
- WFMInpre:WFMTYPe?
Info
ANALOG- this type includes Channels 1-4 and the Math waveform, and specifies to display it in the time domain window.RF_TD- this type includes the three RF time domain traces (RF Amplitude vs. Time, RF Frequency vs. Time, and RF Phase vs. Time) and specifies to display it in the time domain window.RF_FD- this type includes the four RF frequency domain traces (RF Normal, RF Average, RF Max Hold, and RF Min Hold) and specifies to display it in the frequency domain window.
xincr
property
¶
xincr: WfminpreXincr
Return the WFMInpre:XINcr command.
Description
- This command specifies the horizontal interval between incoming waveform points sent
to the oscilloscope using the CURVE command. The units are time, in seconds, or
frequency, in hertz, and can be specified or queried using the
WFMInpre:XUNitcommand.
Usage
- Using the
.query()method will send theWFMInpre:XINcr?query. - Using the
.verify(value)method will send theWFMInpre:XINcr?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:XINcr valuecommand.
SCPI Syntax
- WFMInpre:XINcr <NR3>
- WFMInpre:XINcr?
Info
<NR3>is a floating point number that specifies the horizontal interval representation.
xunit
property
¶
xunit: WfminpreXunit
Return the WFMInpre:XUNit command.
Description
- This command specifies the horizontal units of the x-axis of the data points being sent to the oscilloscope using the CURVE command. This value can be in ‘s’ for seconds, or ‘Hz’.
Usage
- Using the
.query()method will send theWFMInpre:XUNit?query. - Using the
.verify(value)method will send theWFMInpre:XUNit?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:XUNit valuecommand.
SCPI Syntax
- WFMInpre:XUNit <QString>
- WFMInpre:XUNit?
Info
<QString>contains the characters that represent the horizontal units for the incoming waveform.
xzero
property
¶
xzero: WfminpreXzero
Return the WFMInpre:XZEro command.
Description
- This command specifies the position value of the first data point in the incoming
waveform record being sent to the oscilloscope using the CURVE command. The units are
determined or queried using the
WFMInpre:XUNitcommand and are typically time, in seconds, or frequency, in hertz. This time or frequency is relative to the time or frequency of the trigger, which is always 0. Thus, the XZEro value can be negative.
Usage
- Using the
.query()method will send theWFMInpre:XZEro?query. - Using the
.verify(value)method will send theWFMInpre:XZEro?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:XZEro valuecommand.
SCPI Syntax
- WFMInpre:XZEro <NR3>
- WFMInpre:XZEro?
Info
<NR3>is the floating point value of the position, in XUNits, of the first sample in the incoming waveform. If XUNits is ‘s’,is the time of the first sample in the incoming waveform.
ymult
property
¶
ymult: WfminpreYmult
Return the WFMInpre:YMUlt command.
Description
- This command specifies the vertical scale multiplying factor to be used to convert the
incoming data point values being sent to the oscilloscope, from digitizing levels into
the units specified by the
WFMInpre:YUNitcommand. For one byte waveform data, there are 256 digitizing levels. For two byte waveform data there are 65,536 digitizing levels. TheWFMInpre:YMUlt,WFMInpre:YOFf, andWFMInpre:YZErovalues are used to convert waveform record values to units specified using theWFMINPRE:YUNITcommand (YUNit units). It uses the following formula (where dl means digitizing level;curve_in_dlis a data point value in the CURVe data): Value in YUNit units = ((curve_in_dl- YOFf) * YMUlt) + YZEro
Usage
- Using the
.query()method will send theWFMInpre:YMUlt?query. - Using the
.verify(value)method will send theWFMInpre:YMUlt?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:YMUlt valuecommand.
SCPI Syntax
- WFMInpre:YMUlt <NR3>
- WFMInpre:YMUlt?
Info
<NR3>is a floating point number that specifies the vertical scale factor per digitizing level of the incoming waveform points.
yoff
property
¶
yoff: WfminpreYoff
Return the WFMInpre:YOFf command.
Description
- This command specifies the vertical position of the destination reference waveform in
digitizing levels. There are 25 digitizing levels per vertical division for 1-byte
data, and 6400 digitizing levels per vertical division for 2-byte data. Variations in
this number are analogous to changing the vertical position of the waveform. The
WFMInpre:YMUlt,WFMInpre:YOFf, andWFMInpre:YZErocommands are used to convert waveform record values to units specified using theWFMINPRE:YUNITcommand (YUNit units). It uses the following formula (where dl means digitizing levels, andcurve_in_dlis a data point value in the CURVe data): Value in YUNit units = ((curve_in_dl- YOFf) * YMUlt) + YZEro
Usage
- Using the
.query()method will send theWFMInpre:YOFf?query. - Using the
.verify(value)method will send theWFMInpre:YOFf?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:YOFf valuecommand.
SCPI Syntax
- WFMInpre:YOFf <NR3>
- WFMInpre:YOFf?
Info
<NR3>is a floating point number that specifies the vertical offset in digitizing levels.
yunit
property
¶
yunit: WfminpreYunit
Return the WFMInpre:YUNit command.
Description
- This command specifies the vertical units of data points in the incoming waveform record sent to the oscilloscope using the CURVE command. This can be any of several string values, depending upon the vertical units of the waveform being sent. Supported units are: %, /Hz, A, A/A, A/V, A/W, A/dB, A/s, AA, AW, AdB, As, B, Hz, IRE, S/s, V, V/A, V/V, V/W, V/dB, V/s, VV, VW, VdB, volts, Vs, W, W/A, W/V, W/W, W/dB, W/s, WA, WV, WW, WdB, Ws, dB, dB/A, dB/V, dB/W, dB/dB, dBA, dBV, dBW, dBdB, day, degrees, div, hr, min, ohms, percent, s
Usage
- Using the
.query()method will send theWFMInpre:YUNit?query. - Using the
.verify(value)method will send theWFMInpre:YUNit?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:YUNit valuecommand.
SCPI Syntax
- WFMInpre:YUNit <QString>
- WFMInpre:YUNit?
Info
<QString>contains the characters that represent the vertical units for the incoming waveform.
yzero
property
¶
yzero: WfminpreYzero
Return the WFMInpre:YZEro command.
Description
- This command specifies the vertical offset of the destination reference waveform in
units specified by the
WFMInpre:YUNitcommand. Variations in this number are analogous to changing the vertical offset of the waveform. TheWFMInpre:YMUlt,WFMInpre:YOFf, andWFMInpre:YZErocommands are used to convert waveform record values to units specified using theWFMINPRE:YUNITcommand (YUNit units). It uses the following formula (where dl means digitizing levels;curve_in_dlis a data point value in the CURVe data): Value in YUNit units = ((curve_in_dl- YOFf) * YMUlt) + YZEro
Usage
- Using the
.query()method will send theWFMInpre:YZEro?query. - Using the
.verify(value)method will send theWFMInpre:YZEro?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:YZEro valuecommand.
SCPI Syntax
- WFMInpre:YZEro <NR3>
- WFMInpre:YZEro?
Info
<NR3>is a floating point number that specifies the offset in in units specified by theWFMInpre:YUNitcommand (YUNits).
WfminpreBitNr
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:BIT_Nr command.
Description
- This command specifies the number of bits per data point in the waveform data to be sent
to the oscilloscope using the CURVe command. Changing this value also changes the value of
WFMINPRE:BYT_NR.
Usage
- Using the
.query()method will send theWFMInpre:BIT_Nr?query. - Using the
.verify(value)method will send theWFMInpre:BIT_Nr?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:BIT_Nr valuecommand.
SCPI Syntax
- WFMInpre:BIT_Nr <NR1>
- WFMInpre:BIT_Nr?
Info
<NR1>number of bits per data point can be 8 , 16, 32 or 64.
WfminpreBnFmt
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:BN_Fmt command.
Description
- This command specifies the format of the data for outgoing waveforms when
WFMInpre:ENCdgis set to BINary. The format can either be RI (signed integer), RP (positive integer) or FP (floating point).
Usage
- Using the
.query()method will send theWFMInpre:BN_Fmt?query. - Using the
.verify(value)method will send theWFMInpre:BN_Fmt?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:BN_Fmt valuecommand.
SCPI Syntax
- WFMInpre:BN_Fmt {RI|RP|FP}
- WFMInpre:BN_Fmt?
Info
RIspecifies signed integer data point representation.RPspecifies positive integer data point representation.FPspecifies floating point data representation.
WfminpreBytNr
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:BYT_Nr command.
Description
- This command specifies the number of bytes per data point in the waveform data to be sent
to the oscilloscope using the CURVe command. Changing this value also changes the value of
WFMINPRE:BIT_NR.
Usage
- Using the
.query()method will send theWFMInpre:BYT_Nr?query. - Using the
.verify(value)method will send theWFMInpre:BYT_Nr?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:BYT_Nr valuecommand.
SCPI Syntax
- WFMInpre:BYT_Nr <NR1>
- WFMInpre:BYT_Nr?
Info
<NR1>is the number of bytes per data point. The number of bytes can be 1 or 2 for Analog, Math or the digital channels D0 - D15. It can be 4 or 8 for DIGital collection data. It must be 4 for frequency domain trace data.
WfminpreBytOr
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:BYT_Or command.
Description
- This command specifies which byte of incoming binary waveform data is transmitted first
(the byte order). The byte order can either be MSB (most significant byte first) or LSB
(least significant byte first, also known as IBM format). This specification only has
meaning when
WFMINPRE:ENCDGis set to BINary andWFMINPRE:BYT_NRis 2.
Usage
- Using the
.query()method will send theWFMInpre:BYT_Or?query. - Using the
.verify(value)method will send theWFMInpre:BYT_Or?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:BYT_Or valuecommand.
SCPI Syntax
- WFMInpre:BYT_Or {LSB|MSB}
- WFMInpre:BYT_Or?
Info
LSBspecifies that the least significant byte will be expected first.MSBspecifies that the most significant byte will be expected first.
WfminpreCenterfrequency
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:CENTERFREQuency command.
Description
- This command specifies the center frequency of the incoming RF trace (waveform), in hertz. The center frequency is a precise frequency at the center of the frequency domain display. In many applications, it is a carrier frequency.
Usage
- Using the
.query()method will send theWFMInpre:CENTERFREQuency?query. - Using the
.verify(value)method will send theWFMInpre:CENTERFREQuency?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:CENTERFREQuency valuecommand.
SCPI Syntax
- WFMInpre:CENTERFREQuency <NR3>
- WFMInpre:CENTERFREQuency?
Info
<NR3>is a floating point number.
WfminpreDomain
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:DOMain command.
Description
- This command specifies whether the information being sent to a reference location should be treated as integer (time domain) information, or floating point (frequency domain) information, for the purposes of storing the data internally. The default is TIMe. This parameter should be set before using the CURVe command to transfer a waveform from a PC to an internal reference location.
Usage
- Using the
.query()method will send theWFMInpre:DOMain?query. - Using the
.verify(value)method will send theWFMInpre:DOMain?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:DOMain valuecommand.
SCPI Syntax
- WFMInpre:DOMain {TIMe|FREQuency}
- WFMInpre:DOMain?
Info
TIMespecifies to treat the information to be transferred as integer values.FREQuencyspecifies to treat the information to be transferred as floating point values.
WfminpreEncdg
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:ENCdg command.
Description
- This command specifies the type of encoding of the incoming waveform data to be sent to the oscilloscope using the CURVe command. Supported types are BINary and ASCii.
Usage
- Using the
.query()method will send theWFMInpre:ENCdg?query. - Using the
.verify(value)method will send theWFMInpre:ENCdg?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:ENCdg valuecommand.
SCPI Syntax
- WFMInpre:ENCdg {ASCii|BINary}
- WFMInpre:ENCdg?
Info
ASCiispecifies that the incoming data is in ASCII format.BINaryspecifies that the incoming data is in a binary format whose further interpretation requires knowledge ofBYT_NR,BIT_NR,BN_FMT, andBYT_OR.
WfminpreNrPt
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:NR_Pt command.
Description
- This command specifies the number of data points that are in the incoming waveform record to be sent to the oscilloscope using the CURVe command.
Usage
- Using the
.query()method will send theWFMInpre:NR_Pt?query. - Using the
.verify(value)method will send theWFMInpre:NR_Pt?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:NR_Pt valuecommand.
SCPI Syntax
- WFMInpre:NR_Pt <NR1>
- WFMInpre:NR_Pt?
Info
<NR1>is the number of data points ifWFMInpre:PT_Fmtis set to Y. It is the number of min-max pairs ifWFMInpre:PT_Fmtis set to ENV.
WfminprePtFmt
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:PT_Fmt command.
Description
- This command specifies the acquisition format of the data points to be sent to the oscilloscope using the CURVE command. This can be Y for YT format, or ENV for envelope mode (min/max pairs). For YT format, each data value represents a single waveform data point. For envelope format, each data point represents a min/max pair, where the minimum value precedes the maximum value.
Usage
- Using the
.query()method will send theWFMInpre:PT_Fmt?query. - Using the
.verify(value)method will send theWFMInpre:PT_Fmt?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:PT_Fmt valuecommand.
SCPI Syntax
- WFMInpre:PT_Fmt {ENV|Y}
- WFMInpre:PT_Fmt?
Info
ENVspecifies that the waveform is to be transmitted in envelope mode as minimum and maximum point pairs. Only Y values are explicitly transmitted. Absolute coordinates are given by.Xn = XZEro + XINcr (n - PT_Off)Ynmax = YZEro + YMUlt (ynmax - YOFf)Ynmin = YZEro + YMUlt (ynmin - YOFf)Yspecifies a normal waveform where one ASCII or binary data point is transmitted for each point in the waveform record. Only Y values are explicitly transmitted. Absolute coordinates are given by.Xn = XZEro + XINcr (n - PT_Off)Yn = YZEro + YMUlt (yn - YOFf)
WfminprePtOff
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:PT_Off command.
Description
- The set form of this command is ignored. The query form always returns a 0. (This command is listed for compatibility with other Tektronix oscilloscopes.)
Usage
- Using the
.query()method will send theWFMInpre:PT_Off?query. - Using the
.verify(value)method will send theWFMInpre:PT_Off?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:PT_Off valuecommand.
SCPI Syntax
- WFMInpre:PT_Off <NR1>
- WFMInpre:PT_Off?
WfminpreReflevel
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:REFLevel command.
Description
- This command specifies the Reference Level of the incoming waveform. This command applies only to frequency domain waveforms. The Reference Level is adjustable from 10 pico Watts (-140dBm) to 1 Watt (+30dBm).
Usage
- Using the
.query()method will send theWFMInpre:REFLevel?query. - Using the
.verify(value)method will send theWFMInpre:REFLevel?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:REFLevel valuecommand.
SCPI Syntax
- WFMInpre:REFLevel <NR3>
- WFMInpre:REFLevel?
Info
<NR3>is a floating point number that specifies the Reference Level of the incoming waveform, in watts.
WfminpreSpan
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:SPAN command.
Description
- This command specifies the frequency span of the incoming RF trace. The span is the range of frequencies that can be observed around the center frequency.
Usage
- Using the
.query()method will send theWFMInpre:SPAN?query. - Using the
.verify(value)method will send theWFMInpre:SPAN?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:SPAN valuecommand.
SCPI Syntax
- WFMInpre:SPAN <NR3>
- WFMInpre:SPAN?
Info
<NR3>is a floating point number that can range from 1 kHz to 3 GHz. The maximum span is 3 GHz if option 3-SA3 is installed. Without that option, the maximum is identical to the analog bandwidth.
WfminpreWfmtype
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:WFMTYPe command.
Description
- This command specifies the type of waveform that is being transferred to the oscilloscope
for storage in one of the REF1 - REF4 memory locations. The waveform type possibilities
are the ANALOG, the RF time domain waveforms (
RF_TD), or the RF frequency domain waveforms (RF_FD). The default is ANALOG. This parameter should be set before using the CURVe command to transfer a waveform from a PC to an internal reference location. The type of waveform that is being transferred in turn determines which window will display it on the instrument screen: the time domain window or frequency domain window. Both the analog and RF-TD arguments specify the time domain window; theRF_FDargument specifies the frequency domain window.
Usage
- Using the
.query()method will send theWFMInpre:WFMTYPe?query. - Using the
.verify(value)method will send theWFMInpre:WFMTYPe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:WFMTYPe valuecommand.
SCPI Syntax
- WFMInpre:WFMTYPe {ANALOG|RF_TD|RF_FD}
- WFMInpre:WFMTYPe?
Info
ANALOG- this type includes Channels 1-4 and the Math waveform, and specifies to display it in the time domain window.RF_TD- this type includes the three RF time domain traces (RF Amplitude vs. Time, RF Frequency vs. Time, and RF Phase vs. Time) and specifies to display it in the time domain window.RF_FD- this type includes the four RF frequency domain traces (RF Normal, RF Average, RF Max Hold, and RF Min Hold) and specifies to display it in the frequency domain window.
WfminpreXincr
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:XINcr command.
Description
- This command specifies the horizontal interval between incoming waveform points sent to
the oscilloscope using the CURVE command. The units are time, in seconds, or frequency, in
hertz, and can be specified or queried using the
WFMInpre:XUNitcommand.
Usage
- Using the
.query()method will send theWFMInpre:XINcr?query. - Using the
.verify(value)method will send theWFMInpre:XINcr?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:XINcr valuecommand.
SCPI Syntax
- WFMInpre:XINcr <NR3>
- WFMInpre:XINcr?
Info
<NR3>is a floating point number that specifies the horizontal interval representation.
WfminpreXunit
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:XUNit command.
Description
- This command specifies the horizontal units of the x-axis of the data points being sent to the oscilloscope using the CURVE command. This value can be in ‘s’ for seconds, or ‘Hz’.
Usage
- Using the
.query()method will send theWFMInpre:XUNit?query. - Using the
.verify(value)method will send theWFMInpre:XUNit?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:XUNit valuecommand.
SCPI Syntax
- WFMInpre:XUNit <QString>
- WFMInpre:XUNit?
Info
<QString>contains the characters that represent the horizontal units for the incoming waveform.
WfminpreXzero
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:XZEro command.
Description
- This command specifies the position value of the first data point in the incoming waveform
record being sent to the oscilloscope using the CURVE command. The units are determined or
queried using the
WFMInpre:XUNitcommand and are typically time, in seconds, or frequency, in hertz. This time or frequency is relative to the time or frequency of the trigger, which is always 0. Thus, the XZEro value can be negative.
Usage
- Using the
.query()method will send theWFMInpre:XZEro?query. - Using the
.verify(value)method will send theWFMInpre:XZEro?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:XZEro valuecommand.
SCPI Syntax
- WFMInpre:XZEro <NR3>
- WFMInpre:XZEro?
Info
<NR3>is the floating point value of the position, in XUNits, of the first sample in the incoming waveform. If XUNits is ‘s’,is the time of the first sample in the incoming waveform.
WfminpreYmult
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:YMUlt command.
Description
- This command specifies the vertical scale multiplying factor to be used to convert the
incoming data point values being sent to the oscilloscope, from digitizing levels into the
units specified by the
WFMInpre:YUNitcommand. For one byte waveform data, there are 256 digitizing levels. For two byte waveform data there are 65,536 digitizing levels. TheWFMInpre:YMUlt,WFMInpre:YOFf, andWFMInpre:YZErovalues are used to convert waveform record values to units specified using theWFMINPRE:YUNITcommand (YUNit units). It uses the following formula (where dl means digitizing level;curve_in_dlis a data point value in the CURVe data): Value in YUNit units = ((curve_in_dl- YOFf) * YMUlt) + YZEro
Usage
- Using the
.query()method will send theWFMInpre:YMUlt?query. - Using the
.verify(value)method will send theWFMInpre:YMUlt?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:YMUlt valuecommand.
SCPI Syntax
- WFMInpre:YMUlt <NR3>
- WFMInpre:YMUlt?
Info
<NR3>is a floating point number that specifies the vertical scale factor per digitizing level of the incoming waveform points.
WfminpreYoff
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:YOFf command.
Description
- This command specifies the vertical position of the destination reference waveform in
digitizing levels. There are 25 digitizing levels per vertical division for 1-byte data,
and 6400 digitizing levels per vertical division for 2-byte data. Variations in this
number are analogous to changing the vertical position of the waveform. The
WFMInpre:YMUlt,WFMInpre:YOFf, andWFMInpre:YZErocommands are used to convert waveform record values to units specified using theWFMINPRE:YUNITcommand (YUNit units). It uses the following formula (where dl means digitizing levels, andcurve_in_dlis a data point value in the CURVe data): Value in YUNit units = ((curve_in_dl- YOFf) * YMUlt) + YZEro
Usage
- Using the
.query()method will send theWFMInpre:YOFf?query. - Using the
.verify(value)method will send theWFMInpre:YOFf?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:YOFf valuecommand.
SCPI Syntax
- WFMInpre:YOFf <NR3>
- WFMInpre:YOFf?
Info
<NR3>is a floating point number that specifies the vertical offset in digitizing levels.
WfminpreYunit
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:YUNit command.
Description
- This command specifies the vertical units of data points in the incoming waveform record sent to the oscilloscope using the CURVE command. This can be any of several string values, depending upon the vertical units of the waveform being sent. Supported units are: %, /Hz, A, A/A, A/V, A/W, A/dB, A/s, AA, AW, AdB, As, B, Hz, IRE, S/s, V, V/A, V/V, V/W, V/dB, V/s, VV, VW, VdB, volts, Vs, W, W/A, W/V, W/W, W/dB, W/s, WA, WV, WW, WdB, Ws, dB, dB/A, dB/V, dB/W, dB/dB, dBA, dBV, dBW, dBdB, day, degrees, div, hr, min, ohms, percent, s
Usage
- Using the
.query()method will send theWFMInpre:YUNit?query. - Using the
.verify(value)method will send theWFMInpre:YUNit?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:YUNit valuecommand.
SCPI Syntax
- WFMInpre:YUNit <QString>
- WFMInpre:YUNit?
Info
<QString>contains the characters that represent the vertical units for the incoming waveform.
WfminpreYzero
¶
Bases: SCPICmdWrite, SCPICmdRead
The WFMInpre:YZEro command.
Description
- This command specifies the vertical offset of the destination reference waveform in units
specified by the
WFMInpre:YUNitcommand. Variations in this number are analogous to changing the vertical offset of the waveform. TheWFMInpre:YMUlt,WFMInpre:YOFf, andWFMInpre:YZErocommands are used to convert waveform record values to units specified using theWFMINPRE:YUNITcommand (YUNit units). It uses the following formula (where dl means digitizing levels;curve_in_dlis a data point value in the CURVe data): Value in YUNit units = ((curve_in_dl- YOFf) * YMUlt) + YZEro
Usage
- Using the
.query()method will send theWFMInpre:YZEro?query. - Using the
.verify(value)method will send theWFMInpre:YZEro?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theWFMInpre:YZEro valuecommand.
SCPI Syntax
- WFMInpre:YZEro <NR3>
- WFMInpre:YZEro?
Info
<NR3>is a floating point number that specifies the offset in in units specified by theWFMInpre:YUNitcommand (YUNits).