:WAVeform:YFORmat:WORD:ENCoding:YINCrement?
Query Syntax
:WAVeform:YFORmat:WORD:ENCoding:YINCrement?
Description
Returns the amplitude increment value used to scale the data points of Y-formatted data returned by the :WAVeform:YFORmat:WORD:YDATa? query. 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:YORigin? 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.