Technical data
326 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
16 Function Commands
:FUNCtion<N>:VERTical:OFFSet
Command :FUNCtion<N>:VERTical:OFFSet <offset_value>
The :FUNCtion<N>:VERTical:OFFSet command sets the voltage represented
at center 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 only to being within the
vertical range that can be represented by the function data.
Query
:FUNCtion<N>:VERTical:OFFset?
The :FUNCtion<N>:VERTical:OFFSet? query returns the current offset value
of the selected function.
Returned Format
[:FUNCtion<N>:VERTical:OFFset] <offset_value><NL>
Example This example places the current offset setting for function 2 in the
numeric variable, varValue, then prints the contents to the computer's
screen.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":FUNCTION2:VERTICAL:OFFSET?"
varValue = myScope.ReadNumber
Debug.Print FormatNumber(varValue, 0)