Technical data
Waveform Commands 32
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 911
:WAVeform:YINCrement?
Query :WAVeform:YINCrement?
The :WAVeform:YINCrement? query returns the y- increment voltage value
for the currently specified source. This voltage value is the voltage
difference between two adjacent waveform data digital codes. Adjacent
digital codes are codes that differ by one least significant bit. For example,
the digital codes 24680 and 24681 vary by one least significant bit.
• For BYTE and WORD data, and voltage waveforms, it is the voltage
corresponding to one least significant bit change.
• For ASCii data format, the YINCrement is the full scale voltage range
covered by the A/D converter.
Returned Format
[:WAVeform:YINCrement] <real_value><NL>
<real_value> A real number in exponential format.
Example This example places the current Y- increment value for the currently
specified source in the numeric variable, varValue, then prints the contents
of the variable to the computer's screen.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":WAVEFORM:YINCREMENT?"
varValue = myScope.ReadNumber
Debug.Print FormatNumber(varValue, 0)
See Also For more information on BYTE and WORD formats, see "Understanding
WORD and BYTE Formats" on page 883.
You can also obtain the Y- increment value through the
:WAVeform:PREamble? query.
NOTE
A "Waveform data is not valid" error occurs when there is no data available for a channel.
When this occurs, a zero value is returned.