Technical data

196 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
12 Channel Commands
:CHANnel<N>:OFFSet
Command :CHANnel<N>:OFFSet <offset_value>
The :CHANnel<N>:OFFSet command sets the vertical value that is
represented at the center of the display for the selected channel. Offset
parameters are probe and vertical scale dependent.
<N> An integer, 1 - 4
<offset_value> A real number for the offset value at center screen. Usually expressed in
volts, but it can also be in other measurement units, such as amperes, if
you have specified other units using the :CHANnel<N>:UNITs command or
the CHANnel<N>:PROBe:EXTernal:UNITs command.
Example This example sets the offset for channel 1 to 0.125 in the current
measurement units:
myScope.WriteString ":CHANNEL1:OFFSET 125E-3"
Query :CHANnel<N>:OFFSet?
The :CHANnel<N>:OFFSet? query returns the current offset value for the
specified channel.
Returned Format
[CHANnel<N>:OFFSet] <offset_value><NL>
Example This example places the offset value of the specified channel in the
variable, varOffset, then prints the contents of the variable to the
computer's screen.
myScope.WriteString ":SYSTem:HEADer OFF"
myScope.WriteString ":CHANNEL1:OFFSET?"
varOffset = myScope.ReadNumber
Debug.Print FormatNumber(varOffset, "Scientific")