data
¶
The data commands module.
These commands are used in the following models: DPO2K, DPO2KB, MSO2K, MSO2KB
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- DATa {INIT|SNAp}
- DATa:COMPosition {COMPOSITE_YT|COMPOSITE_ENV|SINGULAR_YT}
- DATa:COMPosition:AVAILable?
- DATa:COMPosition?
- DATa:DESTination REF<x>
- DATa:DESTination?
- DATa:ENCdg {ASCIi|FAStest|RIBinary|RPBinary|SRIbinary|SRPbinary}
- DATa:ENCdg?
- DATa:RESOlution {FULL|REDUced}
- DATa:RESOlution?
- DATa:SOUrce {CH<x>|MATH|REF<x>|D<x>}
- DATa:SOUrce?
- DATa:STARt <NR1>
- DATa:STARt?
- DATa:STOP <NR1>
- DATa:STOP?
- DATa:WIDth <NR1>
- DATa:WIDth?
- DATa?
Data
¶
Bases: SCPICmdWrite, SCPICmdRead
The DATa command.
Description
- This command sets or queries the format and location of the waveform data that is transferred with the CURVE command.
Usage
- Using the
.query()method will send theDATa?query. - Using the
.verify(value)method will send theDATa?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa valuecommand.
SCPI Syntax
- DATa {INIT|SNAp}
- DATa?
Info
INITinitializes the waveform data parameters to their factory defaults except forDATa:STOP, which isset to the current acquisition record length.SNApSetsDATa:STARtandDATa:STOPto match the current waveform cursor positions of WAVEVIEW1 CURSOR1 if these waveform cursors are currently on. If these waveform cursors are not on when theDATa SNApcommand is sent, it is silently ignored andDATa:STARtand:STOPremain unchanged.
Properties
.composition: TheDATa:COMPositioncommand..destination: TheDATa:DESTinationcommand..encdg: TheDATa:ENCdgcommand..resolution: TheDATa:RESOlutioncommand..source: TheDATa:SOUrcecommand..start: TheDATa:STARtcommand..stop: TheDATa:STOPcommand..width: TheDATa:WIDthcommand.
composition
property
¶
composition: DataComposition
Return the DATa:COMPosition command.
Description
- Sets or returns the type of data that the CURVE? query returns.
Usage
- Using the
.query()method will send theDATa:COMPosition?query. - Using the
.verify(value)method will send theDATa:COMPosition?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:COMPosition valuecommand.
SCPI Syntax
- DATa:COMPosition {COMPOSITE_YT|COMPOSITE_ENV|SINGULAR_YT}
- DATa:COMPosition?
Info
COMPOSITE_YTis of native width 8-bits and is written as 8-bit data in ISF files and REF waveforms. The data can be queried as 1- or 2-byte data in CURVE? queries by setting the data width to 1 or 2.COMPOSITE_ENVis min/max pair data. Its native width is 8-bits and is written as 8-bit data in ISF files and REF waveforms. The data can be queried as 1- or 2- byte data in CURVE? queries by setting the data width to 1 or 2.SINGULAR_YTis 16-bit data which originates as averaged acquired data or math data. It is written to ISF files and REF waveforms as 16-bit data. The data can be queried as 1- or 2- byte data in CURVE? queries by setting the data width to 1 or 2.
Sub-properties
.available: TheDATa:COMPosition:AVAILablecommand.
destination
property
¶
destination: DataDestination
Return the DATa:DESTination command.
Description
- This command specifies the reference memory location (REF1-4) for storing waveform data transferred into the oscilloscope using the CURVE command.
Usage
- Using the
.query()method will send theDATa:DESTination?query. - Using the
.verify(value)method will send theDATa:DESTination?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:DESTination valuecommand.
SCPI Syntax
- DATa:DESTination REF<x>
- DATa:DESTination?
Info
REF<x>is the reference location where the waveform will be stored.
encdg
property
¶
encdg: DataEncdg
Return the DATa:ENCdg command.
Description
- Sets or returns the format of outgoing waveform data. This command is equivalent to
setting
WFMOUTPRE:ENCDG,WFMOUTPRE:BN_FMT,andWFMINPRE:FILTERFREQ. Setting theDATa:ENGdgvalue causes the corresponding WFMOutpre values to be updated and conversely.
Usage
- Using the
.query()method will send theDATa:ENCdg?query. - Using the
.verify(value)method will send theDATa:ENCdg?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:ENCdg valuecommand.
SCPI Syntax
- DATa:ENCdg {ASCIi|FAStest|RIBinary|RPBinary|SRIbinary|SRPbinary}
- DATa:ENCdg?
Info
ASCIispecifies the ASCII representation for waveform data points. If ASCII is the value, then:BN_Fmtand:BYT_Orare ignored.FAStestspecifies that the data be sent in the fastest possible manner consistent with maintaining accuracy and is interpreted with respect to the waveform specified byDATA:SOURCE.RIBinaryspecifies signed integer data point representation with the most significant byte transferred first.RPBinaryspecifies the positive integer data-point representation, with the most significant byte transferred first.SRIbinaryis the same as RIBinary except that the byte order is swapped, meaning that the least significant byte is transferred first. This format is useful when transferring data to IBM compatible PCs.SRPbinaryis the same as RPBinary except that the byte order is swapped, meaning that the least significant byte is transferred first. This format is useful when transferring data to PCs.
resolution
property
¶
resolution: DataResolution
Return the DATa:RESOlution command.
Description
- Sets or returns whether the CURVE? query returns full resolution records (acquired data) or reduced resolution records (filtered/displayed data).
Usage
- Using the
.query()method will send theDATa:RESOlution?query. - Using the
.verify(value)method will send theDATa:RESOlution?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:RESOlution valuecommand.
SCPI Syntax
- DATa:RESOlution {FULL|REDUced}
- DATa:RESOlution?
Info
FULLsets the instrument to return the full undecimated record acquired by the instrument. The full resolution records are not subject to the effects of FilterVu. Full resolution record lengths are 100,000, 125,000, 1,000,000 or 1,250,000 points.REDUcedsets the instrument to return short waveforms that are decimated from the full acquisition record. Reduced records are subject to the low pass filtering effects of FilterVu settings. Reduced record lengths range from 800 to 6250 points, depending on the acquisition settings.
source
property
¶
source: DataSource
Return the DATa:SOUrce command.
Description
- Sets or returns the location of the waveform data transferred from the oscilloscope by the CURVE? query.
Usage
- Using the
.query()method will send theDATa:SOUrce?query. - Using the
.verify(value)method will send theDATa:SOUrce?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:SOUrce valuecommand.
SCPI Syntax
- DATa:SOUrce {CH<x>|MATH|REF<x>|D<x>}
- DATa:SOUrce?
Info
CH<x>specifies which analog channel data will be transferred from the oscilloscope to the controller, channels 1 through 4. x has a minimum of 1 and a maximum of 4.MATHspecifies that the Math waveform data will be transferred from the oscilloscope to the controller.REF<x>specifies which Reference waveform data will be transferred from the oscilloscope to the controller, waveforms, 1 through 4. x has a minimum of 1 and a maximum of 2.D<x>specifies that the returned waveform data is packaged as 4 bytes per sample, representing the states of all digital channels (D0-D15) and the logic states of the analog channels (Ch1-Ch4). When the:DATA:SOURCEis set to DIGITAL, the:DATA:WIDTHis automatically set to 4. x has a minimum of 0 and a maximum of 15.
start
property
¶
start: DataStart
Return the DATa:STARt command.
Description
- This command sets or queries the starting data point for waveform transfer. This command allows for the transfer of partial waveforms to and from the instrument.
Usage
- Using the
.query()method will send theDATa:STARt?query. - Using the
.verify(value)method will send theDATa:STARt?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:STARt valuecommand.
SCPI Syntax
- DATa:STARt <NR1>
- DATa:STARt?
Info
<NR1>is the first data point that will be transferred, which ranges from 1 to the record length. Data will be transferred fromto DATa:STOPor the record length, whichever is less. Ifis greater than the record length, the last data point in the record is transferred. DATa:STARtandDATa:STOPare order independent. WhenDATa:STOPis greater thanDATa:STARt, the values will be swapped internally for the CURVE? query.
stop
property
¶
stop: DataStop
Return the DATa:STOP command.
Description
- This command sets or queries the last data point that will be transferred when using
the CURVE? query. This command allows for the transfer of partial waveforms to the
controller. Changes to the record length value are not automatically reflected in the
data:stopvalue. As record length is varied, theDATa:STOPvalue must be explicitly changed to ensure the entire record is transmitted. In other words, curve results will not automatically and correctly reflect increases in record length if the distance fromDATa:STARttoDATa:STOPstays smaller than the increased record length.
Usage
- Using the
.query()method will send theDATa:STOP?query. - Using the
.verify(value)method will send theDATa:STOP?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:STOP valuecommand.
SCPI Syntax
- DATa:STOP <NR1>
- DATa:STOP?
Info
<NR1>is the last data point that will be transferred, which ranges from 1 to the record length. Ifis greater than the record length, then data will be transferred up to the record length. If both DATa:STARtandDATa:STOPare greater than the record length, the last data point in the record is returned.
width
property
¶
width: DataWidth
Return the DATa:WIDth command.
Description
- This command specifies the width, in bytes per point, for waveform data transferred
from the instrument via the CURVe? query. (This command is synonymous with
WFMOutpre:BYT_Nr.)
Usage
- Using the
.query()method will send theDATa:WIDth?query. - Using the
.verify(value)method will send theDATa:WIDth?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:WIDth valuecommand.
SCPI Syntax
- DATa:WIDth <NR1>
- DATa:WIDth?
Info
<NR1>is an integer that indicates the number of bytes per point for the outgoing waveform data when queried using the CURVe? command. For analog channels, NR1 can be 1 or 2.
DataComposition
¶
Bases: SCPICmdWrite, SCPICmdRead
The DATa:COMPosition command.
Description
- Sets or returns the type of data that the CURVE? query returns.
Usage
- Using the
.query()method will send theDATa:COMPosition?query. - Using the
.verify(value)method will send theDATa:COMPosition?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:COMPosition valuecommand.
SCPI Syntax
- DATa:COMPosition {COMPOSITE_YT|COMPOSITE_ENV|SINGULAR_YT}
- DATa:COMPosition?
Info
COMPOSITE_YTis of native width 8-bits and is written as 8-bit data in ISF files and REF waveforms. The data can be queried as 1- or 2-byte data in CURVE? queries by setting the data width to 1 or 2.COMPOSITE_ENVis min/max pair data. Its native width is 8-bits and is written as 8-bit data in ISF files and REF waveforms. The data can be queried as 1- or 2- byte data in CURVE? queries by setting the data width to 1 or 2.SINGULAR_YTis 16-bit data which originates as averaged acquired data or math data. It is written to ISF files and REF waveforms as 16-bit data. The data can be queried as 1- or 2- byte data in CURVE? queries by setting the data width to 1 or 2.
Properties
.available: TheDATa:COMPosition:AVAILablecommand.
available
property
¶
available: DataCompositionAvailable
Return the DATa:COMPosition:AVAILable command.
Description
- Lists the waveform data types that are available for return from the instrument under the current instrument settings.
Usage
- Using the
.query()method will send theDATa:COMPosition:AVAILable?query. - Using the
.verify(value)method will send theDATa:COMPosition:AVAILable?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- DATa:COMPosition:AVAILable?
DataCompositionAvailable
¶
Bases: SCPICmdRead
The DATa:COMPosition:AVAILable command.
Description
- Lists the waveform data types that are available for return from the instrument under the current instrument settings.
Usage
- Using the
.query()method will send theDATa:COMPosition:AVAILable?query. - Using the
.verify(value)method will send theDATa:COMPosition:AVAILable?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- DATa:COMPosition:AVAILable?
DataDestination
¶
Bases: SCPICmdWrite, SCPICmdRead
The DATa:DESTination command.
Description
- This command specifies the reference memory location (REF1-4) for storing waveform data transferred into the oscilloscope using the CURVE command.
Usage
- Using the
.query()method will send theDATa:DESTination?query. - Using the
.verify(value)method will send theDATa:DESTination?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:DESTination valuecommand.
SCPI Syntax
- DATa:DESTination REF<x>
- DATa:DESTination?
Info
REF<x>is the reference location where the waveform will be stored.
DataEncdg
¶
Bases: SCPICmdWrite, SCPICmdRead
The DATa:ENCdg command.
Description
- Sets or returns the format of outgoing waveform data. This command is equivalent to
setting
WFMOUTPRE:ENCDG,WFMOUTPRE:BN_FMT,andWFMINPRE:FILTERFREQ. Setting theDATa:ENGdgvalue causes the corresponding WFMOutpre values to be updated and conversely.
Usage
- Using the
.query()method will send theDATa:ENCdg?query. - Using the
.verify(value)method will send theDATa:ENCdg?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:ENCdg valuecommand.
SCPI Syntax
- DATa:ENCdg {ASCIi|FAStest|RIBinary|RPBinary|SRIbinary|SRPbinary}
- DATa:ENCdg?
Info
ASCIispecifies the ASCII representation for waveform data points. If ASCII is the value, then:BN_Fmtand:BYT_Orare ignored.FAStestspecifies that the data be sent in the fastest possible manner consistent with maintaining accuracy and is interpreted with respect to the waveform specified byDATA:SOURCE.RIBinaryspecifies signed integer data point representation with the most significant byte transferred first.RPBinaryspecifies the positive integer data-point representation, with the most significant byte transferred first.SRIbinaryis the same as RIBinary except that the byte order is swapped, meaning that the least significant byte is transferred first. This format is useful when transferring data to IBM compatible PCs.SRPbinaryis the same as RPBinary except that the byte order is swapped, meaning that the least significant byte is transferred first. This format is useful when transferring data to PCs.
DataResolution
¶
Bases: SCPICmdWrite, SCPICmdRead
The DATa:RESOlution command.
Description
- Sets or returns whether the CURVE? query returns full resolution records (acquired data) or reduced resolution records (filtered/displayed data).
Usage
- Using the
.query()method will send theDATa:RESOlution?query. - Using the
.verify(value)method will send theDATa:RESOlution?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:RESOlution valuecommand.
SCPI Syntax
- DATa:RESOlution {FULL|REDUced}
- DATa:RESOlution?
Info
FULLsets the instrument to return the full undecimated record acquired by the instrument. The full resolution records are not subject to the effects of FilterVu. Full resolution record lengths are 100,000, 125,000, 1,000,000 or 1,250,000 points.REDUcedsets the instrument to return short waveforms that are decimated from the full acquisition record. Reduced records are subject to the low pass filtering effects of FilterVu settings. Reduced record lengths range from 800 to 6250 points, depending on the acquisition settings.
DataSource
¶
Bases: SCPICmdWrite, SCPICmdRead
The DATa:SOUrce command.
Description
- Sets or returns the location of the waveform data transferred from the oscilloscope by the CURVE? query.
Usage
- Using the
.query()method will send theDATa:SOUrce?query. - Using the
.verify(value)method will send theDATa:SOUrce?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:SOUrce valuecommand.
SCPI Syntax
- DATa:SOUrce {CH<x>|MATH|REF<x>|D<x>}
- DATa:SOUrce?
Info
CH<x>specifies which analog channel data will be transferred from the oscilloscope to the controller, channels 1 through 4. x has a minimum of 1 and a maximum of 4.MATHspecifies that the Math waveform data will be transferred from the oscilloscope to the controller.REF<x>specifies which Reference waveform data will be transferred from the oscilloscope to the controller, waveforms, 1 through 4. x has a minimum of 1 and a maximum of 2.D<x>specifies that the returned waveform data is packaged as 4 bytes per sample, representing the states of all digital channels (D0-D15) and the logic states of the analog channels (Ch1-Ch4). When the:DATA:SOURCEis set to DIGITAL, the:DATA:WIDTHis automatically set to 4. x has a minimum of 0 and a maximum of 15.
DataStart
¶
Bases: SCPICmdWrite, SCPICmdRead
The DATa:STARt command.
Description
- This command sets or queries the starting data point for waveform transfer. This command allows for the transfer of partial waveforms to and from the instrument.
Usage
- Using the
.query()method will send theDATa:STARt?query. - Using the
.verify(value)method will send theDATa:STARt?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:STARt valuecommand.
SCPI Syntax
- DATa:STARt <NR1>
- DATa:STARt?
Info
<NR1>is the first data point that will be transferred, which ranges from 1 to the record length. Data will be transferred fromto DATa:STOPor the record length, whichever is less. Ifis greater than the record length, the last data point in the record is transferred. DATa:STARtandDATa:STOPare order independent. WhenDATa:STOPis greater thanDATa:STARt, the values will be swapped internally for the CURVE? query.
DataStop
¶
Bases: SCPICmdWrite, SCPICmdRead
The DATa:STOP command.
Description
- This command sets or queries the last data point that will be transferred when using the
CURVE? query. This command allows for the transfer of partial waveforms to the controller.
Changes to the record length value are not automatically reflected in the
data:stopvalue. As record length is varied, theDATa:STOPvalue must be explicitly changed to ensure the entire record is transmitted. In other words, curve results will not automatically and correctly reflect increases in record length if the distance fromDATa:STARttoDATa:STOPstays smaller than the increased record length.
Usage
- Using the
.query()method will send theDATa:STOP?query. - Using the
.verify(value)method will send theDATa:STOP?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:STOP valuecommand.
SCPI Syntax
- DATa:STOP <NR1>
- DATa:STOP?
Info
<NR1>is the last data point that will be transferred, which ranges from 1 to the record length. Ifis greater than the record length, then data will be transferred up to the record length. If both DATa:STARtandDATa:STOPare greater than the record length, the last data point in the record is returned.
DataWidth
¶
Bases: SCPICmdWrite, SCPICmdRead
The DATa:WIDth command.
Description
- This command specifies the width, in bytes per point, for waveform data transferred from
the instrument via the CURVe? query. (This command is synonymous with
WFMOutpre:BYT_Nr.)
Usage
- Using the
.query()method will send theDATa:WIDth?query. - Using the
.verify(value)method will send theDATa:WIDth?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDATa:WIDth valuecommand.
SCPI Syntax
- DATa:WIDth <NR1>
- DATa:WIDth?
Info
<NR1>is an integer that indicates the number of bytes per point for the outgoing waveform data when queried using the CURVe? command. For analog channels, NR1 can be 1 or 2.