Technical data
Channel Commands 12
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 179
:CHANnel<N>:DISPlay:OFFSet
Command :CHANnel<N>:DISPlay:OFFSet <value>
The :CHANnel<N>:DISPlay:OFFSet command sets the displayed offset of the
selected channel. Setting the display range turns off display auto.
<value> A real number for the value variable
Example This example sets the displayed offset of channel 1 to
myScope.WriteString ":CHANNEL1:DISPLAY:RANGe 10e-6"
Query :CHANnel<N>:DISPlay:OFFSet?
The :CHANnel<N>:DISPlay:OFFSet? query returns the displayed offset for
the selected channel.
Returned Format
[:CHANnel<N>:DISPlay:OFFSet] <value><NL>
Example This example places the displayed offset of channel 1 in the variable
varOffset, then prints the contents of the variable to the computer's
screen.
myScope.WriteString ":SYSTem:HEADer OFF"
myScope.WriteString ":CHANNEL1:DISPLAY:OFFSet?"
varOffset = myScope.ReadNumber
Debug.Print FormatNumber(varOffset, 0)
NOTE
You can specify differential and/or common mode channels using the following convention.
If you have differential or common mode channels enabled (using either the
:CHANnel<N>:DIFFerential or :CHANnel<N>:COMMonmode commands) then:
•
:CHANnel1 would refer to the Channel 1 - Channel 3 differential channel
• :CHANnel2 would refer to the Channel 2 - Channel 4 differential channel
• :CHANnel3 would refer to the Channel 1 + Channel 3 common mode channel
• :CHANnel4 would refer to the Channel 2 + Channel 4 common mode channel