Technical data
318 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
16 Function Commands
:FUNCtion<N>:OFFSet
Command :FUNCtion<N>:OFFSet <offset_value>
The :FUNCtion<N>:OFFSet command sets the voltage represented at the
center of the screen for the selected function. This automatically changes
the mode from auto to manual.
<N> An integer, 1 - 4, representing the selected function.
<offset_value> A real number for the vertical offset in the currently selected Y- axis units
(normally volts). The offset value is limited to being within the vertical
range that can be represented by the function data.
Example This example sets the offset voltage for function 1 to 2 mV.
myScope.WriteString ":FUNCTION1:OFFSET 2E-3"
Query :FUNCtion<N>:OFFSet?
The :FUNCtion<N>:OFFSet? query returns the current offset value for the
selected function.
Returned Format
[:FUNCtion<N>:OFFSet] <offset_value><NL>
Example This example places the current setting for offset on function 2 in the
numeric variable, varValue, then prints the result to the computer's screen.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":FUNCTION2:OFFSET?"
varValue = myScope.ReadNumber
Debug.Print FormatNumber(varValue, 0)