:WAVeform:YFORmat:WORD:ENCoding:YORigin?

Query Syntax

:WAVeform:YFORmat:WORD:ENCoding:YORigin?

Description

Returns the amplitude origin value used to scale the data points of Y-formatted 16-bit integer data(:WAVeform:YFORmat:WORD:YDATa?). The data values are raw analog-to-digital converter counts and must be converted to voltage units using the following waveform information:

Use the :WAVeform:YFORmat:WORD:ENCoding:YINCrement? query to return the Y origin value.

Example Command Sequence

# Get numeric values for later calculations.
y_increment = float(Infiniium.query(":WAVeform:YFORmat:WORD:ENCoding:YINCrement?"))
y_origin = float(Infiniium.query(":WAVeform:YFORmat:WORD:ENCoding:YORigin?"))

# Get the waveform data.
data_bytes = Infiniium.query_binary_values(
    ":WAVeform:YFORmat:WORD:YDATa?", datatype="s", container=bytes
)

It is important to use the :YINCrement?, :YORigin?, and :YDATa? queries in sequence to get properly related results. Intervening commands can possibly cause a mismatch between the returned Y data, Y origin, or Y increment values.