wfminpre

The wfminpre commands module.

These commands are used in the following models: DPO5K, DPO5KB, DPO70KC, DPO70KD, DPO70KDX, DPO70KSX, DPO7K, DPO7KC, DSA70KC, DSA70KD, MSO5K, MSO5KB, MSO70KC, MSO70KDX

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:ENCdg {ASCii|BINary}
- WFMInpre:ENCdg?
- WFMInpre:NR_FR?
- WFMInpre:NR_Pt <NR1>
- WFMInpre:NR_Pt?
- WFMInpre:PT_Fmt {ENV|Y}
- WFMInpre:PT_Fmt?
- WFMInpre:PT_Off <NR1>
- WFMInpre:PT_Off?
- WFMInpre:WFId <QString>
- 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 the WFMInpre? query.
  • Using the .verify(value) method will send the WFMInpre? query and raise an AssertionError if the returned value does not match value.
SCPI Syntax
- WFMInpre?
Properties
  • .bit_nr: The WFMInpre:BIT_Nr command.
  • .bn_fmt: The WFMInpre:BN_Fmt command.
  • .byt_nr: The WFMInpre:BYT_Nr command.
  • .byt_or: The WFMInpre:BYT_Or command.
  • .encdg: The WFMInpre:ENCdg command.
  • .nr_fr: The WFMInpre:NR_FR command.
  • .nr_pt: The WFMInpre:NR_Pt command.
  • .pt_fmt: The WFMInpre:PT_Fmt command.
  • .pt_off: The WFMInpre:PT_Off command.
  • .wfid: The WFMInpre:WFId command.
  • .xincr: The WFMInpre:XINcr command.
  • .xunit: The WFMInpre:XUNit command.
  • .xzero: The WFMInpre:XZEro command.
  • .ymult: The WFMInpre:YMUlt command.
  • .yoff: The WFMInpre:YOFf command.
  • .yunit: The WFMInpre:YUNit command.
  • .yzero: The WFMInpre:YZEro command.

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 the WFMInpre:BIT_Nr? query.
  • Using the .verify(value) method will send the WFMInpre:BIT_Nr? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:BIT_Nr value command.
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:ENCdg is 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 the WFMInpre:BN_Fmt? query.
  • Using the .verify(value) method will send the WFMInpre:BN_Fmt? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:BN_Fmt value command.
SCPI Syntax
- WFMInpre:BN_Fmt {RI|RP|FP}
- WFMInpre:BN_Fmt?
Info
  • RI specifies signed integer data point representation.
  • RP specifies positive integer data point representation.
  • FP specifies 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 the WFMInpre:BYT_Nr? query.
  • Using the .verify(value) method will send the WFMInpre:BYT_Nr? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:BYT_Nr value command.
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:ENCDG is set to BINary and WFMINPRE:BYT_NR is 2.
Usage
  • Using the .query() method will send the WFMInpre:BYT_Or? query.
  • Using the .verify(value) method will send the WFMInpre:BYT_Or? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:BYT_Or value command.
SCPI Syntax
- WFMInpre:BYT_Or {LSB|MSB}
- WFMInpre:BYT_Or?
Info
  • LSB specifies that the least significant byte will be expected first.
  • MSB specifies that the most significant byte will be expected first.

encdg property

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 the WFMInpre:ENCdg? query.
  • Using the .verify(value) method will send the WFMInpre:ENCdg? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:ENCdg value command.
SCPI Syntax
- WFMInpre:ENCdg {ASCii|BINary}
- WFMInpre:ENCdg?
Info
  • ASCii specifies that the incoming data is in ASCII format.
  • BINary specifies that the incoming data is in a binary format whose further interpretation requires knowledge of BYT_NR, BIT_NR, BN_FMT, and BYT_OR.

nr_fr property

nr_fr: WfminpreNrFr

Return the WFMInpre:NR_FR command.

Description
  • This query returns the number of frames to be transferred to the instrument with the CURVe command.
Usage
  • Using the .query() method will send the WFMInpre:NR_FR? query.
  • Using the .verify(value) method will send the WFMInpre:NR_FR? query and raise an AssertionError if the returned value does not match value.
SCPI Syntax
- WFMInpre:NR_FR?

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 the WFMInpre:NR_Pt? query.
  • Using the .verify(value) method will send the WFMInpre:NR_Pt? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:NR_Pt value command.
SCPI Syntax
- WFMInpre:NR_Pt <NR1>
- WFMInpre:NR_Pt?
Info
  • <NR1> is the number of data points if WFMInpre:PT_Fmt is set to Y. It is the number of min-max pairs if WFMInpre:PT_Fmt is 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 the WFMInpre:PT_Fmt? query.
  • Using the .verify(value) method will send the WFMInpre:PT_Fmt? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:PT_Fmt value command.
SCPI Syntax
- WFMInpre:PT_Fmt {ENV|Y}
- WFMInpre:PT_Fmt?
Info
  • ENV specifies 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)
  • Y specifies 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 the WFMInpre:PT_Off? query.
  • Using the .verify(value) method will send the WFMInpre:PT_Off? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:PT_Off value command.
SCPI Syntax
- WFMInpre:PT_Off <NR1>
- WFMInpre:PT_Off?

wfid property

Return the WFMInpre:WFId command.

Description
  • This command (no query form) accepts but ignores the argument. This command is provided only to allow a waveform extracted from the instrument to be easily imported.
Usage
  • Using the .write(value) method will send the WFMInpre:WFId value command.
SCPI Syntax
- WFMInpre:WFId <QString>
Info
  • <QString> must be a valid IEEE-488.2 string (but the contents are ignored).

xincr property

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:XUNit command.
Usage
  • Using the .query() method will send the WFMInpre:XINcr? query.
  • Using the .verify(value) method will send the WFMInpre:XINcr? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:XINcr value command.
SCPI Syntax
- WFMInpre:XINcr <NR3>
- WFMInpre:XINcr?
Info
  • <NR3> is a floating point number that specifies the horizontal interval representation.

xunit property

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 the WFMInpre:XUNit? query.
  • Using the .verify(value) method will send the WFMInpre:XUNit? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:XUNit value command.
SCPI Syntax
- WFMInpre:XUNit <QString>
- WFMInpre:XUNit?
Info
  • <QString> contains the characters that represent the horizontal units for the incoming waveform.

xzero property

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:XUNit command 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 the WFMInpre:XZEro? query.
  • Using the .verify(value) method will send the WFMInpre:XZEro? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:XZEro value command.
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

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:YUNit command. For one byte waveform data, there are 256 digitizing levels. For two byte waveform data there are 65,536 digitizing levels. The WFMInpre:YMUlt, WFMInpre:YOFf, and WFMInpre:YZEro values are used to convert waveform record values to units specified using the WFMINPRE:YUNIT command (YUNit units). It uses the following formula (where dl means digitizing level; curve_in_dl is 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 the WFMInpre:YMUlt? query.
  • Using the .verify(value) method will send the WFMInpre:YMUlt? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:YMUlt value command.
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

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, and WFMInpre:YZEro commands are used to convert waveform record values to units specified using the WFMINPRE:YUNIT command (YUNit units). It uses the following formula (where dl means digitizing levels, and curve_in_dl is 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 the WFMInpre:YOFf? query.
  • Using the .verify(value) method will send the WFMInpre:YOFf? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:YOFf value command.
SCPI Syntax
- WFMInpre:YOFf <NR3>
- WFMInpre:YOFf?
Info
  • <NR3> is a floating point number that specifies the vertical offset in digitizing levels.

yunit property

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 the WFMInpre:YUNit? query.
  • Using the .verify(value) method will send the WFMInpre:YUNit? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:YUNit value command.
SCPI Syntax
- WFMInpre:YUNit <QString>
- WFMInpre:YUNit?
Info
  • <QString> contains the characters that represent the vertical units for the incoming waveform.

yzero property

Return the WFMInpre:YZEro command.

Description
  • This command specifies the vertical offset of the destination reference waveform in units specified by the WFMInpre:YUNit command. Variations in this number are analogous to changing the vertical offset of the waveform. The WFMInpre:YMUlt, WFMInpre:YOFf, and WFMInpre:YZEro commands are used to convert waveform record values to units specified using the WFMINPRE:YUNIT command (YUNit units). It uses the following formula (where dl means digitizing levels; curve_in_dl is 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 the WFMInpre:YZEro? query.
  • Using the .verify(value) method will send the WFMInpre:YZEro? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:YZEro value command.
SCPI Syntax
- WFMInpre:YZEro <NR3>
- WFMInpre:YZEro?
Info
  • <NR3> is a floating point number that specifies the offset in in units specified by the WFMInpre:YUNit command (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 the WFMInpre:BIT_Nr? query.
  • Using the .verify(value) method will send the WFMInpre:BIT_Nr? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:BIT_Nr value command.
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:ENCdg is 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 the WFMInpre:BN_Fmt? query.
  • Using the .verify(value) method will send the WFMInpre:BN_Fmt? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:BN_Fmt value command.
SCPI Syntax
- WFMInpre:BN_Fmt {RI|RP|FP}
- WFMInpre:BN_Fmt?
Info
  • RI specifies signed integer data point representation.
  • RP specifies positive integer data point representation.
  • FP specifies 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 the WFMInpre:BYT_Nr? query.
  • Using the .verify(value) method will send the WFMInpre:BYT_Nr? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:BYT_Nr value command.
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:ENCDG is set to BINary and WFMINPRE:BYT_NR is 2.
Usage
  • Using the .query() method will send the WFMInpre:BYT_Or? query.
  • Using the .verify(value) method will send the WFMInpre:BYT_Or? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:BYT_Or value command.
SCPI Syntax
- WFMInpre:BYT_Or {LSB|MSB}
- WFMInpre:BYT_Or?
Info
  • LSB specifies that the least significant byte will be expected first.
  • MSB specifies that the most significant byte will be expected first.

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 the WFMInpre:ENCdg? query.
  • Using the .verify(value) method will send the WFMInpre:ENCdg? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:ENCdg value command.
SCPI Syntax
- WFMInpre:ENCdg {ASCii|BINary}
- WFMInpre:ENCdg?
Info
  • ASCii specifies that the incoming data is in ASCII format.
  • BINary specifies that the incoming data is in a binary format whose further interpretation requires knowledge of BYT_NR, BIT_NR, BN_FMT, and BYT_OR.

WfminpreNrFr

Bases: SCPICmdRead

The WFMInpre:NR_FR command.

Description
  • This query returns the number of frames to be transferred to the instrument with the CURVe command.
Usage
  • Using the .query() method will send the WFMInpre:NR_FR? query.
  • Using the .verify(value) method will send the WFMInpre:NR_FR? query and raise an AssertionError if the returned value does not match value.
SCPI Syntax
- WFMInpre:NR_FR?

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 the WFMInpre:NR_Pt? query.
  • Using the .verify(value) method will send the WFMInpre:NR_Pt? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:NR_Pt value command.
SCPI Syntax
- WFMInpre:NR_Pt <NR1>
- WFMInpre:NR_Pt?
Info
  • <NR1> is the number of data points if WFMInpre:PT_Fmt is set to Y. It is the number of min-max pairs if WFMInpre:PT_Fmt is 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 the WFMInpre:PT_Fmt? query.
  • Using the .verify(value) method will send the WFMInpre:PT_Fmt? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:PT_Fmt value command.
SCPI Syntax
- WFMInpre:PT_Fmt {ENV|Y}
- WFMInpre:PT_Fmt?
Info
  • ENV specifies 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)
  • Y specifies 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 the WFMInpre:PT_Off? query.
  • Using the .verify(value) method will send the WFMInpre:PT_Off? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:PT_Off value command.
SCPI Syntax
- WFMInpre:PT_Off <NR1>
- WFMInpre:PT_Off?

WfminpreWfid

Bases: SCPICmdWrite

The WFMInpre:WFId command.

Description
  • This command (no query form) accepts but ignores the argument. This command is provided only to allow a waveform extracted from the instrument to be easily imported.
Usage
  • Using the .write(value) method will send the WFMInpre:WFId value command.
SCPI Syntax
- WFMInpre:WFId <QString>
Info
  • <QString> must be a valid IEEE-488.2 string (but the contents are ignored).

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:XUNit command.
Usage
  • Using the .query() method will send the WFMInpre:XINcr? query.
  • Using the .verify(value) method will send the WFMInpre:XINcr? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:XINcr value command.
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 the WFMInpre:XUNit? query.
  • Using the .verify(value) method will send the WFMInpre:XUNit? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:XUNit value command.
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:XUNit command 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 the WFMInpre:XZEro? query.
  • Using the .verify(value) method will send the WFMInpre:XZEro? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:XZEro value command.
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:YUNit command. For one byte waveform data, there are 256 digitizing levels. For two byte waveform data there are 65,536 digitizing levels. The WFMInpre:YMUlt, WFMInpre:YOFf, and WFMInpre:YZEro values are used to convert waveform record values to units specified using the WFMINPRE:YUNIT command (YUNit units). It uses the following formula (where dl means digitizing level; curve_in_dl is 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 the WFMInpre:YMUlt? query.
  • Using the .verify(value) method will send the WFMInpre:YMUlt? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:YMUlt value command.
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, and WFMInpre:YZEro commands are used to convert waveform record values to units specified using the WFMINPRE:YUNIT command (YUNit units). It uses the following formula (where dl means digitizing levels, and curve_in_dl is 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 the WFMInpre:YOFf? query.
  • Using the .verify(value) method will send the WFMInpre:YOFf? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:YOFf value command.
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 the WFMInpre:YUNit? query.
  • Using the .verify(value) method will send the WFMInpre:YUNit? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:YUNit value command.
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:YUNit command. Variations in this number are analogous to changing the vertical offset of the waveform. The WFMInpre:YMUlt, WFMInpre:YOFf, and WFMInpre:YZEro commands are used to convert waveform record values to units specified using the WFMINPRE:YUNIT command (YUNit units). It uses the following formula (where dl means digitizing levels; curve_in_dl is 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 the WFMInpre:YZEro? query.
  • Using the .verify(value) method will send the WFMInpre:YZEro? query and raise an AssertionError if the returned value does not match value.
  • Using the .write(value) method will send the WFMInpre:YZEro value command.
SCPI Syntax
- WFMInpre:YZEro <NR3>
- WFMInpre:YZEro?
Info
  • <NR3> is a floating point number that specifies the offset in in units specified by the WFMInpre:YUNit command (YUNits).