Waveform Commands
34
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
987
:WAVeform:YORigin?
Query
:WAVeform:YORigin?
The :WAVeform:YORigin? query returns the y- origin voltage value for the
currently specified source. The voltage value returned is the voltage value
represented by the waveform data digital code 00000.
•
For BYTE and WORD data, and voltage waveforms, it is the voltage at
digital code zero.
•
For ASCii data format, the YORigin is the Y- axis value at the center of
the data range. Data range is returned in the Y increment.
Returned Format
[:WAVeform:YORigin] <real_value><NL>
<real_value>
A real number in exponential format.
Example
This example places the current Y- origin value in the numeric variable,
varCenter, then prints the contents of the variable to the computer's
screen.
myScope.WriteString ":SYSTEM:HEADER OFF"
' Response headers off.
myScope.WriteString ":WAVEFORM:YORIGIN?"
varCenter = myScope.ReadNumber
Debug.Print FormatNumber(varCenter, 0)
See Also
For more information on BYTE and WORD formats, see
"Understanding
WORD and BYTE Formats"
on page 956.
You can obtain the Y- origin value through the :WAVeform:PREamble?
query.
N O T E
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.
Summary of Contents for Infiniium 90000 Q-Series
Page 1: ...s1 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference...
Page 50: ...50 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 2 Setting Up...
Page 274: ...274 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 14 Digital Commands...
Page 292: ...292 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 15 Disk Commands...
Page 318: ...318 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 16 Display Commands...
Page 364: ...364 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 17 Function Commands...
Page 382: ...382 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 19 Histogram Commands...
Page 412: ...412 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 21 Limit Test Commands...
Page 416: ...416 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 22 Lister Commands...
Page 696: ...696 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 25 Measure Commands...
Page 702: ...702 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 26 Pod Commands...
Page 760: ...760 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 29 Self Test Commands...
Page 818: ...818 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 31 System Commands...
Page 830: ...830 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 32 Time Base Commands...
Page 930: ...930 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 33 Trigger Commands...
Page 1018: ...1018 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 37 Error Messages...
Page 1150: ...1150 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 38 Sample Programs...
Page 1186: ...1186 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference Index...