Technical data
290 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
16 Function Commands
:FUNCtion<N>?
Query :FUNCtion<N>?
The :FUNCtion<N>? query returns the currently defined source(s) for the
function.
Returned Format
[:FUNCtion<N>:<operator>] {<operand>[,<operand>]}<NL>
<N> An integer, 1 - 4, representing the selected function.
<operator> Active math operation for the selected function. For example, ADD,
AVERage, COMMonmode, DIFF, DIVide, FFTMagnitude, FFTPhase,
HIGHpass, INTegrate, INVert, LOWPass, MAGNify, MAXimum, MINimum,
MULTiply, SMOoth, SUBTract, or VERSus.
<operand> Any allowable source for the selected FUNCtion, including channels,
differential channels, common mode channels. waveform memories 1- 4,
functions 1- 4, a constant, jitter measurement trend, and jitter spectrum. If
the function is applied to a constant, the source returns the constant.
See the discussion of possible operands in the introduction to Chapter 16,
“Function Commands,” starting on page 287.
Example This example returns the currently defined source for function 1.
myScope.WriteString ":FUNCTION1?"
If the headers are off (see :SYSTem:HEADer), the query returns only the
operands, not the operator.
myScope.WriteString ":SYST:HEAD ON"
myScope.WriteString ":FUNC1:ADD CHAN1,CHAN2"
myScope.WriteString ":FUNC1?"
strSettings = myScope.ReadString ' Returns ":FUNC1:ADD CHAN1,CHAN2".
myScope.WriteString ":SYST:HEAD OFF"
myScope.WriteString ":FUNC1?"
strSettings = myScope.ReadString ' Returns "CHAN1,CHAN2".